2 # From configure.in Id: configure.in 57597 2008-12-27 14:58:12Z FM .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
710 LIBGNOMEPRINTUI_CFLAGS
758 SAMPLES_RPATH_POSTLINK
814 ICC_PCH_CREATE_SWITCH
818 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
819 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
820 COND_BUILD_DEBUG_UNICODE_0
821 COND_BUILD_DEBUG_UNICODE_1
823 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
824 COND_BUILD_RELEASE_UNICODE_0
825 COND_BUILD_RELEASE_UNICODE_1
827 COND_BUILD_debug_DEBUG_FLAG_default
828 COND_BUILD_debug_DEBUG_INFO_default
829 COND_BUILD_debug_UNICODE_0
830 COND_BUILD_debug_UNICODE_1
832 COND_BUILD_release_DEBUG_INFO_default
833 COND_BUILD_release_UNICODE_0
834 COND_BUILD_release_UNICODE_1
843 COND_MONOLITHIC_0_SHARED_0
844 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
849 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
850 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
851 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
852 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
853 COND_MONOLITHIC_0_SHARED_1
854 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
859 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
860 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
861 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
862 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
863 COND_MONOLITHIC_0_USE_AUI_1
864 COND_MONOLITHIC_0_USE_GUI_1
865 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
866 COND_MONOLITHIC_0_USE_HTML_1
867 COND_MONOLITHIC_0_USE_MEDIA_1
868 COND_MONOLITHIC_0_USE_PROPGRID_1
869 COND_MONOLITHIC_0_USE_QA_1
870 COND_MONOLITHIC_0_USE_RICHTEXT_1
871 COND_MONOLITHIC_0_USE_STC_1
872 COND_MONOLITHIC_0_USE_XRC_1
874 COND_MONOLITHIC_1_SHARED_0
875 COND_MONOLITHIC_1_SHARED_1
876 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
877 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
878 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
879 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
880 COND_PLATFORM_MACOSX_1
881 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
885 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
886 COND_PLATFORM_MACOSX_1_USE_GUI_1
887 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
888 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
889 COND_PLATFORM_MACOS_1
892 COND_PLATFORM_MSDOS_0
893 COND_PLATFORM_MSDOS_1
897 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
898 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
899 COND_PLATFORM_UNIX_1_USE_GUI_1
900 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
901 COND_PLATFORM_WIN32_0
902 COND_PLATFORM_WIN32_1
904 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
905 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
906 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
907 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
909 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
910 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
911 COND_SHARED_0_USE_STC_1
912 COND_SHARED_0_wxUSE_EXPAT_builtin
913 COND_SHARED_0_wxUSE_REGEX_builtin
914 COND_SHARED_0_wxUSE_ZLIB_builtin
916 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
919 COND_TOOLKIT_COCOA_USE_GUI_1
920 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_DFB_USE_GUI_1
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
929 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_GTK_USE_GUI_1
933 COND_TOOLKIT_MGL_USE_GUI_1
935 COND_TOOLKIT_MOTIF_USE_GUI_1
936 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_MSW_USE_GUI_1
939 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_MSW_WXUNIV_0
941 COND_TOOLKIT_OSX_CARBON
942 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
943 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_OSX_COCOA
945 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
946 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_OSX_IPHONE
949 COND_TOOLKIT_PM_USE_GUI_1
950 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
952 COND_TOOLKIT_WINCE_USE_GUI_1
953 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
954 COND_TOOLKIT_WINCE_WXUNIV_0
956 COND_TOOLKIT_X11_USE_GUI_1
958 COND_USE_EXCEPTIONS_0
959 COND_USE_EXCEPTIONS_1
962 COND_USE_GUI_1_USE_OPENGL_1
963 COND_USE_GUI_1_WXUNIV_0
964 COND_USE_GUI_1_WXUNIV_1
965 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
966 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
967 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
968 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
969 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
970 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
976 COND_USE_SOSYMLINKS_1
977 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
978 COND_USE_SOVERLINUX_1
980 COND_USE_SOVERSOLARIS_1
985 COND_WINDOWS_IMPLIB_1
986 COND_WITH_PLUGIN_SDL_1
989 COND_WXUSE_EXPAT_BUILTIN
990 COND_WXUSE_LIBJPEG_BUILTIN
991 COND_WXUSE_LIBPNG_BUILTIN
992 COND_WXUSE_LIBTIFF_BUILTIN
993 COND_WXUSE_REGEX_BUILTIN
994 COND_WXUSE_ZLIB_BUILTIN
995 COND_wxUSE_EXPAT_builtin
996 COND_wxUSE_LIBJPEG_builtin
997 COND_wxUSE_LIBPNG_builtin
998 COND_wxUSE_LIBTIFF_builtin
999 COND_wxUSE_REGEX_builtin
1000 COND_wxUSE_ZLIB_builtin
1003 WX_LIBRARY_BASENAME_NOGUI
1004 WX_LIBRARY_BASENAME_GUI
1024 WXCONFIG_LDFLAGS_GUI
1036 WX_RESOURCES_MACOSX_ASCII
1037 WX_RESOURCES_MACOSX_DATA
1047 ac_precious_vars
='build_alias
1071 LIBGNOMEPRINTUI_CFLAGS
1072 LIBGNOMEPRINTUI_LIBS
1081 ac_subdirs_all
='src/tiff
1084 # Initialize some variables set by options.
1086 ac_init_version
=false
1087 # The variables have the same names as the options, with
1088 # dashes changed to underlines.
1089 cache_file
=/dev
/null
1096 program_transform_name
=s
,x
,x
,
1104 # Installation directory options.
1105 # These are left unexpanded so users can "make install exec_prefix=/foo"
1106 # and all the variables that are supposed to be based on exec_prefix
1107 # by default will actually change.
1108 # Use braces instead of parens because sh, perl, etc. also accept them.
1109 # (The list follows the same order as the GNU Coding Standards.)
1110 bindir
='${exec_prefix}/bin'
1111 sbindir
='${exec_prefix}/sbin'
1112 libexecdir
='${exec_prefix}/libexec'
1113 datarootdir
='${prefix}/share'
1114 datadir
='${datarootdir}'
1115 sysconfdir
='${prefix}/etc'
1116 sharedstatedir
='${prefix}/com'
1117 localstatedir
='${prefix}/var'
1118 includedir
='${prefix}/include'
1119 oldincludedir
='/usr/include'
1120 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1121 infodir
='${datarootdir}/info'
1126 libdir
='${exec_prefix}/lib'
1127 localedir
='${datarootdir}/locale'
1128 mandir
='${datarootdir}/man'
1134 # If the previous option needs an argument, assign it.
1135 if test -n "$ac_prev"; then
1136 eval $ac_prev=\
$ac_option
1142 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1146 # Accept the important Cygnus configure options, so we can diagnose typos.
1148 case $ac_dashdash$ac_option in
1152 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1154 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1155 bindir
=$ac_optarg ;;
1157 -build | --build | --buil | --bui | --bu)
1158 ac_prev
=build_alias
;;
1159 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1160 build_alias
=$ac_optarg ;;
1162 -cache-file | --cache-file | --cache-fil | --cache-fi \
1163 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1164 ac_prev
=cache_file
;;
1165 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1166 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1167 cache_file
=$ac_optarg ;;
1169 --config-cache | -C)
1170 cache_file
=config.cache
;;
1172 -datadir | --datadir | --datadi | --datad)
1174 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1175 datadir
=$ac_optarg ;;
1177 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1178 | --dataroo | --dataro | --datar)
1179 ac_prev
=datarootdir
;;
1180 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1181 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1182 datarootdir
=$ac_optarg ;;
1184 -disable-* | --disable-*)
1185 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1186 # Reject names that are not valid shell variable names.
1187 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1188 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1189 { (exit 1); exit 1; }; }
1190 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1191 eval enable_
$ac_feature=no
;;
1193 -docdir | --docdir | --docdi | --doc | --do)
1195 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1196 docdir
=$ac_optarg ;;
1198 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1200 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1201 dvidir
=$ac_optarg ;;
1203 -enable-* | --enable-*)
1204 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1205 # Reject names that are not valid shell variable names.
1206 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1207 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1208 { (exit 1); exit 1; }; }
1209 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1210 eval enable_
$ac_feature=\
$ac_optarg ;;
1212 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1213 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1214 | --exec | --exe | --ex)
1215 ac_prev
=exec_prefix
;;
1216 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1217 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1218 | --exec=* | --exe=* | --ex=*)
1219 exec_prefix
=$ac_optarg ;;
1221 -gas | --gas | --ga | --g)
1222 # Obsolete; use --with-gas.
1225 -help | --help | --hel | --he | -h)
1226 ac_init_help
=long
;;
1227 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1228 ac_init_help
=recursive
;;
1229 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1230 ac_init_help
=short
;;
1232 -host | --host | --hos | --ho)
1233 ac_prev
=host_alias
;;
1234 -host=* | --host=* | --hos=* | --ho=*)
1235 host_alias
=$ac_optarg ;;
1237 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1239 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1241 htmldir
=$ac_optarg ;;
1243 -includedir | --includedir | --includedi | --included | --include \
1244 | --includ | --inclu | --incl | --inc)
1245 ac_prev
=includedir
;;
1246 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1247 | --includ=* | --inclu=* | --incl=* | --inc=*)
1248 includedir
=$ac_optarg ;;
1250 -infodir | --infodir | --infodi | --infod | --info | --inf)
1252 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1253 infodir
=$ac_optarg ;;
1255 -libdir | --libdir | --libdi | --libd)
1257 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1258 libdir
=$ac_optarg ;;
1260 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1261 | --libexe | --libex | --libe)
1262 ac_prev
=libexecdir
;;
1263 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1264 | --libexe=* | --libex=* | --libe=*)
1265 libexecdir
=$ac_optarg ;;
1267 -localedir | --localedir | --localedi | --localed | --locale)
1268 ac_prev
=localedir
;;
1269 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1270 localedir
=$ac_optarg ;;
1272 -localstatedir | --localstatedir | --localstatedi | --localstated \
1273 | --localstate | --localstat | --localsta | --localst | --locals)
1274 ac_prev
=localstatedir
;;
1275 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1276 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1277 localstatedir
=$ac_optarg ;;
1279 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1281 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1282 mandir
=$ac_optarg ;;
1284 -nfp | --nfp | --nf)
1285 # Obsolete; use --without-fp.
1288 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1289 | --no-cr | --no-c | -n)
1292 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1293 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1296 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1297 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1298 | --oldin | --oldi | --old | --ol | --o)
1299 ac_prev
=oldincludedir
;;
1300 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1301 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1302 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1303 oldincludedir
=$ac_optarg ;;
1305 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1307 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1308 prefix
=$ac_optarg ;;
1310 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1311 | --program-pre | --program-pr | --program-p)
1312 ac_prev
=program_prefix
;;
1313 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1314 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1315 program_prefix
=$ac_optarg ;;
1317 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1318 | --program-suf | --program-su | --program-s)
1319 ac_prev
=program_suffix
;;
1320 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1321 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1322 program_suffix
=$ac_optarg ;;
1324 -program-transform-name | --program-transform-name \
1325 | --program-transform-nam | --program-transform-na \
1326 | --program-transform-n | --program-transform- \
1327 | --program-transform | --program-transfor \
1328 | --program-transfo | --program-transf \
1329 | --program-trans | --program-tran \
1330 | --progr-tra | --program-tr | --program-t)
1331 ac_prev
=program_transform_name
;;
1332 -program-transform-name=* | --program-transform-name=* \
1333 | --program-transform-nam=* | --program-transform-na=* \
1334 | --program-transform-n=* | --program-transform-=* \
1335 | --program-transform=* | --program-transfor=* \
1336 | --program-transfo=* | --program-transf=* \
1337 | --program-trans=* | --program-tran=* \
1338 | --progr-tra=* | --program-tr=* | --program-t=*)
1339 program_transform_name
=$ac_optarg ;;
1341 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1343 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1344 pdfdir
=$ac_optarg ;;
1346 -psdir | --psdir | --psdi | --psd | --ps)
1348 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1351 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1352 | -silent | --silent | --silen | --sile | --sil)
1355 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1357 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1359 sbindir
=$ac_optarg ;;
1361 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1362 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1363 | --sharedst | --shareds | --shared | --share | --shar \
1365 ac_prev
=sharedstatedir
;;
1366 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1367 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1368 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1370 sharedstatedir
=$ac_optarg ;;
1372 -site | --site | --sit)
1374 -site=* | --site=* | --sit=*)
1377 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1379 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1380 srcdir
=$ac_optarg ;;
1382 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1383 | --syscon | --sysco | --sysc | --sys | --sy)
1384 ac_prev
=sysconfdir
;;
1385 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1386 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1387 sysconfdir
=$ac_optarg ;;
1389 -target | --target | --targe | --targ | --tar | --ta | --t)
1390 ac_prev
=target_alias
;;
1391 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1392 target_alias
=$ac_optarg ;;
1394 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1397 -version | --version | --versio | --versi | --vers | -V)
1398 ac_init_version
=: ;;
1401 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1402 # Reject names that are not valid shell variable names.
1403 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1404 { echo "$as_me: error: invalid package name: $ac_package" >&2
1405 { (exit 1); exit 1; }; }
1406 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1407 eval with_
$ac_package=\
$ac_optarg ;;
1409 -without-* | --without-*)
1410 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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=no
;;
1419 # Obsolete; use --with-x.
1422 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1423 | --x-incl | --x-inc | --x-in | --x-i)
1424 ac_prev
=x_includes
;;
1425 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1426 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1427 x_includes
=$ac_optarg ;;
1429 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1430 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1431 ac_prev
=x_libraries
;;
1432 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1433 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1434 x_libraries
=$ac_optarg ;;
1436 -*) { echo "$as_me: error: unrecognized option: $ac_option
1437 Try \`$0 --help' for more information." >&2
1438 { (exit 1); exit 1; }; }
1442 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1443 # Reject names that are not valid shell variable names.
1444 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1445 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1446 { (exit 1); exit 1; }; }
1447 eval $ac_envvar=\
$ac_optarg
1448 export $ac_envvar ;;
1451 # FIXME: should be removed in autoconf 3.0.
1452 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1453 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1454 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1455 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1461 if test -n "$ac_prev"; then
1462 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1463 { echo "$as_me: error: missing argument to $ac_option" >&2
1464 { (exit 1); exit 1; }; }
1467 # Be sure to have absolute directory names.
1468 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1469 datadir sysconfdir sharedstatedir localstatedir includedir \
1470 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1471 libdir localedir mandir
1473 eval ac_val
=\$
$ac_var
1475 [\\/$
]* | ?
:[\\/]* ) continue;;
1476 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1478 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1479 { (exit 1); exit 1; }; }
1482 # There might be people who depend on the old broken behavior: `$host'
1483 # used to hold the argument of --host etc.
1484 # FIXME: To remove some day.
1487 target
=$target_alias
1489 # FIXME: To remove some day.
1490 if test "x$host_alias" != x
; then
1491 if test "x$build_alias" = x
; then
1492 cross_compiling
=maybe
1493 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1494 If a cross compiler is detected then cross compile mode will be used." >&2
1495 elif test "x$build_alias" != "x$host_alias"; then
1501 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1503 test "$silent" = yes && exec 6>/dev
/null
1506 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1507 ac_ls_di
=`ls -di .` &&
1508 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1509 { echo "$as_me: error: Working directory cannot be determined" >&2
1510 { (exit 1); exit 1; }; }
1511 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1512 { echo "$as_me: error: pwd does not report name of working directory" >&2
1513 { (exit 1); exit 1; }; }
1516 # Find the source files, if location was not specified.
1517 if test -z "$srcdir"; then
1518 ac_srcdir_defaulted
=yes
1519 # Try the directory containing this script, then the parent directory.
1520 ac_confdir
=`$as_dirname -- "$0" ||
1521 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1522 X"$0" : 'X\(//\)[^/]' \| \
1523 X"$0" : 'X\(//\)$' \| \
1524 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1544 if test ! -r "$srcdir/$ac_unique_file"; then
1548 ac_srcdir_defaulted
=no
1550 if test ! -r "$srcdir/$ac_unique_file"; then
1551 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1552 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1553 { (exit 1); exit 1; }; }
1555 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1557 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1558 { (exit 1); exit 1; }; }
1560 # When building in place, set srcdir=.
1561 if test "$ac_abs_confdir" = "$ac_pwd"; then
1564 # Remove unnecessary trailing slashes from srcdir.
1565 # Double slashes in file names in object file debugging info
1566 # mess up M-x gdb in Emacs.
1568 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1570 for ac_var
in $ac_precious_vars; do
1571 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1572 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1573 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1574 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1578 # Report the --help message.
1580 if test "$ac_init_help" = "long"; then
1581 # Omit some internal or obsolete options to make the list less imposing.
1582 # This message is too long to be a string in the A/UX 3.1 sh.
1584 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1586 Usage: $0 [OPTION]... [VAR=VALUE]...
1588 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1589 VAR=VALUE. See below for descriptions of some of the useful variables.
1591 Defaults for the options are specified in brackets.
1594 -h, --help display this help and exit
1595 --help=short display options specific to this package
1596 --help=recursive display the short help of all the included packages
1597 -V, --version display version information and exit
1598 -q, --quiet, --silent do not print \`checking...' messages
1599 --cache-file=FILE cache test results in FILE [disabled]
1600 -C, --config-cache alias for \`--cache-file=config.cache'
1601 -n, --no-create do not create output files
1602 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1604 Installation directories:
1605 --prefix=PREFIX install architecture-independent files in PREFIX
1606 [$ac_default_prefix]
1607 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1610 By default, \`make install' will install all the files in
1611 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1612 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1613 for instance \`--prefix=\$HOME'.
1615 For better control, use the options below.
1617 Fine tuning of the installation directories:
1618 --bindir=DIR user executables [EPREFIX/bin]
1619 --sbindir=DIR system admin executables [EPREFIX/sbin]
1620 --libexecdir=DIR program executables [EPREFIX/libexec]
1621 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1622 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1623 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1624 --libdir=DIR object code libraries [EPREFIX/lib]
1625 --includedir=DIR C header files [PREFIX/include]
1626 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1627 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1628 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1629 --infodir=DIR info documentation [DATAROOTDIR/info]
1630 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1631 --mandir=DIR man documentation [DATAROOTDIR/man]
1632 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1633 --htmldir=DIR html documentation [DOCDIR]
1634 --dvidir=DIR dvi documentation [DOCDIR]
1635 --pdfdir=DIR pdf documentation [DOCDIR]
1636 --psdir=DIR ps documentation [DOCDIR]
1642 --x-includes=DIR X include files are
in DIR
1643 --x-libraries=DIR X library files are
in DIR
1646 --build=BUILD configure
for building on BUILD
[guessed
]
1647 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1648 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1652 if test -n "$ac_init_help"; then
1653 case $ac_init_help in
1654 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1659 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1660 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1661 --disable-gui don
't build GUI parts of the library
1662 --enable-monolithic build wxWidgets as single library
1663 --enable-plugins build parts of wxWidgets as loadable components
1664 --enable-official_build official build of wxWidgets (win32 DLL only)
1665 --enable-vendor=VENDOR vendor name (win32 DLL only)
1666 --disable-all-features disable all optional features to build minimal library
1667 --enable-universal use wxWidgets GUI controls instead of native ones
1668 --enable-nanox use NanoX
1669 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1670 --enable-gpe use GNOME PDA Environment features if possible
1671 --disable-shared create static library instead of shared
1672 --enable-debug same as debug_flag and debug_info
1673 --enable-stl use STL for containers
1674 --enable-std_iostreams use standard C++ stream classes
1675 --enable-std_string use standard C++ string classes
1676 --disable-unicode compile without Unicode support
1677 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1678 --enable-utf8 use UTF-8 representation for strings (Unix only)
1679 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1680 --enable-extended_rtti use extended RTTI (XTI)
1681 --enable-omf use OMF object format
1682 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1683 --enable-debug_info create code with debugging information
1684 --disable-optimise compile without optimisations
1685 --enable-debug_gdb create code with extra GDB debugging information
1686 --enable-debug_cntxt use wxDebugContext
1687 --enable-mem_tracing create code with memory tracing
1688 --enable-profile create code with profiling information
1689 --enable-no_rtti create code without RTTI information
1690 --enable-no_exceptions create code without C++ exceptions handling
1691 --enable-permissive compile code disregarding strict ANSI
1692 --enable-no_deps create code without dependency information
1693 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1694 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1695 --enable-compat26 enable wxWidgets
2.6 compatibility
1696 --disable-compat28 disable wxWidgets
2.8 compatibility
1697 --disable-rpath disable use of rpath
for uninstalled builds
1698 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1699 --disable-visibility disable use of ELF symbols visibility even
if supported
1700 --enable-intl use internationalization system
1701 --enable-xlocale use x
-locale support
(requires wxLocale
)
1702 --enable-config use wxConfig
(and derived
) classes
1703 --enable-protocols use wxProtocol and derived classes
1704 --enable-ftp use wxFTP
(requires wxProtocol
1705 --enable-http use wxHTTP
(requires wxProtocol
1706 --enable-fileproto use wxFileProto class
(requires wxProtocol
1707 --enable-sockets use socket
/network classes
1708 --enable-ipv6 enable IPv6 support
in wxSocket
1709 --enable-ole use OLE classes
(Win32 only
)
1710 --enable-dataobj use data object classes
1711 --enable-ipc use interprocess communication
(wxSocket etc.
)
1712 --enable-baseevtloop use event loop
in console programs too
1713 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1714 --enable-selectloop use wxSelectDispatcher class
1715 --enable-apple_ieee use the Apple IEEE codec
1716 --enable-arcstream use wxArchive streams
1717 --enable-base64 use base64 encoding
/decoding functions
1718 --enable-backtrace use wxStackWalker class
for getting backtraces
1719 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1720 --enable-cmdline use wxCmdLineParser class
1721 --enable-datetime use wxDateTime class
1722 --enable-debugreport use wxDebugReport class
1723 --enable-dialupman use dialup network classes
1724 --enable-dynlib use wxLibrary class
for DLL loading
1725 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1726 --enable-exceptions build exception
-safe library
1727 --enable-ffile use wxFFile class
1728 --enable-file use wxFile class
1729 --enable-filesystem use virtual
file systems classes
1730 --enable-fontenum use wxFontEnumerator class
1731 --enable-fontmap use font encodings conversion classes
1732 --enable-fs_archive use virtual archive filesystems
1733 --enable-fs_inet use virtual HTTP
/FTP filesystems
1734 --enable-fs_zip now replaced by fs_archive
1735 --enable-geometry use geometry class
1736 --enable-log use logging system
1737 --enable-longlong use wxLongLong class
1738 --enable-mimetype use wxMimeTypesManager
1739 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1740 --enable-snglinst use wxSingleInstanceChecker class
1741 --enable-sound use wxSound class
1742 --enable-stdpaths use wxStandardPaths class
1743 --enable-stopwatch use wxStopWatch class
1744 --enable-streams use wxStream etc classes
1745 --enable-sysoptions use wxSystemOptions
1746 --enable-tarstream use wxTar streams
1747 --enable-textbuf use wxTextBuffer class
1748 --enable-textfile use wxTextFile class
1749 --enable-timer use wxTimer class
1750 --enable-variant use wxVariant class
1751 --enable-zipstream use wxZip streams
1752 --enable-url use wxURL class
1753 --enable-protocol use wxProtocol class
1754 --enable-protocol-http HTTP support
in wxProtocol
1755 --enable-protocol-ftp FTP support
in wxProtocol
1756 --enable-protocol-file FILE support
in wxProtocol
1757 --enable-threads use threads
1758 --enable-iniconf use wxIniConfig
(Win32 only
)
1759 --enable-regkey use wxRegKey class
(Win32 only
)
1760 --enable-docview use document view architecture
1761 --enable-help use
help subsystem
1762 --enable-mshtmlhelp use MS HTML Help
(win32
)
1763 --enable-html use wxHTML sub
-library
1764 --enable-htmlhelp use wxHTML
-based help
1765 --enable-xrc use XRC resources sub
-library
1766 --enable-aui use AUI docking library
1767 --enable-propgrid use wxPropertyGrid library
1768 --enable-stc use wxStyledTextCtrl library
1769 --enable-constraints use layout
-constraints system
1770 --enable-loggui use standard GUI logger
1771 --enable-logwin use wxLogWindow
1772 --enable-logdialog use wxLogDialog
1773 --enable-mdi use multiple document interface architecture
1774 --enable-mdidoc use docview architecture with MDI
1775 --enable-mediactrl use wxMediaCtrl class
1776 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1777 --enable-webkit use wxWebKitCtrl
(Mac
)
1778 --enable-richtext use wxRichTextCtrl
1779 --enable-graphics_ctx use graphics context
2D drawing API
1780 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1781 --enable-printarch use printing architecture
1782 --enable-svg use wxSVGFileDC device context
1783 --enable-clipboard use wxClipboard class
1784 --enable-dnd use Drag
'n'Drop classes
1785 --enable-metafile use win32 metafiles
1786 --disable-controls disable compilation of all standard controls
1787 --enable-accel use accelerators
1788 --enable-animatectrl use wxAnimationCtrl class
1789 --enable-button use wxButton class
1790 --enable-bmpbutton use wxBitmapButton class
1791 --enable-bmpcombobox use wxBitmapComboBox class
1792 --enable-calendar use wxCalendarCtrl class
1793 --enable-caret use wxCaret class
1794 --enable-checkbox use wxCheckBox class
1795 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1796 --enable-choice use wxChoice class
1797 --enable-choicebook use wxChoicebook class
1798 --enable-collpane use wxCollapsiblePane class
1799 --enable-colourpicker use wxColourPickerCtrl class
1800 --enable-combobox use wxComboBox class
1801 --enable-comboctrl use wxComboCtrl class
1802 --enable-datepick use wxDatePickerCtrl class
1803 --enable-dirpicker use wxDirPickerCtrl class
1804 --enable-display use wxDisplay class
1805 --enable-detect_sm use code to detect X11 session manager
1806 --enable-editablebox use wxEditableListBox class
1807 --enable-filepicker use wxFilePickerCtrl class
1808 --enable-filectrl use wxFileCtrl class
1809 --enable-fontpicker use wxFontPickerCtrl class
1810 --enable-gauge use wxGauge class
1811 --enable-grid use wxGrid class
1812 --enable-dataviewctrl use wxDataViewCtrl class
1813 --enable-hyperlink use wxHyperlinkCtrl class
1814 --enable-imaglist use wxImageList class
1815 --enable-listbook use wxListbook class
1816 --enable-listbox use wxListBox class
1817 --enable-listctrl use wxListCtrl class
1818 --enable-notebook use wxNotebook class
1819 --enable-notifmsg use wxNotificationMessage class
1820 --enable-odcombobox use wxOwnerDrawnComboBox class
1821 --enable-radiobox use wxRadioBox class
1822 --enable-radiobtn use wxRadioButton class
1823 --enable-sash use wxSashWindow class
1824 --enable-scrollbar use wxScrollBar class and scrollable windows
1825 --enable-searchctrl use wxSearchCtrl class
1826 --enable-slider use wxSlider class
1827 --enable-spinbtn use wxSpinButton class
1828 --enable-spinctrl use wxSpinCtrl class
1829 --enable-splitter use wxSplitterWindow class
1830 --enable-statbmp use wxStaticBitmap class
1831 --enable-statbox use wxStaticBox class
1832 --enable-statline use wxStaticLine class
1833 --enable-stattext use wxStaticText class
1834 --enable-statusbar use wxStatusBar class
1835 --enable-taskbaricon use wxTaskBarIcon class
1836 --enable-textctrl use wxTextCtrl class
1837 --enable-togglebtn use wxToggleButton class
1838 --enable-toolbar use wxToolBar class
1839 --enable-tbarnative use native wxToolBar class
1840 --enable-treebook use wxTreebook class
1841 --enable-toolbook use wxToolbook class
1842 --enable-treectrl use wxTreeCtrl class
1843 --enable-tipwindow use wxTipWindow class
1844 --enable-popupwin use wxPopUpWindow class
1845 --enable-commondlg use all common dialogs
1846 --enable-aboutdlg use wxAboutBox
1847 --enable-choicedlg use wxChoiceDialog
1848 --enable-coldlg use wxColourDialog
1849 --enable-filedlg use wxFileDialog
1850 --enable-finddlg use wxFindReplaceDialog
1851 --enable-fontdlg use wxFontDialog
1852 --enable-dirdlg use wxDirDialog
1853 --enable-msgdlg use wxMessageDialog
1854 --enable-numberdlg use wxNumberEntryDialog
1855 --enable-splash use wxSplashScreen
1856 --enable-textdlg use wxTextDialog
1857 --enable-tipdlg use startup tips
1858 --enable-progressdlg use wxProgressDialog
1859 --enable-wizarddlg use wxWizard
1860 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1861 --enable-miniframe use wxMiniFrame class
1862 --enable-tooltips use wxToolTip class
1863 --enable-splines use spline drawing code
1864 --enable-mousewheel use mousewheel
1865 --enable-validators use wxValidator and derived classes
1866 --enable-busyinfo use wxBusyInfo
1867 --enable-joystick use wxJoystick
1868 --enable-metafiles use wxMetaFile
(Win32 only
)
1869 --enable-dragimage use wxDragImage
1870 --enable-accessibility enable accessibility support
1871 --enable-palette use wxPalette class
1872 --enable-image use wxImage class
1873 --enable-gif use gif images
(GIF
file format
)
1874 --enable-pcx use pcx images
(PCX
file format
)
1875 --enable-tga use tga images
(TGA
file format
)
1876 --enable-iff use iff images
(IFF
file format
)
1877 --enable-pnm use pnm images
(PNM
file format
)
1878 --enable-xpm use xpm images
(XPM
file format
)
1879 --enable-ico_cur use Windows ICO and CUR formats
1880 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1881 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1882 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1883 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1884 --enable-wxdib use wxDIB class
(Win32 only
)
1885 --enable-autoidman use automatic ids management
1886 --disable-largefile omit support
for large files
1887 --disable-gtktest do not try to compile and run a
test GTK
+ program
1888 --disable-gtktest Do not try to compile and run a
test GTK program
1889 --disable-sdltest Do not try to compile and run a
test SDL program
1890 --enable-omf use OMF object format
(OS
/2)
1891 --disable-dependency-tracking
1892 don
't use dependency tracking even if the compiler
1894 --disable-precomp-headers
1895 don't use precompiled headers even
if compiler can
1898 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1899 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1900 --without-subdirs don
't generate makefiles for samples/demos/...
1901 --with-flavour=NAME specify a name to identify this build
1902 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1903 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1904 --with-motif use Motif/Lesstif
1905 --with-osx_carbon use Mac OS X (Carbon)
1906 --with-osx_cocoa use Mac OS X (Cocoa)
1907 --with-mac use Mac OS X (Default)
1908 --with-cocoa use Cocoa
1909 --with-wine use Wine
1910 --with-msw use MS-Windows
1911 --with-pm use OS/2 Presentation Manager
1912 --with-mgl use SciTech MGL
1913 --with-directfb use DirectFB
1914 --with-microwin use MicroWindows
1916 --with-libpng use libpng (PNG image format)
1917 --with-libjpeg use libjpeg (JPEG file format)
1918 --with-libtiff use libtiff (TIFF file format)
1919 --with-libxpm use libxpm (XPM file format)
1920 --with-libiconv use libiconv (character conversion)
1921 --with-libmspack use libmspack (CHM help files loading)
1922 --without-gtkprint don't use GTK printing support
1923 --without-gnomeprint don
't use GNOME printing libraries
1924 --with-gnomevfs use GNOME VFS for associating MIME types
1925 --with-hildon use Hildon framework for Nokia 770
1926 --with-opengl use OpenGL (or Mesa)
1927 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1928 --with-sdl use SDL for audio on Unix
1929 --with-regex enable support for wxRegEx class
1930 --with-zlib use zlib for LZW compression
1931 --with-expat enable XML support using expat parser
1932 --with-macosx-sdk=PATH use an OS X SDK at PATH
1933 --with-macosx-version-min=VER build binaries which require at least this OS X version
1934 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1935 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1936 --with-x use the X Window System
1937 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1938 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1939 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1940 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1941 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1943 Some influential environment variables:
1944 CC C compiler command
1945 CFLAGS C compiler flags
1946 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1947 nonstandard directory <lib dir>
1948 LIBS libraries to pass to the linker, e.g. -l<library>
1949 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1950 you have headers in a nonstandard directory <include dir>
1952 CXX C++ compiler command
1953 CXXFLAGS C++ compiler flags
1954 PKG_CONFIG path to pkg-config utility
1956 C compiler flags for DIRECTFB, overriding pkg-config
1958 linker flags for DIRECTFB, overriding pkg-config
1959 XMKMF Path to xmkmf, Makefile generator for X Window System
1961 C compiler flags for PANGOX, overriding pkg-config
1962 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1964 C compiler flags for PANGOFT2, overriding pkg-config
1966 linker flags for PANGOFT2, overriding pkg-config
1968 C compiler flags for PANGOXFT, overriding pkg-config
1970 linker flags for PANGOXFT, overriding pkg-config
1972 C compiler flags for GTKPRINT, overriding pkg-config
1974 linker flags for GTKPRINT, overriding pkg-config
1975 LIBGNOMEPRINTUI_CFLAGS
1976 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1977 LIBGNOMEPRINTUI_LIBS
1978 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1980 C compiler flags for GNOMEVFS, overriding pkg-config
1982 linker flags for GNOMEVFS, overriding pkg-config
1984 C compiler flags for HILDON, overriding pkg-config
1985 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1987 C compiler flags for CAIRO, overriding pkg-config
1988 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1989 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1990 GST_LIBS linker flags for GST, overriding pkg-config
1992 Use these variables to override the choices made by `configure' or to
help
1993 it to
find libraries and programs with nonstandard names
/locations.
1995 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2000 if test "$ac_init_help" = "recursive"; then
2001 # If there are subdirs, report their specific --help.
2002 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2003 test -d "$ac_dir" || continue
2007 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2009 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2010 # A ".." for each directory in $ac_dir_suffix.
2011 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2012 case $ac_top_builddir_sub in
2013 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2014 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2017 ac_abs_top_builddir
=$ac_pwd
2018 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2019 # for backward compatibility:
2020 ac_top_builddir
=$ac_top_build_prefix
2023 .
) # We are building in place.
2025 ac_top_srcdir
=$ac_top_builddir_sub
2026 ac_abs_top_srcdir
=$ac_pwd ;;
2027 [\\/]* | ?
:[\\/]* ) # Absolute name.
2028 ac_srcdir
=$srcdir$ac_dir_suffix;
2029 ac_top_srcdir
=$srcdir
2030 ac_abs_top_srcdir
=$srcdir ;;
2032 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2033 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2034 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2036 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2038 cd "$ac_dir" || { ac_status
=$?
; continue; }
2039 # Check for guested configure.
2040 if test -f "$ac_srcdir/configure.gnu"; then
2042 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2043 elif test -f "$ac_srcdir/configure"; then
2045 $SHELL "$ac_srcdir/configure" --help=recursive
2047 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2049 cd "$ac_pwd" || { ac_status
=$?
; break; }
2053 test -n "$ac_init_help" && exit $ac_status
2054 if $ac_init_version; then
2056 wxWidgets configure
2.9.0
2057 generated by GNU Autoconf
2.61
2059 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2060 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2061 This configure
script is free software
; the Free Software Foundation
2062 gives unlimited permission to copy
, distribute and modify it.
2066 cat >config.log
<<_ACEOF
2067 This file contains any messages produced by compilers while
2068 running configure, to aid debugging if configure makes a mistake.
2070 It was created by wxWidgets $as_me 2.9.0, which was
2071 generated by GNU Autoconf 2.61. Invocation command line was
2083 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2084 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2085 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2086 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2087 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2089 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2090 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2092 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2093 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2094 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2095 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2096 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2097 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2098 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2106 test -z "$as_dir" && as_dir
=.
2107 echo "PATH: $as_dir"
2123 # Keep a trace of the command line.
2124 # Strip out --no-create and --no-recursion so they do not pile up.
2125 # Strip out --silent because we don't want to record it for future runs.
2126 # Also quote any args containing shell meta-characters.
2127 # Make two passes to allow for proper duplicate-argument suppression.
2131 ac_must_keep_next
=false
2137 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2138 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2139 | -silent | --silent | --silen | --sile | --sil)
2142 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2145 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2147 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2148 if test $ac_must_keep_next = true
; then
2149 ac_must_keep_next
=false
# Got value, back to normal.
2152 *=* | --config-cache | -C | -disable-* | --disable-* \
2153 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2154 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2155 | -with-* | --with-* | -without-* | --without-* | --x)
2156 case "$ac_configure_args0 " in
2157 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2160 -* ) ac_must_keep_next
=true
;;
2163 ac_configure_args
="$ac_configure_args '$ac_arg'"
2168 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2169 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2171 # When interrupted or exit'd, cleanup temporary files, and complete
2172 # config.log. We remove comments because anyway the quotes in there
2173 # would cause problems or look ugly.
2174 # WARNING: Use '\'' to represent an apostrophe within the trap.
2175 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2176 trap 'exit_status=$?
2177 # Save into config.log some information that might help in debugging.
2182 ## ---------------- ##
2183 ## Cache variables. ##
2184 ## ---------------- ##
2187 # The following way of writing the cache mishandles newlines in values,
2189 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2190 eval ac_val=\$$ac_var
2194 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2195 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2198 _ | IFS | as_nl) ;; #(
2199 *) $as_unset $ac_var ;;
2204 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2205 *${as_nl}ac_space=\ *)
2207 "s/'\''/'\''\\\\'\'''\''/g;
2208 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2211 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2219 ## ----------------- ##
2220 ## Output variables. ##
2221 ## ----------------- ##
2224 for ac_var in $ac_subst_vars
2226 eval ac_val=\$$ac_var
2228 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2230 echo "$ac_var='\''$ac_val'\''"
2234 if test -n "$ac_subst_files"; then
2236 ## ------------------- ##
2237 ## File substitutions. ##
2238 ## ------------------- ##
2241 for ac_var
in $ac_subst_files
2243 eval ac_val
=\$
$ac_var
2245 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2247 echo "$ac_var='\''$ac_val'\''"
2252 if test -s confdefs.h; then
2262 test "$ac_signal" != 0 &&
2263 echo "$as_me: caught signal $ac_signal"
2264 echo "$as_me: exit $exit_status"
2266 rm -f core *.core core.conftest.* &&
2267 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2270 for ac_signal
in 1 2 13 15; do
2271 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2275 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2276 rm -f -r conftest
* confdefs.h
2278 # Predefined preprocessor variables.
2280 cat >>confdefs.h
<<_ACEOF
2281 #define PACKAGE_NAME "$PACKAGE_NAME"
2285 cat >>confdefs.h
<<_ACEOF
2286 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2290 cat >>confdefs.h
<<_ACEOF
2291 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2295 cat >>confdefs.h
<<_ACEOF
2296 #define PACKAGE_STRING "$PACKAGE_STRING"
2300 cat >>confdefs.h
<<_ACEOF
2301 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2305 # Let the site file select an alternate cache file if it wants to.
2306 # Prefer explicitly selected file to automatically selected ones.
2307 if test -n "$CONFIG_SITE"; then
2308 set x
"$CONFIG_SITE"
2309 elif test "x$prefix" != xNONE
; then
2310 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2312 set x
"$ac_default_prefix/share/config.site" \
2313 "$ac_default_prefix/etc/config.site"
2318 if test -r "$ac_site_file"; then
2319 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2320 echo "$as_me: loading site script $ac_site_file" >&6;}
2321 sed 's/^/| /' "$ac_site_file" >&5
2326 if test -r "$cache_file"; then
2327 # Some versions of bash will fail to source /dev/null (special
2328 # files actually), so we avoid doing that.
2329 if test -f "$cache_file"; then
2330 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2331 echo "$as_me: loading cache $cache_file" >&6;}
2333 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2334 *) .
"./$cache_file";;
2338 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2339 echo "$as_me: creating cache $cache_file" >&6;}
2343 # Check that the precious variables saved in the cache have kept the same
2345 ac_cache_corrupted
=false
2346 for ac_var
in $ac_precious_vars; do
2347 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2348 eval ac_new_set
=\
$ac_env_${ac_var}_set
2349 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2350 eval ac_new_val
=\
$ac_env_${ac_var}_value
2351 case $ac_old_set,$ac_new_set in
2353 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2354 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2355 ac_cache_corrupted
=: ;;
2357 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2358 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2359 ac_cache_corrupted
=: ;;
2362 if test "x$ac_old_val" != "x$ac_new_val"; then
2363 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2364 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2365 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2366 echo "$as_me: former value: $ac_old_val" >&2;}
2367 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2368 echo "$as_me: current value: $ac_new_val" >&2;}
2369 ac_cache_corrupted
=:
2372 # Pass precious variables to config.status.
2373 if test "$ac_new_set" = set; then
2375 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2376 *) ac_arg
=$ac_var=$ac_new_val ;;
2378 case " $ac_configure_args " in
2379 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2380 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2384 if $ac_cache_corrupted; then
2385 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2386 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2387 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2388 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2389 { (exit 1); exit 1; }; }
2417 ac_cpp
='$CPP $CPPFLAGS'
2418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2427 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2428 if test -f "$ac_dir/install-sh"; then
2430 ac_install_sh
="$ac_aux_dir/install-sh -c"
2432 elif test -f "$ac_dir/install.sh"; then
2434 ac_install_sh
="$ac_aux_dir/install.sh -c"
2436 elif test -f "$ac_dir/shtool"; then
2438 ac_install_sh
="$ac_aux_dir/shtool install -c"
2442 if test -z "$ac_aux_dir"; then
2443 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2444 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2445 { (exit 1); exit 1; }; }
2448 # These three variables are undocumented and unsupported,
2449 # and are intended to be withdrawn in a future Autoconf release.
2450 # They can cause serious problems if a builder's source tree is in a directory
2451 # whose full name contains unusual characters.
2452 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2453 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2454 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2457 # Make sure we can run config.sub.
2458 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2459 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2460 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2461 { (exit 1); exit 1; }; }
2463 { echo "$as_me:$LINENO: checking build system type" >&5
2464 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2465 if test "${ac_cv_build+set}" = set; then
2466 echo $ECHO_N "(cached) $ECHO_C" >&6
2468 ac_build_alias
=$build_alias
2469 test "x$ac_build_alias" = x
&&
2470 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2471 test "x$ac_build_alias" = x
&&
2472 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2473 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2474 { (exit 1); exit 1; }; }
2475 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2476 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2477 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2478 { (exit 1); exit 1; }; }
2481 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2482 echo "${ECHO_T}$ac_cv_build" >&6; }
2483 case $ac_cv_build in
2485 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2486 echo "$as_me: error: invalid value of canonical build" >&2;}
2487 { (exit 1); exit 1; }; };;
2490 ac_save_IFS
=$IFS; IFS
='-'
2496 # Remember, the first character of IFS is used to create $*,
2497 # except with old shells:
2500 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2503 { echo "$as_me:$LINENO: checking host system type" >&5
2504 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2505 if test "${ac_cv_host+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 if test "x$host_alias" = x
; then
2509 ac_cv_host
=$ac_cv_build
2511 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2512 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2513 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2514 { (exit 1); exit 1; }; }
2518 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2519 echo "${ECHO_T}$ac_cv_host" >&6; }
2522 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2523 echo "$as_me: error: invalid value of canonical host" >&2;}
2524 { (exit 1); exit 1; }; };;
2527 ac_save_IFS
=$IFS; IFS
='-'
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2537 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2540 { echo "$as_me:$LINENO: checking target system type" >&5
2541 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2542 if test "${ac_cv_target+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 if test "x$target_alias" = x
; then
2546 ac_cv_target
=$ac_cv_host
2548 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2549 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2550 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2551 { (exit 1); exit 1; }; }
2555 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2556 echo "${ECHO_T}$ac_cv_target" >&6; }
2557 case $ac_cv_target in
2559 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2560 echo "$as_me: error: invalid value of canonical target" >&2;}
2561 { (exit 1); exit 1; }; };;
2563 target
=$ac_cv_target
2564 ac_save_IFS
=$IFS; IFS
='-'
2570 # Remember, the first character of IFS is used to create $*,
2571 # except with old shells:
2574 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2577 # The aliases save the names the user supplied, while $host etc.
2578 # will get canonicalized.
2579 test -n "$target_alias" &&
2580 test "$program_prefix$program_suffix$program_transform_name" = \
2582 program_prefix
=${target_alias}-
2586 wx_major_version_number
=2
2587 wx_minor_version_number
=9
2589 wx_subrelease_number
=0
2591 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2592 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2593 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2595 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2598 wx_top_builddir
="`pwd`"
2611 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2617 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2623 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2625 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2627 DEFAULT_wxUSE_COCOA
=0
2629 DEFAULT_wxUSE_OSX_CARBON
=0
2630 DEFAULT_wxUSE_OSX_COCOA
=0
2632 DEFAULT_wxUSE_MICROWIN
=0
2633 DEFAULT_wxUSE_MOTIF
=0
2639 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2640 DEFAULT_DEFAULT_wxUSE_GTK
=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2642 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2643 DEFAULT_DEFAULT_wxUSE_MGL
=0
2644 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2645 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2646 DEFAULT_DEFAULT_wxUSE_MSW
=0
2647 DEFAULT_DEFAULT_wxUSE_PM
=0
2648 DEFAULT_DEFAULT_wxUSE_X11
=0
2649 DEFAULT_DEFAULT_wxUSE_DFB
=0
2653 SAMPLES_RPATH_POSTLINK
=
2655 DEFAULT_STD_FLAG
=yes
2660 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2661 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2662 cat >>confdefs.h
<<\_ACEOF
2667 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2671 cat >>confdefs.h
<<\_ACEOF
2676 if test "x$TMP" = "xalpha"; then
2678 cat >>confdefs.h
<<\_ACEOF
2683 DEFAULT_DEFAULT_wxUSE_GTK
=1
2685 *-*-gnu* | *-*-k*bsd
*-gnu )
2688 if test "x$TMP" = "xalpha"; then
2690 cat >>confdefs.h
<<\_ACEOF
2695 DEFAULT_DEFAULT_wxUSE_GTK
=1
2697 *-*-irix5* | *-*-irix6* )
2700 cat >>confdefs.h
<<\_ACEOF
2704 cat >>confdefs.h
<<\_ACEOF
2708 DEFAULT_DEFAULT_wxUSE_MOTIF
=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 cat >>confdefs.h
<<\_ACEOF
2918 #define TARGET_CARBON 1
2921 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2924 powerpc
-apple-macos* )
2926 ac_cv_c_bigendian
=yes
2927 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2933 cat >>confdefs.h
<<\_ACEOF
2940 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2941 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2942 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2943 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2945 DEFAULT_DEFAULT_wxUSE_X11
=1
2946 DEFAULT_wxUSE_SHARED
=no
2951 DEFAULT_wxUSE_ALL_FEATURES
=yes
2953 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2954 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2956 DEFAULT_wxUSE_DMALLOC
=no
2957 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2958 DEFAULT_wxUSE_LIBHILDON
=no
2959 DEFAULT_wxUSE_LIBMSPACK
=no
2960 DEFAULT_wxUSE_LIBSDL
=no
2962 DEFAULT_wxUSE_ACCESSIBILITY
=no
2963 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2964 DEFAULT_wxUSE_IPV6
=no
2965 DEFAULT_wxUSE_GSTREAMER8
=no
2967 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2968 DEFAULT_wxUSE_OPENGL
=auto
2969 DEFAULT_wxUSE_MEDIACTRL
=auto
2971 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2973 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2975 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2977 DEFAULT_wxUSE_GTK2
=yes
2979 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2985 enablestring
=disable
2987 if test -z "$defaultval"; then
2988 if test x
"$enablestring" = xdisable
; then
2995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2996 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2997 # Check whether --enable-gui was given.
2998 if test "${enable_gui+set}" = set; then
2999 enableval
=$enable_gui;
3000 if test "$enableval" = yes; then
3001 wx_cv_use_gui
='wxUSE_GUI=yes'
3003 wx_cv_use_gui
='wxUSE_GUI=no'
3008 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3013 eval "$wx_cv_use_gui"
3015 if test x"$enablestring" = xdisable; then
3016 if test $wxUSE_GUI = yes; then
3025 { echo "$as_me:$LINENO: result: $result" >&5
3026 echo "${ECHO_T}$result" >&6; }
3031 if test -z "$defaultval"; then
3032 if test x"$enablestring" = xdisable; then
3039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3040 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3041 # Check whether --enable-monolithic was given.
3042 if test "${enable_monolithic+set}" = set; then
3043 enableval=$enable_monolithic;
3044 if test "$enableval" = yes; then
3045 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3047 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3052 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3057 eval "$wx_cv_use_monolithic"
3059 if test x"$enablestring" = xdisable; then
3060 if test $wxUSE_MONOLITHIC = yes; then
3066 result=$wxUSE_MONOLITHIC
3069 { echo "$as_me:$LINENO: result
: $result" >&5
3070 echo "${ECHO_T}$result" >&6; }
3075 if test -z "$defaultval"; then
3076 if test x"$enablestring" = xdisable; then
3083 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3084 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3085 # Check whether --enable-plugins was given.
3086 if test "${enable_plugins+set}" = set; then
3087 enableval=$enable_plugins;
3088 if test "$enableval" = yes; then
3089 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3091 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3096 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3101 eval "$wx_cv_use_plugins"
3103 if test x
"$enablestring" = xdisable
; then
3104 if test $wxUSE_PLUGINS = yes; then
3110 result
=$wxUSE_PLUGINS
3113 { echo "$as_me:$LINENO: result: $result" >&5
3114 echo "${ECHO_T}$result" >&6; }
3118 defaultval
=$wxUSE_ALL_FEATURES
3119 if test -z "$defaultval"; then
3120 if test x
"$withstring" = xwithout
; then
3126 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3127 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3129 # Check whether --with-subdirs was given.
3130 if test "${with_subdirs+set}" = set; then
3131 withval
=$with_subdirs;
3132 if test "$withval" = yes; then
3133 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3135 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3140 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3145 eval "$wx_cv_use_subdirs"
3147 if test x"$withstring" = xwithout; then
3148 if test $wxWITH_SUBDIRS = yes; then
3154 result=$wxWITH_SUBDIRS
3157 { echo "$as_me:$LINENO: result: $result" >&5
3158 echo "${ECHO_T}$result" >&6; }
3161 # Check whether --with-flavour was given.
3162 if test "${with_flavour+set}" = set; then
3163 withval=$with_flavour; WX_FLAVOUR="$withval"
3169 if test -z "$defaultval"; then
3170 if test x"$enablestring" = xdisable; then
3177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3178 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3179 # Check whether --enable-official_build was given.
3180 if test "${enable_official_build+set}" = set; then
3181 enableval=$enable_official_build;
3182 if test "$enableval" = yes; then
3183 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3185 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3190 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3195 eval "$wx_cv_use_official_build"
3197 if test x"$enablestring" = xdisable; then
3198 if test $wxUSE_OFFICIAL_BUILD = yes; then
3204 result=$wxUSE_OFFICIAL_BUILD
3207 { echo "$as_me:$LINENO: result
: $result" >&5
3208 echo "${ECHO_T}$result" >&6; }
3210 # Check whether --enable-vendor was given.
3211 if test "${enable_vendor+set}" = set; then
3212 enableval=$enable_vendor; VENDOR="$enableval"
3215 if test "x
$VENDOR" = "x
"; then
3220 enablestring=disable
3222 if test -z "$defaultval"; then
3223 if test x"$enablestring" = xdisable; then
3230 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3231 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3232 # Check whether --enable-all-features was given.
3233 if test "${enable_all_features+set}" = set; then
3234 enableval=$enable_all_features;
3235 if test "$enableval" = yes; then
3236 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3238 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3243 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3248 eval "$wx_cv_use_all_features"
3250 if test x
"$enablestring" = xdisable
; then
3251 if test $wxUSE_ALL_FEATURES = yes; then
3257 result
=$wxUSE_ALL_FEATURES
3260 { echo "$as_me:$LINENO: result: $result" >&5
3261 echo "${ECHO_T}$result" >&6; }
3265 if test "$wxUSE_GUI" = "yes"; then
3270 if test -z "$defaultval"; then
3271 if test x
"$enablestring" = xdisable
; then
3278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3279 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3280 # Check whether --enable-universal was given.
3281 if test "${enable_universal+set}" = set; then
3282 enableval
=$enable_universal;
3283 if test "$enableval" = yes; then
3284 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3286 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3291 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3296 eval "$wx_cv_use_universal"
3298 if test x"$enablestring" = xdisable; then
3299 if test $wxUSE_UNIVERSAL = yes; then
3305 result=$wxUSE_UNIVERSAL
3308 { echo "$as_me:$LINENO: result: $result" >&5
3309 echo "${ECHO_T}$result" >&6; }
3311 if test "$wxUSE_UNIVERSAL" = "yes"; then
3313 # Check whether --with-themes was given.
3314 if test "${with_themes+set}" = set; then
3315 withval=$with_themes; wxUNIV_THEMES="$withval"
3321 # Check whether --with-gtk was given.
3322 if test "${with_gtk+set}" = set; then
3323 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3327 # Check whether --with-motif was given.
3328 if test "${with_motif+set}" = set; then
3329 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3333 # Check whether --with-osx_carbon was given.
3334 if test "${with_osx_carbon+set}" = set; then
3335 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3339 # Check whether --with-osx_cocoa was given.
3340 if test "${with_osx_cocoa+set}" = set; then
3341 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3345 # Check whether --with-mac was given.
3346 if test "${with_mac+set}" = set; then
3347 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3351 # Check whether --with-cocoa was given.
3352 if test "${with_cocoa+set}" = set; then
3353 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3357 # Check whether --with-wine was given.
3358 if test "${with_wine+set}" = set; then
3359 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3363 # Check whether --with-msw was given.
3364 if test "${with_msw+set}" = set; then
3365 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3369 # Check whether --with-pm was given.
3370 if test "${with_pm+set}" = set; then
3371 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3375 # Check whether --with-mgl was given.
3376 if test "${with_mgl+set}" = set; then
3377 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3381 # Check whether --with-directfb was given.
3382 if test "${with_directfb+set}" = set; then
3383 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3387 # Check whether --with-microwin was given.
3388 if test "${with_microwin+set}" = set; then
3389 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3393 # Check whether --with-x11 was given.
3394 if test "${with_x11+set}" = set; then
3395 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3401 if test -z "$defaultval"; then
3402 if test x"$enablestring" = xdisable; then
3409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3410 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3411 # Check whether --enable-nanox was given.
3412 if test "${enable_nanox+set}" = set; then
3413 enableval=$enable_nanox;
3414 if test "$enableval" = yes; then
3415 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3417 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3422 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3427 eval "$wx_cv_use_nanox"
3429 if test x"$enablestring" = xdisable; then
3430 if test $wxUSE_NANOX = yes; then
3439 { echo "$as_me:$LINENO: result
: $result" >&5
3440 echo "${ECHO_T}$result" >&6; }
3443 # Check whether --enable-gtk2 was given.
3444 if test "${enable_gtk2+set}" = set; then
3445 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3451 if test -z "$defaultval"; then
3452 if test x"$enablestring" = xdisable; then
3459 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3460 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3461 # Check whether --enable-gpe was given.
3462 if test "${enable_gpe+set}" = set; then
3463 enableval=$enable_gpe;
3464 if test "$enableval" = yes; then
3465 wx_cv_use_gpe='wxUSE_GPE=yes'
3467 wx_cv_use_gpe='wxUSE_GPE=no'
3472 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3477 eval "$wx_cv_use_gpe"
3479 if test x
"$enablestring" = xdisable
; then
3480 if test $wxUSE_GPE = yes; then
3489 { echo "$as_me:$LINENO: result: $result" >&5
3490 echo "${ECHO_T}$result" >&6; }
3494 { echo "$as_me:$LINENO: checking for toolkit" >&5
3495 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3499 # In Wine, we need to default to MSW, not GTK or MOTIF
3500 if test "$wxUSE_WINE" = "yes"; then
3501 DEFAULT_DEFAULT_wxUSE_GTK
=0
3502 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3503 DEFAULT_DEFAULT_wxUSE_MSW
=1
3510 if test "$wxUSE_GUI" = "yes"; then
3512 if test "$USE_BEOS" = 1; then
3513 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3514 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3515 { (exit 1); exit 1; }; }
3518 if test "$TOOLKIT_GIVEN" = 1; then
3519 for toolkit
in $ALL_TOOLKITS; do
3521 eval "value=\$${var}"
3522 if test "x$value" = "xno"; then
3524 elif test "x$value" != "x"; then
3528 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3529 eval "wx${toolkit}_VERSION=$value"
3533 for toolkit
in $ALL_TOOLKITS; do
3534 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3535 eval "wxUSE_$toolkit=\$${var}"
3539 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3540 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3541 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3544 *-pc-os2_emx | *-pc-os2-emx )
3545 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3548 case "$NUM_TOOLKITS" in
3552 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3553 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3554 { (exit 1); exit 1; }; }
3557 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3558 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3559 { (exit 1); exit 1; }; }
3562 # to be removed when --disable-gtk2 isn't needed
3563 if test "x$wxUSE_GTK2" = "xyes"; then
3565 elif test "x$wxUSE_GTK2" = "xno"; then
3569 for toolkit
in $ALL_TOOLKITS; do
3571 eval "value=\$${var}"
3572 if test "$value" = 1; then
3573 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3574 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3575 echo "${ECHO_T}$toolkit_echo" >&6; }
3579 if test "x$host_alias" != "x"; then
3580 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3581 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3583 { echo "$as_me:$LINENO: result: base only" >&5
3584 echo "${ECHO_T}base only" >&6; }
3589 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3595 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3596 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3598 # Check whether --with-libpng was given.
3599 if test "${with_libpng+set}" = set; then
3600 withval
=$with_libpng;
3601 if test "$withval" = yes; then
3602 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3603 elif test "$withval" = no
; then
3604 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3605 elif test "$withval" = sys
; then
3606 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3607 elif test "$withval" = builtin; then
3608 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3610 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3611 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3612 { (exit 1); exit 1; }; }
3617 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3622 eval "$wx_cv_use_libpng"
3624 if test "$wxUSE_LIBPNG" = yes; then
3625 { echo "$as_me:$LINENO: result: yes" >&5
3626 echo "${ECHO_T}yes" >&6; }
3627 elif test "$wxUSE_LIBPNG" = no; then
3628 { echo "$as_me:$LINENO: result: no" >&5
3629 echo "${ECHO_T}no" >&6; }
3630 elif test "$wxUSE_LIBPNG" = sys; then
3631 { echo "$as_me:$LINENO: result: system version" >&5
3632 echo "${ECHO_T}system version" >&6; }
3633 elif test "$wxUSE_LIBPNG" = builtin; then
3634 { echo "$as_me:$LINENO: result: builtin version" >&5
3635 echo "${ECHO_T}builtin version" >&6; }
3637 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3638 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3639 { (exit 1); exit 1; }; }
3643 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3644 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3646 # Check whether --with-libjpeg was given.
3647 if test "${with_libjpeg+set}" = set; then
3648 withval=$with_libjpeg;
3649 if test "$withval" = yes; then
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3651 elif test "$withval" = no; then
3652 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3653 elif test "$withval" = sys; then
3654 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3655 elif test "$withval" = builtin; then
3656 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3658 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3659 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3660 { (exit 1); exit 1; }; }
3665 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3670 eval "$wx_cv_use_libjpeg"
3672 if test "$wxUSE_LIBJPEG" = yes; then
3673 { echo "$as_me:$LINENO: result
: yes" >&5
3674 echo "${ECHO_T}yes" >&6; }
3675 elif test "$wxUSE_LIBJPEG" = no; then
3676 { echo "$as_me:$LINENO: result
: no
" >&5
3677 echo "${ECHO_T}no
" >&6; }
3678 elif test "$wxUSE_LIBJPEG" = sys; then
3679 { echo "$as_me:$LINENO: result
: system version
" >&5
3680 echo "${ECHO_T}system version
" >&6; }
3681 elif test "$wxUSE_LIBJPEG" = builtin; then
3682 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3683 echo "${ECHO_T}builtin version
" >&6; }
3685 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3686 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3687 { (exit 1); exit 1; }; }
3691 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3692 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3694 # Check whether --with-libtiff was given.
3695 if test "${with_libtiff+set}" = set; then
3696 withval=$with_libtiff;
3697 if test "$withval" = yes; then
3698 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3699 elif test "$withval" = no; then
3700 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3701 elif test "$withval" = sys; then
3702 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3703 elif test "$withval" = builtin; then
3704 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3706 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3707 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3708 { (exit 1); exit 1; }; }
3713 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3718 eval "$wx_cv_use_libtiff"
3720 if test "$wxUSE_LIBTIFF" = yes; then
3721 { echo "$as_me:$LINENO: result: yes" >&5
3722 echo "${ECHO_T}yes" >&6; }
3723 elif test "$wxUSE_LIBTIFF" = no
; then
3724 { echo "$as_me:$LINENO: result: no" >&5
3725 echo "${ECHO_T}no" >&6; }
3726 elif test "$wxUSE_LIBTIFF" = sys
; then
3727 { echo "$as_me:$LINENO: result: system version" >&5
3728 echo "${ECHO_T}system version" >&6; }
3729 elif test "$wxUSE_LIBTIFF" = builtin; then
3730 { echo "$as_me:$LINENO: result: builtin version" >&5
3731 echo "${ECHO_T}builtin version" >&6; }
3733 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3734 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3735 { (exit 1); exit 1; }; }
3739 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3740 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3742 # Check whether --with-libxpm was given.
3743 if test "${with_libxpm+set}" = set; then
3744 withval
=$with_libxpm;
3745 if test "$withval" = yes; then
3746 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3747 elif test "$withval" = no
; then
3748 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3749 elif test "$withval" = sys
; then
3750 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3751 elif test "$withval" = builtin; then
3752 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3754 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3755 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3756 { (exit 1); exit 1; }; }
3761 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3766 eval "$wx_cv_use_libxpm"
3768 if test "$wxUSE_LIBXPM" = yes; then
3769 { echo "$as_me:$LINENO: result: yes" >&5
3770 echo "${ECHO_T}yes" >&6; }
3771 elif test "$wxUSE_LIBXPM" = no; then
3772 { echo "$as_me:$LINENO: result: no" >&5
3773 echo "${ECHO_T}no" >&6; }
3774 elif test "$wxUSE_LIBXPM" = sys; then
3775 { echo "$as_me:$LINENO: result: system version" >&5
3776 echo "${ECHO_T}system version" >&6; }
3777 elif test "$wxUSE_LIBXPM" = builtin; then
3778 { echo "$as_me:$LINENO: result: builtin version" >&5
3779 echo "${ECHO_T}builtin version" >&6; }
3781 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3782 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3783 { (exit 1); exit 1; }; }
3788 defaultval=$wxUSE_ALL_FEATURES
3789 if test -z "$defaultval"; then
3790 if test x"$withstring" = xwithout; then
3796 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3797 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3799 # Check whether --with-libiconv was given.
3800 if test "${with_libiconv+set}" = set; then
3801 withval=$with_libiconv;
3802 if test "$withval" = yes; then
3803 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3805 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3810 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3815 eval "$wx_cv_use_libiconv"
3817 if test x"$withstring" = xwithout; then
3818 if test $wxUSE_LIBICONV = yes; then
3824 result=$wxUSE_LIBICONV
3827 { echo "$as_me:$LINENO: result
: $result" >&5
3828 echo "${ECHO_T}$result" >&6; }
3832 defaultval=$wxUSE_ALL_FEATURES
3833 if test -z "$defaultval"; then
3834 if test x"$withstring" = xwithout; then
3840 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3841 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3843 # Check whether --with-libmspack was given.
3844 if test "${with_libmspack+set}" = set; then
3845 withval=$with_libmspack;
3846 if test "$withval" = yes; then
3847 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3849 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3854 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3859 eval "$wx_cv_use_libmspack"
3861 if test x
"$withstring" = xwithout
; then
3862 if test $wxUSE_LIBMSPACK = yes; then
3868 result
=$wxUSE_LIBMSPACK
3871 { echo "$as_me:$LINENO: result: $result" >&5
3872 echo "${ECHO_T}$result" >&6; }
3876 defaultval
=$wxUSE_ALL_FEATURES
3877 if test -z "$defaultval"; then
3878 if test x
"$withstring" = xwithout
; then
3884 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3885 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3887 # Check whether --with-gtkprint was given.
3888 if test "${with_gtkprint+set}" = set; then
3889 withval
=$with_gtkprint;
3890 if test "$withval" = yes; then
3891 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3893 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3898 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3903 eval "$wx_cv_use_gtkprint"
3905 if test x"$withstring" = xwithout; then
3906 if test $wxUSE_GTKPRINT = yes; then
3912 result=$wxUSE_GTKPRINT
3915 { echo "$as_me:$LINENO: result: $result" >&5
3916 echo "${ECHO_T}$result" >&6; }
3920 defaultval=$wxUSE_ALL_FEATURES
3921 if test -z "$defaultval"; then
3922 if test x"$withstring" = xwithout; then
3928 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3929 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3931 # Check whether --with-gnomeprint was given.
3932 if test "${with_gnomeprint+set}" = set; then
3933 withval=$with_gnomeprint;
3934 if test "$withval" = yes; then
3935 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3937 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3942 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3947 eval "$wx_cv_use_gnomeprint"
3949 if test x"$withstring" = xwithout; then
3950 if test $wxUSE_LIBGNOMEPRINT = yes; then
3956 result=$wxUSE_LIBGNOMEPRINT
3959 { echo "$as_me:$LINENO: result
: $result" >&5
3960 echo "${ECHO_T}$result" >&6; }
3964 defaultval=$wxUSE_ALL_FEATURES
3965 if test -z "$defaultval"; then
3966 if test x"$withstring" = xwithout; then
3972 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3973 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3975 # Check whether --with-gnomevfs was given.
3976 if test "${with_gnomevfs+set}" = set; then
3977 withval=$with_gnomevfs;
3978 if test "$withval" = yes; then
3979 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3981 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3986 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3991 eval "$wx_cv_use_gnomevfs"
3993 if test x
"$withstring" = xwithout
; then
3994 if test $wxUSE_LIBGNOMEVFS = yes; then
4000 result
=$wxUSE_LIBGNOMEVFS
4003 { echo "$as_me:$LINENO: result: $result" >&5
4004 echo "${ECHO_T}$result" >&6; }
4008 defaultval
=$wxUSE_ALL_FEATURES
4009 if test -z "$defaultval"; then
4010 if test x
"$withstring" = xwithout
; then
4016 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4017 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4019 # Check whether --with-hildon was given.
4020 if test "${with_hildon+set}" = set; then
4021 withval
=$with_hildon;
4022 if test "$withval" = yes; then
4023 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4025 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4030 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4035 eval "$wx_cv_use_hildon"
4037 if test x"$withstring" = xwithout; then
4038 if test $wxUSE_LIBHILDON = yes; then
4044 result=$wxUSE_LIBHILDON
4047 { echo "$as_me:$LINENO: result: $result" >&5
4048 echo "${ECHO_T}$result" >&6; }
4052 defaultval=$wxUSE_ALL_FEATURES
4053 if test -z "$defaultval"; then
4054 if test x"$withstring" = xwithout; then
4060 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4061 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4063 # Check whether --with-opengl was given.
4064 if test "${with_opengl+set}" = set; then
4065 withval=$with_opengl;
4066 if test "$withval" = yes; then
4067 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4069 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4074 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4079 eval "$wx_cv_use_opengl"
4081 if test x"$withstring" = xwithout; then
4082 if test $wxUSE_OPENGL = yes; then
4088 result=$wxUSE_OPENGL
4091 { echo "$as_me:$LINENO: result
: $result" >&5
4092 echo "${ECHO_T}$result" >&6; }
4099 defaultval=$wxUSE_ALL_FEATURES
4100 if test -z "$defaultval"; then
4101 if test x"$withstring" = xwithout; then
4107 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4108 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4110 # Check whether --with-dmalloc was given.
4111 if test "${with_dmalloc+set}" = set; then
4112 withval=$with_dmalloc;
4113 if test "$withval" = yes; then
4114 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4116 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4121 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4126 eval "$wx_cv_use_dmalloc"
4128 if test x
"$withstring" = xwithout
; then
4129 if test $wxUSE_DMALLOC = yes; then
4135 result
=$wxUSE_DMALLOC
4138 { echo "$as_me:$LINENO: result: $result" >&5
4139 echo "${ECHO_T}$result" >&6; }
4143 defaultval
=$wxUSE_ALL_FEATURES
4144 if test -z "$defaultval"; then
4145 if test x
"$withstring" = xwithout
; then
4151 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4152 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4154 # Check whether --with-sdl was given.
4155 if test "${with_sdl+set}" = set; then
4157 if test "$withval" = yes; then
4158 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4160 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4165 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4170 eval "$wx_cv_use_sdl"
4172 if test x"$withstring" = xwithout; then
4173 if test $wxUSE_LIBSDL = yes; then
4179 result=$wxUSE_LIBSDL
4182 { echo "$as_me:$LINENO: result: $result" >&5
4183 echo "${ECHO_T}$result" >&6; }
4186 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4187 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4189 # Check whether --with-regex was given.
4190 if test "${with_regex+set}" = set; then
4191 withval=$with_regex;
4192 if test "$withval" = yes; then
4193 wx_cv_use_regex='wxUSE_REGEX
=yes'
4194 elif test "$withval" = no; then
4195 wx_cv_use_regex='wxUSE_REGEX
=no
'
4196 elif test "$withval" = sys; then
4197 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4198 elif test "$withval" = builtin; then
4199 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4201 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4202 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4203 { (exit 1); exit 1; }; }
4208 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4213 eval "$wx_cv_use_regex"
4215 if test "$wxUSE_REGEX" = yes; then
4216 { echo "$as_me:$LINENO: result
: yes" >&5
4217 echo "${ECHO_T}yes" >&6; }
4218 elif test "$wxUSE_REGEX" = no; then
4219 { echo "$as_me:$LINENO: result
: no
" >&5
4220 echo "${ECHO_T}no
" >&6; }
4221 elif test "$wxUSE_REGEX" = sys; then
4222 { echo "$as_me:$LINENO: result
: system version
" >&5
4223 echo "${ECHO_T}system version
" >&6; }
4224 elif test "$wxUSE_REGEX" = builtin; then
4225 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4226 echo "${ECHO_T}builtin version
" >&6; }
4228 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4229 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4230 { (exit 1); exit 1; }; }
4234 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4235 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4237 # Check whether --with-zlib was given.
4238 if test "${with_zlib+set}" = set; then
4240 if test "$withval" = yes; then
4241 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4242 elif test "$withval" = no; then
4243 wx_cv_use_zlib='wxUSE_ZLIB=no'
4244 elif test "$withval" = sys; then
4245 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4246 elif test "$withval" = builtin; then
4247 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4249 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4250 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4251 { (exit 1); exit 1; }; }
4256 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4261 eval "$wx_cv_use_zlib"
4263 if test "$wxUSE_ZLIB" = yes; then
4264 { echo "$as_me:$LINENO: result: yes" >&5
4265 echo "${ECHO_T}yes" >&6; }
4266 elif test "$wxUSE_ZLIB" = no
; then
4267 { echo "$as_me:$LINENO: result: no" >&5
4268 echo "${ECHO_T}no" >&6; }
4269 elif test "$wxUSE_ZLIB" = sys
; then
4270 { echo "$as_me:$LINENO: result: system version" >&5
4271 echo "${ECHO_T}system version" >&6; }
4272 elif test "$wxUSE_ZLIB" = builtin; then
4273 { echo "$as_me:$LINENO: result: builtin version" >&5
4274 echo "${ECHO_T}builtin version" >&6; }
4276 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4277 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4278 { (exit 1); exit 1; }; }
4282 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4283 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4285 # Check whether --with-expat was given.
4286 if test "${with_expat+set}" = set; then
4287 withval
=$with_expat;
4288 if test "$withval" = yes; then
4289 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4290 elif test "$withval" = no
; then
4291 wx_cv_use_expat
='wxUSE_EXPAT=no'
4292 elif test "$withval" = sys
; then
4293 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4294 elif test "$withval" = builtin; then
4295 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4297 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4298 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4299 { (exit 1); exit 1; }; }
4304 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4309 eval "$wx_cv_use_expat"
4311 if test "$wxUSE_EXPAT" = yes; then
4312 { echo "$as_me:$LINENO: result: yes" >&5
4313 echo "${ECHO_T}yes" >&6; }
4314 elif test "$wxUSE_EXPAT" = no; then
4315 { echo "$as_me:$LINENO: result: no" >&5
4316 echo "${ECHO_T}no" >&6; }
4317 elif test "$wxUSE_EXPAT" = sys; then
4318 { echo "$as_me:$LINENO: result: system version" >&5
4319 echo "${ECHO_T}system version" >&6; }
4320 elif test "$wxUSE_EXPAT" = builtin; then
4321 { echo "$as_me:$LINENO: result: builtin version" >&5
4322 echo "${ECHO_T}builtin version" >&6; }
4324 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4325 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4326 { (exit 1); exit 1; }; }
4330 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4331 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4333 # Check whether --with-macosx-sdk was given.
4334 if test "${with_macosx_sdk+set}" = set; then
4335 withval=$with_macosx_sdk;
4336 wxUSE_MACOSX_SDK=$withval
4337 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4341 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4342 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4344 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4345 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4347 # Check whether --with-macosx-version-min was given.
4348 if test "${with_macosx_version_min+set}" = set; then
4349 withval=$with_macosx_version_min;
4350 wxUSE_MACOSX_VERSION_MIN=$withval
4351 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4355 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4356 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4360 enablestring=disable
4362 if test -z "$defaultval"; then
4363 if test x"$enablestring" = xdisable; then
4370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4371 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4372 # Check whether --enable-shared was given.
4373 if test "${enable_shared+set}" = set; then
4374 enableval=$enable_shared;
4375 if test "$enableval" = yes; then
4376 wx_cv_use_shared='wxUSE_SHARED
=yes'
4378 wx_cv_use_shared='wxUSE_SHARED
=no
'
4383 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4388 eval "$wx_cv_use_shared"
4390 if test x"$enablestring" = xdisable; then
4391 if test $wxUSE_SHARED = yes; then
4397 result=$wxUSE_SHARED
4400 { echo "$as_me:$LINENO: result
: $result" >&5
4401 echo "${ECHO_T}$result" >&6; }
4406 if test -z "$defaultval"; then
4407 if test x"$enablestring" = xdisable; then
4414 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4415 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4416 # Check whether --enable-debug was given.
4417 if test "${enable_debug+set}" = set; then
4418 enableval=$enable_debug;
4419 if test "$enableval" = yes; then
4420 wx_cv_use_debug='wxUSE_DEBUG=yes'
4422 wx_cv_use_debug='wxUSE_DEBUG=no'
4427 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4432 eval "$wx_cv_use_debug"
4434 if test x
"$enablestring" = xdisable
; then
4435 if test $wxUSE_DEBUG = yes; then
4444 { echo "$as_me:$LINENO: result: $result" >&5
4445 echo "${ECHO_T}$result" >&6; }
4450 if test -z "$defaultval"; then
4451 if test x
"$enablestring" = xdisable
; then
4458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4459 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4460 # Check whether --enable-stl was given.
4461 if test "${enable_stl+set}" = set; then
4462 enableval
=$enable_stl;
4463 if test "$enableval" = yes; then
4464 wx_cv_use_stl
='wxUSE_STL=yes'
4466 wx_cv_use_stl
='wxUSE_STL=no'
4471 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4476 eval "$wx_cv_use_stl"
4478 if test x"$enablestring" = xdisable; then
4479 if test $wxUSE_STL = yes; then
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}-std_iostreams" >&5
4503 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4504 # Check whether --enable-std_iostreams was given.
4505 if test "${enable_std_iostreams+set}" = set; then
4506 enableval=$enable_std_iostreams;
4507 if test "$enableval" = yes; then
4508 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4510 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4515 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4520 eval "$wx_cv_use_std_iostreams"
4522 if test x"$enablestring" = xdisable; then
4523 if test $wxUSE_STD_IOSTREAM = yes; then
4529 result=$wxUSE_STD_IOSTREAM
4532 { echo "$as_me:$LINENO: result
: $result" >&5
4533 echo "${ECHO_T}$result" >&6; }
4538 if test -z "$defaultval"; then
4539 if test x"$enablestring" = xdisable; then
4546 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4547 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4548 # Check whether --enable-std_string was given.
4549 if test "${enable_std_string+set}" = set; then
4550 enableval=$enable_std_string;
4551 if test "$enableval" = yes; then
4552 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4554 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4559 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4564 eval "$wx_cv_use_std_string"
4566 if test x
"$enablestring" = xdisable
; then
4567 if test $wxUSE_STD_STRING = yes; then
4573 result
=$wxUSE_STD_STRING
4576 { echo "$as_me:$LINENO: result: $result" >&5
4577 echo "${ECHO_T}$result" >&6; }
4580 enablestring
=disable
4582 if test -z "$defaultval"; then
4583 if test x
"$enablestring" = xdisable
; then
4590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4591 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4592 # Check whether --enable-unicode was given.
4593 if test "${enable_unicode+set}" = set; then
4594 enableval
=$enable_unicode;
4595 if test "$enableval" = yes; then
4596 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4598 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4603 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4608 eval "$wx_cv_use_unicode"
4610 if test x"$enablestring" = xdisable; then
4611 if test $wxUSE_UNICODE = yes; then
4617 result=$wxUSE_UNICODE
4620 { echo "$as_me:$LINENO: result: $result" >&5
4621 echo "${ECHO_T}$result" >&6; }
4626 if test -z "$defaultval"; then
4627 if test x"$enablestring" = xdisable; then
4634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4635 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4636 # Check whether --enable-mslu was given.
4637 if test "${enable_mslu+set}" = set; then
4638 enableval=$enable_mslu;
4639 if test "$enableval" = yes; then
4640 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4642 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4647 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4652 eval "$wx_cv_use_mslu"
4654 if test x"$enablestring" = xdisable; then
4655 if test $wxUSE_UNICODE_MSLU = yes; then
4661 result=$wxUSE_UNICODE_MSLU
4664 { echo "$as_me:$LINENO: result
: $result" >&5
4665 echo "${ECHO_T}$result" >&6; }
4669 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4670 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4671 # Check whether --enable-utf8 was given.
4672 if test "${enable_utf8+set}" = set; then
4673 enableval=$enable_utf8;
4674 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4678 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4683 eval "$wx_cv_use_utf8"
4685 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4686 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4691 if test -z "$defaultval"; then
4692 if test x"$enablestring" = xdisable; then
4699 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4700 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4701 # Check whether --enable-utf8only was given.
4702 if test "${enable_utf8only+set}" = set; then
4703 enableval=$enable_utf8only;
4704 if test "$enableval" = yes; then
4705 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4707 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4712 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4717 eval "$wx_cv_use_utf8only"
4719 if test x
"$enablestring" = xdisable
; then
4720 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4726 result
=$wxUSE_UNICODE_UTF8_LOCALE
4729 { echo "$as_me:$LINENO: result: $result" >&5
4730 echo "${ECHO_T}$result" >&6; }
4735 if test -z "$defaultval"; then
4736 if test x
"$enablestring" = xdisable
; then
4743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4744 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4745 # Check whether --enable-extended_rtti was given.
4746 if test "${enable_extended_rtti+set}" = set; then
4747 enableval
=$enable_extended_rtti;
4748 if test "$enableval" = yes; then
4749 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4751 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4756 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4761 eval "$wx_cv_use_extended_rtti"
4763 if test x"$enablestring" = xdisable; then
4764 if test $wxUSE_EXTENDED_RTTI = yes; then
4770 result=$wxUSE_EXTENDED_RTTI
4773 { echo "$as_me:$LINENO: result: $result" >&5
4774 echo "${ECHO_T}$result" >&6; }
4776 if test "$USE_OS2" = 1; then
4777 DEFAULT_wxUSE_OMF=no
4781 if test -z "$defaultval"; then
4782 if test x"$enablestring" = xdisable; then
4789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4790 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4791 # Check whether --enable-omf was given.
4792 if test "${enable_omf+set}" = set; then
4793 enableval=$enable_omf;
4794 if test "$enableval" = yes; then
4795 wx_cv_use_omf='wxUSE_OMF
=yes'
4797 wx_cv_use_omf='wxUSE_OMF
=no
'
4802 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4807 eval "$wx_cv_use_omf"
4809 if test x"$enablestring" = xdisable; then
4810 if test $wxUSE_OMF = yes; then
4819 { echo "$as_me:$LINENO: result
: $result" >&5
4820 echo "${ECHO_T}$result" >&6; }
4824 if test "$wxUSE_DEBUG" = "yes"; then
4825 DEFAULT_wxUSE_DEBUG_FLAG=yes
4826 DEFAULT_wxUSE_DEBUG_INFO=yes
4828 elif test "$wxUSE_DEBUG" = "no
"; then
4829 DEFAULT_wxUSE_DEBUG_FLAG=no
4830 DEFAULT_wxUSE_DEBUG_INFO=no
4837 if test -z "$defaultval"; then
4838 if test x"$enablestring" = xdisable; then
4845 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4846 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4847 # Check whether --enable-debug_flag was given.
4848 if test "${enable_debug_flag+set}" = set; then
4849 enableval=$enable_debug_flag;
4850 if test "$enableval" = yes; then
4851 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4853 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4858 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4863 eval "$wx_cv_use_debug_flag"
4865 if test x
"$enablestring" = xdisable
; then
4866 if test $wxUSE_DEBUG_FLAG = yes; then
4872 result
=$wxUSE_DEBUG_FLAG
4875 { echo "$as_me:$LINENO: result: $result" >&5
4876 echo "${ECHO_T}$result" >&6; }
4881 if test -z "$defaultval"; then
4882 if test x
"$enablestring" = xdisable
; then
4889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4891 # Check whether --enable-debug_info was given.
4892 if test "${enable_debug_info+set}" = set; then
4893 enableval
=$enable_debug_info;
4894 if test "$enableval" = yes; then
4895 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4897 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4902 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4907 eval "$wx_cv_use_debug_info"
4909 if test x"$enablestring" = xdisable; then
4910 if test $wxUSE_DEBUG_INFO = yes; then
4916 result=$wxUSE_DEBUG_INFO
4919 { echo "$as_me:$LINENO: result: $result" >&5
4920 echo "${ECHO_T}$result" >&6; }
4923 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4928 if test "$wxUSE_DEBUG" = "yes"; then
4929 DEFAULT_wxUSE_OPTIMISE=no
4933 enablestring=disable
4935 if test -z "$defaultval"; then
4936 if test x"$enablestring" = xdisable; then
4943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4944 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4945 # Check whether --enable-optimise was given.
4946 if test "${enable_optimise+set}" = set; then
4947 enableval=$enable_optimise;
4948 if test "$enableval" = yes; then
4949 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4951 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4956 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4961 eval "$wx_cv_use_optimise"
4963 if test x"$enablestring" = xdisable; then
4964 if test $wxUSE_OPTIMISE = yes; then
4970 result=$wxUSE_OPTIMISE
4973 { echo "$as_me:$LINENO: result
: $result" >&5
4974 echo "${ECHO_T}$result" >&6; }
4980 if test -z "$defaultval"; then
4981 if test x"$enablestring" = xdisable; then
4988 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4989 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4990 # Check whether --enable-debug_gdb was given.
4991 if test "${enable_debug_gdb+set}" = set; then
4992 enableval=$enable_debug_gdb;
4993 if test "$enableval" = yes; then
4994 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4996 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5001 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5006 eval "$wx_cv_use_debug_gdb"
5008 if test x
"$enablestring" = xdisable
; then
5009 if test $wxUSE_DEBUG_GDB = yes; then
5015 result
=$wxUSE_DEBUG_GDB
5018 { echo "$as_me:$LINENO: result: $result" >&5
5019 echo "${ECHO_T}$result" >&6; }
5024 if test -z "$defaultval"; then
5025 if test x
"$enablestring" = xdisable
; then
5032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5033 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5034 # Check whether --enable-debug_cntxt was given.
5035 if test "${enable_debug_cntxt+set}" = set; then
5036 enableval
=$enable_debug_cntxt;
5037 if test "$enableval" = yes; then
5038 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
5040 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
5045 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5050 eval "$wx_cv_use_debug_cntxt"
5052 if test x"$enablestring" = xdisable; then
5053 if test $wxUSE_DEBUG_CONTEXT = yes; then
5059 result=$wxUSE_DEBUG_CONTEXT
5062 { echo "$as_me:$LINENO: result: $result" >&5
5063 echo "${ECHO_T}$result" >&6; }
5068 if test -z "$defaultval"; then
5069 if test x"$enablestring" = xdisable; then
5076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5077 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5078 # Check whether --enable-mem_tracing was given.
5079 if test "${enable_mem_tracing+set}" = set; then
5080 enableval=$enable_mem_tracing;
5081 if test "$enableval" = yes; then
5082 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5084 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5089 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5094 eval "$wx_cv_use_mem_tracing"
5096 if test x"$enablestring" = xdisable; then
5097 if test $wxUSE_MEM_TRACING = yes; then
5103 result=$wxUSE_MEM_TRACING
5106 { echo "$as_me:$LINENO: result
: $result" >&5
5107 echo "${ECHO_T}$result" >&6; }
5112 if test -z "$defaultval"; then
5113 if test x"$enablestring" = xdisable; then
5120 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5121 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5122 # Check whether --enable-profile was given.
5123 if test "${enable_profile+set}" = set; then
5124 enableval=$enable_profile;
5125 if test "$enableval" = yes; then
5126 wx_cv_use_profile='wxUSE_PROFILE=yes'
5128 wx_cv_use_profile='wxUSE_PROFILE=no'
5133 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5138 eval "$wx_cv_use_profile"
5140 if test x
"$enablestring" = xdisable
; then
5141 if test $wxUSE_PROFILE = yes; then
5147 result
=$wxUSE_PROFILE
5150 { echo "$as_me:$LINENO: result: $result" >&5
5151 echo "${ECHO_T}$result" >&6; }
5156 if test -z "$defaultval"; then
5157 if test x
"$enablestring" = xdisable
; then
5164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5165 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5166 # Check whether --enable-no_rtti was given.
5167 if test "${enable_no_rtti+set}" = set; then
5168 enableval
=$enable_no_rtti;
5169 if test "$enableval" = yes; then
5170 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5172 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5177 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5182 eval "$wx_cv_use_no_rtti"
5184 if test x"$enablestring" = xdisable; then
5185 if test $wxUSE_NO_RTTI = yes; then
5191 result=$wxUSE_NO_RTTI
5194 { echo "$as_me:$LINENO: result: $result" >&5
5195 echo "${ECHO_T}$result" >&6; }
5200 if test -z "$defaultval"; then
5201 if test x"$enablestring" = xdisable; then
5208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5209 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5210 # Check whether --enable-no_exceptions was given.
5211 if test "${enable_no_exceptions+set}" = set; then
5212 enableval=$enable_no_exceptions;
5213 if test "$enableval" = yes; then
5214 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5216 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5221 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5226 eval "$wx_cv_use_no_exceptions"
5228 if test x"$enablestring" = xdisable; then
5229 if test $wxUSE_NO_EXCEPTIONS = yes; then
5235 result=$wxUSE_NO_EXCEPTIONS
5238 { echo "$as_me:$LINENO: result
: $result" >&5
5239 echo "${ECHO_T}$result" >&6; }
5244 if test -z "$defaultval"; then
5245 if test x"$enablestring" = xdisable; then
5252 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5253 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5254 # Check whether --enable-permissive was given.
5255 if test "${enable_permissive+set}" = set; then
5256 enableval=$enable_permissive;
5257 if test "$enableval" = yes; then
5258 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5260 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5265 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5270 eval "$wx_cv_use_permissive"
5272 if test x
"$enablestring" = xdisable
; then
5273 if test $wxUSE_PERMISSIVE = yes; then
5279 result
=$wxUSE_PERMISSIVE
5282 { echo "$as_me:$LINENO: result: $result" >&5
5283 echo "${ECHO_T}$result" >&6; }
5288 if test -z "$defaultval"; then
5289 if test x
"$enablestring" = xdisable
; then
5296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5298 # Check whether --enable-no_deps was given.
5299 if test "${enable_no_deps+set}" = set; then
5300 enableval
=$enable_no_deps;
5301 if test "$enableval" = yes; then
5302 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5304 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5309 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5314 eval "$wx_cv_use_no_deps"
5316 if test x"$enablestring" = xdisable; then
5317 if test $wxUSE_NO_DEPS = yes; then
5323 result=$wxUSE_NO_DEPS
5326 { echo "$as_me:$LINENO: result: $result" >&5
5327 echo "${ECHO_T}$result" >&6; }
5330 enablestring=disable
5332 if test -z "$defaultval"; then
5333 if test x"$enablestring" = xdisable; then
5340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5341 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5342 # Check whether --enable-vararg_macros was given.
5343 if test "${enable_vararg_macros+set}" = set; then
5344 enableval=$enable_vararg_macros;
5345 if test "$enableval" = yes; then
5346 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5348 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5353 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5358 eval "$wx_cv_use_vararg_macros"
5360 if test x"$enablestring" = xdisable; then
5361 if test $wxUSE_VARARG_MACROS = yes; then
5367 result=$wxUSE_VARARG_MACROS
5370 { echo "$as_me:$LINENO: result
: $result" >&5
5371 echo "${ECHO_T}$result" >&6; }
5375 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5376 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5377 # Check whether --enable-universal_binary was given.
5378 if test "${enable_universal_binary+set}" = set; then
5379 enableval=$enable_universal_binary;
5380 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5384 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5389 eval "$wx_cv_use_universal_binary"
5391 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5392 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5398 if test -z "$defaultval"; then
5399 if test x"$enablestring" = xdisable; then
5406 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5407 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5408 # Check whether --enable-compat26 was given.
5409 if test "${enable_compat26+set}" = set; then
5410 enableval=$enable_compat26;
5411 if test "$enableval" = yes; then
5412 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5414 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5419 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5424 eval "$wx_cv_use_compat26"
5426 if test x
"$enablestring" = xdisable
; then
5427 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5433 result
=$WXWIN_COMPATIBILITY_2_6
5436 { echo "$as_me:$LINENO: result: $result" >&5
5437 echo "${ECHO_T}$result" >&6; }
5440 enablestring
=disable
5442 if test -z "$defaultval"; then
5443 if test x
"$enablestring" = xdisable
; then
5450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5451 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5452 # Check whether --enable-compat28 was given.
5453 if test "${enable_compat28+set}" = set; then
5454 enableval
=$enable_compat28;
5455 if test "$enableval" = yes; then
5456 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5458 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5463 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5468 eval "$wx_cv_use_compat28"
5470 if test x"$enablestring" = xdisable; then
5471 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5477 result=$WXWIN_COMPATIBILITY_2_8
5480 { echo "$as_me:$LINENO: result: $result" >&5
5481 echo "${ECHO_T}$result" >&6; }
5485 enablestring=disable
5487 if test -z "$defaultval"; then
5488 if test x"$enablestring" = xdisable; then
5495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5496 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5497 # Check whether --enable-rpath was given.
5498 if test "${enable_rpath+set}" = set; then
5499 enableval=$enable_rpath;
5500 if test "$enableval" = yes; then
5501 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5503 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5508 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5513 eval "$wx_cv_use_rpath"
5515 if test x"$enablestring" = xdisable; then
5516 if test $wxUSE_RPATH = yes; then
5525 { echo "$as_me:$LINENO: result
: $result" >&5
5526 echo "${ECHO_T}$result" >&6; }
5532 if test -z "$defaultval"; then
5533 if test x"$enablestring" = xdisable; then
5540 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5541 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5542 # Check whether --enable-objc_uniquifying was given.
5543 if test "${enable_objc_uniquifying+set}" = set; then
5544 enableval=$enable_objc_uniquifying;
5545 if test "$enableval" = yes; then
5546 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5548 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5553 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5558 eval "$wx_cv_use_objc_uniquifying"
5560 if test x
"$enablestring" = xdisable
; then
5561 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5567 result
=$wxUSE_OBJC_UNIQUIFYING
5570 { echo "$as_me:$LINENO: result: $result" >&5
5571 echo "${ECHO_T}$result" >&6; }
5575 enablestring
=disable
5577 if test -z "$defaultval"; then
5578 if test x
"$enablestring" = xdisable
; then
5585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5586 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5587 # Check whether --enable-visibility was given.
5588 if test "${enable_visibility+set}" = set; then
5589 enableval
=$enable_visibility;
5590 if test "$enableval" = yes; then
5591 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5593 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5598 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5603 eval "$wx_cv_use_visibility"
5605 if test x"$enablestring" = xdisable; then
5606 if test $wxUSE_VISIBILITY = yes; then
5612 result=$wxUSE_VISIBILITY
5615 { echo "$as_me:$LINENO: result: $result" >&5
5616 echo "${ECHO_T}$result" >&6; }
5622 defaultval=$wxUSE_ALL_FEATURES
5623 if test -z "$defaultval"; then
5624 if test x"$enablestring" = xdisable; then
5631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5632 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5633 # Check whether --enable-intl was given.
5634 if test "${enable_intl+set}" = set; then
5635 enableval=$enable_intl;
5636 if test "$enableval" = yes; then
5637 wx_cv_use_intl='wxUSE_INTL
=yes'
5639 wx_cv_use_intl='wxUSE_INTL
=no
'
5644 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5649 eval "$wx_cv_use_intl"
5651 if test x"$enablestring" = xdisable; then
5652 if test $wxUSE_INTL = yes; then
5661 { echo "$as_me:$LINENO: result
: $result" >&5
5662 echo "${ECHO_T}$result" >&6; }
5666 defaultval=$wxUSE_ALL_FEATURES
5667 if test -z "$defaultval"; then
5668 if test x"$enablestring" = xdisable; then
5675 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5676 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5677 # Check whether --enable-xlocale was given.
5678 if test "${enable_xlocale+set}" = set; then
5679 enableval=$enable_xlocale;
5680 if test "$enableval" = yes; then
5681 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5683 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5688 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5693 eval "$wx_cv_use_xlocale"
5695 if test x
"$enablestring" = xdisable
; then
5696 if test $wxUSE_XLOCALE = yes; then
5702 result
=$wxUSE_XLOCALE
5705 { echo "$as_me:$LINENO: result: $result" >&5
5706 echo "${ECHO_T}$result" >&6; }
5710 defaultval
=$wxUSE_ALL_FEATURES
5711 if test -z "$defaultval"; then
5712 if test x
"$enablestring" = xdisable
; then
5719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5720 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5721 # Check whether --enable-config was given.
5722 if test "${enable_config+set}" = set; then
5723 enableval
=$enable_config;
5724 if test "$enableval" = yes; then
5725 wx_cv_use_config
='wxUSE_CONFIG=yes'
5727 wx_cv_use_config
='wxUSE_CONFIG=no'
5732 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5737 eval "$wx_cv_use_config"
5739 if test x"$enablestring" = xdisable; then
5740 if test $wxUSE_CONFIG = yes; then
5746 result=$wxUSE_CONFIG
5749 { echo "$as_me:$LINENO: result: $result" >&5
5750 echo "${ECHO_T}$result" >&6; }
5755 defaultval=$wxUSE_ALL_FEATURES
5756 if test -z "$defaultval"; then
5757 if test x"$enablestring" = xdisable; then
5764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5765 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5766 # Check whether --enable-protocols was given.
5767 if test "${enable_protocols+set}" = set; then
5768 enableval=$enable_protocols;
5769 if test "$enableval" = yes; then
5770 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5772 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5777 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5782 eval "$wx_cv_use_protocols"
5784 if test x"$enablestring" = xdisable; then
5785 if test $wxUSE_PROTOCOL = yes; then
5791 result=$wxUSE_PROTOCOL
5794 { echo "$as_me:$LINENO: result
: $result" >&5
5795 echo "${ECHO_T}$result" >&6; }
5799 defaultval=$wxUSE_ALL_FEATURES
5800 if test -z "$defaultval"; then
5801 if test x"$enablestring" = xdisable; then
5808 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5809 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5810 # Check whether --enable-ftp was given.
5811 if test "${enable_ftp+set}" = set; then
5812 enableval=$enable_ftp;
5813 if test "$enableval" = yes; then
5814 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5816 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5821 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5826 eval "$wx_cv_use_ftp"
5828 if test x
"$enablestring" = xdisable
; then
5829 if test $wxUSE_PROTOCOL_FTP = yes; then
5835 result
=$wxUSE_PROTOCOL_FTP
5838 { echo "$as_me:$LINENO: result: $result" >&5
5839 echo "${ECHO_T}$result" >&6; }
5843 defaultval
=$wxUSE_ALL_FEATURES
5844 if test -z "$defaultval"; then
5845 if test x
"$enablestring" = xdisable
; then
5852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5853 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5854 # Check whether --enable-http was given.
5855 if test "${enable_http+set}" = set; then
5856 enableval
=$enable_http;
5857 if test "$enableval" = yes; then
5858 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5860 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5865 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5870 eval "$wx_cv_use_http"
5872 if test x"$enablestring" = xdisable; then
5873 if test $wxUSE_PROTOCOL_HTTP = yes; then
5879 result=$wxUSE_PROTOCOL_HTTP
5882 { echo "$as_me:$LINENO: result: $result" >&5
5883 echo "${ECHO_T}$result" >&6; }
5887 defaultval=$wxUSE_ALL_FEATURES
5888 if test -z "$defaultval"; then
5889 if test x"$enablestring" = xdisable; then
5896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5897 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5898 # Check whether --enable-fileproto was given.
5899 if test "${enable_fileproto+set}" = set; then
5900 enableval=$enable_fileproto;
5901 if test "$enableval" = yes; then
5902 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5904 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5909 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5914 eval "$wx_cv_use_fileproto"
5916 if test x"$enablestring" = xdisable; then
5917 if test $wxUSE_PROTOCOL_FILE = yes; then
5923 result=$wxUSE_PROTOCOL_FILE
5926 { echo "$as_me:$LINENO: result
: $result" >&5
5927 echo "${ECHO_T}$result" >&6; }
5931 defaultval=$wxUSE_ALL_FEATURES
5932 if test -z "$defaultval"; then
5933 if test x"$enablestring" = xdisable; then
5940 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5941 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5942 # Check whether --enable-sockets was given.
5943 if test "${enable_sockets+set}" = set; then
5944 enableval=$enable_sockets;
5945 if test "$enableval" = yes; then
5946 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5948 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5953 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5958 eval "$wx_cv_use_sockets"
5960 if test x
"$enablestring" = xdisable
; then
5961 if test $wxUSE_SOCKETS = yes; then
5967 result
=$wxUSE_SOCKETS
5970 { echo "$as_me:$LINENO: result: $result" >&5
5971 echo "${ECHO_T}$result" >&6; }
5975 defaultval
=$wxUSE_ALL_FEATURES
5976 if test -z "$defaultval"; then
5977 if test x
"$enablestring" = xdisable
; then
5984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5985 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5986 # Check whether --enable-ipv6 was given.
5987 if test "${enable_ipv6+set}" = set; then
5988 enableval
=$enable_ipv6;
5989 if test "$enableval" = yes; then
5990 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5992 wx_cv_use_ipv6
='wxUSE_IPV6=no'
5997 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6002 eval "$wx_cv_use_ipv6"
6004 if test x"$enablestring" = xdisable; then
6005 if test $wxUSE_IPV6 = yes; then
6014 { echo "$as_me:$LINENO: result: $result" >&5
6015 echo "${ECHO_T}$result" >&6; }
6019 defaultval=$wxUSE_ALL_FEATURES
6020 if test -z "$defaultval"; then
6021 if test x"$enablestring" = xdisable; then
6028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6029 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6030 # Check whether --enable-ole was given.
6031 if test "${enable_ole+set}" = set; then
6032 enableval=$enable_ole;
6033 if test "$enableval" = yes; then
6034 wx_cv_use_ole='wxUSE_OLE
=yes'
6036 wx_cv_use_ole='wxUSE_OLE
=no
'
6041 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6046 eval "$wx_cv_use_ole"
6048 if test x"$enablestring" = xdisable; then
6049 if test $wxUSE_OLE = yes; then
6058 { echo "$as_me:$LINENO: result
: $result" >&5
6059 echo "${ECHO_T}$result" >&6; }
6063 defaultval=$wxUSE_ALL_FEATURES
6064 if test -z "$defaultval"; then
6065 if test x"$enablestring" = xdisable; then
6072 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6073 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6074 # Check whether --enable-dataobj was given.
6075 if test "${enable_dataobj+set}" = set; then
6076 enableval=$enable_dataobj;
6077 if test "$enableval" = yes; then
6078 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6080 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6085 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6090 eval "$wx_cv_use_dataobj"
6092 if test x
"$enablestring" = xdisable
; then
6093 if test $wxUSE_DATAOBJ = yes; then
6099 result
=$wxUSE_DATAOBJ
6102 { echo "$as_me:$LINENO: result: $result" >&5
6103 echo "${ECHO_T}$result" >&6; }
6108 defaultval
=$wxUSE_ALL_FEATURES
6109 if test -z "$defaultval"; then
6110 if test x
"$enablestring" = xdisable
; then
6117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6118 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6119 # Check whether --enable-ipc was given.
6120 if test "${enable_ipc+set}" = set; then
6121 enableval
=$enable_ipc;
6122 if test "$enableval" = yes; then
6123 wx_cv_use_ipc
='wxUSE_IPC=yes'
6125 wx_cv_use_ipc
='wxUSE_IPC=no'
6130 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6135 eval "$wx_cv_use_ipc"
6137 if test x"$enablestring" = xdisable; then
6138 if test $wxUSE_IPC = yes; then
6147 { echo "$as_me:$LINENO: result: $result" >&5
6148 echo "${ECHO_T}$result" >&6; }
6153 defaultval=$wxUSE_ALL_FEATURES
6154 if test -z "$defaultval"; then
6155 if test x"$enablestring" = xdisable; then
6162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6163 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6164 # Check whether --enable-baseevtloop was given.
6165 if test "${enable_baseevtloop+set}" = set; then
6166 enableval=$enable_baseevtloop;
6167 if test "$enableval" = yes; then
6168 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6170 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6175 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6180 eval "$wx_cv_use_baseevtloop"
6182 if test x"$enablestring" = xdisable; then
6183 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6189 result=$wxUSE_CONSOLE_EVENTLOOP
6192 { echo "$as_me:$LINENO: result
: $result" >&5
6193 echo "${ECHO_T}$result" >&6; }
6197 defaultval=$wxUSE_ALL_FEATURES
6198 if test -z "$defaultval"; then
6199 if test x"$enablestring" = xdisable; then
6206 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6207 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6208 # Check whether --enable-epollloop was given.
6209 if test "${enable_epollloop+set}" = set; then
6210 enableval=$enable_epollloop;
6211 if test "$enableval" = yes; then
6212 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6214 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6219 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6224 eval "$wx_cv_use_epollloop"
6226 if test x
"$enablestring" = xdisable
; then
6227 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6233 result
=$wxUSE_EPOLL_DISPATCHER
6236 { echo "$as_me:$LINENO: result: $result" >&5
6237 echo "${ECHO_T}$result" >&6; }
6241 defaultval
=$wxUSE_ALL_FEATURES
6242 if test -z "$defaultval"; then
6243 if test x
"$enablestring" = xdisable
; then
6250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6251 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6252 # Check whether --enable-selectloop was given.
6253 if test "${enable_selectloop+set}" = set; then
6254 enableval
=$enable_selectloop;
6255 if test "$enableval" = yes; then
6256 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6258 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6263 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6268 eval "$wx_cv_use_selectloop"
6270 if test x"$enablestring" = xdisable; then
6271 if test $wxUSE_SELECT_DISPATCHER = yes; then
6277 result=$wxUSE_SELECT_DISPATCHER
6280 { echo "$as_me:$LINENO: result: $result" >&5
6281 echo "${ECHO_T}$result" >&6; }
6286 defaultval=$wxUSE_ALL_FEATURES
6287 if test -z "$defaultval"; then
6288 if test x"$enablestring" = xdisable; then
6295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6296 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6297 # Check whether --enable-apple_ieee was given.
6298 if test "${enable_apple_ieee+set}" = set; then
6299 enableval=$enable_apple_ieee;
6300 if test "$enableval" = yes; then
6301 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6303 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6308 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6313 eval "$wx_cv_use_apple_ieee"
6315 if test x"$enablestring" = xdisable; then
6316 if test $wxUSE_APPLE_IEEE = yes; then
6322 result=$wxUSE_APPLE_IEEE
6325 { echo "$as_me:$LINENO: result
: $result" >&5
6326 echo "${ECHO_T}$result" >&6; }
6330 defaultval=$wxUSE_ALL_FEATURES
6331 if test -z "$defaultval"; then
6332 if test x"$enablestring" = xdisable; then
6339 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6340 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6341 # Check whether --enable-arcstream was given.
6342 if test "${enable_arcstream+set}" = set; then
6343 enableval=$enable_arcstream;
6344 if test "$enableval" = yes; then
6345 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6347 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6352 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6357 eval "$wx_cv_use_arcstream"
6359 if test x
"$enablestring" = xdisable
; then
6360 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6366 result
=$wxUSE_ARCHIVE_STREAMS
6369 { echo "$as_me:$LINENO: result: $result" >&5
6370 echo "${ECHO_T}$result" >&6; }
6374 defaultval
=$wxUSE_ALL_FEATURES
6375 if test -z "$defaultval"; then
6376 if test x
"$enablestring" = xdisable
; then
6383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6384 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6385 # Check whether --enable-base64 was given.
6386 if test "${enable_base64+set}" = set; then
6387 enableval
=$enable_base64;
6388 if test "$enableval" = yes; then
6389 wx_cv_use_base64
='wxUSE_BASE64=yes'
6391 wx_cv_use_base64
='wxUSE_BASE64=no'
6396 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6401 eval "$wx_cv_use_base64"
6403 if test x"$enablestring" = xdisable; then
6404 if test $wxUSE_BASE64 = yes; then
6410 result=$wxUSE_BASE64
6413 { echo "$as_me:$LINENO: result: $result" >&5
6414 echo "${ECHO_T}$result" >&6; }
6418 defaultval=$wxUSE_ALL_FEATURES
6419 if test -z "$defaultval"; then
6420 if test x"$enablestring" = xdisable; then
6427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6428 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6429 # Check whether --enable-backtrace was given.
6430 if test "${enable_backtrace+set}" = set; then
6431 enableval=$enable_backtrace;
6432 if test "$enableval" = yes; then
6433 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6435 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6440 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6445 eval "$wx_cv_use_backtrace"
6447 if test x"$enablestring" = xdisable; then
6448 if test $wxUSE_STACKWALKER = yes; then
6454 result=$wxUSE_STACKWALKER
6457 { echo "$as_me:$LINENO: result
: $result" >&5
6458 echo "${ECHO_T}$result" >&6; }
6462 defaultval=$wxUSE_ALL_FEATURES
6463 if test -z "$defaultval"; then
6464 if test x"$enablestring" = xdisable; then
6471 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6472 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6473 # Check whether --enable-catch_segvs was given.
6474 if test "${enable_catch_segvs+set}" = set; then
6475 enableval=$enable_catch_segvs;
6476 if test "$enableval" = yes; then
6477 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6479 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6484 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6489 eval "$wx_cv_use_catch_segvs"
6491 if test x
"$enablestring" = xdisable
; then
6492 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6498 result
=$wxUSE_ON_FATAL_EXCEPTION
6501 { echo "$as_me:$LINENO: result: $result" >&5
6502 echo "${ECHO_T}$result" >&6; }
6506 defaultval
=$wxUSE_ALL_FEATURES
6507 if test -z "$defaultval"; then
6508 if test x
"$enablestring" = xdisable
; then
6515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6517 # Check whether --enable-cmdline was given.
6518 if test "${enable_cmdline+set}" = set; then
6519 enableval
=$enable_cmdline;
6520 if test "$enableval" = yes; then
6521 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6523 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6528 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6533 eval "$wx_cv_use_cmdline"
6535 if test x"$enablestring" = xdisable; then
6536 if test $wxUSE_CMDLINE_PARSER = yes; then
6542 result=$wxUSE_CMDLINE_PARSER
6545 { echo "$as_me:$LINENO: result: $result" >&5
6546 echo "${ECHO_T}$result" >&6; }
6550 defaultval=$wxUSE_ALL_FEATURES
6551 if test -z "$defaultval"; then
6552 if test x"$enablestring" = xdisable; then
6559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6560 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6561 # Check whether --enable-datetime was given.
6562 if test "${enable_datetime+set}" = set; then
6563 enableval=$enable_datetime;
6564 if test "$enableval" = yes; then
6565 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6567 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6572 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6577 eval "$wx_cv_use_datetime"
6579 if test x"$enablestring" = xdisable; then
6580 if test $wxUSE_DATETIME = yes; then
6586 result=$wxUSE_DATETIME
6589 { echo "$as_me:$LINENO: result
: $result" >&5
6590 echo "${ECHO_T}$result" >&6; }
6594 defaultval=$wxUSE_ALL_FEATURES
6595 if test -z "$defaultval"; then
6596 if test x"$enablestring" = xdisable; then
6603 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6604 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6605 # Check whether --enable-debugreport was given.
6606 if test "${enable_debugreport+set}" = set; then
6607 enableval=$enable_debugreport;
6608 if test "$enableval" = yes; then
6609 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6611 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6616 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6621 eval "$wx_cv_use_debugreport"
6623 if test x
"$enablestring" = xdisable
; then
6624 if test $wxUSE_DEBUGREPORT = yes; then
6630 result
=$wxUSE_DEBUGREPORT
6633 { echo "$as_me:$LINENO: result: $result" >&5
6634 echo "${ECHO_T}$result" >&6; }
6638 defaultval
=$wxUSE_ALL_FEATURES
6639 if test -z "$defaultval"; then
6640 if test x
"$enablestring" = xdisable
; then
6647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6648 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6649 # Check whether --enable-dialupman was given.
6650 if test "${enable_dialupman+set}" = set; then
6651 enableval
=$enable_dialupman;
6652 if test "$enableval" = yes; then
6653 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6655 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6660 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6665 eval "$wx_cv_use_dialupman"
6667 if test x"$enablestring" = xdisable; then
6668 if test $wxUSE_DIALUP_MANAGER = yes; then
6674 result=$wxUSE_DIALUP_MANAGER
6677 { echo "$as_me:$LINENO: result: $result" >&5
6678 echo "${ECHO_T}$result" >&6; }
6682 defaultval=$wxUSE_ALL_FEATURES
6683 if test -z "$defaultval"; then
6684 if test x"$enablestring" = xdisable; then
6691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6692 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6693 # Check whether --enable-dynlib was given.
6694 if test "${enable_dynlib+set}" = set; then
6695 enableval=$enable_dynlib;
6696 if test "$enableval" = yes; then
6697 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6699 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6704 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6709 eval "$wx_cv_use_dynlib"
6711 if test x"$enablestring" = xdisable; then
6712 if test $wxUSE_DYNLIB_CLASS = yes; then
6718 result=$wxUSE_DYNLIB_CLASS
6721 { echo "$as_me:$LINENO: result
: $result" >&5
6722 echo "${ECHO_T}$result" >&6; }
6726 defaultval=$wxUSE_ALL_FEATURES
6727 if test -z "$defaultval"; then
6728 if test x"$enablestring" = xdisable; then
6735 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6736 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6737 # Check whether --enable-dynamicloader was given.
6738 if test "${enable_dynamicloader+set}" = set; then
6739 enableval=$enable_dynamicloader;
6740 if test "$enableval" = yes; then
6741 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6743 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6748 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6753 eval "$wx_cv_use_dynamicloader"
6755 if test x
"$enablestring" = xdisable
; then
6756 if test $wxUSE_DYNAMIC_LOADER = yes; then
6762 result
=$wxUSE_DYNAMIC_LOADER
6765 { echo "$as_me:$LINENO: result: $result" >&5
6766 echo "${ECHO_T}$result" >&6; }
6770 defaultval
=$wxUSE_ALL_FEATURES
6771 if test -z "$defaultval"; then
6772 if test x
"$enablestring" = xdisable
; then
6779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6780 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6781 # Check whether --enable-exceptions was given.
6782 if test "${enable_exceptions+set}" = set; then
6783 enableval
=$enable_exceptions;
6784 if test "$enableval" = yes; then
6785 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6787 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6792 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6797 eval "$wx_cv_use_exceptions"
6799 if test x"$enablestring" = xdisable; then
6800 if test $wxUSE_EXCEPTIONS = yes; then
6806 result=$wxUSE_EXCEPTIONS
6809 { echo "$as_me:$LINENO: result: $result" >&5
6810 echo "${ECHO_T}$result" >&6; }
6814 defaultval=$wxUSE_ALL_FEATURES
6815 if test -z "$defaultval"; then
6816 if test x"$enablestring" = xdisable; then
6823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6824 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6825 # Check whether --enable-ffile was given.
6826 if test "${enable_ffile+set}" = set; then
6827 enableval=$enable_ffile;
6828 if test "$enableval" = yes; then
6829 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6831 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6836 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6841 eval "$wx_cv_use_ffile"
6843 if test x"$enablestring" = xdisable; then
6844 if test $wxUSE_FFILE = yes; then
6853 { echo "$as_me:$LINENO: result
: $result" >&5
6854 echo "${ECHO_T}$result" >&6; }
6858 defaultval=$wxUSE_ALL_FEATURES
6859 if test -z "$defaultval"; then
6860 if test x"$enablestring" = xdisable; then
6867 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6868 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
6869 # Check whether --enable-file was given.
6870 if test "${enable_file+set}" = set; then
6871 enableval=$enable_file;
6872 if test "$enableval" = yes; then
6873 wx_cv_use_file='wxUSE_FILE=yes'
6875 wx_cv_use_file='wxUSE_FILE=no'
6880 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6885 eval "$wx_cv_use_file"
6887 if test x
"$enablestring" = xdisable
; then
6888 if test $wxUSE_FILE = yes; then
6897 { echo "$as_me:$LINENO: result: $result" >&5
6898 echo "${ECHO_T}$result" >&6; }
6902 defaultval
=$wxUSE_ALL_FEATURES
6903 if test -z "$defaultval"; then
6904 if test x
"$enablestring" = xdisable
; then
6911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6913 # Check whether --enable-filesystem was given.
6914 if test "${enable_filesystem+set}" = set; then
6915 enableval
=$enable_filesystem;
6916 if test "$enableval" = yes; then
6917 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6919 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6924 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6929 eval "$wx_cv_use_filesystem"
6931 if test x"$enablestring" = xdisable; then
6932 if test $wxUSE_FILESYSTEM = yes; then
6938 result=$wxUSE_FILESYSTEM
6941 { echo "$as_me:$LINENO: result: $result" >&5
6942 echo "${ECHO_T}$result" >&6; }
6946 defaultval=$wxUSE_ALL_FEATURES
6947 if test -z "$defaultval"; then
6948 if test x"$enablestring" = xdisable; then
6955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6957 # Check whether --enable-fontenum was given.
6958 if test "${enable_fontenum+set}" = set; then
6959 enableval=$enable_fontenum;
6960 if test "$enableval" = yes; then
6961 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
6963 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
6968 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6973 eval "$wx_cv_use_fontenum"
6975 if test x"$enablestring" = xdisable; then
6976 if test $wxUSE_FONTENUM = yes; then
6982 result=$wxUSE_FONTENUM
6985 { echo "$as_me:$LINENO: result
: $result" >&5
6986 echo "${ECHO_T}$result" >&6; }
6990 defaultval=$wxUSE_ALL_FEATURES
6991 if test -z "$defaultval"; then
6992 if test x"$enablestring" = xdisable; then
6999 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
7000 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
7001 # Check whether --enable-fontmap was given.
7002 if test "${enable_fontmap+set}" = set; then
7003 enableval=$enable_fontmap;
7004 if test "$enableval" = yes; then
7005 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7007 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7012 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7017 eval "$wx_cv_use_fontmap"
7019 if test x
"$enablestring" = xdisable
; then
7020 if test $wxUSE_FONTMAP = yes; then
7026 result
=$wxUSE_FONTMAP
7029 { echo "$as_me:$LINENO: result: $result" >&5
7030 echo "${ECHO_T}$result" >&6; }
7034 defaultval
=$wxUSE_ALL_FEATURES
7035 if test -z "$defaultval"; then
7036 if test x
"$enablestring" = xdisable
; then
7043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7044 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7045 # Check whether --enable-fs_archive was given.
7046 if test "${enable_fs_archive+set}" = set; then
7047 enableval
=$enable_fs_archive;
7048 if test "$enableval" = yes; then
7049 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7051 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7056 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7061 eval "$wx_cv_use_fs_archive"
7063 if test x"$enablestring" = xdisable; then
7064 if test $wxUSE_FS_ARCHIVE = yes; then
7070 result=$wxUSE_FS_ARCHIVE
7073 { echo "$as_me:$LINENO: result: $result" >&5
7074 echo "${ECHO_T}$result" >&6; }
7078 defaultval=$wxUSE_ALL_FEATURES
7079 if test -z "$defaultval"; then
7080 if test x"$enablestring" = xdisable; then
7087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7088 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7089 # Check whether --enable-fs_inet was given.
7090 if test "${enable_fs_inet+set}" = set; then
7091 enableval=$enable_fs_inet;
7092 if test "$enableval" = yes; then
7093 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7095 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7100 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7105 eval "$wx_cv_use_fs_inet"
7107 if test x"$enablestring" = xdisable; then
7108 if test $wxUSE_FS_INET = yes; then
7114 result=$wxUSE_FS_INET
7117 { echo "$as_me:$LINENO: result
: $result" >&5
7118 echo "${ECHO_T}$result" >&6; }
7122 defaultval=$wxUSE_ALL_FEATURES
7123 if test -z "$defaultval"; then
7124 if test x"$enablestring" = xdisable; then
7131 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7132 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7133 # Check whether --enable-fs_zip was given.
7134 if test "${enable_fs_zip+set}" = set; then
7135 enableval=$enable_fs_zip;
7136 if test "$enableval" = yes; then
7137 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7139 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7144 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7149 eval "$wx_cv_use_fs_zip"
7151 if test x
"$enablestring" = xdisable
; then
7152 if test $wxUSE_FS_ZIP = yes; then
7158 result
=$wxUSE_FS_ZIP
7161 { echo "$as_me:$LINENO: result: $result" >&5
7162 echo "${ECHO_T}$result" >&6; }
7166 defaultval
=$wxUSE_ALL_FEATURES
7167 if test -z "$defaultval"; then
7168 if test x
"$enablestring" = xdisable
; then
7175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7176 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7177 # Check whether --enable-geometry was given.
7178 if test "${enable_geometry+set}" = set; then
7179 enableval
=$enable_geometry;
7180 if test "$enableval" = yes; then
7181 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7183 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7188 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7193 eval "$wx_cv_use_geometry"
7195 if test x"$enablestring" = xdisable; then
7196 if test $wxUSE_GEOMETRY = yes; then
7202 result=$wxUSE_GEOMETRY
7205 { echo "$as_me:$LINENO: result: $result" >&5
7206 echo "${ECHO_T}$result" >&6; }
7210 defaultval=$wxUSE_ALL_FEATURES
7211 if test -z "$defaultval"; then
7212 if test x"$enablestring" = xdisable; then
7219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7220 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7221 # Check whether --enable-log was given.
7222 if test "${enable_log+set}" = set; then
7223 enableval=$enable_log;
7224 if test "$enableval" = yes; then
7225 wx_cv_use_log='wxUSE_LOG
=yes'
7227 wx_cv_use_log='wxUSE_LOG
=no
'
7232 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7237 eval "$wx_cv_use_log"
7239 if test x"$enablestring" = xdisable; then
7240 if test $wxUSE_LOG = yes; then
7249 { echo "$as_me:$LINENO: result
: $result" >&5
7250 echo "${ECHO_T}$result" >&6; }
7254 defaultval=$wxUSE_ALL_FEATURES
7255 if test -z "$defaultval"; then
7256 if test x"$enablestring" = xdisable; then
7263 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7264 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7265 # Check whether --enable-longlong was given.
7266 if test "${enable_longlong+set}" = set; then
7267 enableval=$enable_longlong;
7268 if test "$enableval" = yes; then
7269 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7271 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7276 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7281 eval "$wx_cv_use_longlong"
7283 if test x
"$enablestring" = xdisable
; then
7284 if test $wxUSE_LONGLONG = yes; then
7290 result
=$wxUSE_LONGLONG
7293 { echo "$as_me:$LINENO: result: $result" >&5
7294 echo "${ECHO_T}$result" >&6; }
7298 defaultval
=$wxUSE_ALL_FEATURES
7299 if test -z "$defaultval"; then
7300 if test x
"$enablestring" = xdisable
; then
7307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7308 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7309 # Check whether --enable-mimetype was given.
7310 if test "${enable_mimetype+set}" = set; then
7311 enableval
=$enable_mimetype;
7312 if test "$enableval" = yes; then
7313 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7315 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7320 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7325 eval "$wx_cv_use_mimetype"
7327 if test x"$enablestring" = xdisable; then
7328 if test $wxUSE_MIMETYPE = yes; then
7334 result=$wxUSE_MIMETYPE
7337 { echo "$as_me:$LINENO: result: $result" >&5
7338 echo "${ECHO_T}$result" >&6; }
7342 defaultval=$wxUSE_ALL_FEATURES
7343 if test -z "$defaultval"; then
7344 if test x"$enablestring" = xdisable; then
7351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7352 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7353 # Check whether --enable-printfposparam was given.
7354 if test "${enable_printfposparam+set}" = set; then
7355 enableval=$enable_printfposparam;
7356 if test "$enableval" = yes; then
7357 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7359 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7364 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7369 eval "$wx_cv_use_printfposparam"
7371 if test x"$enablestring" = xdisable; then
7372 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7378 result=$wxUSE_PRINTF_POS_PARAMS
7381 { echo "$as_me:$LINENO: result
: $result" >&5
7382 echo "${ECHO_T}$result" >&6; }
7386 defaultval=$wxUSE_ALL_FEATURES
7387 if test -z "$defaultval"; then
7388 if test x"$enablestring" = xdisable; then
7395 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7396 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7397 # Check whether --enable-snglinst was given.
7398 if test "${enable_snglinst+set}" = set; then
7399 enableval=$enable_snglinst;
7400 if test "$enableval" = yes; then
7401 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7403 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7408 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7413 eval "$wx_cv_use_snglinst"
7415 if test x
"$enablestring" = xdisable
; then
7416 if test $wxUSE_SNGLINST_CHECKER = yes; then
7422 result
=$wxUSE_SNGLINST_CHECKER
7425 { echo "$as_me:$LINENO: result: $result" >&5
7426 echo "${ECHO_T}$result" >&6; }
7430 defaultval
=$wxUSE_ALL_FEATURES
7431 if test -z "$defaultval"; then
7432 if test x
"$enablestring" = xdisable
; then
7439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7440 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7441 # Check whether --enable-sound was given.
7442 if test "${enable_sound+set}" = set; then
7443 enableval
=$enable_sound;
7444 if test "$enableval" = yes; then
7445 wx_cv_use_sound
='wxUSE_SOUND=yes'
7447 wx_cv_use_sound
='wxUSE_SOUND=no'
7452 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7457 eval "$wx_cv_use_sound"
7459 if test x"$enablestring" = xdisable; then
7460 if test $wxUSE_SOUND = yes; then
7469 { echo "$as_me:$LINENO: result: $result" >&5
7470 echo "${ECHO_T}$result" >&6; }
7474 defaultval=$wxUSE_ALL_FEATURES
7475 if test -z "$defaultval"; then
7476 if test x"$enablestring" = xdisable; then
7483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7484 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7485 # Check whether --enable-stdpaths was given.
7486 if test "${enable_stdpaths+set}" = set; then
7487 enableval=$enable_stdpaths;
7488 if test "$enableval" = yes; then
7489 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7491 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7496 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7501 eval "$wx_cv_use_stdpaths"
7503 if test x"$enablestring" = xdisable; then
7504 if test $wxUSE_STDPATHS = yes; then
7510 result=$wxUSE_STDPATHS
7513 { echo "$as_me:$LINENO: result
: $result" >&5
7514 echo "${ECHO_T}$result" >&6; }
7518 defaultval=$wxUSE_ALL_FEATURES
7519 if test -z "$defaultval"; then
7520 if test x"$enablestring" = xdisable; then
7527 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7528 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7529 # Check whether --enable-stopwatch was given.
7530 if test "${enable_stopwatch+set}" = set; then
7531 enableval=$enable_stopwatch;
7532 if test "$enableval" = yes; then
7533 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7535 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7540 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7545 eval "$wx_cv_use_stopwatch"
7547 if test x
"$enablestring" = xdisable
; then
7548 if test $wxUSE_STOPWATCH = yes; then
7554 result
=$wxUSE_STOPWATCH
7557 { echo "$as_me:$LINENO: result: $result" >&5
7558 echo "${ECHO_T}$result" >&6; }
7562 defaultval
=$wxUSE_ALL_FEATURES
7563 if test -z "$defaultval"; then
7564 if test x
"$enablestring" = xdisable
; then
7571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7572 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7573 # Check whether --enable-streams was given.
7574 if test "${enable_streams+set}" = set; then
7575 enableval
=$enable_streams;
7576 if test "$enableval" = yes; then
7577 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7579 wx_cv_use_streams
='wxUSE_STREAMS=no'
7584 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7589 eval "$wx_cv_use_streams"
7591 if test x"$enablestring" = xdisable; then
7592 if test $wxUSE_STREAMS = yes; then
7598 result=$wxUSE_STREAMS
7601 { echo "$as_me:$LINENO: result: $result" >&5
7602 echo "${ECHO_T}$result" >&6; }
7606 defaultval=$wxUSE_ALL_FEATURES
7607 if test -z "$defaultval"; then
7608 if test x"$enablestring" = xdisable; then
7615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7616 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7617 # Check whether --enable-system_options was given.
7618 if test "${enable_system_options+set}" = set; then
7619 enableval=$enable_system_options;
7620 if test "$enableval" = yes; then
7621 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7623 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7628 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7633 eval "$wx_cv_use_system_options"
7635 if test x"$enablestring" = xdisable; then
7636 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7642 result=$wxUSE_SYSTEM_OPTIONS
7645 { echo "$as_me:$LINENO: result
: $result" >&5
7646 echo "${ECHO_T}$result" >&6; }
7650 defaultval=$wxUSE_ALL_FEATURES
7651 if test -z "$defaultval"; then
7652 if test x"$enablestring" = xdisable; then
7659 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7660 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7661 # Check whether --enable-tarstream was given.
7662 if test "${enable_tarstream+set}" = set; then
7663 enableval=$enable_tarstream;
7664 if test "$enableval" = yes; then
7665 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7667 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7672 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7677 eval "$wx_cv_use_tarstream"
7679 if test x
"$enablestring" = xdisable
; then
7680 if test $wxUSE_TARSTREAM = yes; then
7686 result
=$wxUSE_TARSTREAM
7689 { echo "$as_me:$LINENO: result: $result" >&5
7690 echo "${ECHO_T}$result" >&6; }
7694 defaultval
=$wxUSE_ALL_FEATURES
7695 if test -z "$defaultval"; then
7696 if test x
"$enablestring" = xdisable
; then
7703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7704 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7705 # Check whether --enable-textbuf was given.
7706 if test "${enable_textbuf+set}" = set; then
7707 enableval
=$enable_textbuf;
7708 if test "$enableval" = yes; then
7709 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7711 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7716 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7721 eval "$wx_cv_use_textbuf"
7723 if test x"$enablestring" = xdisable; then
7724 if test $wxUSE_TEXTBUFFER = yes; then
7730 result=$wxUSE_TEXTBUFFER
7733 { echo "$as_me:$LINENO: result: $result" >&5
7734 echo "${ECHO_T}$result" >&6; }
7738 defaultval=$wxUSE_ALL_FEATURES
7739 if test -z "$defaultval"; then
7740 if test x"$enablestring" = xdisable; then
7747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7749 # Check whether --enable-textfile was given.
7750 if test "${enable_textfile+set}" = set; then
7751 enableval=$enable_textfile;
7752 if test "$enableval" = yes; then
7753 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7755 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7760 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7765 eval "$wx_cv_use_textfile"
7767 if test x"$enablestring" = xdisable; then
7768 if test $wxUSE_TEXTFILE = yes; then
7774 result=$wxUSE_TEXTFILE
7777 { echo "$as_me:$LINENO: result
: $result" >&5
7778 echo "${ECHO_T}$result" >&6; }
7782 defaultval=$wxUSE_ALL_FEATURES
7783 if test -z "$defaultval"; then
7784 if test x"$enablestring" = xdisable; then
7791 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7792 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7793 # Check whether --enable-timer was given.
7794 if test "${enable_timer+set}" = set; then
7795 enableval=$enable_timer;
7796 if test "$enableval" = yes; then
7797 wx_cv_use_timer='wxUSE_TIMER=yes'
7799 wx_cv_use_timer='wxUSE_TIMER=no'
7804 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7809 eval "$wx_cv_use_timer"
7811 if test x
"$enablestring" = xdisable
; then
7812 if test $wxUSE_TIMER = yes; then
7821 { echo "$as_me:$LINENO: result: $result" >&5
7822 echo "${ECHO_T}$result" >&6; }
7826 defaultval
=$wxUSE_ALL_FEATURES
7827 if test -z "$defaultval"; then
7828 if test x
"$enablestring" = xdisable
; then
7835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7837 # Check whether --enable-variant was given.
7838 if test "${enable_variant+set}" = set; then
7839 enableval
=$enable_variant;
7840 if test "$enableval" = yes; then
7841 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7843 wx_cv_use_variant
='wxUSE_VARIANT=no'
7848 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7853 eval "$wx_cv_use_variant"
7855 if test x"$enablestring" = xdisable; then
7856 if test $wxUSE_VARIANT = yes; then
7862 result=$wxUSE_VARIANT
7865 { echo "$as_me:$LINENO: result: $result" >&5
7866 echo "${ECHO_T}$result" >&6; }
7870 defaultval=$wxUSE_ALL_FEATURES
7871 if test -z "$defaultval"; then
7872 if test x"$enablestring" = xdisable; then
7879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7880 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7881 # Check whether --enable-zipstream was given.
7882 if test "${enable_zipstream+set}" = set; then
7883 enableval=$enable_zipstream;
7884 if test "$enableval" = yes; then
7885 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7887 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7892 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7897 eval "$wx_cv_use_zipstream"
7899 if test x"$enablestring" = xdisable; then
7900 if test $wxUSE_ZIPSTREAM = yes; then
7906 result=$wxUSE_ZIPSTREAM
7909 { echo "$as_me:$LINENO: result
: $result" >&5
7910 echo "${ECHO_T}$result" >&6; }
7915 defaultval=$wxUSE_ALL_FEATURES
7916 if test -z "$defaultval"; then
7917 if test x"$enablestring" = xdisable; then
7924 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7925 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7926 # Check whether --enable-url was given.
7927 if test "${enable_url+set}" = set; then
7928 enableval=$enable_url;
7929 if test "$enableval" = yes; then
7930 wx_cv_use_url='wxUSE_URL=yes'
7932 wx_cv_use_url='wxUSE_URL=no'
7937 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7942 eval "$wx_cv_use_url"
7944 if test x
"$enablestring" = xdisable
; then
7945 if test $wxUSE_URL = yes; then
7954 { echo "$as_me:$LINENO: result: $result" >&5
7955 echo "${ECHO_T}$result" >&6; }
7959 defaultval
=$wxUSE_ALL_FEATURES
7960 if test -z "$defaultval"; then
7961 if test x
"$enablestring" = xdisable
; then
7968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7969 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7970 # Check whether --enable-protocol was given.
7971 if test "${enable_protocol+set}" = set; then
7972 enableval
=$enable_protocol;
7973 if test "$enableval" = yes; then
7974 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7976 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7981 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7986 eval "$wx_cv_use_protocol"
7988 if test x"$enablestring" = xdisable; then
7989 if test $wxUSE_PROTOCOL = yes; then
7995 result=$wxUSE_PROTOCOL
7998 { echo "$as_me:$LINENO: result: $result" >&5
7999 echo "${ECHO_T}$result" >&6; }
8003 defaultval=$wxUSE_ALL_FEATURES
8004 if test -z "$defaultval"; then
8005 if test x"$enablestring" = xdisable; then
8012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8013 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8014 # Check whether --enable-protocol_http was given.
8015 if test "${enable_protocol_http+set}" = set; then
8016 enableval=$enable_protocol_http;
8017 if test "$enableval" = yes; then
8018 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8020 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8025 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8030 eval "$wx_cv_use_protocol_http"
8032 if test x"$enablestring" = xdisable; then
8033 if test $wxUSE_PROTOCOL_HTTP = yes; then
8039 result=$wxUSE_PROTOCOL_HTTP
8042 { echo "$as_me:$LINENO: result
: $result" >&5
8043 echo "${ECHO_T}$result" >&6; }
8047 defaultval=$wxUSE_ALL_FEATURES
8048 if test -z "$defaultval"; then
8049 if test x"$enablestring" = xdisable; then
8056 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8057 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8058 # Check whether --enable-protocol_ftp was given.
8059 if test "${enable_protocol_ftp+set}" = set; then
8060 enableval=$enable_protocol_ftp;
8061 if test "$enableval" = yes; then
8062 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8064 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8069 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8074 eval "$wx_cv_use_protocol_ftp"
8076 if test x
"$enablestring" = xdisable
; then
8077 if test $wxUSE_PROTOCOL_FTP = yes; then
8083 result
=$wxUSE_PROTOCOL_FTP
8086 { echo "$as_me:$LINENO: result: $result" >&5
8087 echo "${ECHO_T}$result" >&6; }
8091 defaultval
=$wxUSE_ALL_FEATURES
8092 if test -z "$defaultval"; then
8093 if test x
"$enablestring" = xdisable
; then
8100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8101 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8102 # Check whether --enable-protocol_file was given.
8103 if test "${enable_protocol_file+set}" = set; then
8104 enableval
=$enable_protocol_file;
8105 if test "$enableval" = yes; then
8106 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8108 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8113 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8118 eval "$wx_cv_use_protocol_file"
8120 if test x"$enablestring" = xdisable; then
8121 if test $wxUSE_PROTOCOL_FILE = yes; then
8127 result=$wxUSE_PROTOCOL_FILE
8130 { echo "$as_me:$LINENO: result: $result" >&5
8131 echo "${ECHO_T}$result" >&6; }
8136 defaultval=$wxUSE_ALL_FEATURES
8137 if test -z "$defaultval"; then
8138 if test x"$enablestring" = xdisable; then
8145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8146 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8147 # Check whether --enable-threads was given.
8148 if test "${enable_threads+set}" = set; then
8149 enableval=$enable_threads;
8150 if test "$enableval" = yes; then
8151 wx_cv_use_threads='wxUSE_THREADS
=yes'
8153 wx_cv_use_threads='wxUSE_THREADS
=no
'
8158 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8163 eval "$wx_cv_use_threads"
8165 if test x"$enablestring" = xdisable; then
8166 if test $wxUSE_THREADS = yes; then
8172 result=$wxUSE_THREADS
8175 { echo "$as_me:$LINENO: result
: $result" >&5
8176 echo "${ECHO_T}$result" >&6; }
8182 if test -z "$defaultval"; then
8183 if test x"$enablestring" = xdisable; then
8190 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8191 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8192 # Check whether --enable-iniconf was given.
8193 if test "${enable_iniconf+set}" = set; then
8194 enableval=$enable_iniconf;
8195 if test "$enableval" = yes; then
8196 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8198 wx_cv_use_iniconf='wxUSE_INICONF=no'
8203 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8208 eval "$wx_cv_use_iniconf"
8210 if test x
"$enablestring" = xdisable
; then
8211 if test $wxUSE_INICONF = yes; then
8217 result
=$wxUSE_INICONF
8220 { echo "$as_me:$LINENO: result: $result" >&5
8221 echo "${ECHO_T}$result" >&6; }
8225 defaultval
=$wxUSE_ALL_FEATURES
8226 if test -z "$defaultval"; then
8227 if test x
"$enablestring" = xdisable
; then
8234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8236 # Check whether --enable-regkey was given.
8237 if test "${enable_regkey+set}" = set; then
8238 enableval
=$enable_regkey;
8239 if test "$enableval" = yes; then
8240 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8242 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8247 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8252 eval "$wx_cv_use_regkey"
8254 if test x"$enablestring" = xdisable; then
8255 if test $wxUSE_REGKEY = yes; then
8261 result=$wxUSE_REGKEY
8264 { echo "$as_me:$LINENO: result: $result" >&5
8265 echo "${ECHO_T}$result" >&6; }
8268 if test "$wxUSE_GUI" = "yes"; then
8273 defaultval=$wxUSE_ALL_FEATURES
8274 if test -z "$defaultval"; then
8275 if test x"$enablestring" = xdisable; then
8282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8283 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8284 # Check whether --enable-docview was given.
8285 if test "${enable_docview+set}" = set; then
8286 enableval=$enable_docview;
8287 if test "$enableval" = yes; then
8288 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8290 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8295 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8300 eval "$wx_cv_use_docview"
8302 if test x"$enablestring" = xdisable; then
8303 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8309 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8312 { echo "$as_me:$LINENO: result
: $result" >&5
8313 echo "${ECHO_T}$result" >&6; }
8317 defaultval=$wxUSE_ALL_FEATURES
8318 if test -z "$defaultval"; then
8319 if test x"$enablestring" = xdisable; then
8326 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8327 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8328 # Check whether --enable-help was given.
8329 if test "${enable_help+set}" = set; then
8330 enableval=$enable_help;
8331 if test "$enableval" = yes; then
8332 wx_cv_use_help='wxUSE_HELP=yes'
8334 wx_cv_use_help='wxUSE_HELP=no'
8339 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8344 eval "$wx_cv_use_help"
8346 if test x
"$enablestring" = xdisable
; then
8347 if test $wxUSE_HELP = yes; then
8356 { echo "$as_me:$LINENO: result: $result" >&5
8357 echo "${ECHO_T}$result" >&6; }
8361 defaultval
=$wxUSE_ALL_FEATURES
8362 if test -z "$defaultval"; then
8363 if test x
"$enablestring" = xdisable
; then
8370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8371 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8372 # Check whether --enable-mshtmlhelp was given.
8373 if test "${enable_mshtmlhelp+set}" = set; then
8374 enableval
=$enable_mshtmlhelp;
8375 if test "$enableval" = yes; then
8376 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8378 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8383 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8388 eval "$wx_cv_use_mshtmlhelp"
8390 if test x"$enablestring" = xdisable; then
8391 if test $wxUSE_MS_HTML_HELP = yes; then
8397 result=$wxUSE_MS_HTML_HELP
8400 { echo "$as_me:$LINENO: result: $result" >&5
8401 echo "${ECHO_T}$result" >&6; }
8405 defaultval=$wxUSE_ALL_FEATURES
8406 if test -z "$defaultval"; then
8407 if test x"$enablestring" = xdisable; then
8414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8415 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8416 # Check whether --enable-html was given.
8417 if test "${enable_html+set}" = set; then
8418 enableval=$enable_html;
8419 if test "$enableval" = yes; then
8420 wx_cv_use_html='wxUSE_HTML
=yes'
8422 wx_cv_use_html='wxUSE_HTML
=no
'
8427 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8432 eval "$wx_cv_use_html"
8434 if test x"$enablestring" = xdisable; then
8435 if test $wxUSE_HTML = yes; then
8444 { echo "$as_me:$LINENO: result
: $result" >&5
8445 echo "${ECHO_T}$result" >&6; }
8449 defaultval=$wxUSE_ALL_FEATURES
8450 if test -z "$defaultval"; then
8451 if test x"$enablestring" = xdisable; then
8458 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8459 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8460 # Check whether --enable-htmlhelp was given.
8461 if test "${enable_htmlhelp+set}" = set; then
8462 enableval=$enable_htmlhelp;
8463 if test "$enableval" = yes; then
8464 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8466 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8471 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8476 eval "$wx_cv_use_htmlhelp"
8478 if test x
"$enablestring" = xdisable
; then
8479 if test $wxUSE_WXHTML_HELP = yes; then
8485 result
=$wxUSE_WXHTML_HELP
8488 { echo "$as_me:$LINENO: result: $result" >&5
8489 echo "${ECHO_T}$result" >&6; }
8493 defaultval
=$wxUSE_ALL_FEATURES
8494 if test -z "$defaultval"; then
8495 if test x
"$enablestring" = xdisable
; then
8502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8503 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8504 # Check whether --enable-xrc was given.
8505 if test "${enable_xrc+set}" = set; then
8506 enableval
=$enable_xrc;
8507 if test "$enableval" = yes; then
8508 wx_cv_use_xrc
='wxUSE_XRC=yes'
8510 wx_cv_use_xrc
='wxUSE_XRC=no'
8515 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8520 eval "$wx_cv_use_xrc"
8522 if test x"$enablestring" = xdisable; then
8523 if test $wxUSE_XRC = yes; then
8532 { echo "$as_me:$LINENO: result: $result" >&5
8533 echo "${ECHO_T}$result" >&6; }
8537 defaultval=$wxUSE_ALL_FEATURES
8538 if test -z "$defaultval"; then
8539 if test x"$enablestring" = xdisable; then
8546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8547 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8548 # Check whether --enable-aui was given.
8549 if test "${enable_aui+set}" = set; then
8550 enableval=$enable_aui;
8551 if test "$enableval" = yes; then
8552 wx_cv_use_aui='wxUSE_AUI
=yes'
8554 wx_cv_use_aui='wxUSE_AUI
=no
'
8559 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8564 eval "$wx_cv_use_aui"
8566 if test x"$enablestring" = xdisable; then
8567 if test $wxUSE_AUI = yes; then
8576 { echo "$as_me:$LINENO: result
: $result" >&5
8577 echo "${ECHO_T}$result" >&6; }
8581 defaultval=$wxUSE_ALL_FEATURES
8582 if test -z "$defaultval"; then
8583 if test x"$enablestring" = xdisable; then
8590 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8591 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8592 # Check whether --enable-propgrid was given.
8593 if test "${enable_propgrid+set}" = set; then
8594 enableval=$enable_propgrid;
8595 if test "$enableval" = yes; then
8596 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8598 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8603 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8608 eval "$wx_cv_use_propgrid"
8610 if test x
"$enablestring" = xdisable
; then
8611 if test $wxUSE_PROPGRID = yes; then
8617 result
=$wxUSE_PROPGRID
8620 { echo "$as_me:$LINENO: result: $result" >&5
8621 echo "${ECHO_T}$result" >&6; }
8625 defaultval
=$wxUSE_ALL_FEATURES
8626 if test -z "$defaultval"; then
8627 if test x
"$enablestring" = xdisable
; then
8634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8635 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8636 # Check whether --enable-stc was given.
8637 if test "${enable_stc+set}" = set; then
8638 enableval
=$enable_stc;
8639 if test "$enableval" = yes; then
8640 wx_cv_use_stc
='wxUSE_STC=yes'
8642 wx_cv_use_stc
='wxUSE_STC=no'
8647 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8652 eval "$wx_cv_use_stc"
8654 if test x"$enablestring" = xdisable; then
8655 if test $wxUSE_STC = yes; then
8664 { echo "$as_me:$LINENO: result: $result" >&5
8665 echo "${ECHO_T}$result" >&6; }
8669 defaultval=$wxUSE_ALL_FEATURES
8670 if test -z "$defaultval"; then
8671 if test x"$enablestring" = xdisable; then
8678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8679 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8680 # Check whether --enable-constraints was given.
8681 if test "${enable_constraints+set}" = set; then
8682 enableval=$enable_constraints;
8683 if test "$enableval" = yes; then
8684 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8686 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8691 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8696 eval "$wx_cv_use_constraints"
8698 if test x"$enablestring" = xdisable; then
8699 if test $wxUSE_CONSTRAINTS = yes; then
8705 result=$wxUSE_CONSTRAINTS
8708 { echo "$as_me:$LINENO: result
: $result" >&5
8709 echo "${ECHO_T}$result" >&6; }
8713 defaultval=$wxUSE_ALL_FEATURES
8714 if test -z "$defaultval"; then
8715 if test x"$enablestring" = xdisable; then
8722 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8723 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8724 # Check whether --enable-loggui was given.
8725 if test "${enable_loggui+set}" = set; then
8726 enableval=$enable_loggui;
8727 if test "$enableval" = yes; then
8728 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8730 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8735 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8740 eval "$wx_cv_use_loggui"
8742 if test x
"$enablestring" = xdisable
; then
8743 if test $wxUSE_LOGGUI = yes; then
8749 result
=$wxUSE_LOGGUI
8752 { echo "$as_me:$LINENO: result: $result" >&5
8753 echo "${ECHO_T}$result" >&6; }
8757 defaultval
=$wxUSE_ALL_FEATURES
8758 if test -z "$defaultval"; then
8759 if test x
"$enablestring" = xdisable
; then
8766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8767 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8768 # Check whether --enable-logwin was given.
8769 if test "${enable_logwin+set}" = set; then
8770 enableval
=$enable_logwin;
8771 if test "$enableval" = yes; then
8772 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8774 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8779 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8784 eval "$wx_cv_use_logwin"
8786 if test x"$enablestring" = xdisable; then
8787 if test $wxUSE_LOGWINDOW = yes; then
8793 result=$wxUSE_LOGWINDOW
8796 { echo "$as_me:$LINENO: result: $result" >&5
8797 echo "${ECHO_T}$result" >&6; }
8801 defaultval=$wxUSE_ALL_FEATURES
8802 if test -z "$defaultval"; then
8803 if test x"$enablestring" = xdisable; then
8810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8811 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8812 # Check whether --enable-logdialog was given.
8813 if test "${enable_logdialog+set}" = set; then
8814 enableval=$enable_logdialog;
8815 if test "$enableval" = yes; then
8816 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8818 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8823 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8828 eval "$wx_cv_use_logdialog"
8830 if test x"$enablestring" = xdisable; then
8831 if test $wxUSE_LOGDIALOG = yes; then
8837 result=$wxUSE_LOGDIALOG
8840 { echo "$as_me:$LINENO: result
: $result" >&5
8841 echo "${ECHO_T}$result" >&6; }
8845 defaultval=$wxUSE_ALL_FEATURES
8846 if test -z "$defaultval"; then
8847 if test x"$enablestring" = xdisable; then
8854 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8855 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8856 # Check whether --enable-mdi was given.
8857 if test "${enable_mdi+set}" = set; then
8858 enableval=$enable_mdi;
8859 if test "$enableval" = yes; then
8860 wx_cv_use_mdi='wxUSE_MDI=yes'
8862 wx_cv_use_mdi='wxUSE_MDI=no'
8867 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8872 eval "$wx_cv_use_mdi"
8874 if test x
"$enablestring" = xdisable
; then
8875 if test $wxUSE_MDI = yes; then
8884 { echo "$as_me:$LINENO: result: $result" >&5
8885 echo "${ECHO_T}$result" >&6; }
8889 defaultval
=$wxUSE_ALL_FEATURES
8890 if test -z "$defaultval"; then
8891 if test x
"$enablestring" = xdisable
; then
8898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8899 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8900 # Check whether --enable-mdidoc was given.
8901 if test "${enable_mdidoc+set}" = set; then
8902 enableval
=$enable_mdidoc;
8903 if test "$enableval" = yes; then
8904 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8906 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8911 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8916 eval "$wx_cv_use_mdidoc"
8918 if test x"$enablestring" = xdisable; then
8919 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8925 result=$wxUSE_MDI_ARCHITECTURE
8928 { echo "$as_me:$LINENO: result: $result" >&5
8929 echo "${ECHO_T}$result" >&6; }
8933 defaultval=$wxUSE_ALL_FEATURES
8934 if test -z "$defaultval"; then
8935 if test x"$enablestring" = xdisable; then
8942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8943 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8944 # Check whether --enable-mediactrl was given.
8945 if test "${enable_mediactrl+set}" = set; then
8946 enableval=$enable_mediactrl;
8947 if test "$enableval" = yes; then
8948 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
8950 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
8955 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8960 eval "$wx_cv_use_mediactrl"
8962 if test x"$enablestring" = xdisable; then
8963 if test $wxUSE_MEDIACTRL = yes; then
8969 result=$wxUSE_MEDIACTRL
8972 { echo "$as_me:$LINENO: result
: $result" >&5
8973 echo "${ECHO_T}$result" >&6; }
8977 defaultval=$wxUSE_ALL_FEATURES
8978 if test -z "$defaultval"; then
8979 if test x"$enablestring" = xdisable; then
8986 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
8987 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
8988 # Check whether --enable-gstreamer8 was given.
8989 if test "${enable_gstreamer8+set}" = set; then
8990 enableval=$enable_gstreamer8;
8991 if test "$enableval" = yes; then
8992 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8994 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8999 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9004 eval "$wx_cv_use_gstreamer8"
9006 if test x
"$enablestring" = xdisable
; then
9007 if test $wxUSE_GSTREAMER8 = yes; then
9013 result
=$wxUSE_GSTREAMER8
9016 { echo "$as_me:$LINENO: result: $result" >&5
9017 echo "${ECHO_T}$result" >&6; }
9021 defaultval
=$wxUSE_ALL_FEATURES
9022 if test -z "$defaultval"; then
9023 if test x
"$enablestring" = xdisable
; then
9030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9031 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9032 # Check whether --enable-webkit was given.
9033 if test "${enable_webkit+set}" = set; then
9034 enableval
=$enable_webkit;
9035 if test "$enableval" = yes; then
9036 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9038 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9043 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9048 eval "$wx_cv_use_webkit"
9050 if test x"$enablestring" = xdisable; then
9051 if test $wxUSE_WEBKIT = yes; then
9057 result=$wxUSE_WEBKIT
9060 { echo "$as_me:$LINENO: result: $result" >&5
9061 echo "${ECHO_T}$result" >&6; }
9065 defaultval=$wxUSE_ALL_FEATURES
9066 if test -z "$defaultval"; then
9067 if test x"$enablestring" = xdisable; then
9074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9075 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9076 # Check whether --enable-richtext was given.
9077 if test "${enable_richtext+set}" = set; then
9078 enableval=$enable_richtext;
9079 if test "$enableval" = yes; then
9080 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9082 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9087 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9092 eval "$wx_cv_use_richtext"
9094 if test x"$enablestring" = xdisable; then
9095 if test $wxUSE_RICHTEXT = yes; then
9101 result=$wxUSE_RICHTEXT
9104 { echo "$as_me:$LINENO: result
: $result" >&5
9105 echo "${ECHO_T}$result" >&6; }
9109 defaultval=$wxUSE_ALL_FEATURES
9110 if test -z "$defaultval"; then
9111 if test x"$enablestring" = xdisable; then
9118 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9119 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9120 # Check whether --enable-graphics_ctx was given.
9121 if test "${enable_graphics_ctx+set}" = set; then
9122 enableval=$enable_graphics_ctx;
9123 if test "$enableval" = yes; then
9124 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9126 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9131 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9136 eval "$wx_cv_use_graphics_ctx"
9138 if test x
"$enablestring" = xdisable
; then
9139 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9145 result
=$wxUSE_GRAPHICS_CONTEXT
9148 { echo "$as_me:$LINENO: result: $result" >&5
9149 echo "${ECHO_T}$result" >&6; }
9153 defaultval
=$wxUSE_ALL_FEATURES
9154 if test -z "$defaultval"; then
9155 if test x
"$enablestring" = xdisable
; then
9162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9163 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9164 # Check whether --enable-postscript was given.
9165 if test "${enable_postscript+set}" = set; then
9166 enableval
=$enable_postscript;
9167 if test "$enableval" = yes; then
9168 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9170 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9175 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9180 eval "$wx_cv_use_postscript"
9182 if test x"$enablestring" = xdisable; then
9183 if test $wxUSE_POSTSCRIPT = yes; then
9189 result=$wxUSE_POSTSCRIPT
9192 { echo "$as_me:$LINENO: result: $result" >&5
9193 echo "${ECHO_T}$result" >&6; }
9197 defaultval=$wxUSE_ALL_FEATURES
9198 if test -z "$defaultval"; then
9199 if test x"$enablestring" = xdisable; then
9206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9207 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9208 # Check whether --enable-printarch was given.
9209 if test "${enable_printarch+set}" = set; then
9210 enableval=$enable_printarch;
9211 if test "$enableval" = yes; then
9212 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9214 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9219 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9224 eval "$wx_cv_use_printarch"
9226 if test x"$enablestring" = xdisable; then
9227 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9233 result=$wxUSE_PRINTING_ARCHITECTURE
9236 { echo "$as_me:$LINENO: result
: $result" >&5
9237 echo "${ECHO_T}$result" >&6; }
9241 defaultval=$wxUSE_ALL_FEATURES
9242 if test -z "$defaultval"; then
9243 if test x"$enablestring" = xdisable; then
9250 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9251 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9252 # Check whether --enable-svg was given.
9253 if test "${enable_svg+set}" = set; then
9254 enableval=$enable_svg;
9255 if test "$enableval" = yes; then
9256 wx_cv_use_svg='wxUSE_SVG=yes'
9258 wx_cv_use_svg='wxUSE_SVG=no'
9263 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9268 eval "$wx_cv_use_svg"
9270 if test x
"$enablestring" = xdisable
; then
9271 if test $wxUSE_SVG = yes; then
9280 { echo "$as_me:$LINENO: result: $result" >&5
9281 echo "${ECHO_T}$result" >&6; }
9287 defaultval
=$wxUSE_ALL_FEATURES
9288 if test -z "$defaultval"; then
9289 if test x
"$enablestring" = xdisable
; then
9296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9297 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9298 # Check whether --enable-clipboard was given.
9299 if test "${enable_clipboard+set}" = set; then
9300 enableval
=$enable_clipboard;
9301 if test "$enableval" = yes; then
9302 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9304 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9309 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9314 eval "$wx_cv_use_clipboard"
9316 if test x"$enablestring" = xdisable; then
9317 if test $wxUSE_CLIPBOARD = yes; then
9323 result=$wxUSE_CLIPBOARD
9326 { echo "$as_me:$LINENO: result: $result" >&5
9327 echo "${ECHO_T}$result" >&6; }
9331 defaultval=$wxUSE_ALL_FEATURES
9332 if test -z "$defaultval"; then
9333 if test x"$enablestring" = xdisable; then
9340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9341 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9342 # Check whether --enable-dnd was given.
9343 if test "${enable_dnd+set}" = set; then
9344 enableval=$enable_dnd;
9345 if test "$enableval" = yes; then
9346 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9348 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9353 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9358 eval "$wx_cv_use_dnd"
9360 if test x"$enablestring" = xdisable; then
9361 if test $wxUSE_DRAG_AND_DROP = yes; then
9367 result=$wxUSE_DRAG_AND_DROP
9370 { echo "$as_me:$LINENO: result
: $result" >&5
9371 echo "${ECHO_T}$result" >&6; }
9375 defaultval=$wxUSE_ALL_FEATURES
9376 if test -z "$defaultval"; then
9377 if test x"$enablestring" = xdisable; then
9384 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9385 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9386 # Check whether --enable-metafile was given.
9387 if test "${enable_metafile+set}" = set; then
9388 enableval=$enable_metafile;
9389 if test "$enableval" = yes; then
9390 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9392 wx_cv_use_metafile='wxUSE_METAFILE=no'
9397 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9402 eval "$wx_cv_use_metafile"
9404 if test x
"$enablestring" = xdisable
; then
9405 if test $wxUSE_METAFILE = yes; then
9411 result
=$wxUSE_METAFILE
9414 { echo "$as_me:$LINENO: result: $result" >&5
9415 echo "${ECHO_T}$result" >&6; }
9419 DEFAULT_wxUSE_CONTROLS
=none
9421 enablestring
=disable
9423 if test -z "$defaultval"; then
9424 if test x
"$enablestring" = xdisable
; then
9431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9432 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9433 # Check whether --enable-controls was given.
9434 if test "${enable_controls+set}" = set; then
9435 enableval
=$enable_controls;
9436 if test "$enableval" = yes; then
9437 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9439 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9444 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9449 eval "$wx_cv_use_controls"
9451 if test x"$enablestring" = xdisable; then
9452 if test $wxUSE_CONTROLS = yes; then
9458 result=$wxUSE_CONTROLS
9461 { echo "$as_me:$LINENO: result: $result" >&5
9462 echo "${ECHO_T}$result" >&6; }
9465 if test "$wxUSE_CONTROLS" = "yes"; then
9466 DEFAULT_wxUSE_ACCEL=yes
9467 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9468 DEFAULT_wxUSE_BMPBUTTON=yes
9469 DEFAULT_wxUSE_BUTTON=yes
9470 DEFAULT_wxUSE_CALCTRL=yes
9471 DEFAULT_wxUSE_CARET=yes
9472 DEFAULT_wxUSE_COMBOBOX=yes
9473 DEFAULT_wxUSE_CHECKBOX=yes
9474 DEFAULT_wxUSE_CHECKLISTBOX=yes
9475 DEFAULT_wxUSE_CHOICE=yes
9476 DEFAULT_wxUSE_CHOICEBOOK=yes
9477 DEFAULT_wxUSE_COLLPANE=yes
9478 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9479 DEFAULT_wxUSE_COMBOBOX=yes
9480 DEFAULT_wxUSE_DATEPICKCTRL=yes
9481 DEFAULT_wxUSE_DISPLAY=yes
9482 DEFAULT_wxUSE_DETECT_SM=yes
9483 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9484 DEFAULT_wxUSE_FILECTRL=yes
9485 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9486 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9487 DEFAULT_wxUSE_GAUGE=yes
9488 DEFAULT_wxUSE_GRID=yes
9489 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9490 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9491 DEFAULT_wxUSE_IMAGLIST=yes
9492 DEFAULT_wxUSE_LISTBOOK=yes
9493 DEFAULT_wxUSE_LISTBOX=yes
9494 DEFAULT_wxUSE_LISTCTRL=yes
9495 DEFAULT_wxUSE_NOTEBOOK=yes
9496 DEFAULT_wxUSE_RADIOBOX=yes
9497 DEFAULT_wxUSE_RADIOBTN=yes
9498 DEFAULT_wxUSE_SASH=yes
9499 DEFAULT_wxUSE_SCROLLBAR=yes
9500 DEFAULT_wxUSE_SEARCHCTRL=yes
9501 DEFAULT_wxUSE_SLIDER=yes
9502 DEFAULT_wxUSE_SPINBTN=yes
9503 DEFAULT_wxUSE_SPINCTRL=yes
9504 DEFAULT_wxUSE_SPLITTER=yes
9505 DEFAULT_wxUSE_STATBMP=yes
9506 DEFAULT_wxUSE_STATBOX=yes
9507 DEFAULT_wxUSE_STATLINE=yes
9508 DEFAULT_wxUSE_STATUSBAR=yes
9509 DEFAULT_wxUSE_TOGGLEBTN=yes
9510 DEFAULT_wxUSE_TOOLBAR=yes
9511 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9512 DEFAULT_wxUSE_TOOLTIPS=yes
9513 DEFAULT_wxUSE_TREEBOOK=yes
9514 DEFAULT_wxUSE_TOOLBOOK=yes
9515 DEFAULT_wxUSE_TREECTRL=yes
9516 DEFAULT_wxUSE_POPUPWIN=yes
9517 DEFAULT_wxUSE_TIPWINDOW=yes
9518 elif test "$wxUSE_CONTROLS" = "no"; then
9519 DEFAULT_wxUSE_ACCEL=no
9520 DEFAULT_wxUSE_ANIMATIONCTRL=no
9521 DEFAULT_wxUSE_BMPBUTTON=no
9522 DEFAULT_wxUSE_BUTTON=no
9523 DEFAULT_wxUSE_CALCTRL=no
9524 DEFAULT_wxUSE_CARET=no
9525 DEFAULT_wxUSE_COLLPANE=no
9526 DEFAULT_wxUSE_COMBOBOX=no
9527 DEFAULT_wxUSE_CHECKBOX=no
9528 DEFAULT_wxUSE_CHECKLISTBOX=no
9529 DEFAULT_wxUSE_CHOICE=no
9530 DEFAULT_wxUSE_CHOICEBOOK=no
9531 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9532 DEFAULT_wxUSE_COMBOBOX=no
9533 DEFAULT_wxUSE_DATEPICKCTRL=no
9534 DEFAULT_wxUSE_DISPLAY=no
9535 DEFAULT_wxUSE_DETECT_SM=no
9536 DEFAULT_wxUSE_DIRPICKERCTRL=no
9537 DEFAULT_wxUSE_FILECTRL=no
9538 DEFAULT_wxUSE_FILEPICKERCTRL=no
9539 DEFAULT_wxUSE_FONTPICKERCTRL=no
9540 DEFAULT_wxUSE_GAUGE=no
9541 DEFAULT_wxUSE_GRID=no
9542 DEFAULT_wxUSE_HYPERLINKCTRL=no
9543 DEFAULT_wxUSE_DATAVIEWCTRL=no
9544 DEFAULT_wxUSE_IMAGLIST=no
9545 DEFAULT_wxUSE_LISTBOOK=no
9546 DEFAULT_wxUSE_LISTBOX=no
9547 DEFAULT_wxUSE_LISTCTRL=no
9548 DEFAULT_wxUSE_NOTEBOOK=no
9549 DEFAULT_wxUSE_RADIOBOX=no
9550 DEFAULT_wxUSE_RADIOBTN=no
9551 DEFAULT_wxUSE_SASH=no
9552 DEFAULT_wxUSE_SCROLLBAR=no
9553 DEFAULT_wxUSE_SEARCHCTRL=no
9554 DEFAULT_wxUSE_SLIDER=no
9555 DEFAULT_wxUSE_SPINBTN=no
9556 DEFAULT_wxUSE_SPINCTRL=no
9557 DEFAULT_wxUSE_SPLITTER=no
9558 DEFAULT_wxUSE_STATBMP=no
9559 DEFAULT_wxUSE_STATBOX=no
9560 DEFAULT_wxUSE_STATLINE=no
9561 DEFAULT_wxUSE_STATUSBAR=no
9562 DEFAULT_wxUSE_TOGGLEBTN=no
9563 DEFAULT_wxUSE_TOOLBAR=no
9564 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9565 DEFAULT_wxUSE_TOOLTIPS=no
9566 DEFAULT_wxUSE_TREEBOOK=no
9567 DEFAULT_wxUSE_TOOLBOOK=no
9568 DEFAULT_wxUSE_TREECTRL=no
9569 DEFAULT_wxUSE_POPUPWIN=no
9570 DEFAULT_wxUSE_TIPWINDOW=no
9575 defaultval=$wxUSE_ALL_FEATURES
9576 if test -z "$defaultval"; then
9577 if test x"$enablestring" = xdisable; then
9584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9585 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9586 # Check whether --enable-accel was given.
9587 if test "${enable_accel+set}" = set; then
9588 enableval=$enable_accel;
9589 if test "$enableval" = yes; then
9590 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9592 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9597 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9602 eval "$wx_cv_use_accel"
9604 if test x"$enablestring" = xdisable; then
9605 if test $wxUSE_ACCEL = yes; then
9614 { echo "$as_me:$LINENO: result
: $result" >&5
9615 echo "${ECHO_T}$result" >&6; }
9619 defaultval=$wxUSE_ALL_FEATURES
9620 if test -z "$defaultval"; then
9621 if test x"$enablestring" = xdisable; then
9628 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9629 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9630 # Check whether --enable-animatectrl was given.
9631 if test "${enable_animatectrl+set}" = set; then
9632 enableval=$enable_animatectrl;
9633 if test "$enableval" = yes; then
9634 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9636 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9641 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9646 eval "$wx_cv_use_animatectrl"
9648 if test x
"$enablestring" = xdisable
; then
9649 if test $wxUSE_ANIMATIONCTRL = yes; then
9655 result
=$wxUSE_ANIMATIONCTRL
9658 { echo "$as_me:$LINENO: result: $result" >&5
9659 echo "${ECHO_T}$result" >&6; }
9663 defaultval
=$wxUSE_ALL_FEATURES
9664 if test -z "$defaultval"; then
9665 if test x
"$enablestring" = xdisable
; then
9672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9673 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9674 # Check whether --enable-button was given.
9675 if test "${enable_button+set}" = set; then
9676 enableval
=$enable_button;
9677 if test "$enableval" = yes; then
9678 wx_cv_use_button
='wxUSE_BUTTON=yes'
9680 wx_cv_use_button
='wxUSE_BUTTON=no'
9685 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9690 eval "$wx_cv_use_button"
9692 if test x"$enablestring" = xdisable; then
9693 if test $wxUSE_BUTTON = yes; then
9699 result=$wxUSE_BUTTON
9702 { echo "$as_me:$LINENO: result: $result" >&5
9703 echo "${ECHO_T}$result" >&6; }
9707 defaultval=$wxUSE_ALL_FEATURES
9708 if test -z "$defaultval"; then
9709 if test x"$enablestring" = xdisable; then
9716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9717 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9718 # Check whether --enable-bmpbutton was given.
9719 if test "${enable_bmpbutton+set}" = set; then
9720 enableval=$enable_bmpbutton;
9721 if test "$enableval" = yes; then
9722 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9724 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9729 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9734 eval "$wx_cv_use_bmpbutton"
9736 if test x"$enablestring" = xdisable; then
9737 if test $wxUSE_BMPBUTTON = yes; then
9743 result=$wxUSE_BMPBUTTON
9746 { echo "$as_me:$LINENO: result
: $result" >&5
9747 echo "${ECHO_T}$result" >&6; }
9751 defaultval=$wxUSE_ALL_FEATURES
9752 if test -z "$defaultval"; then
9753 if test x"$enablestring" = xdisable; then
9760 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9761 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9762 # Check whether --enable-bmpcombobox was given.
9763 if test "${enable_bmpcombobox+set}" = set; then
9764 enableval=$enable_bmpcombobox;
9765 if test "$enableval" = yes; then
9766 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9768 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9773 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9778 eval "$wx_cv_use_bmpcombobox"
9780 if test x
"$enablestring" = xdisable
; then
9781 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9787 result
=$wxUSE_BITMAPCOMBOBOX
9790 { echo "$as_me:$LINENO: result: $result" >&5
9791 echo "${ECHO_T}$result" >&6; }
9795 defaultval
=$wxUSE_ALL_FEATURES
9796 if test -z "$defaultval"; then
9797 if test x
"$enablestring" = xdisable
; then
9804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9805 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9806 # Check whether --enable-calendar was given.
9807 if test "${enable_calendar+set}" = set; then
9808 enableval
=$enable_calendar;
9809 if test "$enableval" = yes; then
9810 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9812 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9817 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9822 eval "$wx_cv_use_calendar"
9824 if test x"$enablestring" = xdisable; then
9825 if test $wxUSE_CALCTRL = yes; then
9831 result=$wxUSE_CALCTRL
9834 { echo "$as_me:$LINENO: result: $result" >&5
9835 echo "${ECHO_T}$result" >&6; }
9839 defaultval=$wxUSE_ALL_FEATURES
9840 if test -z "$defaultval"; then
9841 if test x"$enablestring" = xdisable; then
9848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9849 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9850 # Check whether --enable-caret was given.
9851 if test "${enable_caret+set}" = set; then
9852 enableval=$enable_caret;
9853 if test "$enableval" = yes; then
9854 wx_cv_use_caret='wxUSE_CARET
=yes'
9856 wx_cv_use_caret='wxUSE_CARET
=no
'
9861 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9866 eval "$wx_cv_use_caret"
9868 if test x"$enablestring" = xdisable; then
9869 if test $wxUSE_CARET = yes; then
9878 { echo "$as_me:$LINENO: result
: $result" >&5
9879 echo "${ECHO_T}$result" >&6; }
9883 defaultval=$wxUSE_ALL_FEATURES
9884 if test -z "$defaultval"; then
9885 if test x"$enablestring" = xdisable; then
9892 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9893 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9894 # Check whether --enable-checkbox was given.
9895 if test "${enable_checkbox+set}" = set; then
9896 enableval=$enable_checkbox;
9897 if test "$enableval" = yes; then
9898 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9900 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9905 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9910 eval "$wx_cv_use_checkbox"
9912 if test x
"$enablestring" = xdisable
; then
9913 if test $wxUSE_CHECKBOX = yes; then
9919 result
=$wxUSE_CHECKBOX
9922 { echo "$as_me:$LINENO: result: $result" >&5
9923 echo "${ECHO_T}$result" >&6; }
9927 defaultval
=$wxUSE_ALL_FEATURES
9928 if test -z "$defaultval"; then
9929 if test x
"$enablestring" = xdisable
; then
9936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9937 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9938 # Check whether --enable-checklst was given.
9939 if test "${enable_checklst+set}" = set; then
9940 enableval
=$enable_checklst;
9941 if test "$enableval" = yes; then
9942 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9944 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9949 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9954 eval "$wx_cv_use_checklst"
9956 if test x"$enablestring" = xdisable; then
9957 if test $wxUSE_CHECKLST = yes; then
9963 result=$wxUSE_CHECKLST
9966 { echo "$as_me:$LINENO: result: $result" >&5
9967 echo "${ECHO_T}$result" >&6; }
9971 defaultval=$wxUSE_ALL_FEATURES
9972 if test -z "$defaultval"; then
9973 if test x"$enablestring" = xdisable; then
9980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9981 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9982 # Check whether --enable-choice was given.
9983 if test "${enable_choice+set}" = set; then
9984 enableval=$enable_choice;
9985 if test "$enableval" = yes; then
9986 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9988 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9993 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9998 eval "$wx_cv_use_choice"
10000 if test x"$enablestring" = xdisable; then
10001 if test $wxUSE_CHOICE = yes; then
10007 result=$wxUSE_CHOICE
10010 { echo "$as_me:$LINENO: result
: $result" >&5
10011 echo "${ECHO_T}$result" >&6; }
10015 defaultval=$wxUSE_ALL_FEATURES
10016 if test -z "$defaultval"; then
10017 if test x"$enablestring" = xdisable; then
10024 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
10025 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
10026 # Check whether --enable-choicebook was given.
10027 if test "${enable_choicebook+set}" = set; then
10028 enableval=$enable_choicebook;
10029 if test "$enableval" = yes; then
10030 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10032 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10037 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10042 eval "$wx_cv_use_choicebook"
10044 if test x
"$enablestring" = xdisable
; then
10045 if test $wxUSE_CHOICEBOOK = yes; then
10051 result
=$wxUSE_CHOICEBOOK
10054 { echo "$as_me:$LINENO: result: $result" >&5
10055 echo "${ECHO_T}$result" >&6; }
10059 defaultval
=$wxUSE_ALL_FEATURES
10060 if test -z "$defaultval"; then
10061 if test x
"$enablestring" = xdisable
; then
10068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10069 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10070 # Check whether --enable-collpane was given.
10071 if test "${enable_collpane+set}" = set; then
10072 enableval
=$enable_collpane;
10073 if test "$enableval" = yes; then
10074 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10076 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10081 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10086 eval "$wx_cv_use_collpane"
10088 if test x"$enablestring" = xdisable; then
10089 if test $wxUSE_COLLPANE = yes; then
10095 result=$wxUSE_COLLPANE
10098 { echo "$as_me:$LINENO: result: $result" >&5
10099 echo "${ECHO_T}$result" >&6; }
10103 defaultval=$wxUSE_ALL_FEATURES
10104 if test -z "$defaultval"; then
10105 if test x"$enablestring" = xdisable; then
10112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10113 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10114 # Check whether --enable-colourpicker was given.
10115 if test "${enable_colourpicker+set}" = set; then
10116 enableval=$enable_colourpicker;
10117 if test "$enableval" = yes; then
10118 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10120 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10125 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10130 eval "$wx_cv_use_colourpicker"
10132 if test x"$enablestring" = xdisable; then
10133 if test $wxUSE_COLOURPICKERCTRL = yes; then
10139 result=$wxUSE_COLOURPICKERCTRL
10142 { echo "$as_me:$LINENO: result
: $result" >&5
10143 echo "${ECHO_T}$result" >&6; }
10147 defaultval=$wxUSE_ALL_FEATURES
10148 if test -z "$defaultval"; then
10149 if test x"$enablestring" = xdisable; then
10156 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10157 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10158 # Check whether --enable-combobox was given.
10159 if test "${enable_combobox+set}" = set; then
10160 enableval=$enable_combobox;
10161 if test "$enableval" = yes; then
10162 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10164 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10169 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10174 eval "$wx_cv_use_combobox"
10176 if test x
"$enablestring" = xdisable
; then
10177 if test $wxUSE_COMBOBOX = yes; then
10183 result
=$wxUSE_COMBOBOX
10186 { echo "$as_me:$LINENO: result: $result" >&5
10187 echo "${ECHO_T}$result" >&6; }
10191 defaultval
=$wxUSE_ALL_FEATURES
10192 if test -z "$defaultval"; then
10193 if test x
"$enablestring" = xdisable
; then
10200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10201 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10202 # Check whether --enable-comboctrl was given.
10203 if test "${enable_comboctrl+set}" = set; then
10204 enableval
=$enable_comboctrl;
10205 if test "$enableval" = yes; then
10206 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10208 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10213 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10218 eval "$wx_cv_use_comboctrl"
10220 if test x"$enablestring" = xdisable; then
10221 if test $wxUSE_COMBOCTRL = yes; then
10227 result=$wxUSE_COMBOCTRL
10230 { echo "$as_me:$LINENO: result: $result" >&5
10231 echo "${ECHO_T}$result" >&6; }
10235 defaultval=$wxUSE_ALL_FEATURES
10236 if test -z "$defaultval"; then
10237 if test x"$enablestring" = xdisable; then
10244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10245 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10246 # Check whether --enable-datepick was given.
10247 if test "${enable_datepick+set}" = set; then
10248 enableval=$enable_datepick;
10249 if test "$enableval" = yes; then
10250 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10252 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10257 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10262 eval "$wx_cv_use_datepick"
10264 if test x"$enablestring" = xdisable; then
10265 if test $wxUSE_DATEPICKCTRL = yes; then
10271 result=$wxUSE_DATEPICKCTRL
10274 { echo "$as_me:$LINENO: result
: $result" >&5
10275 echo "${ECHO_T}$result" >&6; }
10279 defaultval=$wxUSE_ALL_FEATURES
10280 if test -z "$defaultval"; then
10281 if test x"$enablestring" = xdisable; then
10288 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10289 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10290 # Check whether --enable-dirpicker was given.
10291 if test "${enable_dirpicker+set}" = set; then
10292 enableval=$enable_dirpicker;
10293 if test "$enableval" = yes; then
10294 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10296 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10301 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10306 eval "$wx_cv_use_dirpicker"
10308 if test x
"$enablestring" = xdisable
; then
10309 if test $wxUSE_DIRPICKERCTRL = yes; then
10315 result
=$wxUSE_DIRPICKERCTRL
10318 { echo "$as_me:$LINENO: result: $result" >&5
10319 echo "${ECHO_T}$result" >&6; }
10323 defaultval
=$wxUSE_ALL_FEATURES
10324 if test -z "$defaultval"; then
10325 if test x
"$enablestring" = xdisable
; then
10332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10333 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10334 # Check whether --enable-display was given.
10335 if test "${enable_display+set}" = set; then
10336 enableval
=$enable_display;
10337 if test "$enableval" = yes; then
10338 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10340 wx_cv_use_display
='wxUSE_DISPLAY=no'
10345 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10350 eval "$wx_cv_use_display"
10352 if test x"$enablestring" = xdisable; then
10353 if test $wxUSE_DISPLAY = yes; then
10359 result=$wxUSE_DISPLAY
10362 { echo "$as_me:$LINENO: result: $result" >&5
10363 echo "${ECHO_T}$result" >&6; }
10367 defaultval=$wxUSE_ALL_FEATURES
10368 if test -z "$defaultval"; then
10369 if test x"$enablestring" = xdisable; then
10376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10377 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10378 # Check whether --enable-detect_sm was given.
10379 if test "${enable_detect_sm+set}" = set; then
10380 enableval=$enable_detect_sm;
10381 if test "$enableval" = yes; then
10382 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10384 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10389 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10394 eval "$wx_cv_use_detect_sm"
10396 if test x"$enablestring" = xdisable; then
10397 if test $wxUSE_DETECT_SM = yes; then
10403 result=$wxUSE_DETECT_SM
10406 { echo "$as_me:$LINENO: result
: $result" >&5
10407 echo "${ECHO_T}$result" >&6; }
10411 defaultval=$wxUSE_ALL_FEATURES
10412 if test -z "$defaultval"; then
10413 if test x"$enablestring" = xdisable; then
10420 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
10421 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
10422 # Check whether --enable-editablebox was given.
10423 if test "${enable_editablebox+set}" = set; then
10424 enableval=$enable_editablebox;
10425 if test "$enableval" = yes; then
10426 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10428 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10433 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10438 eval "$wx_cv_use_editablebox"
10440 if test x
"$enablestring" = xdisable
; then
10441 if test $wxUSE_EDITABLELISTBOX = yes; then
10447 result
=$wxUSE_EDITABLELISTBOX
10450 { echo "$as_me:$LINENO: result: $result" >&5
10451 echo "${ECHO_T}$result" >&6; }
10455 defaultval
=$wxUSE_ALL_FEATURES
10456 if test -z "$defaultval"; then
10457 if test x
"$enablestring" = xdisable
; then
10464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10465 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10466 # Check whether --enable-filepicker was given.
10467 if test "${enable_filepicker+set}" = set; then
10468 enableval
=$enable_filepicker;
10469 if test "$enableval" = yes; then
10470 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10472 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10477 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10482 eval "$wx_cv_use_filepicker"
10484 if test x"$enablestring" = xdisable; then
10485 if test $wxUSE_FILEPICKERCTRL = yes; then
10491 result=$wxUSE_FILEPICKERCTRL
10494 { echo "$as_me:$LINENO: result: $result" >&5
10495 echo "${ECHO_T}$result" >&6; }
10499 defaultval=$wxUSE_ALL_FEATURES
10500 if test -z "$defaultval"; then
10501 if test x"$enablestring" = xdisable; then
10508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10509 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10510 # Check whether --enable-filectrl was given.
10511 if test "${enable_filectrl+set}" = set; then
10512 enableval=$enable_filectrl;
10513 if test "$enableval" = yes; then
10514 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10516 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10521 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10526 eval "$wx_cv_use_filectrl"
10528 if test x"$enablestring" = xdisable; then
10529 if test $wxUSE_FILECTRL = yes; then
10535 result=$wxUSE_FILECTRL
10538 { echo "$as_me:$LINENO: result
: $result" >&5
10539 echo "${ECHO_T}$result" >&6; }
10543 defaultval=$wxUSE_ALL_FEATURES
10544 if test -z "$defaultval"; then
10545 if test x"$enablestring" = xdisable; then
10552 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
10553 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
10554 # Check whether --enable-fontpicker was given.
10555 if test "${enable_fontpicker+set}" = set; then
10556 enableval=$enable_fontpicker;
10557 if test "$enableval" = yes; then
10558 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10560 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10565 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10570 eval "$wx_cv_use_fontpicker"
10572 if test x
"$enablestring" = xdisable
; then
10573 if test $wxUSE_FONTPICKERCTRL = yes; then
10579 result
=$wxUSE_FONTPICKERCTRL
10582 { echo "$as_me:$LINENO: result: $result" >&5
10583 echo "${ECHO_T}$result" >&6; }
10587 defaultval
=$wxUSE_ALL_FEATURES
10588 if test -z "$defaultval"; then
10589 if test x
"$enablestring" = xdisable
; then
10596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10597 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10598 # Check whether --enable-gauge was given.
10599 if test "${enable_gauge+set}" = set; then
10600 enableval
=$enable_gauge;
10601 if test "$enableval" = yes; then
10602 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
10604 wx_cv_use_gauge
='wxUSE_GAUGE=no'
10609 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10614 eval "$wx_cv_use_gauge"
10616 if test x"$enablestring" = xdisable; then
10617 if test $wxUSE_GAUGE = yes; then
10623 result=$wxUSE_GAUGE
10626 { echo "$as_me:$LINENO: result: $result" >&5
10627 echo "${ECHO_T}$result" >&6; }
10631 defaultval=$wxUSE_ALL_FEATURES
10632 if test -z "$defaultval"; then
10633 if test x"$enablestring" = xdisable; then
10640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10641 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10642 # Check whether --enable-grid was given.
10643 if test "${enable_grid+set}" = set; then
10644 enableval=$enable_grid;
10645 if test "$enableval" = yes; then
10646 wx_cv_use_grid='wxUSE_GRID
=yes'
10648 wx_cv_use_grid='wxUSE_GRID
=no
'
10653 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10658 eval "$wx_cv_use_grid"
10660 if test x"$enablestring" = xdisable; then
10661 if test $wxUSE_GRID = yes; then
10670 { echo "$as_me:$LINENO: result
: $result" >&5
10671 echo "${ECHO_T}$result" >&6; }
10675 defaultval=$wxUSE_ALL_FEATURES
10676 if test -z "$defaultval"; then
10677 if test x"$enablestring" = xdisable; then
10684 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10685 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10686 # Check whether --enable-dataviewctrl was given.
10687 if test "${enable_dataviewctrl+set}" = set; then
10688 enableval=$enable_dataviewctrl;
10689 if test "$enableval" = yes; then
10690 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10692 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10697 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10702 eval "$wx_cv_use_dataviewctrl"
10704 if test x
"$enablestring" = xdisable
; then
10705 if test $wxUSE_DATAVIEWCTRL = yes; then
10711 result
=$wxUSE_DATAVIEWCTRL
10714 { echo "$as_me:$LINENO: result: $result" >&5
10715 echo "${ECHO_T}$result" >&6; }
10719 defaultval
=$wxUSE_ALL_FEATURES
10720 if test -z "$defaultval"; then
10721 if test x
"$enablestring" = xdisable
; then
10728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10729 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10730 # Check whether --enable-hyperlink was given.
10731 if test "${enable_hyperlink+set}" = set; then
10732 enableval
=$enable_hyperlink;
10733 if test "$enableval" = yes; then
10734 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
10736 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
10741 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10746 eval "$wx_cv_use_hyperlink"
10748 if test x"$enablestring" = xdisable; then
10749 if test $wxUSE_HYPERLINKCTRL = yes; then
10755 result=$wxUSE_HYPERLINKCTRL
10758 { echo "$as_me:$LINENO: result: $result" >&5
10759 echo "${ECHO_T}$result" >&6; }
10763 defaultval=$wxUSE_ALL_FEATURES
10764 if test -z "$defaultval"; then
10765 if test x"$enablestring" = xdisable; then
10772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10773 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10774 # Check whether --enable-imaglist was given.
10775 if test "${enable_imaglist+set}" = set; then
10776 enableval=$enable_imaglist;
10777 if test "$enableval" = yes; then
10778 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
10780 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
10785 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10790 eval "$wx_cv_use_imaglist"
10792 if test x"$enablestring" = xdisable; then
10793 if test $wxUSE_IMAGLIST = yes; then
10799 result=$wxUSE_IMAGLIST
10802 { echo "$as_me:$LINENO: result
: $result" >&5
10803 echo "${ECHO_T}$result" >&6; }
10807 defaultval=$wxUSE_ALL_FEATURES
10808 if test -z "$defaultval"; then
10809 if test x"$enablestring" = xdisable; then
10816 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
10817 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
10818 # Check whether --enable-listbook was given.
10819 if test "${enable_listbook+set}" = set; then
10820 enableval=$enable_listbook;
10821 if test "$enableval" = yes; then
10822 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10824 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10829 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10834 eval "$wx_cv_use_listbook"
10836 if test x
"$enablestring" = xdisable
; then
10837 if test $wxUSE_LISTBOOK = yes; then
10843 result
=$wxUSE_LISTBOOK
10846 { echo "$as_me:$LINENO: result: $result" >&5
10847 echo "${ECHO_T}$result" >&6; }
10851 defaultval
=$wxUSE_ALL_FEATURES
10852 if test -z "$defaultval"; then
10853 if test x
"$enablestring" = xdisable
; then
10860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10861 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10862 # Check whether --enable-listbox was given.
10863 if test "${enable_listbox+set}" = set; then
10864 enableval
=$enable_listbox;
10865 if test "$enableval" = yes; then
10866 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
10868 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
10873 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10878 eval "$wx_cv_use_listbox"
10880 if test x"$enablestring" = xdisable; then
10881 if test $wxUSE_LISTBOX = yes; then
10887 result=$wxUSE_LISTBOX
10890 { echo "$as_me:$LINENO: result: $result" >&5
10891 echo "${ECHO_T}$result" >&6; }
10895 defaultval=$wxUSE_ALL_FEATURES
10896 if test -z "$defaultval"; then
10897 if test x"$enablestring" = xdisable; then
10904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10905 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10906 # Check whether --enable-listctrl was given.
10907 if test "${enable_listctrl+set}" = set; then
10908 enableval=$enable_listctrl;
10909 if test "$enableval" = yes; then
10910 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
10912 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
10917 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10922 eval "$wx_cv_use_listctrl"
10924 if test x"$enablestring" = xdisable; then
10925 if test $wxUSE_LISTCTRL = yes; then
10931 result=$wxUSE_LISTCTRL
10934 { echo "$as_me:$LINENO: result
: $result" >&5
10935 echo "${ECHO_T}$result" >&6; }
10939 defaultval=$wxUSE_ALL_FEATURES
10940 if test -z "$defaultval"; then
10941 if test x"$enablestring" = xdisable; then
10948 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
10949 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
10950 # Check whether --enable-notebook was given.
10951 if test "${enable_notebook+set}" = set; then
10952 enableval=$enable_notebook;
10953 if test "$enableval" = yes; then
10954 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10956 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10961 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10966 eval "$wx_cv_use_notebook"
10968 if test x
"$enablestring" = xdisable
; then
10969 if test $wxUSE_NOTEBOOK = yes; then
10975 result
=$wxUSE_NOTEBOOK
10978 { echo "$as_me:$LINENO: result: $result" >&5
10979 echo "${ECHO_T}$result" >&6; }
10983 defaultval
=$wxUSE_ALL_FEATURES
10984 if test -z "$defaultval"; then
10985 if test x
"$enablestring" = xdisable
; then
10992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10993 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10994 # Check whether --enable-notifmsg was given.
10995 if test "${enable_notifmsg+set}" = set; then
10996 enableval
=$enable_notifmsg;
10997 if test "$enableval" = yes; then
10998 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
11000 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
11005 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11010 eval "$wx_cv_use_notifmsg"
11012 if test x"$enablestring" = xdisable; then
11013 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11019 result=$wxUSE_NOTIFICATION_MESSAGE
11022 { echo "$as_me:$LINENO: result: $result" >&5
11023 echo "${ECHO_T}$result" >&6; }
11027 defaultval=$wxUSE_ALL_FEATURES
11028 if test -z "$defaultval"; then
11029 if test x"$enablestring" = xdisable; then
11036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11037 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11038 # Check whether --enable-odcombobox was given.
11039 if test "${enable_odcombobox+set}" = set; then
11040 enableval=$enable_odcombobox;
11041 if test "$enableval" = yes; then
11042 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
11044 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
11049 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11054 eval "$wx_cv_use_odcombobox"
11056 if test x"$enablestring" = xdisable; then
11057 if test $wxUSE_ODCOMBOBOX = yes; then
11063 result=$wxUSE_ODCOMBOBOX
11066 { echo "$as_me:$LINENO: result
: $result" >&5
11067 echo "${ECHO_T}$result" >&6; }
11071 defaultval=$wxUSE_ALL_FEATURES
11072 if test -z "$defaultval"; then
11073 if test x"$enablestring" = xdisable; then
11080 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
11081 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
11082 # Check whether --enable-radiobox was given.
11083 if test "${enable_radiobox+set}" = set; then
11084 enableval=$enable_radiobox;
11085 if test "$enableval" = yes; then
11086 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11088 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11093 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11098 eval "$wx_cv_use_radiobox"
11100 if test x
"$enablestring" = xdisable
; then
11101 if test $wxUSE_RADIOBOX = yes; then
11107 result
=$wxUSE_RADIOBOX
11110 { echo "$as_me:$LINENO: result: $result" >&5
11111 echo "${ECHO_T}$result" >&6; }
11115 defaultval
=$wxUSE_ALL_FEATURES
11116 if test -z "$defaultval"; then
11117 if test x
"$enablestring" = xdisable
; then
11124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11125 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11126 # Check whether --enable-radiobtn was given.
11127 if test "${enable_radiobtn+set}" = set; then
11128 enableval
=$enable_radiobtn;
11129 if test "$enableval" = yes; then
11130 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11132 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11137 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11142 eval "$wx_cv_use_radiobtn"
11144 if test x"$enablestring" = xdisable; then
11145 if test $wxUSE_RADIOBTN = yes; then
11151 result=$wxUSE_RADIOBTN
11154 { echo "$as_me:$LINENO: result: $result" >&5
11155 echo "${ECHO_T}$result" >&6; }
11159 defaultval=$wxUSE_ALL_FEATURES
11160 if test -z "$defaultval"; then
11161 if test x"$enablestring" = xdisable; then
11168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11169 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11170 # Check whether --enable-sash was given.
11171 if test "${enable_sash+set}" = set; then
11172 enableval=$enable_sash;
11173 if test "$enableval" = yes; then
11174 wx_cv_use_sash='wxUSE_SASH
=yes'
11176 wx_cv_use_sash='wxUSE_SASH
=no
'
11181 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11186 eval "$wx_cv_use_sash"
11188 if test x"$enablestring" = xdisable; then
11189 if test $wxUSE_SASH = yes; then
11198 { echo "$as_me:$LINENO: result
: $result" >&5
11199 echo "${ECHO_T}$result" >&6; }
11203 defaultval=$wxUSE_ALL_FEATURES
11204 if test -z "$defaultval"; then
11205 if test x"$enablestring" = xdisable; then
11212 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11213 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11214 # Check whether --enable-scrollbar was given.
11215 if test "${enable_scrollbar+set}" = set; then
11216 enableval=$enable_scrollbar;
11217 if test "$enableval" = yes; then
11218 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11220 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11225 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11230 eval "$wx_cv_use_scrollbar"
11232 if test x
"$enablestring" = xdisable
; then
11233 if test $wxUSE_SCROLLBAR = yes; then
11239 result
=$wxUSE_SCROLLBAR
11242 { echo "$as_me:$LINENO: result: $result" >&5
11243 echo "${ECHO_T}$result" >&6; }
11247 defaultval
=$wxUSE_ALL_FEATURES
11248 if test -z "$defaultval"; then
11249 if test x
"$enablestring" = xdisable
; then
11256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11257 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11258 # Check whether --enable-searchctrl was given.
11259 if test "${enable_searchctrl+set}" = set; then
11260 enableval
=$enable_searchctrl;
11261 if test "$enableval" = yes; then
11262 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11264 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11269 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11274 eval "$wx_cv_use_searchctrl"
11276 if test x"$enablestring" = xdisable; then
11277 if test $wxUSE_SEARCHCTRL = yes; then
11283 result=$wxUSE_SEARCHCTRL
11286 { echo "$as_me:$LINENO: result: $result" >&5
11287 echo "${ECHO_T}$result" >&6; }
11291 defaultval=$wxUSE_ALL_FEATURES
11292 if test -z "$defaultval"; then
11293 if test x"$enablestring" = xdisable; then
11300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11301 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11302 # Check whether --enable-slider was given.
11303 if test "${enable_slider+set}" = set; then
11304 enableval=$enable_slider;
11305 if test "$enableval" = yes; then
11306 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11308 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11313 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11318 eval "$wx_cv_use_slider"
11320 if test x"$enablestring" = xdisable; then
11321 if test $wxUSE_SLIDER = yes; then
11327 result=$wxUSE_SLIDER
11330 { echo "$as_me:$LINENO: result
: $result" >&5
11331 echo "${ECHO_T}$result" >&6; }
11335 defaultval=$wxUSE_ALL_FEATURES
11336 if test -z "$defaultval"; then
11337 if test x"$enablestring" = xdisable; then
11344 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11345 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11346 # Check whether --enable-spinbtn was given.
11347 if test "${enable_spinbtn+set}" = set; then
11348 enableval=$enable_spinbtn;
11349 if test "$enableval" = yes; then
11350 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11352 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11357 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11362 eval "$wx_cv_use_spinbtn"
11364 if test x
"$enablestring" = xdisable
; then
11365 if test $wxUSE_SPINBTN = yes; then
11371 result
=$wxUSE_SPINBTN
11374 { echo "$as_me:$LINENO: result: $result" >&5
11375 echo "${ECHO_T}$result" >&6; }
11379 defaultval
=$wxUSE_ALL_FEATURES
11380 if test -z "$defaultval"; then
11381 if test x
"$enablestring" = xdisable
; then
11388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11389 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11390 # Check whether --enable-spinctrl was given.
11391 if test "${enable_spinctrl+set}" = set; then
11392 enableval
=$enable_spinctrl;
11393 if test "$enableval" = yes; then
11394 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11396 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11401 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11406 eval "$wx_cv_use_spinctrl"
11408 if test x"$enablestring" = xdisable; then
11409 if test $wxUSE_SPINCTRL = yes; then
11415 result=$wxUSE_SPINCTRL
11418 { echo "$as_me:$LINENO: result: $result" >&5
11419 echo "${ECHO_T}$result" >&6; }
11423 defaultval=$wxUSE_ALL_FEATURES
11424 if test -z "$defaultval"; then
11425 if test x"$enablestring" = xdisable; then
11432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11433 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11434 # Check whether --enable-splitter was given.
11435 if test "${enable_splitter+set}" = set; then
11436 enableval=$enable_splitter;
11437 if test "$enableval" = yes; then
11438 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11440 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11445 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11450 eval "$wx_cv_use_splitter"
11452 if test x"$enablestring" = xdisable; then
11453 if test $wxUSE_SPLITTER = yes; then
11459 result=$wxUSE_SPLITTER
11462 { echo "$as_me:$LINENO: result
: $result" >&5
11463 echo "${ECHO_T}$result" >&6; }
11467 defaultval=$wxUSE_ALL_FEATURES
11468 if test -z "$defaultval"; then
11469 if test x"$enablestring" = xdisable; then
11476 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11477 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11478 # Check whether --enable-statbmp was given.
11479 if test "${enable_statbmp+set}" = set; then
11480 enableval=$enable_statbmp;
11481 if test "$enableval" = yes; then
11482 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11484 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11489 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11494 eval "$wx_cv_use_statbmp"
11496 if test x
"$enablestring" = xdisable
; then
11497 if test $wxUSE_STATBMP = yes; then
11503 result
=$wxUSE_STATBMP
11506 { echo "$as_me:$LINENO: result: $result" >&5
11507 echo "${ECHO_T}$result" >&6; }
11511 defaultval
=$wxUSE_ALL_FEATURES
11512 if test -z "$defaultval"; then
11513 if test x
"$enablestring" = xdisable
; then
11520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11521 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11522 # Check whether --enable-statbox was given.
11523 if test "${enable_statbox+set}" = set; then
11524 enableval
=$enable_statbox;
11525 if test "$enableval" = yes; then
11526 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11528 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11533 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11538 eval "$wx_cv_use_statbox"
11540 if test x"$enablestring" = xdisable; then
11541 if test $wxUSE_STATBOX = yes; then
11547 result=$wxUSE_STATBOX
11550 { echo "$as_me:$LINENO: result: $result" >&5
11551 echo "${ECHO_T}$result" >&6; }
11555 defaultval=$wxUSE_ALL_FEATURES
11556 if test -z "$defaultval"; then
11557 if test x"$enablestring" = xdisable; then
11564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11565 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11566 # Check whether --enable-statline was given.
11567 if test "${enable_statline+set}" = set; then
11568 enableval=$enable_statline;
11569 if test "$enableval" = yes; then
11570 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11572 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11577 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11582 eval "$wx_cv_use_statline"
11584 if test x"$enablestring" = xdisable; then
11585 if test $wxUSE_STATLINE = yes; then
11591 result=$wxUSE_STATLINE
11594 { echo "$as_me:$LINENO: result
: $result" >&5
11595 echo "${ECHO_T}$result" >&6; }
11599 defaultval=$wxUSE_ALL_FEATURES
11600 if test -z "$defaultval"; then
11601 if test x"$enablestring" = xdisable; then
11608 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11609 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11610 # Check whether --enable-stattext was given.
11611 if test "${enable_stattext+set}" = set; then
11612 enableval=$enable_stattext;
11613 if test "$enableval" = yes; then
11614 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11616 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11621 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11626 eval "$wx_cv_use_stattext"
11628 if test x
"$enablestring" = xdisable
; then
11629 if test $wxUSE_STATTEXT = yes; then
11635 result
=$wxUSE_STATTEXT
11638 { echo "$as_me:$LINENO: result: $result" >&5
11639 echo "${ECHO_T}$result" >&6; }
11643 defaultval
=$wxUSE_ALL_FEATURES
11644 if test -z "$defaultval"; then
11645 if test x
"$enablestring" = xdisable
; then
11652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11653 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11654 # Check whether --enable-statusbar was given.
11655 if test "${enable_statusbar+set}" = set; then
11656 enableval
=$enable_statusbar;
11657 if test "$enableval" = yes; then
11658 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11660 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11665 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11670 eval "$wx_cv_use_statusbar"
11672 if test x"$enablestring" = xdisable; then
11673 if test $wxUSE_STATUSBAR = yes; then
11679 result=$wxUSE_STATUSBAR
11682 { echo "$as_me:$LINENO: result: $result" >&5
11683 echo "${ECHO_T}$result" >&6; }
11687 defaultval=$wxUSE_ALL_FEATURES
11688 if test -z "$defaultval"; then
11689 if test x"$enablestring" = xdisable; then
11696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11697 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11698 # Check whether --enable-taskbaricon was given.
11699 if test "${enable_taskbaricon+set}" = set; then
11700 enableval=$enable_taskbaricon;
11701 if test "$enableval" = yes; then
11702 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
11704 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
11709 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11714 eval "$wx_cv_use_taskbaricon"
11716 if test x"$enablestring" = xdisable; then
11717 if test $wxUSE_TASKBARICON = yes; then
11723 result=$wxUSE_TASKBARICON
11726 { echo "$as_me:$LINENO: result
: $result" >&5
11727 echo "${ECHO_T}$result" >&6; }
11731 defaultval=$wxUSE_ALL_FEATURES
11732 if test -z "$defaultval"; then
11733 if test x"$enablestring" = xdisable; then
11740 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textctrl" >&5
11741 echo $ECHO_N "checking
for --${enablestring:-enable}-textctrl...
$ECHO_C" >&6; }
11742 # Check whether --enable-textctrl was given.
11743 if test "${enable_textctrl+set}" = set; then
11744 enableval=$enable_textctrl;
11745 if test "$enableval" = yes; then
11746 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11748 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11753 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11758 eval "$wx_cv_use_textctrl"
11760 if test x
"$enablestring" = xdisable
; then
11761 if test $wxUSE_TEXTCTRL = yes; then
11767 result
=$wxUSE_TEXTCTRL
11770 { echo "$as_me:$LINENO: result: $result" >&5
11771 echo "${ECHO_T}$result" >&6; }
11775 defaultval
=$wxUSE_ALL_FEATURES
11776 if test -z "$defaultval"; then
11777 if test x
"$enablestring" = xdisable
; then
11784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11785 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11786 # Check whether --enable-togglebtn was given.
11787 if test "${enable_togglebtn+set}" = set; then
11788 enableval
=$enable_togglebtn;
11789 if test "$enableval" = yes; then
11790 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
11792 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
11797 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11802 eval "$wx_cv_use_togglebtn"
11804 if test x"$enablestring" = xdisable; then
11805 if test $wxUSE_TOGGLEBTN = yes; then
11811 result=$wxUSE_TOGGLEBTN
11814 { echo "$as_me:$LINENO: result: $result" >&5
11815 echo "${ECHO_T}$result" >&6; }
11819 defaultval=$wxUSE_ALL_FEATURES
11820 if test -z "$defaultval"; then
11821 if test x"$enablestring" = xdisable; then
11828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11829 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11830 # Check whether --enable-toolbar was given.
11831 if test "${enable_toolbar+set}" = set; then
11832 enableval=$enable_toolbar;
11833 if test "$enableval" = yes; then
11834 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
11836 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
11841 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11846 eval "$wx_cv_use_toolbar"
11848 if test x"$enablestring" = xdisable; then
11849 if test $wxUSE_TOOLBAR = yes; then
11855 result=$wxUSE_TOOLBAR
11858 { echo "$as_me:$LINENO: result
: $result" >&5
11859 echo "${ECHO_T}$result" >&6; }
11863 defaultval=$wxUSE_ALL_FEATURES
11864 if test -z "$defaultval"; then
11865 if test x"$enablestring" = xdisable; then
11872 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
11873 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6; }
11874 # Check whether --enable-tbarnative was given.
11875 if test "${enable_tbarnative+set}" = set; then
11876 enableval=$enable_tbarnative;
11877 if test "$enableval" = yes; then
11878 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11880 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11885 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11890 eval "$wx_cv_use_tbarnative"
11892 if test x
"$enablestring" = xdisable
; then
11893 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11899 result
=$wxUSE_TOOLBAR_NATIVE
11902 { echo "$as_me:$LINENO: result: $result" >&5
11903 echo "${ECHO_T}$result" >&6; }
11907 defaultval
=$wxUSE_ALL_FEATURES
11908 if test -z "$defaultval"; then
11909 if test x
"$enablestring" = xdisable
; then
11916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11917 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11918 # Check whether --enable-treebook was given.
11919 if test "${enable_treebook+set}" = set; then
11920 enableval
=$enable_treebook;
11921 if test "$enableval" = yes; then
11922 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
11924 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
11929 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11934 eval "$wx_cv_use_treebook"
11936 if test x"$enablestring" = xdisable; then
11937 if test $wxUSE_TREEBOOK = yes; then
11943 result=$wxUSE_TREEBOOK
11946 { echo "$as_me:$LINENO: result: $result" >&5
11947 echo "${ECHO_T}$result" >&6; }
11951 defaultval=$wxUSE_ALL_FEATURES
11952 if test -z "$defaultval"; then
11953 if test x"$enablestring" = xdisable; then
11960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11961 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11962 # Check whether --enable-toolbook was given.
11963 if test "${enable_toolbook+set}" = set; then
11964 enableval=$enable_toolbook;
11965 if test "$enableval" = yes; then
11966 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
11968 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
11973 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11978 eval "$wx_cv_use_toolbook"
11980 if test x"$enablestring" = xdisable; then
11981 if test $wxUSE_TOOLBOOK = yes; then
11987 result=$wxUSE_TOOLBOOK
11990 { echo "$as_me:$LINENO: result
: $result" >&5
11991 echo "${ECHO_T}$result" >&6; }
11995 defaultval=$wxUSE_ALL_FEATURES
11996 if test -z "$defaultval"; then
11997 if test x"$enablestring" = xdisable; then
12004 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treectrl" >&5
12005 echo $ECHO_N "checking
for --${enablestring:-enable}-treectrl...
$ECHO_C" >&6; }
12006 # Check whether --enable-treectrl was given.
12007 if test "${enable_treectrl+set}" = set; then
12008 enableval=$enable_treectrl;
12009 if test "$enableval" = yes; then
12010 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12012 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12017 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12022 eval "$wx_cv_use_treectrl"
12024 if test x
"$enablestring" = xdisable
; then
12025 if test $wxUSE_TREECTRL = yes; then
12031 result
=$wxUSE_TREECTRL
12034 { echo "$as_me:$LINENO: result: $result" >&5
12035 echo "${ECHO_T}$result" >&6; }
12039 defaultval
=$wxUSE_ALL_FEATURES
12040 if test -z "$defaultval"; then
12041 if test x
"$enablestring" = xdisable
; then
12048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12049 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12050 # Check whether --enable-tipwindow was given.
12051 if test "${enable_tipwindow+set}" = set; then
12052 enableval
=$enable_tipwindow;
12053 if test "$enableval" = yes; then
12054 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
12056 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
12061 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12066 eval "$wx_cv_use_tipwindow"
12068 if test x"$enablestring" = xdisable; then
12069 if test $wxUSE_TIPWINDOW = yes; then
12075 result=$wxUSE_TIPWINDOW
12078 { echo "$as_me:$LINENO: result: $result" >&5
12079 echo "${ECHO_T}$result" >&6; }
12083 defaultval=$wxUSE_ALL_FEATURES
12084 if test -z "$defaultval"; then
12085 if test x"$enablestring" = xdisable; then
12092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12093 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12094 # Check whether --enable-popupwin was given.
12095 if test "${enable_popupwin+set}" = set; then
12096 enableval=$enable_popupwin;
12097 if test "$enableval" = yes; then
12098 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
12100 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
12105 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12110 eval "$wx_cv_use_popupwin"
12112 if test x"$enablestring" = xdisable; then
12113 if test $wxUSE_POPUPWIN = yes; then
12119 result=$wxUSE_POPUPWIN
12122 { echo "$as_me:$LINENO: result
: $result" >&5
12123 echo "${ECHO_T}$result" >&6; }
12129 defaultval=$wxUSE_ALL_FEATURES
12130 if test -z "$defaultval"; then
12131 if test x"$enablestring" = xdisable; then
12138 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
12139 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12140 # Check whether --enable-commondlg was given.
12141 if test "${enable_commondlg+set}" = set; then
12142 enableval=$enable_commondlg;
12143 if test "$enableval" = yes; then
12144 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12146 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12151 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12156 eval "$wx_cv_use_commondlg"
12158 if test x
"$enablestring" = xdisable
; then
12159 if test $wxUSE_COMMONDLGS = yes; then
12165 result
=$wxUSE_COMMONDLGS
12168 { echo "$as_me:$LINENO: result: $result" >&5
12169 echo "${ECHO_T}$result" >&6; }
12173 defaultval
=$wxUSE_ALL_FEATURES
12174 if test -z "$defaultval"; then
12175 if test x
"$enablestring" = xdisable
; then
12182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12183 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12184 # Check whether --enable-aboutdlg was given.
12185 if test "${enable_aboutdlg+set}" = set; then
12186 enableval
=$enable_aboutdlg;
12187 if test "$enableval" = yes; then
12188 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12190 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12195 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12200 eval "$wx_cv_use_aboutdlg"
12202 if test x"$enablestring" = xdisable; then
12203 if test $wxUSE_ABOUTDLG = yes; then
12209 result=$wxUSE_ABOUTDLG
12212 { echo "$as_me:$LINENO: result: $result" >&5
12213 echo "${ECHO_T}$result" >&6; }
12217 defaultval=$wxUSE_ALL_FEATURES
12218 if test -z "$defaultval"; then
12219 if test x"$enablestring" = xdisable; then
12226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12227 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12228 # Check whether --enable-choicedlg was given.
12229 if test "${enable_choicedlg+set}" = set; then
12230 enableval=$enable_choicedlg;
12231 if test "$enableval" = yes; then
12232 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12234 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12239 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12244 eval "$wx_cv_use_choicedlg"
12246 if test x"$enablestring" = xdisable; then
12247 if test $wxUSE_CHOICEDLG = yes; then
12253 result=$wxUSE_CHOICEDLG
12256 { echo "$as_me:$LINENO: result
: $result" >&5
12257 echo "${ECHO_T}$result" >&6; }
12261 defaultval=$wxUSE_ALL_FEATURES
12262 if test -z "$defaultval"; then
12263 if test x"$enablestring" = xdisable; then
12270 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
12271 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12272 # Check whether --enable-coldlg was given.
12273 if test "${enable_coldlg+set}" = set; then
12274 enableval=$enable_coldlg;
12275 if test "$enableval" = yes; then
12276 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12278 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12283 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12288 eval "$wx_cv_use_coldlg"
12290 if test x
"$enablestring" = xdisable
; then
12291 if test $wxUSE_COLOURDLG = yes; then
12297 result
=$wxUSE_COLOURDLG
12300 { echo "$as_me:$LINENO: result: $result" >&5
12301 echo "${ECHO_T}$result" >&6; }
12305 defaultval
=$wxUSE_ALL_FEATURES
12306 if test -z "$defaultval"; then
12307 if test x
"$enablestring" = xdisable
; then
12314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12315 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12316 # Check whether --enable-filedlg was given.
12317 if test "${enable_filedlg+set}" = set; then
12318 enableval
=$enable_filedlg;
12319 if test "$enableval" = yes; then
12320 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12322 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12327 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12332 eval "$wx_cv_use_filedlg"
12334 if test x"$enablestring" = xdisable; then
12335 if test $wxUSE_FILEDLG = yes; then
12341 result=$wxUSE_FILEDLG
12344 { echo "$as_me:$LINENO: result: $result" >&5
12345 echo "${ECHO_T}$result" >&6; }
12349 defaultval=$wxUSE_ALL_FEATURES
12350 if test -z "$defaultval"; then
12351 if test x"$enablestring" = xdisable; then
12358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12359 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12360 # Check whether --enable-finddlg was given.
12361 if test "${enable_finddlg+set}" = set; then
12362 enableval=$enable_finddlg;
12363 if test "$enableval" = yes; then
12364 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12366 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12371 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12376 eval "$wx_cv_use_finddlg"
12378 if test x"$enablestring" = xdisable; then
12379 if test $wxUSE_FINDREPLDLG = yes; then
12385 result=$wxUSE_FINDREPLDLG
12388 { echo "$as_me:$LINENO: result
: $result" >&5
12389 echo "${ECHO_T}$result" >&6; }
12393 defaultval=$wxUSE_ALL_FEATURES
12394 if test -z "$defaultval"; then
12395 if test x"$enablestring" = xdisable; then
12402 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12403 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12404 # Check whether --enable-fontdlg was given.
12405 if test "${enable_fontdlg+set}" = set; then
12406 enableval=$enable_fontdlg;
12407 if test "$enableval" = yes; then
12408 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12410 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12415 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12420 eval "$wx_cv_use_fontdlg"
12422 if test x
"$enablestring" = xdisable
; then
12423 if test $wxUSE_FONTDLG = yes; then
12429 result
=$wxUSE_FONTDLG
12432 { echo "$as_me:$LINENO: result: $result" >&5
12433 echo "${ECHO_T}$result" >&6; }
12437 defaultval
=$wxUSE_ALL_FEATURES
12438 if test -z "$defaultval"; then
12439 if test x
"$enablestring" = xdisable
; then
12446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12447 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12448 # Check whether --enable-dirdlg was given.
12449 if test "${enable_dirdlg+set}" = set; then
12450 enableval
=$enable_dirdlg;
12451 if test "$enableval" = yes; then
12452 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12454 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12459 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12464 eval "$wx_cv_use_dirdlg"
12466 if test x"$enablestring" = xdisable; then
12467 if test $wxUSE_DIRDLG = yes; then
12473 result=$wxUSE_DIRDLG
12476 { echo "$as_me:$LINENO: result: $result" >&5
12477 echo "${ECHO_T}$result" >&6; }
12481 defaultval=$wxUSE_ALL_FEATURES
12482 if test -z "$defaultval"; then
12483 if test x"$enablestring" = xdisable; then
12490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12491 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12492 # Check whether --enable-msgdlg was given.
12493 if test "${enable_msgdlg+set}" = set; then
12494 enableval=$enable_msgdlg;
12495 if test "$enableval" = yes; then
12496 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12498 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12503 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12508 eval "$wx_cv_use_msgdlg"
12510 if test x"$enablestring" = xdisable; then
12511 if test $wxUSE_MSGDLG = yes; then
12517 result=$wxUSE_MSGDLG
12520 { echo "$as_me:$LINENO: result
: $result" >&5
12521 echo "${ECHO_T}$result" >&6; }
12525 defaultval=$wxUSE_ALL_FEATURES
12526 if test -z "$defaultval"; then
12527 if test x"$enablestring" = xdisable; then
12534 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
12535 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12536 # Check whether --enable-numberdlg was given.
12537 if test "${enable_numberdlg+set}" = set; then
12538 enableval=$enable_numberdlg;
12539 if test "$enableval" = yes; then
12540 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12542 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12547 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12552 eval "$wx_cv_use_numberdlg"
12554 if test x
"$enablestring" = xdisable
; then
12555 if test $wxUSE_NUMBERDLG = yes; then
12561 result
=$wxUSE_NUMBERDLG
12564 { echo "$as_me:$LINENO: result: $result" >&5
12565 echo "${ECHO_T}$result" >&6; }
12569 defaultval
=$wxUSE_ALL_FEATURES
12570 if test -z "$defaultval"; then
12571 if test x
"$enablestring" = xdisable
; then
12578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12579 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12580 # Check whether --enable-splash was given.
12581 if test "${enable_splash+set}" = set; then
12582 enableval
=$enable_splash;
12583 if test "$enableval" = yes; then
12584 wx_cv_use_splash
='wxUSE_SPLASH=yes'
12586 wx_cv_use_splash
='wxUSE_SPLASH=no'
12591 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12596 eval "$wx_cv_use_splash"
12598 if test x"$enablestring" = xdisable; then
12599 if test $wxUSE_SPLASH = yes; then
12605 result=$wxUSE_SPLASH
12608 { echo "$as_me:$LINENO: result: $result" >&5
12609 echo "${ECHO_T}$result" >&6; }
12613 defaultval=$wxUSE_ALL_FEATURES
12614 if test -z "$defaultval"; then
12615 if test x"$enablestring" = xdisable; then
12622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12623 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12624 # Check whether --enable-textdlg was given.
12625 if test "${enable_textdlg+set}" = set; then
12626 enableval=$enable_textdlg;
12627 if test "$enableval" = yes; then
12628 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
12630 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
12635 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12640 eval "$wx_cv_use_textdlg"
12642 if test x"$enablestring" = xdisable; then
12643 if test $wxUSE_TEXTDLG = yes; then
12649 result=$wxUSE_TEXTDLG
12652 { echo "$as_me:$LINENO: result
: $result" >&5
12653 echo "${ECHO_T}$result" >&6; }
12657 defaultval=$wxUSE_ALL_FEATURES
12658 if test -z "$defaultval"; then
12659 if test x"$enablestring" = xdisable; then
12666 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
12667 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
12668 # Check whether --enable-tipdlg was given.
12669 if test "${enable_tipdlg+set}" = set; then
12670 enableval=$enable_tipdlg;
12671 if test "$enableval" = yes; then
12672 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12674 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12679 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12684 eval "$wx_cv_use_tipdlg"
12686 if test x
"$enablestring" = xdisable
; then
12687 if test $wxUSE_STARTUP_TIPS = yes; then
12693 result
=$wxUSE_STARTUP_TIPS
12696 { echo "$as_me:$LINENO: result: $result" >&5
12697 echo "${ECHO_T}$result" >&6; }
12701 defaultval
=$wxUSE_ALL_FEATURES
12702 if test -z "$defaultval"; then
12703 if test x
"$enablestring" = xdisable
; then
12710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12711 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12712 # Check whether --enable-progressdlg was given.
12713 if test "${enable_progressdlg+set}" = set; then
12714 enableval
=$enable_progressdlg;
12715 if test "$enableval" = yes; then
12716 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
12718 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
12723 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12728 eval "$wx_cv_use_progressdlg"
12730 if test x"$enablestring" = xdisable; then
12731 if test $wxUSE_PROGRESSDLG = yes; then
12737 result=$wxUSE_PROGRESSDLG
12740 { echo "$as_me:$LINENO: result: $result" >&5
12741 echo "${ECHO_T}$result" >&6; }
12745 defaultval=$wxUSE_ALL_FEATURES
12746 if test -z "$defaultval"; then
12747 if test x"$enablestring" = xdisable; then
12754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12755 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12756 # Check whether --enable-wizarddlg was given.
12757 if test "${enable_wizarddlg+set}" = set; then
12758 enableval=$enable_wizarddlg;
12759 if test "$enableval" = yes; then
12760 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
12762 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
12767 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12772 eval "$wx_cv_use_wizarddlg"
12774 if test x"$enablestring" = xdisable; then
12775 if test $wxUSE_WIZARDDLG = yes; then
12781 result=$wxUSE_WIZARDDLG
12784 { echo "$as_me:$LINENO: result
: $result" >&5
12785 echo "${ECHO_T}$result" >&6; }
12791 defaultval=$wxUSE_ALL_FEATURES
12792 if test -z "$defaultval"; then
12793 if test x"$enablestring" = xdisable; then
12800 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
12801 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
12802 # Check whether --enable-menus was given.
12803 if test "${enable_menus+set}" = set; then
12804 enableval=$enable_menus;
12805 if test "$enableval" = yes; then
12806 wx_cv_use_menus='wxUSE_MENUS=yes'
12808 wx_cv_use_menus='wxUSE_MENUS=no'
12813 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12818 eval "$wx_cv_use_menus"
12820 if test x
"$enablestring" = xdisable
; then
12821 if test $wxUSE_MENUS = yes; then
12827 result
=$wxUSE_MENUS
12830 { echo "$as_me:$LINENO: result: $result" >&5
12831 echo "${ECHO_T}$result" >&6; }
12835 defaultval
=$wxUSE_ALL_FEATURES
12836 if test -z "$defaultval"; then
12837 if test x
"$enablestring" = xdisable
; then
12844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12845 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12846 # Check whether --enable-miniframe was given.
12847 if test "${enable_miniframe+set}" = set; then
12848 enableval
=$enable_miniframe;
12849 if test "$enableval" = yes; then
12850 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
12852 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
12857 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12862 eval "$wx_cv_use_miniframe"
12864 if test x"$enablestring" = xdisable; then
12865 if test $wxUSE_MINIFRAME = yes; then
12871 result=$wxUSE_MINIFRAME
12874 { echo "$as_me:$LINENO: result: $result" >&5
12875 echo "${ECHO_T}$result" >&6; }
12879 defaultval=$wxUSE_ALL_FEATURES
12880 if test -z "$defaultval"; then
12881 if test x"$enablestring" = xdisable; then
12888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12889 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12890 # Check whether --enable-tooltips was given.
12891 if test "${enable_tooltips+set}" = set; then
12892 enableval=$enable_tooltips;
12893 if test "$enableval" = yes; then
12894 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
12896 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
12901 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12906 eval "$wx_cv_use_tooltips"
12908 if test x"$enablestring" = xdisable; then
12909 if test $wxUSE_TOOLTIPS = yes; then
12915 result=$wxUSE_TOOLTIPS
12918 { echo "$as_me:$LINENO: result
: $result" >&5
12919 echo "${ECHO_T}$result" >&6; }
12923 defaultval=$wxUSE_ALL_FEATURES
12924 if test -z "$defaultval"; then
12925 if test x"$enablestring" = xdisable; then
12932 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
12933 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
12934 # Check whether --enable-splines was given.
12935 if test "${enable_splines+set}" = set; then
12936 enableval=$enable_splines;
12937 if test "$enableval" = yes; then
12938 wx_cv_use_splines='wxUSE_SPLINES=yes'
12940 wx_cv_use_splines='wxUSE_SPLINES=no'
12945 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12950 eval "$wx_cv_use_splines"
12952 if test x
"$enablestring" = xdisable
; then
12953 if test $wxUSE_SPLINES = yes; then
12959 result
=$wxUSE_SPLINES
12962 { echo "$as_me:$LINENO: result: $result" >&5
12963 echo "${ECHO_T}$result" >&6; }
12967 defaultval
=$wxUSE_ALL_FEATURES
12968 if test -z "$defaultval"; then
12969 if test x
"$enablestring" = xdisable
; then
12976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12977 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12978 # Check whether --enable-mousewheel was given.
12979 if test "${enable_mousewheel+set}" = set; then
12980 enableval
=$enable_mousewheel;
12981 if test "$enableval" = yes; then
12982 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
12984 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
12989 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12994 eval "$wx_cv_use_mousewheel"
12996 if test x"$enablestring" = xdisable; then
12997 if test $wxUSE_MOUSEWHEEL = yes; then
13003 result=$wxUSE_MOUSEWHEEL
13006 { echo "$as_me:$LINENO: result: $result" >&5
13007 echo "${ECHO_T}$result" >&6; }
13011 defaultval=$wxUSE_ALL_FEATURES
13012 if test -z "$defaultval"; then
13013 if test x"$enablestring" = xdisable; then
13020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13021 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13022 # Check whether --enable-validators was given.
13023 if test "${enable_validators+set}" = set; then
13024 enableval=$enable_validators;
13025 if test "$enableval" = yes; then
13026 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13028 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13033 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13038 eval "$wx_cv_use_validators"
13040 if test x"$enablestring" = xdisable; then
13041 if test $wxUSE_VALIDATORS = yes; then
13047 result=$wxUSE_VALIDATORS
13050 { echo "$as_me:$LINENO: result
: $result" >&5
13051 echo "${ECHO_T}$result" >&6; }
13055 defaultval=$wxUSE_ALL_FEATURES
13056 if test -z "$defaultval"; then
13057 if test x"$enablestring" = xdisable; then
13064 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13065 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13066 # Check whether --enable-busyinfo was given.
13067 if test "${enable_busyinfo+set}" = set; then
13068 enableval=$enable_busyinfo;
13069 if test "$enableval" = yes; then
13070 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13072 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13077 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13082 eval "$wx_cv_use_busyinfo"
13084 if test x
"$enablestring" = xdisable
; then
13085 if test $wxUSE_BUSYINFO = yes; then
13091 result
=$wxUSE_BUSYINFO
13094 { echo "$as_me:$LINENO: result: $result" >&5
13095 echo "${ECHO_T}$result" >&6; }
13099 defaultval
=$wxUSE_ALL_FEATURES
13100 if test -z "$defaultval"; then
13101 if test x
"$enablestring" = xdisable
; then
13108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13109 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13110 # Check whether --enable-joystick was given.
13111 if test "${enable_joystick+set}" = set; then
13112 enableval
=$enable_joystick;
13113 if test "$enableval" = yes; then
13114 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13116 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13121 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13126 eval "$wx_cv_use_joystick"
13128 if test x"$enablestring" = xdisable; then
13129 if test $wxUSE_JOYSTICK = yes; then
13135 result=$wxUSE_JOYSTICK
13138 { echo "$as_me:$LINENO: result: $result" >&5
13139 echo "${ECHO_T}$result" >&6; }
13143 defaultval=$wxUSE_ALL_FEATURES
13144 if test -z "$defaultval"; then
13145 if test x"$enablestring" = xdisable; then
13152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13153 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13154 # Check whether --enable-metafile was given.
13155 if test "${enable_metafile+set}" = set; then
13156 enableval=$enable_metafile;
13157 if test "$enableval" = yes; then
13158 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13160 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13165 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13170 eval "$wx_cv_use_metafile"
13172 if test x"$enablestring" = xdisable; then
13173 if test $wxUSE_METAFILE = yes; then
13179 result=$wxUSE_METAFILE
13182 { echo "$as_me:$LINENO: result
: $result" >&5
13183 echo "${ECHO_T}$result" >&6; }
13187 defaultval=$wxUSE_ALL_FEATURES
13188 if test -z "$defaultval"; then
13189 if test x"$enablestring" = xdisable; then
13196 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13197 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13198 # Check whether --enable-dragimage was given.
13199 if test "${enable_dragimage+set}" = set; then
13200 enableval=$enable_dragimage;
13201 if test "$enableval" = yes; then
13202 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13204 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13209 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13214 eval "$wx_cv_use_dragimage"
13216 if test x
"$enablestring" = xdisable
; then
13217 if test $wxUSE_DRAGIMAGE = yes; then
13223 result
=$wxUSE_DRAGIMAGE
13226 { echo "$as_me:$LINENO: result: $result" >&5
13227 echo "${ECHO_T}$result" >&6; }
13231 defaultval
=$wxUSE_ALL_FEATURES
13232 if test -z "$defaultval"; then
13233 if test x
"$enablestring" = xdisable
; then
13240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13241 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13242 # Check whether --enable-accessibility was given.
13243 if test "${enable_accessibility+set}" = set; then
13244 enableval
=$enable_accessibility;
13245 if test "$enableval" = yes; then
13246 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13248 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13253 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13258 eval "$wx_cv_use_accessibility"
13260 if test x"$enablestring" = xdisable; then
13261 if test $wxUSE_ACCESSIBILITY = yes; then
13267 result=$wxUSE_ACCESSIBILITY
13270 { echo "$as_me:$LINENO: result: $result" >&5
13271 echo "${ECHO_T}$result" >&6; }
13277 defaultval=$wxUSE_ALL_FEATURES
13278 if test -z "$defaultval"; then
13279 if test x"$enablestring" = xdisable; then
13286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13287 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13288 # Check whether --enable-palette was given.
13289 if test "${enable_palette+set}" = set; then
13290 enableval=$enable_palette;
13291 if test "$enableval" = yes; then
13292 wx_cv_use_palette='wxUSE_PALETTE
=yes'
13294 wx_cv_use_palette='wxUSE_PALETTE
=no
'
13299 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13304 eval "$wx_cv_use_palette"
13306 if test x"$enablestring" = xdisable; then
13307 if test $wxUSE_PALETTE = yes; then
13313 result=$wxUSE_PALETTE
13316 { echo "$as_me:$LINENO: result
: $result" >&5
13317 echo "${ECHO_T}$result" >&6; }
13321 defaultval=$wxUSE_ALL_FEATURES
13322 if test -z "$defaultval"; then
13323 if test x"$enablestring" = xdisable; then
13330 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-image" >&5
13331 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
13332 # Check whether --enable-image was given.
13333 if test "${enable_image+set}" = set; then
13334 enableval=$enable_image;
13335 if test "$enableval" = yes; then
13336 wx_cv_use_image='wxUSE_IMAGE=yes'
13338 wx_cv_use_image='wxUSE_IMAGE=no'
13343 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13348 eval "$wx_cv_use_image"
13350 if test x
"$enablestring" = xdisable
; then
13351 if test $wxUSE_IMAGE = yes; then
13357 result
=$wxUSE_IMAGE
13360 { echo "$as_me:$LINENO: result: $result" >&5
13361 echo "${ECHO_T}$result" >&6; }
13365 defaultval
=$wxUSE_ALL_FEATURES
13366 if test -z "$defaultval"; then
13367 if test x
"$enablestring" = xdisable
; then
13374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13375 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13376 # Check whether --enable-gif was given.
13377 if test "${enable_gif+set}" = set; then
13378 enableval
=$enable_gif;
13379 if test "$enableval" = yes; then
13380 wx_cv_use_gif
='wxUSE_GIF=yes'
13382 wx_cv_use_gif
='wxUSE_GIF=no'
13387 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13392 eval "$wx_cv_use_gif"
13394 if test x"$enablestring" = xdisable; then
13395 if test $wxUSE_GIF = yes; then
13404 { echo "$as_me:$LINENO: result: $result" >&5
13405 echo "${ECHO_T}$result" >&6; }
13409 defaultval=$wxUSE_ALL_FEATURES
13410 if test -z "$defaultval"; then
13411 if test x"$enablestring" = xdisable; then
13418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13419 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13420 # Check whether --enable-pcx was given.
13421 if test "${enable_pcx+set}" = set; then
13422 enableval=$enable_pcx;
13423 if test "$enableval" = yes; then
13424 wx_cv_use_pcx='wxUSE_PCX
=yes'
13426 wx_cv_use_pcx='wxUSE_PCX
=no
'
13431 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13436 eval "$wx_cv_use_pcx"
13438 if test x"$enablestring" = xdisable; then
13439 if test $wxUSE_PCX = yes; then
13448 { echo "$as_me:$LINENO: result
: $result" >&5
13449 echo "${ECHO_T}$result" >&6; }
13453 defaultval=$wxUSE_ALL_FEATURES
13454 if test -z "$defaultval"; then
13455 if test x"$enablestring" = xdisable; then
13462 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tga" >&5
13463 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
13464 # Check whether --enable-tga was given.
13465 if test "${enable_tga+set}" = set; then
13466 enableval=$enable_tga;
13467 if test "$enableval" = yes; then
13468 wx_cv_use_tga='wxUSE_TGA=yes'
13470 wx_cv_use_tga='wxUSE_TGA=no'
13475 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13480 eval "$wx_cv_use_tga"
13482 if test x
"$enablestring" = xdisable
; then
13483 if test $wxUSE_TGA = yes; then
13492 { echo "$as_me:$LINENO: result: $result" >&5
13493 echo "${ECHO_T}$result" >&6; }
13497 defaultval
=$wxUSE_ALL_FEATURES
13498 if test -z "$defaultval"; then
13499 if test x
"$enablestring" = xdisable
; then
13506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13507 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13508 # Check whether --enable-iff was given.
13509 if test "${enable_iff+set}" = set; then
13510 enableval
=$enable_iff;
13511 if test "$enableval" = yes; then
13512 wx_cv_use_iff
='wxUSE_IFF=yes'
13514 wx_cv_use_iff
='wxUSE_IFF=no'
13519 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13524 eval "$wx_cv_use_iff"
13526 if test x"$enablestring" = xdisable; then
13527 if test $wxUSE_IFF = yes; then
13536 { echo "$as_me:$LINENO: result: $result" >&5
13537 echo "${ECHO_T}$result" >&6; }
13541 defaultval=$wxUSE_ALL_FEATURES
13542 if test -z "$defaultval"; then
13543 if test x"$enablestring" = xdisable; then
13550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13551 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13552 # Check whether --enable-pnm was given.
13553 if test "${enable_pnm+set}" = set; then
13554 enableval=$enable_pnm;
13555 if test "$enableval" = yes; then
13556 wx_cv_use_pnm='wxUSE_PNM
=yes'
13558 wx_cv_use_pnm='wxUSE_PNM
=no
'
13563 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13568 eval "$wx_cv_use_pnm"
13570 if test x"$enablestring" = xdisable; then
13571 if test $wxUSE_PNM = yes; then
13580 { echo "$as_me:$LINENO: result
: $result" >&5
13581 echo "${ECHO_T}$result" >&6; }
13585 defaultval=$wxUSE_ALL_FEATURES
13586 if test -z "$defaultval"; then
13587 if test x"$enablestring" = xdisable; then
13594 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
13595 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
13596 # Check whether --enable-xpm was given.
13597 if test "${enable_xpm+set}" = set; then
13598 enableval=$enable_xpm;
13599 if test "$enableval" = yes; then
13600 wx_cv_use_xpm='wxUSE_XPM=yes'
13602 wx_cv_use_xpm='wxUSE_XPM=no'
13607 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13612 eval "$wx_cv_use_xpm"
13614 if test x
"$enablestring" = xdisable
; then
13615 if test $wxUSE_XPM = yes; then
13624 { echo "$as_me:$LINENO: result: $result" >&5
13625 echo "${ECHO_T}$result" >&6; }
13629 defaultval
=$wxUSE_ALL_FEATURES
13630 if test -z "$defaultval"; then
13631 if test x
"$enablestring" = xdisable
; then
13638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13639 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13640 # Check whether --enable-ico_cur was given.
13641 if test "${enable_ico_cur+set}" = set; then
13642 enableval
=$enable_ico_cur;
13643 if test "$enableval" = yes; then
13644 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
13646 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
13651 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13656 eval "$wx_cv_use_ico_cur"
13658 if test x"$enablestring" = xdisable; then
13659 if test $wxUSE_ICO_CUR = yes; then
13665 result=$wxUSE_ICO_CUR
13668 { echo "$as_me:$LINENO: result: $result" >&5
13669 echo "${ECHO_T}$result" >&6; }
13675 defaultval=$wxUSE_ALL_FEATURES
13676 if test -z "$defaultval"; then
13677 if test x"$enablestring" = xdisable; then
13684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13685 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13686 # Check whether --enable-dccache was given.
13687 if test "${enable_dccache+set}" = set; then
13688 enableval=$enable_dccache;
13689 if test "$enableval" = yes; then
13690 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
13692 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
13697 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13702 eval "$wx_cv_use_dccache"
13704 if test x"$enablestring" = xdisable; then
13705 if test $wxUSE_DC_CACHEING = yes; then
13711 result=$wxUSE_DC_CACHEING
13714 { echo "$as_me:$LINENO: result
: $result" >&5
13715 echo "${ECHO_T}$result" >&6; }
13719 defaultval=$wxUSE_ALL_FEATURES
13720 if test -z "$defaultval"; then
13721 if test x"$enablestring" = xdisable; then
13728 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
13729 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
13730 # Check whether --enable-ps-in-msw was given.
13731 if test "${enable_ps_in_msw+set}" = set; then
13732 enableval=$enable_ps_in_msw;
13733 if test "$enableval" = yes; then
13734 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13736 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13741 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13746 eval "$wx_cv_use_ps_in_msw"
13748 if test x
"$enablestring" = xdisable
; then
13749 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13755 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13758 { echo "$as_me:$LINENO: result: $result" >&5
13759 echo "${ECHO_T}$result" >&6; }
13763 defaultval
=$wxUSE_ALL_FEATURES
13764 if test -z "$defaultval"; then
13765 if test x
"$enablestring" = xdisable
; then
13772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13773 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13774 # Check whether --enable-ownerdrawn was given.
13775 if test "${enable_ownerdrawn+set}" = set; then
13776 enableval
=$enable_ownerdrawn;
13777 if test "$enableval" = yes; then
13778 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
13780 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
13785 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13790 eval "$wx_cv_use_ownerdrawn"
13792 if test x"$enablestring" = xdisable; then
13793 if test $wxUSE_OWNER_DRAWN = yes; then
13799 result=$wxUSE_OWNER_DRAWN
13802 { echo "$as_me:$LINENO: result: $result" >&5
13803 echo "${ECHO_T}$result" >&6; }
13807 defaultval=$wxUSE_ALL_FEATURES
13808 if test -z "$defaultval"; then
13809 if test x"$enablestring" = xdisable; then
13816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13817 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13818 # Check whether --enable-uxtheme was given.
13819 if test "${enable_uxtheme+set}" = set; then
13820 enableval=$enable_uxtheme;
13821 if test "$enableval" = yes; then
13822 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
13824 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
13829 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13834 eval "$wx_cv_use_uxtheme"
13836 if test x"$enablestring" = xdisable; then
13837 if test $wxUSE_UXTHEME = yes; then
13843 result=$wxUSE_UXTHEME
13846 { echo "$as_me:$LINENO: result
: $result" >&5
13847 echo "${ECHO_T}$result" >&6; }
13851 defaultval=$wxUSE_ALL_FEATURES
13852 if test -z "$defaultval"; then
13853 if test x"$enablestring" = xdisable; then
13860 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
13861 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
13862 # Check whether --enable-wxdib was given.
13863 if test "${enable_wxdib+set}" = set; then
13864 enableval=$enable_wxdib;
13865 if test "$enableval" = yes; then
13866 wx_cv_use_wxdib='wxUSE_DIB=yes'
13868 wx_cv_use_wxdib='wxUSE_DIB=no'
13873 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13878 eval "$wx_cv_use_wxdib"
13880 if test x
"$enablestring" = xdisable
; then
13881 if test $wxUSE_DIB = yes; then
13890 { echo "$as_me:$LINENO: result: $result" >&5
13891 echo "${ECHO_T}$result" >&6; }
13894 if test "$wxUSE_MSW" != 1; then
13895 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
13900 defaultval
=$wxUSE_ALL_FEATURES
13901 if test -z "$defaultval"; then
13902 if test x
"$enablestring" = xdisable
; then
13909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13910 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13911 # Check whether --enable-autoidman was given.
13912 if test "${enable_autoidman+set}" = set; then
13913 enableval
=$enable_autoidman;
13914 if test "$enableval" = yes; then
13915 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
13917 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
13922 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13927 eval "$wx_cv_use_autoidman"
13929 if test x"$enablestring" = xdisable; then
13930 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13936 result=$wxUSE_AUTOID_MANAGEMENT
13939 { echo "$as_me:$LINENO: result: $result" >&5
13940 echo "${ECHO_T}$result" >&6; }
13946 cat >confcache <<\_ACEOF
13947 # This file is a shell script that caches the results of configure
13948 # tests run on this system so they can be shared between configure
13949 # scripts and configure runs, see configure's option
--config-cache.
13950 # It is not useful on other systems. If it contains results you don't
13951 # want to keep, you may remove or edit it.
13953 # config.status only pays attention to the cache file if you give it
13954 # the --recheck option to rerun configure.
13956 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13957 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13958 # following values.
13962 # The following way of writing the cache mishandles newlines in values,
13963 # but we know of no workaround that is simple, portable, and efficient.
13964 # So, we kill variables containing newlines.
13965 # Ultrix sh set writes to stderr and can't be redirected directly,
13966 # and sets the high bit in the cache file unless we assign to the vars.
13968 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13969 eval ac_val
=\$
$ac_var
13973 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13974 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13977 _
| IFS
| as_nl
) ;; #(
13978 *) $as_unset $ac_var ;;
13984 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13985 *${as_nl}ac_space
=\
*)
13986 # `set' does not quote correctly, so add quotes (double-quote
13987 # substitution turns \\\\ into \\, and sed turns \\ into \).
13990 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13993 # `set' quotes correctly as required by POSIX, so do not add quotes.
13994 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14003 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14005 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14007 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14008 if test -w "$cache_file"; then
14009 test "x$cache_file" != "x/dev/null" &&
14010 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14011 echo "$as_me: updating cache $cache_file" >&6;}
14012 cat confcache
>$cache_file
14014 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14015 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14025 ac_cpp
='$CPP $CPPFLAGS'
14026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14029 if test -n "$ac_tool_prefix"; then
14030 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14031 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14034 if test "${ac_cv_prog_CC+set}" = set; then
14035 echo $ECHO_N "(cached) $ECHO_C" >&6
14037 if test -n "$CC"; then
14038 ac_cv_prog_CC
="$CC" # Let the user override the test.
14040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14041 for as_dir
in $PATH
14044 test -z "$as_dir" && as_dir
=.
14045 for ac_exec_ext
in '' $ac_executable_extensions; do
14046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14047 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14058 if test -n "$CC"; then
14059 { echo "$as_me:$LINENO: result: $CC" >&5
14060 echo "${ECHO_T}$CC" >&6; }
14062 { echo "$as_me:$LINENO: result: no" >&5
14063 echo "${ECHO_T}no" >&6; }
14068 if test -z "$ac_cv_prog_CC"; then
14070 # Extract the first word of "gcc", so it can be a program name with args.
14071 set dummy gcc
; ac_word
=$2
14072 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14074 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14075 echo $ECHO_N "(cached) $ECHO_C" >&6
14077 if test -n "$ac_ct_CC"; then
14078 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14081 for as_dir
in $PATH
14084 test -z "$as_dir" && as_dir
=.
14085 for ac_exec_ext
in '' $ac_executable_extensions; do
14086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14087 ac_cv_prog_ac_ct_CC
="gcc"
14088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14097 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14098 if test -n "$ac_ct_CC"; then
14099 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14100 echo "${ECHO_T}$ac_ct_CC" >&6; }
14102 { echo "$as_me:$LINENO: result: no" >&5
14103 echo "${ECHO_T}no" >&6; }
14106 if test "x$ac_ct_CC" = x
; then
14109 case $cross_compiling:$ac_tool_warned in
14111 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14112 whose name does not start with the host triplet. If you think this
14113 configuration is useful to you, please write to autoconf@gnu.org." >&5
14114 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14115 whose name does not start with the host triplet. If you think this
14116 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14117 ac_tool_warned
=yes ;;
14122 CC
="$ac_cv_prog_CC"
14125 if test -z "$CC"; then
14126 if test -n "$ac_tool_prefix"; then
14127 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14128 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14131 if test "${ac_cv_prog_CC+set}" = set; then
14132 echo $ECHO_N "(cached) $ECHO_C" >&6
14134 if test -n "$CC"; then
14135 ac_cv_prog_CC
="$CC" # Let the user override the test.
14137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14138 for as_dir
in $PATH
14141 test -z "$as_dir" && as_dir
=.
14142 for ac_exec_ext
in '' $ac_executable_extensions; do
14143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14144 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14155 if test -n "$CC"; then
14156 { echo "$as_me:$LINENO: result: $CC" >&5
14157 echo "${ECHO_T}$CC" >&6; }
14159 { echo "$as_me:$LINENO: result: no" >&5
14160 echo "${ECHO_T}no" >&6; }
14166 if test -z "$CC"; then
14167 # Extract the first word of "cc", so it can be a program name with args.
14168 set dummy cc
; ac_word
=$2
14169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14171 if test "${ac_cv_prog_CC+set}" = set; then
14172 echo $ECHO_N "(cached) $ECHO_C" >&6
14174 if test -n "$CC"; then
14175 ac_cv_prog_CC
="$CC" # Let the user override the test.
14177 ac_prog_rejected
=no
14178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14179 for as_dir
in $PATH
14182 test -z "$as_dir" && as_dir
=.
14183 for ac_exec_ext
in '' $ac_executable_extensions; do
14184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14185 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14186 ac_prog_rejected
=yes
14190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14197 if test $ac_prog_rejected = yes; then
14198 # We found a bogon in the path, so make sure we never use it.
14199 set dummy
$ac_cv_prog_CC
14201 if test $# != 0; then
14202 # We chose a different compiler from the bogus one.
14203 # However, it has the same basename, so the bogon will be chosen
14204 # first if we set CC to just the basename; use the full file name.
14206 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14212 if test -n "$CC"; then
14213 { echo "$as_me:$LINENO: result: $CC" >&5
14214 echo "${ECHO_T}$CC" >&6; }
14216 { echo "$as_me:$LINENO: result: no" >&5
14217 echo "${ECHO_T}no" >&6; }
14222 if test -z "$CC"; then
14223 if test -n "$ac_tool_prefix"; then
14224 for ac_prog
in cl.exe
14226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14227 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14230 if test "${ac_cv_prog_CC+set}" = set; then
14231 echo $ECHO_N "(cached) $ECHO_C" >&6
14233 if test -n "$CC"; then
14234 ac_cv_prog_CC
="$CC" # Let the user override the test.
14236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14237 for as_dir
in $PATH
14240 test -z "$as_dir" && as_dir
=.
14241 for ac_exec_ext
in '' $ac_executable_extensions; do
14242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14243 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14254 if test -n "$CC"; then
14255 { echo "$as_me:$LINENO: result: $CC" >&5
14256 echo "${ECHO_T}$CC" >&6; }
14258 { echo "$as_me:$LINENO: result: no" >&5
14259 echo "${ECHO_T}no" >&6; }
14263 test -n "$CC" && break
14266 if test -z "$CC"; then
14268 for ac_prog
in cl.exe
14270 # Extract the first word of "$ac_prog", so it can be a program name with args.
14271 set dummy
$ac_prog; ac_word
=$2
14272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14274 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14275 echo $ECHO_N "(cached) $ECHO_C" >&6
14277 if test -n "$ac_ct_CC"; then
14278 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14281 for as_dir
in $PATH
14284 test -z "$as_dir" && as_dir
=.
14285 for ac_exec_ext
in '' $ac_executable_extensions; do
14286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14287 ac_cv_prog_ac_ct_CC
="$ac_prog"
14288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14297 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14298 if test -n "$ac_ct_CC"; then
14299 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14300 echo "${ECHO_T}$ac_ct_CC" >&6; }
14302 { echo "$as_me:$LINENO: result: no" >&5
14303 echo "${ECHO_T}no" >&6; }
14307 test -n "$ac_ct_CC" && break
14310 if test "x$ac_ct_CC" = x
; then
14313 case $cross_compiling:$ac_tool_warned in
14315 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14316 whose name does not start with the host triplet. If you think this
14317 configuration is useful to you, please write to autoconf@gnu.org." >&5
14318 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14319 whose name does not start with the host triplet. If you think this
14320 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14321 ac_tool_warned
=yes ;;
14330 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14331 See \`config.log' for more details." >&5
14332 echo "$as_me: error: no acceptable C compiler found in \$PATH
14333 See \`config.log' for more details." >&2;}
14334 { (exit 1); exit 1; }; }
14336 # Provide some information about the compiler.
14337 echo "$as_me:$LINENO: checking for C compiler version" >&5
14338 ac_compiler
=`set X $ac_compile; echo $2`
14339 { (ac_try
="$ac_compiler --version >&5"
14340 case "(($ac_try" in
14341 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14342 *) ac_try_echo=$ac_try;;
14344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14345 (eval "$ac_compiler --version >&5") 2>&5
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); }
14349 { (ac_try="$ac_compiler -v >&5"
14350 case "(($ac_try" in
14351 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14352 *) ac_try_echo
=$ac_try;;
14354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14355 (eval "$ac_compiler -v >&5") 2>&5
14357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14358 (exit $ac_status); }
14359 { (ac_try
="$ac_compiler -V >&5"
14360 case "(($ac_try" in
14361 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14362 *) ac_try_echo=$ac_try;;
14364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14365 (eval "$ac_compiler -V >&5") 2>&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); }
14370 cat >conftest.$ac_ext <<_ACEOF
14373 cat confdefs.h >>conftest.$ac_ext
14374 cat >>conftest.$ac_ext <<_ACEOF
14375 /* end confdefs.h. */
14385 ac_clean_files_save=$ac_clean_files
14386 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14387 # Try to create an executable without -o first, disregard a.out.
14388 # It will help us diagnose broken compilers, and finding out an intuition
14390 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14391 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14392 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14394 # List of possible output files, starting from the most likely.
14395 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14396 # only as a last resort. b.out is created by i960 compilers.
14397 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14399 # The IRIX 6 linker writes into existing files which may not be
14400 # executable, retaining their permissions. Remove them first so a
14401 # subsequent execution test works.
14403 for ac_file in $ac_files
14406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14407 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14412 if { (ac_try="$ac_link_default"
14413 case "(($ac_try" in
14414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14415 *) ac_try_echo=$ac_try;;
14417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14418 (eval "$ac_link_default") 2>&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); }; then
14422 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14423 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14424 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14425 # so that the user can short-circuit this test for compilers unknown to
14427 for ac_file
in $ac_files ''
14429 test -f "$ac_file" || continue
14431 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14434 # We found the default executable, but exeext='' is most
14438 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14440 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14442 # We set ac_cv_exeext here because the later test for it is not
14443 # safe: cross compilers may not add the suffix if given an `-o'
14444 # argument, so we may need to know it at that point already.
14445 # Even if this section looks crufty: it has the advantage of
14446 # actually working.
14452 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14458 { echo "$as_me:$LINENO: result: $ac_file" >&5
14459 echo "${ECHO_T}$ac_file" >&6; }
14460 if test -z "$ac_file"; then
14461 echo "$as_me: failed program was:" >&5
14462 sed 's/^/| /' conftest.
$ac_ext >&5
14464 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14465 See \`config.log' for more details." >&5
14466 echo "$as_me: error: C compiler cannot create executables
14467 See \`config.log' for more details." >&2;}
14468 { (exit 77); exit 77; }; }
14471 ac_exeext
=$ac_cv_exeext
14473 # Check that the compiler produces executables we can run. If not, either
14474 # the compiler is broken, or we cross compile.
14475 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14476 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14477 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14478 # If not cross compiling, check that we can run a simple program.
14479 if test "$cross_compiling" != yes; then
14480 if { ac_try
='./$ac_file'
14481 { (case "(($ac_try" in
14482 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14483 *) ac_try_echo=$ac_try;;
14485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14486 (eval "$ac_try") 2>&5
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); }; }; then
14492 if test "$cross_compiling" = maybe; then
14493 cross_compiling=yes
14495 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14496 If you meant to cross compile, use \`--host'.
14497 See \`config.log' for more details.
" >&5
14498 echo "$as_me: error
: cannot run C compiled programs.
14499 If you meant to cross compile
, use \
`--host'.
14500 See \`config.log
' for more details." >&2;}
14501 { (exit 1); exit 1; }; }
14505 { echo "$as_me:$LINENO: result: yes" >&5
14506 echo "${ECHO_T}yes" >&6; }
14508 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14509 ac_clean_files=$ac_clean_files_save
14510 # Check that the compiler produces executables we can run. If not, either
14511 # the compiler is broken, or we cross compile.
14512 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14513 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14514 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14515 echo "${ECHO_T}$cross_compiling" >&6; }
14517 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14518 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14519 if { (ac_try="$ac_link"
14520 case "(($ac_try" in
14521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14522 *) ac_try_echo=$ac_try;;
14524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14525 (eval "$ac_link") 2>&5
14527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528 (exit $ac_status); }; then
14529 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14530 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14531 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14533 for ac_file
in conftest.exe conftest conftest.
*; do
14534 test -f "$ac_file" || continue
14536 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14537 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14543 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14544 See \`config.log' for more details." >&5
14545 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14546 See \`config.log' for more details." >&2;}
14547 { (exit 1); exit 1; }; }
14550 rm -f conftest
$ac_cv_exeext
14551 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14552 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14554 rm -f conftest.
$ac_ext
14555 EXEEXT
=$ac_cv_exeext
14557 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14558 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14559 if test "${ac_cv_objext+set}" = set; then
14560 echo $ECHO_N "(cached) $ECHO_C" >&6
14562 cat >conftest.
$ac_ext <<_ACEOF
14565 cat confdefs.h
>>conftest.
$ac_ext
14566 cat >>conftest.
$ac_ext <<_ACEOF
14567 /* end confdefs.h. */
14577 rm -f conftest.o conftest.obj
14578 if { (ac_try
="$ac_compile"
14579 case "(($ac_try" in
14580 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14581 *) ac_try_echo=$ac_try;;
14583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14584 (eval "$ac_compile") 2>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; then
14588 for ac_file in conftest.o conftest.obj conftest.*; do
14589 test -f "$ac_file" || continue;
14591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14592 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.$ac_ext >&5
14600 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14601 See \`config.log
' for more details." >&5
14602 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14603 See \`config.log' for more details.
" >&2;}
14604 { (exit 1); exit 1; }; }
14607 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14609 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14610 echo "${ECHO_T}$ac_cv_objext" >&6; }
14611 OBJEXT=$ac_cv_objext
14613 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14614 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14615 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14616 echo $ECHO_N "(cached
) $ECHO_C" >&6
14618 cat >conftest.$ac_ext <<_ACEOF
14621 cat confdefs.h >>conftest.$ac_ext
14622 cat >>conftest.$ac_ext <<_ACEOF
14623 /* end confdefs.h. */
14636 rm -f conftest.$ac_objext
14637 if { (ac_try="$ac_compile"
14638 case "(($ac_try" in
14639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14640 *) ac_try_echo=$ac_try;;
14642 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14643 (eval "$ac_compile") 2>conftest.er1
14645 grep -v '^ *+' conftest.er1 >conftest.err
14647 cat conftest.err >&5
14648 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14649 (exit $ac_status); } && {
14650 test -z "$ac_c_werror_flag" ||
14651 test ! -s conftest.err
14652 } && test -s conftest.$ac_objext; then
14653 ac_compiler_gnu=yes
14655 echo "$as_me: failed program was
:" >&5
14656 sed 's/^/| /' conftest.$ac_ext >&5
14661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14665 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14666 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14667 GCC=`test $ac_compiler_gnu = yes && echo yes`
14668 ac_test_CFLAGS=${CFLAGS+set}
14669 ac_save_CFLAGS=$CFLAGS
14670 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14671 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14672 if test "${ac_cv_prog_cc_g+set}" = set; then
14673 echo $ECHO_N "(cached
) $ECHO_C" >&6
14675 ac_save_c_werror_flag=$ac_c_werror_flag
14676 ac_c_werror_flag=yes
14679 cat >conftest.$ac_ext <<_ACEOF
14682 cat confdefs.h >>conftest.$ac_ext
14683 cat >>conftest.$ac_ext <<_ACEOF
14684 /* end confdefs.h. */
14694 rm -f conftest.$ac_objext
14695 if { (ac_try="$ac_compile"
14696 case "(($ac_try" in
14697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14698 *) ac_try_echo=$ac_try;;
14700 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14701 (eval "$ac_compile") 2>conftest.er1
14703 grep -v '^ *+' conftest.er1 >conftest.err
14705 cat conftest.err >&5
14706 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14707 (exit $ac_status); } && {
14708 test -z "$ac_c_werror_flag" ||
14709 test ! -s conftest.err
14710 } && test -s conftest.$ac_objext; then
14711 ac_cv_prog_cc_g=yes
14713 echo "$as_me: failed program was
:" >&5
14714 sed 's/^/| /' conftest.$ac_ext >&5
14717 cat >conftest.$ac_ext <<_ACEOF
14720 cat confdefs.h >>conftest.$ac_ext
14721 cat >>conftest.$ac_ext <<_ACEOF
14722 /* end confdefs.h. */
14732 rm -f conftest.$ac_objext
14733 if { (ac_try="$ac_compile"
14734 case "(($ac_try" in
14735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14736 *) ac_try_echo=$ac_try;;
14738 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14739 (eval "$ac_compile") 2>conftest.er1
14741 grep -v '^ *+' conftest.er1 >conftest.err
14743 cat conftest.err >&5
14744 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14745 (exit $ac_status); } && {
14746 test -z "$ac_c_werror_flag" ||
14747 test ! -s conftest.err
14748 } && test -s conftest.$ac_objext; then
14751 echo "$as_me: failed program was
:" >&5
14752 sed 's/^/| /' conftest.$ac_ext >&5
14754 ac_c_werror_flag=$ac_save_c_werror_flag
14756 cat >conftest.$ac_ext <<_ACEOF
14759 cat confdefs.h >>conftest.$ac_ext
14760 cat >>conftest.$ac_ext <<_ACEOF
14761 /* end confdefs.h. */
14771 rm -f conftest.$ac_objext
14772 if { (ac_try="$ac_compile"
14773 case "(($ac_try" in
14774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14775 *) ac_try_echo=$ac_try;;
14777 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14778 (eval "$ac_compile") 2>conftest.er1
14780 grep -v '^ *+' conftest.er1 >conftest.err
14782 cat conftest.err >&5
14783 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14784 (exit $ac_status); } && {
14785 test -z "$ac_c_werror_flag" ||
14786 test ! -s conftest.err
14787 } && test -s conftest.$ac_objext; then
14788 ac_cv_prog_cc_g=yes
14790 echo "$as_me: failed program was
:" >&5
14791 sed 's/^/| /' conftest.$ac_ext >&5
14796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14803 ac_c_werror_flag=$ac_save_c_werror_flag
14805 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14806 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14807 if test "$ac_test_CFLAGS" = set; then
14808 CFLAGS=$ac_save_CFLAGS
14809 elif test $ac_cv_prog_cc_g = yes; then
14810 if test "$GCC" = yes; then
14816 if test "$GCC" = yes; then
14822 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14823 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14824 if test "${ac_cv_prog_cc_c89+set}" = set; then
14825 echo $ECHO_N "(cached
) $ECHO_C" >&6
14827 ac_cv_prog_cc_c89=no
14829 cat >conftest.$ac_ext <<_ACEOF
14832 cat confdefs.h >>conftest.$ac_ext
14833 cat >>conftest.$ac_ext <<_ACEOF
14834 /* end confdefs.h. */
14835 #include <stdarg.h>
14837 #include <sys/types.h>
14838 #include <sys/stat.h>
14839 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14840 struct buf { int x; };
14841 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14842 static char *e (p, i)
14848 static char *f (char * (*g) (char **, int), char **p, ...)
14853 s = g (p, va_arg (v,int));
14858 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14859 function prototypes and stuff, but not '\xHH' hex character constants.
14860 These don't provoke an error unfortunately, instead are silently treated
14861 as 'x'. The following induces an error, until -std is added to get
14862 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14863 array size at least. It's necessary to write '\x00'==0 to get something
14864 that's true only with -std. */
14865 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14867 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14868 inside strings and character constants. */
14870 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14872 int test (int i, double x);
14873 struct s1 {int (*f) (int a);};
14874 struct s2 {int (*f) (double a);};
14875 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14881 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14886 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14887 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14889 CC="$ac_save_CC $ac_arg"
14890 rm -f conftest.$ac_objext
14891 if { (ac_try="$ac_compile"
14892 case "(($ac_try" in
14893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14894 *) ac_try_echo=$ac_try;;
14896 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14897 (eval "$ac_compile") 2>conftest.er1
14899 grep -v '^ *+' conftest.er1 >conftest.err
14901 cat conftest.err >&5
14902 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14903 (exit $ac_status); } && {
14904 test -z "$ac_c_werror_flag" ||
14905 test ! -s conftest.err
14906 } && test -s conftest.$ac_objext; then
14907 ac_cv_prog_cc_c89=$ac_arg
14909 echo "$as_me: failed program was
:" >&5
14910 sed 's/^/| /' conftest.$ac_ext >&5
14915 rm -f core conftest.err conftest.$ac_objext
14916 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14918 rm -f conftest.$ac_ext
14923 case "x
$ac_cv_prog_cc_c89" in
14925 { echo "$as_me:$LINENO: result
: none needed
" >&5
14926 echo "${ECHO_T}none needed
" >&6; } ;;
14928 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14929 echo "${ECHO_T}unsupported
" >&6; } ;;
14931 CC="$CC $ac_cv_prog_cc_c89"
14932 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14933 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14938 ac_cpp='$CPP $CPPFLAGS'
14939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14947 ac_cpp='$CPP $CPPFLAGS'
14948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14952 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14953 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14954 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14955 echo $ECHO_N "(cached
) $ECHO_C" >&6
14957 cat >conftest.$ac_ext <<_ACEOF
14960 cat confdefs.h >>conftest.$ac_ext
14961 cat >>conftest.$ac_ext <<_ACEOF
14962 /* end confdefs.h. */
14968 #ifndef __INTEL_COMPILER
14976 rm -f conftest.$ac_objext
14977 if { (ac_try="$ac_compile"
14978 case "(($ac_try" in
14979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14980 *) ac_try_echo=$ac_try;;
14982 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14983 (eval "$ac_compile") 2>conftest.er1
14985 grep -v '^ *+' conftest.er1 >conftest.err
14987 cat conftest.err >&5
14988 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14989 (exit $ac_status); } && {
14990 test -z "$ac_c_werror_flag" ||
14991 test ! -s conftest.err
14992 } && test -s conftest.$ac_objext; then
14993 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14995 echo "$as_me: failed program was
:" >&5
14996 sed 's/^/| /' conftest.$ac_ext >&5
14998 bakefile_cv_c_compiler___INTEL_COMPILER=no
15002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15006 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15007 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15008 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15014 ac_cpp='$CPP $CPPFLAGS'
15015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15022 if test "$INTELCC" = "yes"; then
15026 ac_cpp='$CPP $CPPFLAGS'
15027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15031 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15032 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15033 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15034 echo $ECHO_N "(cached
) $ECHO_C" >&6
15036 cat >conftest.$ac_ext <<_ACEOF
15039 cat confdefs.h >>conftest.$ac_ext
15040 cat >>conftest.$ac_ext <<_ACEOF
15041 /* end confdefs.h. */
15047 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15055 rm -f conftest.$ac_objext
15056 if { (ac_try="$ac_compile"
15057 case "(($ac_try" in
15058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15059 *) ac_try_echo=$ac_try;;
15061 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15062 (eval "$ac_compile") 2>conftest.er1
15064 grep -v '^ *+' conftest.er1 >conftest.err
15066 cat conftest.err >&5
15067 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15068 (exit $ac_status); } && {
15069 test -z "$ac_c_werror_flag" ||
15070 test ! -s conftest.err
15071 } && test -s conftest.$ac_objext; then
15072 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15074 echo "$as_me: failed program was
:" >&5
15075 sed 's/^/| /' conftest.$ac_ext >&5
15077 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15085 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15086 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15087 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15093 ac_cpp='$CPP $CPPFLAGS'
15094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15103 ac_cpp='$CPP $CPPFLAGS'
15104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15108 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15109 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15110 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15111 echo $ECHO_N "(cached
) $ECHO_C" >&6
15113 cat >conftest.$ac_ext <<_ACEOF
15116 cat confdefs.h >>conftest.$ac_ext
15117 cat >>conftest.$ac_ext <<_ACEOF
15118 /* end confdefs.h. */
15124 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15132 rm -f conftest.$ac_objext
15133 if { (ac_try="$ac_compile"
15134 case "(($ac_try" in
15135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15136 *) ac_try_echo=$ac_try;;
15138 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15139 (eval "$ac_compile") 2>conftest.er1
15141 grep -v '^ *+' conftest.er1 >conftest.err
15143 cat conftest.err >&5
15144 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15145 (exit $ac_status); } && {
15146 test -z "$ac_c_werror_flag" ||
15147 test ! -s conftest.err
15148 } && test -s conftest.$ac_objext; then
15149 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15151 echo "$as_me: failed program was
:" >&5
15152 sed 's/^/| /' conftest.$ac_ext >&5
15154 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15162 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15163 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15164 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15170 ac_cpp='$CPP $CPPFLAGS'
15171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15179 if test "x
$GCC" != "xyes
"; then
15180 if test "xCC
" = "xC
"; then
15181 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15182 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15183 if test "${bakefile_cv_c_exto+set}" = set; then
15184 echo $ECHO_N "(cached
) $ECHO_C" >&6
15186 cat >conftest.$ac_ext <<_ACEOF
15189 cat confdefs.h >>conftest.$ac_ext
15190 cat >>conftest.$ac_ext <<_ACEOF
15191 /* end confdefs.h. */
15201 rm -f conftest.$ac_objext conftest.$ac_ext.o
15202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15203 (eval $ac_compile) 2>&5
15205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15206 (exit $ac_status); }; then
15207 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15209 conftest.$ac_ext.o)
15210 bakefile_cv_c_exto="-ext o
"
15217 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15218 See \
`config.log' for more details." >&5
15219 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15220 See \`config.log
' for more details." >&2;}
15221 { (exit 1); exit 1; }; }
15225 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15228 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15229 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15230 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15231 if test "c" = "c"; then
15232 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15234 if test "c" = "cxx"; then
15235 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15239 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15240 unset ac_cv_prog_cc_g
15241 ac_test_CFLAGS=${CFLAGS+set}
15242 ac_save_CFLAGS=$CFLAGS
15243 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15244 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15245 if test "${ac_cv_prog_cc_g+set}" = set; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15248 ac_save_c_werror_flag=$ac_c_werror_flag
15249 ac_c_werror_flag=yes
15252 cat >conftest.$ac_ext <<_ACEOF
15255 cat confdefs.h >>conftest.$ac_ext
15256 cat >>conftest.$ac_ext <<_ACEOF
15257 /* end confdefs.h. */
15267 rm -f conftest.$ac_objext
15268 if { (ac_try="$ac_compile"
15269 case "(($ac_try" in
15270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15271 *) ac_try_echo=$ac_try;;
15273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15274 (eval "$ac_compile") 2>conftest.er1
15276 grep -v '^
*+' conftest.er1 >conftest.err
15278 cat conftest.err >&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); } && {
15281 test -z "$ac_c_werror_flag" ||
15282 test ! -s conftest.err
15283 } && test -s conftest.$ac_objext; then
15284 ac_cv_prog_cc_g=yes
15286 echo "$as_me: failed program was:" >&5
15287 sed 's
/^
/| /' conftest.$ac_ext >&5
15290 cat >conftest.$ac_ext <<_ACEOF
15293 cat confdefs.h >>conftest.$ac_ext
15294 cat >>conftest.$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15305 rm -f conftest.$ac_objext
15306 if { (ac_try="$ac_compile"
15307 case "(($ac_try" in
15308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15309 *) ac_try_echo=$ac_try;;
15311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15312 (eval "$ac_compile") 2>conftest.er1
15314 grep -v '^
*+' conftest.er1 >conftest.err
15316 cat conftest.err >&5
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); } && {
15319 test -z "$ac_c_werror_flag" ||
15320 test ! -s conftest.err
15321 } && test -s conftest.$ac_objext; then
15324 echo "$as_me: failed program was:" >&5
15325 sed 's
/^
/| /' conftest.$ac_ext >&5
15327 ac_c_werror_flag=$ac_save_c_werror_flag
15329 cat >conftest.$ac_ext <<_ACEOF
15332 cat confdefs.h >>conftest.$ac_ext
15333 cat >>conftest.$ac_ext <<_ACEOF
15334 /* end confdefs.h. */
15344 rm -f conftest.$ac_objext
15345 if { (ac_try="$ac_compile"
15346 case "(($ac_try" in
15347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15348 *) ac_try_echo=$ac_try;;
15350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15351 (eval "$ac_compile") 2>conftest.er1
15353 grep -v '^
*+' conftest.er1 >conftest.err
15355 cat conftest.err >&5
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); } && {
15358 test -z "$ac_c_werror_flag" ||
15359 test ! -s conftest.err
15360 } && test -s conftest.$ac_objext; then
15361 ac_cv_prog_cc_g=yes
15363 echo "$as_me: failed program was:" >&5
15364 sed 's
/^
/| /' conftest.$ac_ext >&5
15369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15376 ac_c_werror_flag=$ac_save_c_werror_flag
15378 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15379 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15380 if test "$ac_test_CFLAGS" = set; then
15381 CFLAGS=$ac_save_CFLAGS
15382 elif test $ac_cv_prog_cc_g = yes; then
15383 if test "$GCC" = yes; then
15389 if test "$GCC" = yes; then
15403 ac_cpp='$CPP $CPPFLAGS'
15404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15405 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15408 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15409 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15410 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15411 echo $ECHO_N "(cached) $ECHO_C" >&6
15413 cat >conftest.$ac_ext <<_ACEOF
15416 cat confdefs.h >>conftest.$ac_ext
15417 cat >>conftest.$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15432 rm -f conftest.$ac_objext
15433 if { (ac_try="$ac_compile"
15434 case "(($ac_try" in
15435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15436 *) ac_try_echo=$ac_try;;
15438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15439 (eval "$ac_compile") 2>conftest.er1
15441 grep -v '^
*+' conftest.er1 >conftest.err
15443 cat conftest.err >&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); } && {
15446 test -z "$ac_c_werror_flag" ||
15447 test ! -s conftest.err
15448 } && test -s conftest.$ac_objext; then
15449 bakefile_cv_c_compiler___xlC__=yes
15451 echo "$as_me: failed program was:" >&5
15452 sed 's
/^
/| /' conftest.$ac_ext >&5
15454 bakefile_cv_c_compiler___xlC__=no
15458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15462 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15463 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15464 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15470 ac_cpp='$CPP $CPPFLAGS'
15471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15472 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15483 ac_cpp='$CPP $CPPFLAGS'
15484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15485 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15488 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15489 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15490 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15491 echo $ECHO_N "(cached) $ECHO_C" >&6
15493 cat >conftest.$ac_ext <<_ACEOF
15496 cat confdefs.h >>conftest.$ac_ext
15497 cat >>conftest.$ac_ext <<_ACEOF
15498 /* end confdefs.h. */
15512 rm -f conftest.$ac_objext
15513 if { (ac_try="$ac_compile"
15514 case "(($ac_try" in
15515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15516 *) ac_try_echo=$ac_try;;
15518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15519 (eval "$ac_compile") 2>conftest.er1
15521 grep -v '^
*+' conftest.er1 >conftest.err
15523 cat conftest.err >&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } && {
15526 test -z "$ac_c_werror_flag" ||
15527 test ! -s conftest.err
15528 } && test -s conftest.$ac_objext; then
15529 bakefile_cv_c_compiler___MWERKS__=yes
15531 echo "$as_me: failed program was:" >&5
15532 sed 's
/^
/| /' conftest.$ac_ext >&5
15534 bakefile_cv_c_compiler___MWERKS__=no
15538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15542 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15543 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15544 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15550 ac_cpp='$CPP $CPPFLAGS'
15551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15552 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15557 if test "$MWCC" != "yes"; then
15561 ac_cpp='$CPP $CPPFLAGS'
15562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15563 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15566 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15567 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15568 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15569 echo $ECHO_N "(cached) $ECHO_C" >&6
15571 cat >conftest.$ac_ext <<_ACEOF
15574 cat confdefs.h >>conftest.$ac_ext
15575 cat >>conftest.$ac_ext <<_ACEOF
15576 /* end confdefs.h. */
15590 rm -f conftest.$ac_objext
15591 if { (ac_try="$ac_compile"
15592 case "(($ac_try" in
15593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15594 *) ac_try_echo=$ac_try;;
15596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15597 (eval "$ac_compile") 2>conftest.er1
15599 grep -v '^
*+' conftest.er1 >conftest.err
15601 cat conftest.err >&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } && {
15604 test -z "$ac_c_werror_flag" ||
15605 test ! -s conftest.err
15606 } && test -s conftest.$ac_objext; then
15607 bakefile_cv_c_compiler___xlC__=yes
15609 echo "$as_me: failed program was:" >&5
15610 sed 's
/^
/| /' conftest.$ac_ext >&5
15612 bakefile_cv_c_compiler___xlC__=no
15616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15620 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15621 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15622 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15628 ac_cpp='$CPP $CPPFLAGS'
15629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15630 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15642 ac_cpp='$CPP $CPPFLAGS'
15643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15644 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15647 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15648 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15649 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15650 echo $ECHO_N "(cached) $ECHO_C" >&6
15652 cat >conftest.$ac_ext <<_ACEOF
15655 cat confdefs.h >>conftest.$ac_ext
15656 cat >>conftest.$ac_ext <<_ACEOF
15657 /* end confdefs.h. */
15663 #ifndef _SGI_COMPILER_VERSION
15671 rm -f conftest.$ac_objext
15672 if { (ac_try="$ac_compile"
15673 case "(($ac_try" in
15674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15675 *) ac_try_echo=$ac_try;;
15677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15678 (eval "$ac_compile") 2>conftest.er1
15680 grep -v '^
*+' conftest.er1 >conftest.err
15682 cat conftest.err >&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } && {
15685 test -z "$ac_c_werror_flag" ||
15686 test ! -s conftest.err
15687 } && test -s conftest.$ac_objext; then
15688 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15690 echo "$as_me: failed program was:" >&5
15691 sed 's
/^
/| /' conftest.$ac_ext >&5
15693 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15701 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15702 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15703 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15709 ac_cpp='$CPP $CPPFLAGS'
15710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15711 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15719 if test "$INTELCC" != "yes"; then
15723 ac_cpp='$CPP $CPPFLAGS'
15724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15725 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15728 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15729 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15730 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15731 echo $ECHO_N "(cached) $ECHO_C" >&6
15733 cat >conftest.$ac_ext <<_ACEOF
15736 cat confdefs.h >>conftest.$ac_ext
15737 cat >>conftest.$ac_ext <<_ACEOF
15738 /* end confdefs.h. */
15752 rm -f conftest.$ac_objext
15753 if { (ac_try="$ac_compile"
15754 case "(($ac_try" in
15755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15756 *) ac_try_echo=$ac_try;;
15758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15759 (eval "$ac_compile") 2>conftest.er1
15761 grep -v '^
*+' conftest.er1 >conftest.err
15763 cat conftest.err >&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); } && {
15766 test -z "$ac_c_werror_flag" ||
15767 test ! -s conftest.err
15768 } && test -s conftest.$ac_objext; then
15769 bakefile_cv_c_compiler___SUNPRO_C=yes
15771 echo "$as_me: failed program was:" >&5
15772 sed 's
/^
/| /' conftest.$ac_ext >&5
15774 bakefile_cv_c_compiler___SUNPRO_C=no
15778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15782 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15783 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15784 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15790 ac_cpp='$CPP $CPPFLAGS'
15791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15792 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15804 ac_cpp='$CPP $CPPFLAGS'
15805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15806 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15809 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15810 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15811 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15812 echo $ECHO_N "(cached) $ECHO_C" >&6
15814 cat >conftest.$ac_ext <<_ACEOF
15817 cat confdefs.h >>conftest.$ac_ext
15818 cat >>conftest.$ac_ext <<_ACEOF
15819 /* end confdefs.h. */
15833 rm -f conftest.$ac_objext
15834 if { (ac_try="$ac_compile"
15835 case "(($ac_try" in
15836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15837 *) ac_try_echo=$ac_try;;
15839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15840 (eval "$ac_compile") 2>conftest.er1
15842 grep -v '^
*+' conftest.er1 >conftest.err
15844 cat conftest.err >&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); } && {
15847 test -z "$ac_c_werror_flag" ||
15848 test ! -s conftest.err
15849 } && test -s conftest.$ac_objext; then
15850 bakefile_cv_c_compiler___HP_cc=yes
15852 echo "$as_me: failed program was:" >&5
15853 sed 's
/^
/| /' conftest.$ac_ext >&5
15855 bakefile_cv_c_compiler___HP_cc=no
15859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15863 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15864 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15865 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15871 ac_cpp='$CPP $CPPFLAGS'
15872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15873 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15884 ac_cpp='$CPP $CPPFLAGS'
15885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15886 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15889 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15890 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15891 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15892 echo $ECHO_N "(cached) $ECHO_C" >&6
15894 cat >conftest.$ac_ext <<_ACEOF
15897 cat confdefs.h >>conftest.$ac_ext
15898 cat >>conftest.$ac_ext <<_ACEOF
15899 /* end confdefs.h. */
15913 rm -f conftest.$ac_objext
15914 if { (ac_try="$ac_compile"
15915 case "(($ac_try" in
15916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15917 *) ac_try_echo=$ac_try;;
15919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15920 (eval "$ac_compile") 2>conftest.er1
15922 grep -v '^
*+' conftest.er1 >conftest.err
15924 cat conftest.err >&5
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); } && {
15927 test -z "$ac_c_werror_flag" ||
15928 test ! -s conftest.err
15929 } && test -s conftest.$ac_objext; then
15930 bakefile_cv_c_compiler___DECC=yes
15932 echo "$as_me: failed program was:" >&5
15933 sed 's
/^
/| /' conftest.$ac_ext >&5
15935 bakefile_cv_c_compiler___DECC=no
15939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15943 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15944 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15945 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15951 ac_cpp='$CPP $CPPFLAGS'
15952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15953 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15964 ac_cpp='$CPP $CPPFLAGS'
15965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15966 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15969 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15970 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15971 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15972 echo $ECHO_N "(cached) $ECHO_C" >&6
15974 cat >conftest.$ac_ext <<_ACEOF
15977 cat confdefs.h >>conftest.$ac_ext
15978 cat >>conftest.$ac_ext <<_ACEOF
15979 /* end confdefs.h. */
15993 rm -f conftest.$ac_objext
15994 if { (ac_try="$ac_compile"
15995 case "(($ac_try" in
15996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15997 *) ac_try_echo=$ac_try;;
15999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16000 (eval "$ac_compile") 2>conftest.er1
16002 grep -v '^
*+' conftest.er1 >conftest.err
16004 cat conftest.err >&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); } && {
16007 test -z "$ac_c_werror_flag" ||
16008 test ! -s conftest.err
16009 } && test -s conftest.$ac_objext; then
16010 bakefile_cv_c_compiler___SUNPRO_C=yes
16012 echo "$as_me: failed program was:" >&5
16013 sed 's
/^
/| /' conftest.$ac_ext >&5
16015 bakefile_cv_c_compiler___SUNPRO_C=no
16019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16023 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16024 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16025 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16031 ac_cpp='$CPP $CPPFLAGS'
16032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16033 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16045 ac_cpp='$CPP $CPPFLAGS'
16046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16047 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16049 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16050 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16051 # On Suns, sometimes $CPP names a directory.
16052 if test -n "$CPP" && test -d "$CPP"; then
16055 if test -z "$CPP"; then
16056 if test "${ac_cv_prog_CPP+set}" = set; then
16057 echo $ECHO_N "(cached) $ECHO_C" >&6
16059 # Double quotes because CPP needs to be expanded
16060 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16062 ac_preproc_ok=false
16063 for ac_c_preproc_warn_flag in '' yes
16065 # Use a header file that comes with gcc, so configuring glibc
16066 # with a fresh cross-compiler works.
16067 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16068 # <limits.h> exists even on freestanding compilers.
16069 # On the NeXT, cc -E runs the code through the compiler's parser
,
16070 # not just through cpp. "Syntax error" is here to catch this case.
16071 cat >conftest.
$ac_ext <<_ACEOF
16074 cat confdefs.h
>>conftest.
$ac_ext
16075 cat >>conftest.
$ac_ext <<_ACEOF
16076 /* end confdefs.h. */
16078 # include <limits.h>
16080 # include <assert.h>
16084 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16085 case "(($ac_try" in
16086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16087 *) ac_try_echo=$ac_try;;
16089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16090 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16092 grep -v '^ *+' conftest.er1 >conftest.err
16094 cat conftest.err >&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); } >/dev/null && {
16097 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16098 test ! -s conftest.err
16102 echo "$as_me: failed program was:" >&5
16103 sed 's/^/| /' conftest.$ac_ext >&5
16105 # Broken: fails on valid input.
16109 rm -f conftest.err conftest.$ac_ext
16111 # OK, works on sane cases. Now check whether nonexistent headers
16112 # can be detected and how.
16113 cat >conftest.$ac_ext <<_ACEOF
16116 cat confdefs.h >>conftest.$ac_ext
16117 cat >>conftest.$ac_ext <<_ACEOF
16118 /* end confdefs.h. */
16119 #include <ac_nonexistent.h>
16121 if { (ac_try="$ac_cpp conftest.$ac_ext"
16122 case "(($ac_try" in
16123 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16124 *) ac_try_echo
=$ac_try;;
16126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16127 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16129 grep -v '^ *+' conftest.er1
>conftest.err
16131 cat conftest.err
>&5
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); } >/dev
/null
&& {
16134 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16135 test ! -s conftest.err
16137 # Broken: success on invalid input.
16140 echo "$as_me: failed program was:" >&5
16141 sed 's/^/| /' conftest.
$ac_ext >&5
16143 # Passes both tests.
16148 rm -f conftest.err conftest.
$ac_ext
16151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16152 rm -f conftest.err conftest.
$ac_ext
16153 if $ac_preproc_ok; then
16158 ac_cv_prog_CPP
=$CPP
16161 CPP
=$ac_cv_prog_CPP
16163 ac_cv_prog_CPP
=$CPP
16165 { echo "$as_me:$LINENO: result: $CPP" >&5
16166 echo "${ECHO_T}$CPP" >&6; }
16167 ac_preproc_ok
=false
16168 for ac_c_preproc_warn_flag
in '' yes
16170 # Use a header file that comes with gcc, so configuring glibc
16171 # with a fresh cross-compiler works.
16172 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16173 # <limits.h> exists even on freestanding compilers.
16174 # On the NeXT, cc -E runs the code through the compiler's parser,
16175 # not just through cpp. "Syntax error" is here to catch this case.
16176 cat >conftest.
$ac_ext <<_ACEOF
16179 cat confdefs.h
>>conftest.
$ac_ext
16180 cat >>conftest.
$ac_ext <<_ACEOF
16181 /* end confdefs.h. */
16183 # include <limits.h>
16185 # include <assert.h>
16189 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16190 case "(($ac_try" in
16191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16192 *) ac_try_echo=$ac_try;;
16194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16195 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16197 grep -v '^ *+' conftest.er1 >conftest.err
16199 cat conftest.err >&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); } >/dev/null && {
16202 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16203 test ! -s conftest.err
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16210 # Broken: fails on valid input.
16214 rm -f conftest.err conftest.$ac_ext
16216 # OK, works on sane cases. Now check whether nonexistent headers
16217 # can be detected and how.
16218 cat >conftest.$ac_ext <<_ACEOF
16221 cat confdefs.h >>conftest.$ac_ext
16222 cat >>conftest.$ac_ext <<_ACEOF
16223 /* end confdefs.h. */
16224 #include <ac_nonexistent.h>
16226 if { (ac_try="$ac_cpp conftest.$ac_ext"
16227 case "(($ac_try" in
16228 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16229 *) ac_try_echo
=$ac_try;;
16231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16234 grep -v '^ *+' conftest.er1
>conftest.err
16236 cat conftest.err
>&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); } >/dev
/null
&& {
16239 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16240 test ! -s conftest.err
16242 # Broken: success on invalid input.
16245 echo "$as_me: failed program was:" >&5
16246 sed 's/^/| /' conftest.
$ac_ext >&5
16248 # Passes both tests.
16253 rm -f conftest.err conftest.
$ac_ext
16256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16257 rm -f conftest.err conftest.
$ac_ext
16258 if $ac_preproc_ok; then
16261 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16262 See \`config.log' for more details." >&5
16263 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16264 See \`config.log' for more details." >&2;}
16265 { (exit 1); exit 1; }; }
16269 ac_cpp
='$CPP $CPPFLAGS'
16270 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16271 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16272 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16275 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16276 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16277 if test "${ac_cv_path_GREP+set}" = set; then
16278 echo $ECHO_N "(cached) $ECHO_C" >&6
16280 # Extract the first word of "grep ggrep" to use in msg output
16281 if test -z "$GREP"; then
16282 set dummy
grep ggrep
; ac_prog_name
=$2
16283 if test "${ac_cv_path_GREP+set}" = set; then
16284 echo $ECHO_N "(cached) $ECHO_C" >&6
16286 ac_path_GREP_found
=false
16287 # Loop through the user's path and test for each of PROGNAME-LIST
16288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16289 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16292 test -z "$as_dir" && as_dir
=.
16293 for ac_prog
in grep ggrep
; do
16294 for ac_exec_ext
in '' $ac_executable_extensions; do
16295 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16296 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16297 # Check for GNU ac_path_GREP and select it if it is found.
16298 # Check for GNU $ac_path_GREP
16299 case `"$ac_path_GREP" --version 2>&1` in
16301 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16304 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16307 cat "conftest.in" "conftest.in" >"conftest.tmp"
16308 mv "conftest.tmp" "conftest.in"
16309 cp "conftest.in" "conftest.nl"
16310 echo 'GREP' >> "conftest.nl"
16311 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16312 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16313 ac_count
=`expr $ac_count + 1`
16314 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16315 # Best one so far, save it but keep looking for a better one
16316 ac_cv_path_GREP
="$ac_path_GREP"
16317 ac_path_GREP_max
=$ac_count
16319 # 10*(2^10) chars as input seems more than enough
16320 test $ac_count -gt 10 && break
16322 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16326 $ac_path_GREP_found && break 3
16336 GREP
="$ac_cv_path_GREP"
16337 if test -z "$GREP"; then
16338 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16339 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16340 { (exit 1); exit 1; }; }
16344 ac_cv_path_GREP
=$GREP
16349 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16350 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16351 GREP
="$ac_cv_path_GREP"
16354 { echo "$as_me:$LINENO: checking for egrep" >&5
16355 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16356 if test "${ac_cv_path_EGREP+set}" = set; then
16357 echo $ECHO_N "(cached) $ECHO_C" >&6
16359 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16360 then ac_cv_path_EGREP
="$GREP -E"
16362 # Extract the first word of "egrep" to use in msg output
16363 if test -z "$EGREP"; then
16364 set dummy
egrep; ac_prog_name
=$2
16365 if test "${ac_cv_path_EGREP+set}" = set; then
16366 echo $ECHO_N "(cached) $ECHO_C" >&6
16368 ac_path_EGREP_found
=false
16369 # Loop through the user's path and test for each of PROGNAME-LIST
16370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16371 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16374 test -z "$as_dir" && as_dir
=.
16375 for ac_prog
in egrep; do
16376 for ac_exec_ext
in '' $ac_executable_extensions; do
16377 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16378 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16379 # Check for GNU ac_path_EGREP and select it if it is found.
16380 # Check for GNU $ac_path_EGREP
16381 case `"$ac_path_EGREP" --version 2>&1` in
16383 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16386 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16389 cat "conftest.in" "conftest.in" >"conftest.tmp"
16390 mv "conftest.tmp" "conftest.in"
16391 cp "conftest.in" "conftest.nl"
16392 echo 'EGREP' >> "conftest.nl"
16393 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16394 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16395 ac_count
=`expr $ac_count + 1`
16396 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16397 # Best one so far, save it but keep looking for a better one
16398 ac_cv_path_EGREP
="$ac_path_EGREP"
16399 ac_path_EGREP_max
=$ac_count
16401 # 10*(2^10) chars as input seems more than enough
16402 test $ac_count -gt 10 && break
16404 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16408 $ac_path_EGREP_found && break 3
16418 EGREP
="$ac_cv_path_EGREP"
16419 if test -z "$EGREP"; then
16420 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16421 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16422 { (exit 1); exit 1; }; }
16426 ac_cv_path_EGREP
=$EGREP
16432 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16433 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16434 EGREP
="$ac_cv_path_EGREP"
16437 if test $ac_cv_c_compiler_gnu = yes; then
16438 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16439 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16440 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16441 echo $ECHO_N "(cached) $ECHO_C" >&6
16443 ac_pattern
="Autoconf.*'x'"
16444 cat >conftest.
$ac_ext <<_ACEOF
16447 cat confdefs.h
>>conftest.
$ac_ext
16448 cat >>conftest.
$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16454 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16455 ac_cv_prog_gcc_traditional
=yes
16457 ac_cv_prog_gcc_traditional
=no
16462 if test $ac_cv_prog_gcc_traditional = no
; then
16463 cat >conftest.
$ac_ext <<_ACEOF
16466 cat confdefs.h
>>conftest.
$ac_ext
16467 cat >>conftest.
$ac_ext <<_ACEOF
16468 /* end confdefs.h. */
16469 #include <termio.h>
16472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16473 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16474 ac_cv_prog_gcc_traditional
=yes
16480 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16481 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16482 if test $ac_cv_prog_gcc_traditional = yes; then
16483 CC
="$CC -traditional"
16488 CXXFLAGS
=${CXXFLAGS:=}
16493 ac_cpp
='$CXXCPP $CPPFLAGS'
16494 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16495 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16496 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16497 if test -z "$CXX"; then
16498 if test -n "$CCC"; then
16501 if test -n "$ac_tool_prefix"; then
16502 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16504 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16505 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16508 if test "${ac_cv_prog_CXX+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16511 if test -n "$CXX"; then
16512 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16515 for as_dir
in $PATH
16518 test -z "$as_dir" && as_dir
=.
16519 for ac_exec_ext
in '' $ac_executable_extensions; do
16520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16521 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16531 CXX
=$ac_cv_prog_CXX
16532 if test -n "$CXX"; then
16533 { echo "$as_me:$LINENO: result: $CXX" >&5
16534 echo "${ECHO_T}$CXX" >&6; }
16536 { echo "$as_me:$LINENO: result: no" >&5
16537 echo "${ECHO_T}no" >&6; }
16541 test -n "$CXX" && break
16544 if test -z "$CXX"; then
16546 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16548 # Extract the first word of "$ac_prog", so it can be a program name with args.
16549 set dummy
$ac_prog; ac_word
=$2
16550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16552 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16553 echo $ECHO_N "(cached) $ECHO_C" >&6
16555 if test -n "$ac_ct_CXX"; then
16556 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16559 for as_dir
in $PATH
16562 test -z "$as_dir" && as_dir
=.
16563 for ac_exec_ext
in '' $ac_executable_extensions; do
16564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16565 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16575 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16576 if test -n "$ac_ct_CXX"; then
16577 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16578 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16580 { echo "$as_me:$LINENO: result: no" >&5
16581 echo "${ECHO_T}no" >&6; }
16585 test -n "$ac_ct_CXX" && break
16588 if test "x$ac_ct_CXX" = x
; then
16591 case $cross_compiling:$ac_tool_warned in
16593 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16594 whose name does not start with the host triplet. If you think this
16595 configuration is useful to you, please write to autoconf@gnu.org." >&5
16596 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16597 whose name does not start with the host triplet. If you think this
16598 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16599 ac_tool_warned
=yes ;;
16607 # Provide some information about the compiler.
16608 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16609 ac_compiler
=`set X $ac_compile; echo $2`
16610 { (ac_try
="$ac_compiler --version >&5"
16611 case "(($ac_try" in
16612 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16613 *) ac_try_echo=$ac_try;;
16615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16616 (eval "$ac_compiler --version >&5") 2>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }
16620 { (ac_try="$ac_compiler -v >&5"
16621 case "(($ac_try" in
16622 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16623 *) ac_try_echo
=$ac_try;;
16625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16626 (eval "$ac_compiler -v >&5") 2>&5
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }
16630 { (ac_try
="$ac_compiler -V >&5"
16631 case "(($ac_try" in
16632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16633 *) ac_try_echo=$ac_try;;
16635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16636 (eval "$ac_compiler -V >&5") 2>&5
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); }
16641 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16642 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16643 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16646 cat >conftest.$ac_ext <<_ACEOF
16649 cat confdefs.h >>conftest.$ac_ext
16650 cat >>conftest.$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16664 rm -f conftest.$ac_objext
16665 if { (ac_try="$ac_compile"
16666 case "(($ac_try" in
16667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16668 *) ac_try_echo
=$ac_try;;
16670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 (eval "$ac_compile") 2>conftest.er1
16673 grep -v '^ *+' conftest.er1
>conftest.err
16675 cat conftest.err
>&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } && {
16678 test -z "$ac_cxx_werror_flag" ||
16679 test ! -s conftest.err
16680 } && test -s conftest.
$ac_objext; then
16681 ac_compiler_gnu
=yes
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.
$ac_ext >&5
16689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16690 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16693 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16694 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16695 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16696 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16697 ac_save_CXXFLAGS
=$CXXFLAGS
16698 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16699 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16700 if test "${ac_cv_prog_cxx_g+set}" = set; then
16701 echo $ECHO_N "(cached) $ECHO_C" >&6
16703 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16704 ac_cxx_werror_flag
=yes
16705 ac_cv_prog_cxx_g
=no
16707 cat >conftest.
$ac_ext <<_ACEOF
16710 cat confdefs.h
>>conftest.
$ac_ext
16711 cat >>conftest.
$ac_ext <<_ACEOF
16712 /* end confdefs.h. */
16722 rm -f conftest.
$ac_objext
16723 if { (ac_try
="$ac_compile"
16724 case "(($ac_try" in
16725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16726 *) ac_try_echo=$ac_try;;
16728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16729 (eval "$ac_compile") 2>conftest.er1
16731 grep -v '^ *+' conftest.er1 >conftest.err
16733 cat conftest.err >&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); } && {
16736 test -z "$ac_cxx_werror_flag" ||
16737 test ! -s conftest.err
16738 } && test -s conftest.$ac_objext; then
16739 ac_cv_prog_cxx_g=yes
16741 echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.$ac_ext >&5
16745 cat >conftest.$ac_ext <<_ACEOF
16748 cat confdefs.h >>conftest.$ac_ext
16749 cat >>conftest.$ac_ext <<_ACEOF
16750 /* end confdefs.h. */
16760 rm -f conftest.$ac_objext
16761 if { (ac_try="$ac_compile"
16762 case "(($ac_try" in
16763 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16764 *) ac_try_echo
=$ac_try;;
16766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16767 (eval "$ac_compile") 2>conftest.er1
16769 grep -v '^ *+' conftest.er1
>conftest.err
16771 cat conftest.err
>&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); } && {
16774 test -z "$ac_cxx_werror_flag" ||
16775 test ! -s conftest.err
16776 } && test -s conftest.
$ac_objext; then
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.
$ac_ext >&5
16782 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16784 cat >conftest.
$ac_ext <<_ACEOF
16787 cat confdefs.h
>>conftest.
$ac_ext
16788 cat >>conftest.
$ac_ext <<_ACEOF
16789 /* end confdefs.h. */
16799 rm -f conftest.
$ac_objext
16800 if { (ac_try
="$ac_compile"
16801 case "(($ac_try" in
16802 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16803 *) ac_try_echo=$ac_try;;
16805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16806 (eval "$ac_compile") 2>conftest.er1
16808 grep -v '^ *+' conftest.er1 >conftest.err
16810 cat conftest.err >&5
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); } && {
16813 test -z "$ac_cxx_werror_flag" ||
16814 test ! -s conftest.err
16815 } && test -s conftest.$ac_objext; then
16816 ac_cv_prog_cxx_g=yes
16818 echo "$as_me: failed program was:" >&5
16819 sed 's/^/| /' conftest.$ac_ext >&5
16824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16831 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16833 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16834 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16835 if test "$ac_test_CXXFLAGS" = set; then
16836 CXXFLAGS=$ac_save_CXXFLAGS
16837 elif test $ac_cv_prog_cxx_g = yes; then
16838 if test "$GXX" = yes; then
16844 if test "$GXX" = yes; then
16851 ac_cpp='$CPP $CPPFLAGS'
16852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16860 ac_cpp='$CXXCPP $CPPFLAGS'
16861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16865 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16866 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16867 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16868 echo $ECHO_N "(cached) $ECHO_C" >&6
16870 cat >conftest.$ac_ext <<_ACEOF
16873 cat confdefs.h >>conftest.$ac_ext
16874 cat >>conftest.$ac_ext <<_ACEOF
16875 /* end confdefs.h. */
16881 #ifndef __INTEL_COMPILER
16889 rm -f conftest.$ac_objext
16890 if { (ac_try="$ac_compile"
16891 case "(($ac_try" in
16892 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16893 *) ac_try_echo
=$ac_try;;
16895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16896 (eval "$ac_compile") 2>conftest.er1
16898 grep -v '^ *+' conftest.er1
>conftest.err
16900 cat conftest.err
>&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); } && {
16903 test -z "$ac_cxx_werror_flag" ||
16904 test ! -s conftest.err
16905 } && test -s conftest.
$ac_objext; then
16906 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16908 echo "$as_me: failed program was:" >&5
16909 sed 's/^/| /' conftest.
$ac_ext >&5
16911 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16919 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16920 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16921 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16927 ac_cpp
='$CPP $CPPFLAGS'
16928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16935 if test "$INTELCXX" = "yes"; then
16939 ac_cpp
='$CXXCPP $CPPFLAGS'
16940 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16941 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16942 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16944 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16945 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16946 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16947 echo $ECHO_N "(cached) $ECHO_C" >&6
16949 cat >conftest.
$ac_ext <<_ACEOF
16952 cat confdefs.h
>>conftest.
$ac_ext
16953 cat >>conftest.
$ac_ext <<_ACEOF
16954 /* end confdefs.h. */
16960 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16968 rm -f conftest.
$ac_objext
16969 if { (ac_try
="$ac_compile"
16970 case "(($ac_try" in
16971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16972 *) ac_try_echo=$ac_try;;
16974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16975 (eval "$ac_compile") 2>conftest.er1
16977 grep -v '^ *+' conftest.er1 >conftest.err
16979 cat conftest.err >&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } && {
16982 test -z "$ac_cxx_werror_flag" ||
16983 test ! -s conftest.err
16984 } && test -s conftest.$ac_objext; then
16985 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
16987 echo "$as_me: failed program was:" >&5
16988 sed 's/^/| /' conftest.$ac_ext >&5
16990 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
16994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16998 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
16999 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17000 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17006 ac_cpp='$CPP $CPPFLAGS'
17007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17016 ac_cpp='$CXXCPP $CPPFLAGS'
17017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17021 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17022 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17023 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17024 echo $ECHO_N "(cached) $ECHO_C" >&6
17026 cat >conftest.$ac_ext <<_ACEOF
17029 cat confdefs.h >>conftest.$ac_ext
17030 cat >>conftest.$ac_ext <<_ACEOF
17031 /* end confdefs.h. */
17037 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17045 rm -f conftest.$ac_objext
17046 if { (ac_try="$ac_compile"
17047 case "(($ac_try" in
17048 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17049 *) ac_try_echo
=$ac_try;;
17051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17052 (eval "$ac_compile") 2>conftest.er1
17054 grep -v '^ *+' conftest.er1
>conftest.err
17056 cat conftest.err
>&5
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); } && {
17059 test -z "$ac_cxx_werror_flag" ||
17060 test ! -s conftest.err
17061 } && test -s conftest.
$ac_objext; then
17062 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.
$ac_ext >&5
17067 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17075 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17076 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17077 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17083 ac_cpp
='$CPP $CPPFLAGS'
17084 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17085 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17086 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17092 if test "x$GCXX" != "xyes"; then
17093 if test "xCXX" = "xC"; then
17094 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17095 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17096 if test "${bakefile_cv_c_exto+set}" = set; then
17097 echo $ECHO_N "(cached) $ECHO_C" >&6
17099 cat >conftest.
$ac_ext <<_ACEOF
17102 cat confdefs.h
>>conftest.
$ac_ext
17103 cat >>conftest.
$ac_ext <<_ACEOF
17104 /* end confdefs.h. */
17114 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17116 (eval $ac_compile) 2>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; then
17120 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17122 conftest.
$ac_ext.o
)
17123 bakefile_cv_c_exto
="-ext o"
17130 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17131 See \`config.log' for more details." >&5
17132 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17133 See \`config.log' for more details." >&2;}
17134 { (exit 1); exit 1; }; }
17138 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17141 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17142 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17143 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17144 if test "c" = "c"; then
17145 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17147 if test "c" = "cxx"; then
17148 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17152 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17153 unset ac_cv_prog_cc_g
17154 ac_test_CFLAGS
=${CFLAGS+set}
17155 ac_save_CFLAGS
=$CFLAGS
17156 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17157 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17158 if test "${ac_cv_prog_cc_g+set}" = set; then
17159 echo $ECHO_N "(cached) $ECHO_C" >&6
17161 ac_save_c_werror_flag
=$ac_c_werror_flag
17162 ac_c_werror_flag
=yes
17165 cat >conftest.
$ac_ext <<_ACEOF
17168 cat confdefs.h
>>conftest.
$ac_ext
17169 cat >>conftest.
$ac_ext <<_ACEOF
17170 /* end confdefs.h. */
17180 rm -f conftest.
$ac_objext
17181 if { (ac_try
="$ac_compile"
17182 case "(($ac_try" in
17183 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17184 *) ac_try_echo=$ac_try;;
17186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17187 (eval "$ac_compile") 2>conftest.er1
17189 grep -v '^ *+' conftest.er1 >conftest.err
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } && {
17194 test -z "$ac_c_werror_flag" ||
17195 test ! -s conftest.err
17196 } && test -s conftest.$ac_objext; then
17197 ac_cv_prog_cc_g=yes
17199 echo "$as_me: failed program was:" >&5
17200 sed 's/^/| /' conftest.$ac_ext >&5
17203 cat >conftest.$ac_ext <<_ACEOF
17206 cat confdefs.h >>conftest.$ac_ext
17207 cat >>conftest.$ac_ext <<_ACEOF
17208 /* end confdefs.h. */
17218 rm -f conftest.$ac_objext
17219 if { (ac_try="$ac_compile"
17220 case "(($ac_try" in
17221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17222 *) ac_try_echo
=$ac_try;;
17224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17225 (eval "$ac_compile") 2>conftest.er1
17227 grep -v '^ *+' conftest.er1
>conftest.err
17229 cat conftest.err
>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); } && {
17232 test -z "$ac_c_werror_flag" ||
17233 test ! -s conftest.err
17234 } && test -s conftest.
$ac_objext; then
17237 echo "$as_me: failed program was:" >&5
17238 sed 's/^/| /' conftest.
$ac_ext >&5
17240 ac_c_werror_flag
=$ac_save_c_werror_flag
17242 cat >conftest.
$ac_ext <<_ACEOF
17245 cat confdefs.h
>>conftest.
$ac_ext
17246 cat >>conftest.
$ac_ext <<_ACEOF
17247 /* end confdefs.h. */
17257 rm -f conftest.
$ac_objext
17258 if { (ac_try
="$ac_compile"
17259 case "(($ac_try" in
17260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17261 *) ac_try_echo=$ac_try;;
17263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17264 (eval "$ac_compile") 2>conftest.er1
17266 grep -v '^ *+' conftest.er1 >conftest.err
17268 cat conftest.err >&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); } && {
17271 test -z "$ac_c_werror_flag" ||
17272 test ! -s conftest.err
17273 } && test -s conftest.$ac_objext; then
17274 ac_cv_prog_cc_g=yes
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.$ac_ext >&5
17282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17289 ac_c_werror_flag=$ac_save_c_werror_flag
17291 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17292 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17293 if test "$ac_test_CFLAGS" = set; then
17294 CFLAGS=$ac_save_CFLAGS
17295 elif test $ac_cv_prog_cc_g = yes; then
17296 if test "$GCC" = yes; then
17302 if test "$GCC" = yes; then
17316 ac_cpp='$CXXCPP $CPPFLAGS'
17317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17321 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17322 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17323 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17324 echo $ECHO_N "(cached) $ECHO_C" >&6
17326 cat >conftest.$ac_ext <<_ACEOF
17329 cat confdefs.h >>conftest.$ac_ext
17330 cat >>conftest.$ac_ext <<_ACEOF
17331 /* end confdefs.h. */
17345 rm -f conftest.$ac_objext
17346 if { (ac_try="$ac_compile"
17347 case "(($ac_try" in
17348 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17349 *) ac_try_echo
=$ac_try;;
17351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17352 (eval "$ac_compile") 2>conftest.er1
17354 grep -v '^ *+' conftest.er1
>conftest.err
17356 cat conftest.err
>&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } && {
17359 test -z "$ac_cxx_werror_flag" ||
17360 test ! -s conftest.err
17361 } && test -s conftest.
$ac_objext; then
17362 bakefile_cv_cxx_compiler___xlC__
=yes
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.
$ac_ext >&5
17367 bakefile_cv_cxx_compiler___xlC__
=no
17371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17375 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17376 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17377 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17383 ac_cpp
='$CPP $CPPFLAGS'
17384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17396 ac_cpp
='$CXXCPP $CPPFLAGS'
17397 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17398 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17399 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17401 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17402 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17403 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17404 echo $ECHO_N "(cached) $ECHO_C" >&6
17406 cat >conftest.
$ac_ext <<_ACEOF
17409 cat confdefs.h
>>conftest.
$ac_ext
17410 cat >>conftest.
$ac_ext <<_ACEOF
17411 /* end confdefs.h. */
17425 rm -f conftest.
$ac_objext
17426 if { (ac_try
="$ac_compile"
17427 case "(($ac_try" in
17428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17429 *) ac_try_echo=$ac_try;;
17431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17432 (eval "$ac_compile") 2>conftest.er1
17434 grep -v '^ *+' conftest.er1 >conftest.err
17436 cat conftest.err >&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } && {
17439 test -z "$ac_cxx_werror_flag" ||
17440 test ! -s conftest.err
17441 } && test -s conftest.$ac_objext; then
17442 bakefile_cv_cxx_compiler___MWERKS__=yes
17444 echo "$as_me: failed program was:" >&5
17445 sed 's/^/| /' conftest.$ac_ext >&5
17447 bakefile_cv_cxx_compiler___MWERKS__=no
17451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17455 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17456 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17457 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17463 ac_cpp='$CPP $CPPFLAGS'
17464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17470 if test "$MWCXX" != "yes"; then
17474 ac_cpp='$CXXCPP $CPPFLAGS'
17475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17479 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17480 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17481 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17482 echo $ECHO_N "(cached) $ECHO_C" >&6
17484 cat >conftest.$ac_ext <<_ACEOF
17487 cat confdefs.h >>conftest.$ac_ext
17488 cat >>conftest.$ac_ext <<_ACEOF
17489 /* end confdefs.h. */
17503 rm -f conftest.$ac_objext
17504 if { (ac_try="$ac_compile"
17505 case "(($ac_try" in
17506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17507 *) ac_try_echo
=$ac_try;;
17509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17510 (eval "$ac_compile") 2>conftest.er1
17512 grep -v '^ *+' conftest.er1
>conftest.err
17514 cat conftest.err
>&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); } && {
17517 test -z "$ac_cxx_werror_flag" ||
17518 test ! -s conftest.err
17519 } && test -s conftest.
$ac_objext; then
17520 bakefile_cv_cxx_compiler___xlC__
=yes
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.
$ac_ext >&5
17525 bakefile_cv_cxx_compiler___xlC__
=no
17529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17533 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17534 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17535 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17541 ac_cpp
='$CPP $CPPFLAGS'
17542 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17543 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17544 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17555 ac_cpp
='$CXXCPP $CPPFLAGS'
17556 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17557 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17558 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17560 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17561 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17562 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17563 echo $ECHO_N "(cached) $ECHO_C" >&6
17565 cat >conftest.
$ac_ext <<_ACEOF
17568 cat confdefs.h
>>conftest.
$ac_ext
17569 cat >>conftest.
$ac_ext <<_ACEOF
17570 /* end confdefs.h. */
17576 #ifndef _SGI_COMPILER_VERSION
17584 rm -f conftest.
$ac_objext
17585 if { (ac_try
="$ac_compile"
17586 case "(($ac_try" in
17587 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17588 *) ac_try_echo=$ac_try;;
17590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17591 (eval "$ac_compile") 2>conftest.er1
17593 grep -v '^ *+' conftest.er1 >conftest.err
17595 cat conftest.err >&5
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); } && {
17598 test -z "$ac_cxx_werror_flag" ||
17599 test ! -s conftest.err
17600 } && test -s conftest.$ac_objext; then
17601 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17603 echo "$as_me: failed program was:" >&5
17604 sed 's/^/| /' conftest.$ac_ext >&5
17606 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17614 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17615 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17616 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17622 ac_cpp='$CPP $CPPFLAGS'
17623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17632 if test "$INTELCXX" != "yes"; then
17636 ac_cpp='$CXXCPP $CPPFLAGS'
17637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17641 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17642 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17643 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17644 echo $ECHO_N "(cached) $ECHO_C" >&6
17646 cat >conftest.$ac_ext <<_ACEOF
17649 cat confdefs.h >>conftest.$ac_ext
17650 cat >>conftest.$ac_ext <<_ACEOF
17651 /* end confdefs.h. */
17657 #ifndef __SUNPRO_CC
17665 rm -f conftest.$ac_objext
17666 if { (ac_try="$ac_compile"
17667 case "(($ac_try" in
17668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17669 *) ac_try_echo
=$ac_try;;
17671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17672 (eval "$ac_compile") 2>conftest.er1
17674 grep -v '^ *+' conftest.er1
>conftest.err
17676 cat conftest.err
>&5
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); } && {
17679 test -z "$ac_cxx_werror_flag" ||
17680 test ! -s conftest.err
17681 } && test -s conftest.
$ac_objext; then
17682 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17684 echo "$as_me: failed program was:" >&5
17685 sed 's/^/| /' conftest.
$ac_ext >&5
17687 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17695 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17696 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17697 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17703 ac_cpp
='$CPP $CPPFLAGS'
17704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17717 ac_cpp
='$CXXCPP $CPPFLAGS'
17718 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17722 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17723 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17724 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17725 echo $ECHO_N "(cached) $ECHO_C" >&6
17727 cat >conftest.
$ac_ext <<_ACEOF
17730 cat confdefs.h
>>conftest.
$ac_ext
17731 cat >>conftest.
$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17746 rm -f conftest.
$ac_objext
17747 if { (ac_try
="$ac_compile"
17748 case "(($ac_try" in
17749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17750 *) ac_try_echo=$ac_try;;
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_compile") 2>conftest.er1
17755 grep -v '^ *+' conftest.er1 >conftest.err
17757 cat conftest.err >&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && {
17760 test -z "$ac_cxx_werror_flag" ||
17761 test ! -s conftest.err
17762 } && test -s conftest.$ac_objext; then
17763 bakefile_cv_cxx_compiler___HP_aCC=yes
17765 echo "$as_me: failed program was:" >&5
17766 sed 's/^/| /' conftest.$ac_ext >&5
17768 bakefile_cv_cxx_compiler___HP_aCC=no
17772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17776 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17777 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17778 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17784 ac_cpp='$CPP $CPPFLAGS'
17785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17797 ac_cpp='$CXXCPP $CPPFLAGS'
17798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17802 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17803 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17804 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17805 echo $ECHO_N "(cached) $ECHO_C" >&6
17807 cat >conftest.$ac_ext <<_ACEOF
17810 cat confdefs.h >>conftest.$ac_ext
17811 cat >>conftest.$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17826 rm -f conftest.$ac_objext
17827 if { (ac_try="$ac_compile"
17828 case "(($ac_try" in
17829 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17830 *) ac_try_echo
=$ac_try;;
17832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17833 (eval "$ac_compile") 2>conftest.er1
17835 grep -v '^ *+' conftest.er1
>conftest.err
17837 cat conftest.err
>&5
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); } && {
17840 test -z "$ac_cxx_werror_flag" ||
17841 test ! -s conftest.err
17842 } && test -s conftest.
$ac_objext; then
17843 bakefile_cv_cxx_compiler___DECCXX
=yes
17845 echo "$as_me: failed program was:" >&5
17846 sed 's/^/| /' conftest.
$ac_ext >&5
17848 bakefile_cv_cxx_compiler___DECCXX
=no
17852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17856 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17857 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17858 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17864 ac_cpp
='$CPP $CPPFLAGS'
17865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17877 ac_cpp
='$CXXCPP $CPPFLAGS'
17878 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17879 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17880 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17882 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17883 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17884 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17885 echo $ECHO_N "(cached) $ECHO_C" >&6
17887 cat >conftest.
$ac_ext <<_ACEOF
17890 cat confdefs.h
>>conftest.
$ac_ext
17891 cat >>conftest.
$ac_ext <<_ACEOF
17892 /* end confdefs.h. */
17898 #ifndef __SUNPRO_CC
17906 rm -f conftest.
$ac_objext
17907 if { (ac_try
="$ac_compile"
17908 case "(($ac_try" in
17909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17910 *) ac_try_echo=$ac_try;;
17912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17913 (eval "$ac_compile") 2>conftest.er1
17915 grep -v '^ *+' conftest.er1 >conftest.err
17917 cat conftest.err >&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); } && {
17920 test -z "$ac_cxx_werror_flag" ||
17921 test ! -s conftest.err
17922 } && test -s conftest.$ac_objext; then
17923 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17925 echo "$as_me: failed program was:" >&5
17926 sed 's/^/| /' conftest.$ac_ext >&5
17928 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17936 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17937 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17938 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17944 ac_cpp='$CPP $CPPFLAGS'
17945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17957 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17958 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17959 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17960 { (exit 1); exit 1; }; }
17963 if test "x$SUNCXX" != xyes; then
17964 if test -n "$ac_tool_prefix"; then
17965 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17966 set dummy ${ac_tool_prefix}ar; ac_word=$2
17967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17969 if test "${ac_cv_prog_AR+set}" = set; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17972 if test -n "$AR"; then
17973 ac_cv_prog_AR="$AR" # Let the user override the test.
17975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17976 for as_dir in $PATH
17979 test -z "$as_dir" && as_dir=.
17980 for ac_exec_ext in '' $ac_executable_extensions; do
17981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17982 ac_cv_prog_AR="${ac_tool_prefix}ar"
17983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17993 if test -n "$AR"; then
17994 { echo "$as_me:$LINENO: result: $AR" >&5
17995 echo "${ECHO_T}$AR" >&6; }
17997 { echo "$as_me:$LINENO: result: no" >&5
17998 echo "${ECHO_T}no" >&6; }
18003 if test -z "$ac_cv_prog_AR"; then
18005 # Extract the first word of "ar", so it can be a program name with args.
18006 set dummy ar; ac_word=$2
18007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18009 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18010 echo $ECHO_N "(cached) $ECHO_C" >&6
18012 if test -n "$ac_ct_AR"; then
18013 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18016 for as_dir in $PATH
18019 test -z "$as_dir" && as_dir=.
18020 for ac_exec_ext in '' $ac_executable_extensions; do
18021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18022 ac_cv_prog_ac_ct_AR="ar"
18023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18032 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18033 if test -n "$ac_ct_AR"; then
18034 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18035 echo "${ECHO_T}$ac_ct_AR" >&6; }
18037 { echo "$as_me:$LINENO: result: no" >&5
18038 echo "${ECHO_T}no" >&6; }
18041 if test "x$ac_ct_AR" = x; then
18044 case $cross_compiling:$ac_tool_warned in
18046 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18047 whose name does not start with the host triplet. If you think this
18048 configuration is useful to you, please write to autoconf@gnu.org." >&5
18049 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18050 whose name does not start with the host triplet. If you think this
18051 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18052 ac_tool_warned=yes ;;
18057 AR="$ac_cv_prog_AR"
18060 if test "x$AR" = "x" ; then
18061 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18062 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18063 { (exit 1); exit 1; }; }
18067 retest_macosx_linking=no
18069 #if test "$wxUSE_MAC" = 1; then
18070 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18071 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18072 # Implicitly turn on the new --with-macosx-sdk using the default
18073 # SDK which provides the behavior this option has always had.
18074 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18075 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18076 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18077 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18078 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18079 wxUSE_MACOSX_SDK=yes
18082 # Complain to user if he specified an argument to --enable-universal_binary
18083 # and also 1) specified --with-macosx-sdk using the default (yes) or
18084 # 2) specified --with-macosx-sdk using a path or 3) specified
18085 # --without-macosx-sdk (no).
18086 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18087 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18088 See \`config.log
' for more details." >&5
18089 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18090 See \`config.log' for more details.
" >&2;}
18091 { (exit 1); exit 1; }; }
18093 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18094 # special-case the empty string because the below test simply
18095 # converts "no
" to the empty string anyway.
18096 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18097 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18098 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18101 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18102 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18103 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18104 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18105 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18106 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18107 retest_macosx_linking=yes
18109 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18110 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18115 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18117 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18118 # TODO: Search for most recent SDK and use it.
18119 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18123 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18124 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18125 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18126 if ! test -d "$wxUSE_MACOSX_SDK"; then
18127 { { echo "$as_me:$LINENO: error
: not found
18128 See \
`config.log' for more details." >&5
18129 echo "$as_me: error: not found
18130 See \`config.log
' for more details." >&2;}
18131 { (exit 1); exit 1; }; }
18133 { echo "$as_me:$LINENO: result: exists" >&5
18134 echo "${ECHO_T}exists" >&6; }
18136 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18137 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18138 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18139 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18140 retest_macosx_linking=yes
18143 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18144 wxUSE_MACOSX_VERSION_MIN=
18145 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18146 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18147 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18148 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18150 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/'`
18152 # If that failed, try again with the new key
18153 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18155 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/'`
18159 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18160 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18161 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18162 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18164 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18165 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18166 wxUSE_MACOSX_VERSION_MIN=
18169 wxUSE_MACOSX_VERSION_MIN=
18171 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18172 if test "$wxUSE_MAC" = 1; then
18173 # otherwise configure stops on leopard for universal_binary
18174 wxUSE_MACOSX_VERSION_MIN=10.4
18178 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18179 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18180 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18181 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18182 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18183 retest_macosx_linking=yes
18186 if test "x$retest_macosx_linking" = "xyes"; then
18188 ac_cpp='$CPP $CPPFLAGS'
18189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18190 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18193 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18194 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18195 cat >conftest.$ac_ext <<_ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18210 rm -f conftest.$ac_objext conftest$ac_exeext
18211 if { (ac_try="$ac_link"
18212 case "(($ac_try" in
18213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18214 *) ac_try_echo=$ac_try;;
18216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18217 (eval "$ac_link") 2>conftest.er1
18219 grep -v '^
*+' conftest.er1 >conftest.err
18221 cat conftest.err >&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } && {
18224 test -z "$ac_c_werror_flag" ||
18225 test ! -s conftest.err
18226 } && test -s conftest$ac_exeext &&
18227 $as_test_x conftest$ac_exeext; then
18228 { echo "$as_me:$LINENO: result: yes" >&5
18229 echo "${ECHO_T}yes" >&6; }
18231 echo "$as_me: failed program was:" >&5
18232 sed 's
/^
/| /' conftest.$ac_ext >&5
18234 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18235 See \`config.log' for more details.
" >&5
18236 echo "$as_me: error
: no. Try a different SDK
18237 See \
`config.log' for more details." >&2;}
18238 { (exit 1); exit 1; }; }; exit 1
18241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18242 conftest$ac_exeext conftest.$ac_ext
18244 ac_cpp='$CPP $CPPFLAGS'
18245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18251 ac_cpp='$CXXCPP $CPPFLAGS'
18252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18256 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18257 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18258 cat >conftest.$ac_ext <<_ACEOF
18261 cat confdefs.h >>conftest.$ac_ext
18262 cat >>conftest.$ac_ext <<_ACEOF
18263 /* end confdefs.h. */
18273 rm -f conftest.$ac_objext conftest$ac_exeext
18274 if { (ac_try="$ac_link"
18275 case "(($ac_try" in
18276 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18277 *) ac_try_echo
=$ac_try;;
18279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18280 (eval "$ac_link") 2>conftest.er1
18282 grep -v '^ *+' conftest.er1
>conftest.err
18284 cat conftest.err
>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } && {
18287 test -z "$ac_cxx_werror_flag" ||
18288 test ! -s conftest.err
18289 } && test -s conftest
$ac_exeext &&
18290 $as_test_x conftest
$ac_exeext; then
18291 { echo "$as_me:$LINENO: result: yes" >&5
18292 echo "${ECHO_T}yes" >&6; }
18294 echo "$as_me: failed program was:" >&5
18295 sed 's/^/| /' conftest.
$ac_ext >&5
18297 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18298 See \`config.log' for more details." >&5
18299 echo "$as_me: error: no. Try a different SDK
18300 See \`config.log' for more details." >&2;}
18301 { (exit 1); exit 1; }; }; exit 1
18304 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18305 conftest
$ac_exeext conftest.
$ac_ext
18307 ac_cpp
='$CPP $CPPFLAGS'
18308 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18309 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18310 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18318 INSTALL_PROGRAM
="cp -fp"
18319 INSTALL_DATA
="cp -fp"
18326 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18327 CXXFLAGS
="-qunique $CXXFLAGS"
18331 powerpc
-*-darwin* )
18332 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18333 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18334 cat >conftest.
$ac_ext <<_ACEOF
18337 cat confdefs.h
>>conftest.
$ac_ext
18338 cat >>conftest.
$ac_ext <<_ACEOF
18339 /* end confdefs.h. */
18344 #ifndef __POWERPC__
18345 choke me for lack of PowerPC
18352 rm -f conftest.
$ac_objext
18353 if { (ac_try
="$ac_compile"
18354 case "(($ac_try" in
18355 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18356 *) ac_try_echo=$ac_try;;
18358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18359 (eval "$ac_compile") 2>conftest.er1
18361 grep -v '^ *+' conftest.er1 >conftest.err
18363 cat conftest.err >&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); } && {
18366 test -z "$ac_c_werror_flag" ||
18367 test ! -s conftest.err
18368 } && test -s conftest.$ac_objext; then
18369 { echo "$as_me:$LINENO: result: yes" >&5
18370 echo "${ECHO_T}yes" >&6; }
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.$ac_ext >&5
18375 { echo "$as_me:$LINENO: result: no" >&5
18376 echo "${ECHO_T}no" >&6; }
18377 cat >>confdefs.h <<\_ACEOF
18378 #define __POWERPC__ 1
18384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18390 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18391 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18392 cat >conftest.$ac_ext <<_ACEOF
18395 cat confdefs.h >>conftest.$ac_ext
18396 cat >>conftest.$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18398 #include <CoreFoundation/CFBase.h>
18408 rm -f conftest.$ac_objext
18409 if { (ac_try="$ac_compile"
18410 case "(($ac_try" in
18411 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18412 *) ac_try_echo
=$ac_try;;
18414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18415 (eval "$ac_compile") 2>conftest.er1
18417 grep -v '^ *+' conftest.er1
>conftest.err
18419 cat conftest.err
>&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); } && {
18422 test -z "$ac_c_werror_flag" ||
18423 test ! -s conftest.err
18424 } && test -s conftest.
$ac_objext; then
18425 { echo "$as_me:$LINENO: result: yes" >&5
18426 echo "${ECHO_T}yes" >&6; }
18428 echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.
$ac_ext >&5
18431 { echo "$as_me:$LINENO: result: no" >&5
18432 echo "${ECHO_T}no" >&6; }
18433 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18434 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18435 cat >conftest.
$ac_ext <<_ACEOF
18438 cat confdefs.h
>>conftest.
$ac_ext
18439 cat >>conftest.
$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 #define __CF_USE_FRAMEWORK_INCLUDES__
18442 #include <CoreFoundation/CFBase.h>
18452 rm -f conftest.
$ac_objext
18453 if { (ac_try
="$ac_compile"
18454 case "(($ac_try" in
18455 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18456 *) ac_try_echo=$ac_try;;
18458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18459 (eval "$ac_compile") 2>conftest.er1
18461 grep -v '^ *+' conftest.er1 >conftest.err
18463 cat conftest.err >&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } && {
18466 test -z "$ac_c_werror_flag" ||
18467 test ! -s conftest.err
18468 } && test -s conftest.$ac_objext; then
18469 { echo "$as_me:$LINENO: result: yes" >&5
18470 echo "${ECHO_T}yes" >&6; }
18471 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18473 echo "$as_me: failed program was:" >&5
18474 sed 's/^/| /' conftest.$ac_ext >&5
18476 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18477 See \`config.log
' for more details." >&5
18478 echo "$as_me: error: no. CoreFoundation not available.
18479 See \`config.log' for more details.
" >&2;}
18480 { (exit 1); exit 1; }; }
18484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18494 doesnt_want_win32=0
18497 if test "$wxUSE_MSW" = 1 ; then
18500 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18501 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18502 if test "${wx_cv_nocygwin+set}" = set; then
18503 echo $ECHO_N "(cached
) $ECHO_C" >&6
18506 cat >conftest.$ac_ext <<_ACEOF
18509 cat confdefs.h >>conftest.$ac_ext
18510 cat >>conftest.$ac_ext <<_ACEOF
18511 /* end confdefs.h. */
18525 rm -f conftest.$ac_objext
18526 if { (ac_try="$ac_compile"
18527 case "(($ac_try" in
18528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18529 *) ac_try_echo=$ac_try;;
18531 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18532 (eval "$ac_compile") 2>conftest.er1
18534 grep -v '^ *+' conftest.er1 >conftest.err
18536 cat conftest.err >&5
18537 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18538 (exit $ac_status); } && {
18539 test -z "$ac_c_werror_flag" ||
18540 test ! -s conftest.err
18541 } && test -s conftest.$ac_objext; then
18544 echo "$as_me: failed program was
:" >&5
18545 sed 's/^/| /' conftest.$ac_ext >&5
18551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18555 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18556 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18558 if test "$wx_cv_nocygwin" = "yes"; then
18561 doesnt_want_win32=1
18564 if test "$wants_win32" = 1 ; then
18565 BAKEFILE_FORCE_PLATFORM=win32
18573 if test "$wxUSE_WINE" = "yes"; then
18575 LDFLAGS_GUI="-mwindows"
18578 if test "$wants_win32" = 1 ; then
18581 cat >>confdefs.h <<\_ACEOF
18582 #define __WIN32__ 1
18585 cat >>confdefs.h <<\_ACEOF
18586 #define __WIN95__ 1
18589 cat >>confdefs.h <<\_ACEOF
18590 #define __WINDOWS__ 1
18593 cat >>confdefs.h <<\_ACEOF
18594 #define __GNUWIN32__ 1
18597 cat >>confdefs.h <<\_ACEOF
18602 if test "$doesnt_want_win32" = 1 ; then
18607 if test "$USE_UNIX" = 1 ; then
18609 cat >>confdefs.h <<\_ACEOF
18616 *-pc-os2_emx | *-pc-os2-emx )
18617 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18618 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18619 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18620 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18621 echo $ECHO_N "(cached
) $ECHO_C" >&6
18623 ac_check_lib_save_LIBS=$LIBS
18624 LIBS="-lcExt $LIBS"
18625 cat >conftest.$ac_ext <<_ACEOF
18628 cat confdefs.h >>conftest.$ac_ext
18629 cat >>conftest.$ac_ext <<_ACEOF
18630 /* end confdefs.h. */
18632 /* Override any GCC internal prototype to avoid an error.
18633 Use char because int might match the return type of a GCC
18634 builtin and then its argument prototype would still apply. */
18647 rm -f conftest.$ac_objext conftest$ac_exeext
18648 if { (ac_try="$ac_link"
18649 case "(($ac_try" in
18650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18651 *) ac_try_echo=$ac_try;;
18653 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18654 (eval "$ac_link") 2>conftest.er1
18656 grep -v '^ *+' conftest.er1 >conftest.err
18658 cat conftest.err >&5
18659 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18660 (exit $ac_status); } && {
18661 test -z "$ac_c_werror_flag" ||
18662 test ! -s conftest.err
18663 } && test -s conftest$ac_exeext &&
18664 $as_test_x conftest$ac_exeext; then
18665 ac_cv_lib_cExt_drand48=yes
18667 echo "$as_me: failed program was
:" >&5
18668 sed 's/^/| /' conftest.$ac_ext >&5
18670 ac_cv_lib_cExt_drand48=no
18673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18674 conftest$ac_exeext conftest.$ac_ext
18675 LIBS=$ac_check_lib_save_LIBS
18677 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18678 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18679 if test $ac_cv_lib_cExt_drand48 = yes; then
18680 LIBS="$LIBS -lcExt"
18684 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18686 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18687 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18688 if test "${wx_cv_gccversion+set}" = set; then
18689 echo $ECHO_N "(cached
) $ECHO_C" >&6
18692 if test "$cross_compiling" = yes; then
18693 wx_cv_gccversion="EMX2
"
18696 cat >conftest.$ac_ext <<_ACEOF
18699 cat confdefs.h >>conftest.$ac_ext
18700 cat >>conftest.$ac_ext <<_ACEOF
18701 /* end confdefs.h. */
18707 FILE *f=fopen("conftestval
", "w
");
18712 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18714 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18724 rm -f conftest$ac_exeext
18725 if { (ac_try="$ac_link"
18726 case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18730 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_link") 2>&5
18733 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18734 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18735 { (case "(($ac_try" in
18736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18737 *) ac_try_echo=$ac_try;;
18739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18740 (eval "$ac_try") 2>&5
18742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18743 (exit $ac_status); }; }; then
18744 wx_cv_gccversion=`cat conftestval`
18746 echo "$as_me: program exited with status
$ac_status" >&5
18747 echo "$as_me: failed program was
:" >&5
18748 sed 's/^/| /' conftest.$ac_ext >&5
18750 ( exit $ac_status )
18751 wx_cv_gccversion="EMX2
"
18753 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18759 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18760 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18761 if test "$wx_cv_gccversion" = "EMX2
"; then
18762 LIBS="$LIBS -lstdcpp"
18763 LDFLAGS="$LDFLAGS -Zsysv-signals"
18765 if test "$wx_cv_gccversion" = "EMX3
"; then
18766 LIBS="$LIBS -lstdcxx -lgcc"
18767 LDFLAGS="$LDFLAGS -Zsysv-signals"
18769 LIBS="$LIBS -lstdc++"
18772 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18773 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18774 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18781 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18782 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18783 if test "${ac_cv_string_strcasecmp+set}" = set; then
18784 echo $ECHO_N "(cached
) $ECHO_C" >&6
18787 cat >conftest.$ac_ext <<_ACEOF
18790 cat confdefs.h >>conftest.$ac_ext
18791 cat >>conftest.$ac_ext <<_ACEOF
18792 /* end confdefs.h. */
18794 #include <string.h>
18800 strcasecmp("foo
", "bar
");
18806 rm -f conftest.$ac_objext conftest$ac_exeext
18807 if { (ac_try="$ac_link"
18808 case "(($ac_try" in
18809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18810 *) ac_try_echo=$ac_try;;
18812 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18813 (eval "$ac_link") 2>conftest.er1
18815 grep -v '^ *+' conftest.er1 >conftest.err
18817 cat conftest.err >&5
18818 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18819 (exit $ac_status); } && {
18820 test -z "$ac_c_werror_flag" ||
18821 test ! -s conftest.err
18822 } && test -s conftest$ac_exeext &&
18823 $as_test_x conftest$ac_exeext; then
18824 ac_cv_string_strcasecmp=yes
18826 echo "$as_me: failed program was
:" >&5
18827 sed 's/^/| /' conftest.$ac_ext >&5
18829 ac_cv_string_strcasecmp=no
18833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18834 conftest$ac_exeext conftest.$ac_ext
18837 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18838 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18840 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18841 cat >>confdefs.h <<\_ACEOF
18842 #define HAVE_STRCASECMP_IN_STRING_H 1
18846 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18847 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18848 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18849 echo $ECHO_N "(cached
) $ECHO_C" >&6
18852 cat >conftest.$ac_ext <<_ACEOF
18855 cat confdefs.h >>conftest.$ac_ext
18856 cat >>conftest.$ac_ext <<_ACEOF
18857 /* end confdefs.h. */
18859 #include <strings.h>
18865 strcasecmp("foo
", "bar
");
18871 rm -f conftest.$ac_objext conftest$ac_exeext
18872 if { (ac_try="$ac_link"
18873 case "(($ac_try" in
18874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18875 *) ac_try_echo=$ac_try;;
18877 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18878 (eval "$ac_link") 2>conftest.er1
18880 grep -v '^ *+' conftest.er1 >conftest.err
18882 cat conftest.err >&5
18883 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18884 (exit $ac_status); } && {
18885 test -z "$ac_c_werror_flag" ||
18886 test ! -s conftest.err
18887 } && test -s conftest$ac_exeext &&
18888 $as_test_x conftest$ac_exeext; then
18889 ac_cv_strings_strcasecmp=yes
18891 echo "$as_me: failed program was
:" >&5
18892 sed 's/^/| /' conftest.$ac_ext >&5
18894 ac_cv_strings_strcasecmp=no
18898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18899 conftest$ac_exeext conftest.$ac_ext
18902 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18903 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18905 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18906 cat >>confdefs.h <<\_ACEOF
18907 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18911 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18912 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18913 { (exit 1); exit 1; }; }
18921 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18922 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18923 if test "${ac_cv_header_stdc+set}" = set; then
18924 echo $ECHO_N "(cached
) $ECHO_C" >&6
18926 cat >conftest.$ac_ext <<_ACEOF
18929 cat confdefs.h >>conftest.$ac_ext
18930 cat >>conftest.$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 #include <stdlib.h>
18933 #include <stdarg.h>
18934 #include <string.h>
18945 rm -f conftest.$ac_objext
18946 if { (ac_try="$ac_compile"
18947 case "(($ac_try" in
18948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18949 *) ac_try_echo=$ac_try;;
18951 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18952 (eval "$ac_compile") 2>conftest.er1
18954 grep -v '^ *+' conftest.er1 >conftest.err
18956 cat conftest.err >&5
18957 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18958 (exit $ac_status); } && {
18959 test -z "$ac_c_werror_flag" ||
18960 test ! -s conftest.err
18961 } && test -s conftest.$ac_objext; then
18962 ac_cv_header_stdc=yes
18964 echo "$as_me: failed program was
:" >&5
18965 sed 's/^/| /' conftest.$ac_ext >&5
18967 ac_cv_header_stdc=no
18970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18972 if test $ac_cv_header_stdc = yes; then
18973 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18974 cat >conftest.$ac_ext <<_ACEOF
18977 cat confdefs.h >>conftest.$ac_ext
18978 cat >>conftest.$ac_ext <<_ACEOF
18979 /* end confdefs.h. */
18980 #include <string.h>
18983 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18984 $EGREP "memchr
" >/dev/null 2>&1; then
18987 ac_cv_header_stdc=no
18993 if test $ac_cv_header_stdc = yes; then
18994 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18995 cat >conftest.$ac_ext <<_ACEOF
18998 cat confdefs.h >>conftest.$ac_ext
18999 cat >>conftest.$ac_ext <<_ACEOF
19000 /* end confdefs.h. */
19001 #include <stdlib.h>
19004 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19005 $EGREP "free
" >/dev/null 2>&1; then
19008 ac_cv_header_stdc=no
19014 if test $ac_cv_header_stdc = yes; then
19015 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19016 if test "$cross_compiling" = yes; then
19019 cat >conftest.$ac_ext <<_ACEOF
19022 cat confdefs.h >>conftest.$ac_ext
19023 cat >>conftest.$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19026 #include <stdlib.h>
19027 #if ((' ' & 0x0FF) == 0x020)
19028 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19029 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19031 # define ISLOWER(c) \
19032 (('a' <= (c) && (c) <= 'i') \
19033 || ('j' <= (c) && (c) <= 'r') \
19034 || ('s' <= (c) && (c) <= 'z'))
19035 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19038 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19043 for (i = 0; i < 256; i++)
19044 if (XOR (islower (i), ISLOWER (i))
19045 || toupper (i) != TOUPPER (i))
19050 rm -f conftest$ac_exeext
19051 if { (ac_try="$ac_link"
19052 case "(($ac_try" in
19053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19054 *) ac_try_echo=$ac_try;;
19056 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19057 (eval "$ac_link") 2>&5
19059 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19060 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19061 { (case "(($ac_try" in
19062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19063 *) ac_try_echo=$ac_try;;
19065 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19066 (eval "$ac_try") 2>&5
19068 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19069 (exit $ac_status); }; }; then
19072 echo "$as_me: program exited with status
$ac_status" >&5
19073 echo "$as_me: failed program was
:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19076 ( exit $ac_status )
19077 ac_cv_header_stdc=no
19079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19085 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19086 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19087 if test $ac_cv_header_stdc = yes; then
19089 cat >>confdefs.h <<\_ACEOF
19090 #define STDC_HEADERS 1
19095 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19105 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19106 inttypes.h stdint.h unistd.h
19108 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19109 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19110 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19111 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19112 echo $ECHO_N "(cached
) $ECHO_C" >&6
19114 cat >conftest.$ac_ext <<_ACEOF
19117 cat confdefs.h >>conftest.$ac_ext
19118 cat >>conftest.$ac_ext <<_ACEOF
19119 /* end confdefs.h. */
19120 $ac_includes_default
19122 #include <$ac_header>
19124 rm -f conftest.$ac_objext
19125 if { (ac_try="$ac_compile"
19126 case "(($ac_try" in
19127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19128 *) ac_try_echo=$ac_try;;
19130 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19131 (eval "$ac_compile") 2>conftest.er1
19133 grep -v '^ *+' conftest.er1 >conftest.err
19135 cat conftest.err >&5
19136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19137 (exit $ac_status); } && {
19138 test -z "$ac_c_werror_flag" ||
19139 test ! -s conftest.err
19140 } && test -s conftest.$ac_objext; then
19141 eval "$as_ac_Header=yes"
19143 echo "$as_me: failed program was
:" >&5
19144 sed 's/^/| /' conftest.$ac_ext >&5
19146 eval "$as_ac_Header=no
"
19149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19151 ac_res=`eval echo '${'$as_ac_Header'}'`
19152 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19153 echo "${ECHO_T}$ac_res" >&6; }
19154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19155 cat >>confdefs.h <<_ACEOF
19156 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19166 for ac_header in langinfo.h wchar.h
19168 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19169 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19170 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19171 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19172 echo $ECHO_N "(cached
) $ECHO_C" >&6
19174 cat >conftest.$ac_ext <<_ACEOF
19177 cat confdefs.h >>conftest.$ac_ext
19178 cat >>conftest.$ac_ext <<_ACEOF
19179 /* end confdefs.h. */
19180 $ac_includes_default
19182 #include <$ac_header>
19184 rm -f conftest.$ac_objext
19185 if { (ac_try="$ac_compile"
19186 case "(($ac_try" in
19187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19188 *) ac_try_echo=$ac_try;;
19190 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19191 (eval "$ac_compile") 2>conftest.er1
19193 grep -v '^ *+' conftest.er1 >conftest.err
19195 cat conftest.err >&5
19196 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19197 (exit $ac_status); } && {
19198 test -z "$ac_c_werror_flag" ||
19199 test ! -s conftest.err
19200 } && test -s conftest.$ac_objext; then
19201 eval "$as_ac_Header=yes"
19203 echo "$as_me: failed program was
:" >&5
19204 sed 's/^/| /' conftest.$ac_ext >&5
19206 eval "$as_ac_Header=no
"
19209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19211 ac_res=`eval echo '${'$as_ac_Header'}'`
19212 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19213 echo "${ECHO_T}$ac_res" >&6; }
19214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19215 cat >>confdefs.h <<_ACEOF
19216 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19224 if test "$ac_cv_header_wchar_h" != "yes"; then
19226 for ac_header in wcstr.h
19228 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19229 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19230 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19231 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19232 echo $ECHO_N "(cached
) $ECHO_C" >&6
19234 cat >conftest.$ac_ext <<_ACEOF
19237 cat confdefs.h >>conftest.$ac_ext
19238 cat >>conftest.$ac_ext <<_ACEOF
19239 /* end confdefs.h. */
19240 $ac_includes_default
19242 #include <$ac_header>
19244 rm -f conftest.$ac_objext
19245 if { (ac_try="$ac_compile"
19246 case "(($ac_try" in
19247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19248 *) ac_try_echo=$ac_try;;
19250 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19251 (eval "$ac_compile") 2>conftest.er1
19253 grep -v '^ *+' conftest.er1 >conftest.err
19255 cat conftest.err >&5
19256 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19257 (exit $ac_status); } && {
19258 test -z "$ac_c_werror_flag" ||
19259 test ! -s conftest.err
19260 } && test -s conftest.$ac_objext; then
19261 eval "$as_ac_Header=yes"
19263 echo "$as_me: failed program was
:" >&5
19264 sed 's/^/| /' conftest.$ac_ext >&5
19266 eval "$as_ac_Header=no
"
19269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19271 ac_res=`eval echo '${'$as_ac_Header'}'`
19272 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19273 echo "${ECHO_T}$ac_res" >&6; }
19274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19275 cat >>confdefs.h <<_ACEOF
19276 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19286 *-pc-os2_emx | *-pc-os2-emx )
19287 if test $ac_cv_header_langinfo_h = "yes" \
19288 -a \( "$wx_cv_gccversion" = "EMX2
" \
19289 -o "$wx_cv_gccversion" = "EMX3
" \
19290 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19291 LIBS="$LIBS -lintl"
19296 if test "$USE_UNIX" = 1 ; then
19298 for ac_header in sys/select.h
19300 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19301 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19302 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19303 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19304 echo $ECHO_N "(cached
) $ECHO_C" >&6
19306 cat >conftest.$ac_ext <<_ACEOF
19309 cat confdefs.h >>conftest.$ac_ext
19310 cat >>conftest.$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19312 $ac_includes_default
19314 #include <$ac_header>
19316 rm -f conftest.$ac_objext
19317 if { (ac_try="$ac_compile"
19318 case "(($ac_try" in
19319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19320 *) ac_try_echo=$ac_try;;
19322 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19323 (eval "$ac_compile") 2>conftest.er1
19325 grep -v '^ *+' conftest.er1 >conftest.err
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19329 (exit $ac_status); } && {
19330 test -z "$ac_c_werror_flag" ||
19331 test ! -s conftest.err
19332 } && test -s conftest.$ac_objext; then
19333 eval "$as_ac_Header=yes"
19335 echo "$as_me: failed program was
:" >&5
19336 sed 's/^/| /' conftest.$ac_ext >&5
19338 eval "$as_ac_Header=no
"
19341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19343 ac_res=`eval echo '${'$as_ac_Header'}'`
19344 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19345 echo "${ECHO_T}$ac_res" >&6; }
19346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19347 cat >>confdefs.h <<_ACEOF
19348 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19358 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19359 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19360 if test "${ac_cv_c_const+set}" = set; then
19361 echo $ECHO_N "(cached
) $ECHO_C" >&6
19363 cat >conftest.$ac_ext <<_ACEOF
19366 cat confdefs.h >>conftest.$ac_ext
19367 cat >>conftest.$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19373 /* FIXME: Include the comments suggested by Paul. */
19374 #ifndef __cplusplus
19375 /* Ultrix mips cc rejects this. */
19376 typedef int charset[2];
19378 /* SunOS 4.1.1 cc rejects this. */
19379 char const *const *pcpcc;
19381 /* NEC SVR4.0.2 mips cc rejects this. */
19382 struct point {int x, y;};
19383 static struct point const zero = {0,0};
19384 /* AIX XL C 1.02.0.0 rejects this.
19385 It does not let you subtract one const X* pointer from another in
19386 an arm of an if-expression whose if-part is not a constant
19388 const char *g = "string
";
19389 pcpcc = &g + (g ? g-g : 0);
19390 /* HPUX 7.0 cc rejects these. */
19392 ppc = (char**) pcpcc;
19393 pcpcc = (char const *const *) ppc;
19394 { /* SCO 3.2v4 cc rejects this. */
19396 char const *s = 0 ? (char *) 0 : (char const *) 0;
19401 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19402 int x[] = {25, 17};
19403 const int *foo = &x[0];
19406 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19407 typedef const int *iptr;
19411 { /* AIX XL C 1.02.0.0 rejects this saying
19412 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19413 struct s { int j; const int *ap[3]; };
19414 struct s *b; b->j = 5;
19416 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19417 const int foo = 10;
19418 if (!foo) return 0;
19420 return !cs[0] && !zero.x;
19427 rm -f conftest.$ac_objext
19428 if { (ac_try="$ac_compile"
19429 case "(($ac_try" in
19430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19431 *) ac_try_echo=$ac_try;;
19433 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19434 (eval "$ac_compile") 2>conftest.er1
19436 grep -v '^ *+' conftest.er1 >conftest.err
19438 cat conftest.err >&5
19439 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19440 (exit $ac_status); } && {
19441 test -z "$ac_c_werror_flag" ||
19442 test ! -s conftest.err
19443 } && test -s conftest.$ac_objext; then
19446 echo "$as_me: failed program was
:" >&5
19447 sed 's/^/| /' conftest.$ac_ext >&5
19452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19454 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19455 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19456 if test $ac_cv_c_const = no; then
19458 cat >>confdefs.h <<\_ACEOF
19464 { echo "$as_me:$LINENO: checking
for inline
" >&5
19465 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19466 if test "${ac_cv_c_inline+set}" = set; then
19467 echo $ECHO_N "(cached
) $ECHO_C" >&6
19470 for ac_kw in inline __inline__ __inline; do
19471 cat >conftest.$ac_ext <<_ACEOF
19474 cat confdefs.h >>conftest.$ac_ext
19475 cat >>conftest.$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19477 #ifndef __cplusplus
19479 static $ac_kw foo_t static_foo () {return 0; }
19480 $ac_kw foo_t foo () {return 0; }
19484 rm -f conftest.$ac_objext
19485 if { (ac_try="$ac_compile"
19486 case "(($ac_try" in
19487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19488 *) ac_try_echo=$ac_try;;
19490 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19491 (eval "$ac_compile") 2>conftest.er1
19493 grep -v '^ *+' conftest.er1 >conftest.err
19495 cat conftest.err >&5
19496 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19497 (exit $ac_status); } && {
19498 test -z "$ac_c_werror_flag" ||
19499 test ! -s conftest.err
19500 } && test -s conftest.$ac_objext; then
19501 ac_cv_c_inline=$ac_kw
19503 echo "$as_me: failed program was
:" >&5
19504 sed 's/^/| /' conftest.$ac_ext >&5
19509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19510 test "$ac_cv_c_inline" != no && break
19514 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19515 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19518 case $ac_cv_c_inline in
19521 case $ac_cv_c_inline in
19523 *) ac_val=$ac_cv_c_inline;;
19525 cat >>confdefs.h <<_ACEOF
19526 #ifndef __cplusplus
19527 #define inline $ac_val
19534 { echo "$as_me:$LINENO: checking
for short
" >&5
19535 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19536 if test "${ac_cv_type_short+set}" = set; then
19537 echo $ECHO_N "(cached
) $ECHO_C" >&6
19539 cat >conftest.$ac_ext <<_ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19545 $ac_includes_default
19546 typedef short ac__type_new_;
19550 if ((ac__type_new_ *) 0)
19552 if (sizeof (ac__type_new_))
19558 rm -f conftest.$ac_objext
19559 if { (ac_try="$ac_compile"
19560 case "(($ac_try" in
19561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19562 *) ac_try_echo=$ac_try;;
19564 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19565 (eval "$ac_compile") 2>conftest.er1
19567 grep -v '^ *+' conftest.er1 >conftest.err
19569 cat conftest.err >&5
19570 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19571 (exit $ac_status); } && {
19572 test -z "$ac_c_werror_flag" ||
19573 test ! -s conftest.err
19574 } && test -s conftest.$ac_objext; then
19575 ac_cv_type_short=yes
19577 echo "$as_me: failed program was
:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19580 ac_cv_type_short=no
19583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19585 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19586 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19588 # The cast to long int works around a bug in the HP C Compiler
19589 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19590 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19591 # This bug is HP SR number 8606223364.
19592 { echo "$as_me:$LINENO: checking size of short
" >&5
19593 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19594 if test "${ac_cv_sizeof_short+set}" = set; then
19595 echo $ECHO_N "(cached
) $ECHO_C" >&6
19597 if test "$cross_compiling" = yes; then
19598 # Depending upon the size, compute the lo and hi bounds.
19599 cat >conftest.$ac_ext <<_ACEOF
19602 cat confdefs.h >>conftest.$ac_ext
19603 cat >>conftest.$ac_ext <<_ACEOF
19604 /* end confdefs.h. */
19605 $ac_includes_default
19606 typedef short ac__type_sizeof_;
19610 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19617 rm -f conftest.$ac_objext
19618 if { (ac_try="$ac_compile"
19619 case "(($ac_try" in
19620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19621 *) ac_try_echo=$ac_try;;
19623 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19624 (eval "$ac_compile") 2>conftest.er1
19626 grep -v '^ *+' conftest.er1 >conftest.err
19628 cat conftest.err >&5
19629 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19630 (exit $ac_status); } && {
19631 test -z "$ac_c_werror_flag" ||
19632 test ! -s conftest.err
19633 } && test -s conftest.$ac_objext; then
19636 cat >conftest.$ac_ext <<_ACEOF
19639 cat confdefs.h >>conftest.$ac_ext
19640 cat >>conftest.$ac_ext <<_ACEOF
19641 /* end confdefs.h. */
19642 $ac_includes_default
19643 typedef short ac__type_sizeof_;
19647 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19654 rm -f conftest.$ac_objext
19655 if { (ac_try="$ac_compile"
19656 case "(($ac_try" in
19657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19658 *) ac_try_echo=$ac_try;;
19660 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19661 (eval "$ac_compile") 2>conftest.er1
19663 grep -v '^ *+' conftest.er1 >conftest.err
19665 cat conftest.err >&5
19666 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19667 (exit $ac_status); } && {
19668 test -z "$ac_c_werror_flag" ||
19669 test ! -s conftest.err
19670 } && test -s conftest.$ac_objext; then
19671 ac_hi=$ac_mid; break
19673 echo "$as_me: failed program was
:" >&5
19674 sed 's/^/| /' conftest.$ac_ext >&5
19676 ac_lo=`expr $ac_mid + 1`
19677 if test $ac_lo -le $ac_mid; then
19681 ac_mid=`expr 2 '*' $ac_mid + 1`
19684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19687 echo "$as_me: failed program was
:" >&5
19688 sed 's/^/| /' conftest.$ac_ext >&5
19690 cat >conftest.$ac_ext <<_ACEOF
19693 cat confdefs.h >>conftest.$ac_ext
19694 cat >>conftest.$ac_ext <<_ACEOF
19695 /* end confdefs.h. */
19696 $ac_includes_default
19697 typedef short ac__type_sizeof_;
19701 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19708 rm -f conftest.$ac_objext
19709 if { (ac_try="$ac_compile"
19710 case "(($ac_try" in
19711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19712 *) ac_try_echo=$ac_try;;
19714 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19715 (eval "$ac_compile") 2>conftest.er1
19717 grep -v '^ *+' conftest.er1 >conftest.err
19719 cat conftest.err >&5
19720 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19721 (exit $ac_status); } && {
19722 test -z "$ac_c_werror_flag" ||
19723 test ! -s conftest.err
19724 } && test -s conftest.$ac_objext; then
19727 cat >conftest.$ac_ext <<_ACEOF
19730 cat confdefs.h >>conftest.$ac_ext
19731 cat >>conftest.$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 $ac_includes_default
19734 typedef short ac__type_sizeof_;
19738 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19745 rm -f conftest.$ac_objext
19746 if { (ac_try="$ac_compile"
19747 case "(($ac_try" in
19748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19749 *) ac_try_echo=$ac_try;;
19751 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19752 (eval "$ac_compile") 2>conftest.er1
19754 grep -v '^ *+' conftest.er1 >conftest.err
19756 cat conftest.err >&5
19757 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19758 (exit $ac_status); } && {
19759 test -z "$ac_c_werror_flag" ||
19760 test ! -s conftest.err
19761 } && test -s conftest.$ac_objext; then
19762 ac_lo=$ac_mid; break
19764 echo "$as_me: failed program was
:" >&5
19765 sed 's/^/| /' conftest.$ac_ext >&5
19767 ac_hi=`expr '(' $ac_mid ')' - 1`
19768 if test $ac_mid -le $ac_hi; then
19772 ac_mid=`expr 2 '*' $ac_mid`
19775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19778 echo "$as_me: failed program was
:" >&5
19779 sed 's/^/| /' conftest.$ac_ext >&5
19784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19788 # Binary search between lo and hi bounds.
19789 while test "x
$ac_lo" != "x
$ac_hi"; do
19790 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19791 cat >conftest.$ac_ext <<_ACEOF
19794 cat confdefs.h >>conftest.$ac_ext
19795 cat >>conftest.$ac_ext <<_ACEOF
19796 /* end confdefs.h. */
19797 $ac_includes_default
19798 typedef short ac__type_sizeof_;
19802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19809 rm -f conftest.$ac_objext
19810 if { (ac_try="$ac_compile"
19811 case "(($ac_try" in
19812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19813 *) ac_try_echo=$ac_try;;
19815 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19816 (eval "$ac_compile") 2>conftest.er1
19818 grep -v '^ *+' conftest.er1 >conftest.err
19820 cat conftest.err >&5
19821 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19822 (exit $ac_status); } && {
19823 test -z "$ac_c_werror_flag" ||
19824 test ! -s conftest.err
19825 } && test -s conftest.$ac_objext; then
19828 echo "$as_me: failed program was
:" >&5
19829 sed 's/^/| /' conftest.$ac_ext >&5
19831 ac_lo=`expr '(' $ac_mid ')' + 1`
19834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19837 ?*) ac_cv_sizeof_short=$ac_lo;;
19838 '') if test "$ac_cv_type_short" = yes; then
19839 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19840 See \
`config.log' for more details." >&5
19841 echo "$as_me: error: cannot compute sizeof (short)
19842 See \`config.log
' for more details." >&2;}
19843 { (exit 77); exit 77; }; }
19845 ac_cv_sizeof_short=0
19849 cat >conftest.$ac_ext <<_ACEOF
19852 cat confdefs.h >>conftest.$ac_ext
19853 cat >>conftest.$ac_ext <<_ACEOF
19854 /* end confdefs.h. */
19855 $ac_includes_default
19856 typedef short ac__type_sizeof_;
19857 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19858 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19860 #include <stdlib.h>
19865 FILE *f = fopen ("conftest.val", "w");
19868 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19870 long int i = longval ();
19871 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19873 fprintf (f, "%ld\n", i);
19877 unsigned long int i = ulongval ();
19878 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19880 fprintf (f, "%lu\n", i);
19882 return ferror (f) || fclose (f) != 0;
19888 rm -f conftest$ac_exeext
19889 if { (ac_try="$ac_link"
19890 case "(($ac_try" in
19891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19892 *) ac_try_echo=$ac_try;;
19894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19895 (eval "$ac_link") 2>&5
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19899 { (case "(($ac_try" in
19900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19901 *) ac_try_echo=$ac_try;;
19903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19904 (eval "$ac_try") 2>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; }; then
19908 ac_cv_sizeof_short=`cat conftest.val`
19910 echo "$as_me: program exited with status $ac_status" >&5
19911 echo "$as_me: failed program was:" >&5
19912 sed 's
/^
/| /' conftest.$ac_ext >&5
19914 ( exit $ac_status )
19915 if test "$ac_cv_type_short" = yes; then
19916 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19917 See \`config.log' for more details.
" >&5
19918 echo "$as_me: error
: cannot compute sizeof
(short
)
19919 See \
`config.log' for more details." >&2;}
19920 { (exit 77); exit 77; }; }
19922 ac_cv_sizeof_short=0
19925 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19929 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19930 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19934 cat >>confdefs.h <<_ACEOF
19935 #define SIZEOF_SHORT $ac_cv_sizeof_short
19939 { echo "$as_me:$LINENO: checking for void *" >&5
19940 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19941 if test "${ac_cv_type_void_p+set}" = set; then
19942 echo $ECHO_N "(cached) $ECHO_C" >&6
19944 cat >conftest.$ac_ext <<_ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19950 $ac_includes_default
19951 typedef void * ac__type_new_;
19955 if ((ac__type_new_ *) 0)
19957 if (sizeof (ac__type_new_))
19963 rm -f conftest.$ac_objext
19964 if { (ac_try="$ac_compile"
19965 case "(($ac_try" in
19966 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19967 *) ac_try_echo
=$ac_try;;
19969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19970 (eval "$ac_compile") 2>conftest.er1
19972 grep -v '^ *+' conftest.er1
>conftest.err
19974 cat conftest.err
>&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); } && {
19977 test -z "$ac_c_werror_flag" ||
19978 test ! -s conftest.err
19979 } && test -s conftest.
$ac_objext; then
19980 ac_cv_type_void_p
=yes
19982 echo "$as_me: failed program was:" >&5
19983 sed 's/^/| /' conftest.
$ac_ext >&5
19985 ac_cv_type_void_p
=no
19988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19990 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19991 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19993 # The cast to long int works around a bug in the HP C Compiler
19994 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19995 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19996 # This bug is HP SR number 8606223364.
19997 { echo "$as_me:$LINENO: checking size of void *" >&5
19998 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19999 if test "${ac_cv_sizeof_void_p+set}" = set; then
20000 echo $ECHO_N "(cached) $ECHO_C" >&6
20002 if test "$cross_compiling" = yes; then
20003 # Depending upon the size, compute the lo and hi bounds.
20004 cat >conftest.
$ac_ext <<_ACEOF
20007 cat confdefs.h
>>conftest.
$ac_ext
20008 cat >>conftest.
$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20010 $ac_includes_default
20011 typedef void * ac__type_sizeof_;
20015 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20022 rm -f conftest.
$ac_objext
20023 if { (ac_try
="$ac_compile"
20024 case "(($ac_try" in
20025 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20026 *) ac_try_echo=$ac_try;;
20028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20029 (eval "$ac_compile") 2>conftest.er1
20031 grep -v '^ *+' conftest.er1 >conftest.err
20033 cat conftest.err >&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); } && {
20036 test -z "$ac_c_werror_flag" ||
20037 test ! -s conftest.err
20038 } && test -s conftest.$ac_objext; then
20041 cat >conftest.$ac_ext <<_ACEOF
20044 cat confdefs.h >>conftest.$ac_ext
20045 cat >>conftest.$ac_ext <<_ACEOF
20046 /* end confdefs.h. */
20047 $ac_includes_default
20048 typedef void * ac__type_sizeof_;
20052 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20059 rm -f conftest.$ac_objext
20060 if { (ac_try="$ac_compile"
20061 case "(($ac_try" in
20062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20063 *) ac_try_echo
=$ac_try;;
20065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20066 (eval "$ac_compile") 2>conftest.er1
20068 grep -v '^ *+' conftest.er1
>conftest.err
20070 cat conftest.err
>&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); } && {
20073 test -z "$ac_c_werror_flag" ||
20074 test ! -s conftest.err
20075 } && test -s conftest.
$ac_objext; then
20076 ac_hi
=$ac_mid; break
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.
$ac_ext >&5
20081 ac_lo
=`expr $ac_mid + 1`
20082 if test $ac_lo -le $ac_mid; then
20086 ac_mid
=`expr 2 '*' $ac_mid + 1`
20089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20092 echo "$as_me: failed program was:" >&5
20093 sed 's/^/| /' conftest.
$ac_ext >&5
20095 cat >conftest.
$ac_ext <<_ACEOF
20098 cat confdefs.h
>>conftest.
$ac_ext
20099 cat >>conftest.
$ac_ext <<_ACEOF
20100 /* end confdefs.h. */
20101 $ac_includes_default
20102 typedef void * ac__type_sizeof_;
20106 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20113 rm -f conftest.
$ac_objext
20114 if { (ac_try
="$ac_compile"
20115 case "(($ac_try" in
20116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20117 *) ac_try_echo=$ac_try;;
20119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20120 (eval "$ac_compile") 2>conftest.er1
20122 grep -v '^ *+' conftest.er1 >conftest.err
20124 cat conftest.err >&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); } && {
20127 test -z "$ac_c_werror_flag" ||
20128 test ! -s conftest.err
20129 } && test -s conftest.$ac_objext; then
20132 cat >conftest.$ac_ext <<_ACEOF
20135 cat confdefs.h >>conftest.$ac_ext
20136 cat >>conftest.$ac_ext <<_ACEOF
20137 /* end confdefs.h. */
20138 $ac_includes_default
20139 typedef void * ac__type_sizeof_;
20143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20150 rm -f conftest.$ac_objext
20151 if { (ac_try="$ac_compile"
20152 case "(($ac_try" in
20153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20154 *) ac_try_echo
=$ac_try;;
20156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20157 (eval "$ac_compile") 2>conftest.er1
20159 grep -v '^ *+' conftest.er1
>conftest.err
20161 cat conftest.err
>&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); } && {
20164 test -z "$ac_c_werror_flag" ||
20165 test ! -s conftest.err
20166 } && test -s conftest.
$ac_objext; then
20167 ac_lo
=$ac_mid; break
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.
$ac_ext >&5
20172 ac_hi
=`expr '(' $ac_mid ')' - 1`
20173 if test $ac_mid -le $ac_hi; then
20177 ac_mid
=`expr 2 '*' $ac_mid`
20180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20183 echo "$as_me: failed program was:" >&5
20184 sed 's/^/| /' conftest.
$ac_ext >&5
20189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20193 # Binary search between lo and hi bounds.
20194 while test "x$ac_lo" != "x$ac_hi"; do
20195 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20196 cat >conftest.
$ac_ext <<_ACEOF
20199 cat confdefs.h
>>conftest.
$ac_ext
20200 cat >>conftest.
$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20202 $ac_includes_default
20203 typedef void * ac__type_sizeof_;
20207 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20214 rm -f conftest.
$ac_objext
20215 if { (ac_try
="$ac_compile"
20216 case "(($ac_try" in
20217 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20218 *) ac_try_echo=$ac_try;;
20220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20221 (eval "$ac_compile") 2>conftest.er1
20223 grep -v '^ *+' conftest.er1 >conftest.err
20225 cat conftest.err >&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); } && {
20228 test -z "$ac_c_werror_flag" ||
20229 test ! -s conftest.err
20230 } && test -s conftest.$ac_objext; then
20233 echo "$as_me: failed program was:" >&5
20234 sed 's/^/| /' conftest.$ac_ext >&5
20236 ac_lo=`expr '(' $ac_mid ')' + 1`
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20242 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20243 '') if test "$ac_cv_type_void_p" = yes; then
20244 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20245 See \`config.log
' for more details." >&5
20246 echo "$as_me: error: cannot compute sizeof (void *)
20247 See \`config.log' for more details.
" >&2;}
20248 { (exit 77); exit 77; }; }
20250 ac_cv_sizeof_void_p=0
20254 cat >conftest.$ac_ext <<_ACEOF
20257 cat confdefs.h >>conftest.$ac_ext
20258 cat >>conftest.$ac_ext <<_ACEOF
20259 /* end confdefs.h. */
20260 $ac_includes_default
20261 typedef void * ac__type_sizeof_;
20262 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20263 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20265 #include <stdlib.h>
20270 FILE *f = fopen ("conftest.val
", "w
");
20273 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20275 long int i = longval ();
20276 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20278 fprintf (f, "%ld
\n", i);
20282 unsigned long int i = ulongval ();
20283 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20285 fprintf (f, "%lu
\n", i);
20287 return ferror (f) || fclose (f) != 0;
20293 rm -f conftest$ac_exeext
20294 if { (ac_try="$ac_link"
20295 case "(($ac_try" in
20296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20297 *) ac_try_echo=$ac_try;;
20299 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20300 (eval "$ac_link") 2>&5
20302 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20303 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20304 { (case "(($ac_try" in
20305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20306 *) ac_try_echo=$ac_try;;
20308 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20309 (eval "$ac_try") 2>&5
20311 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20312 (exit $ac_status); }; }; then
20313 ac_cv_sizeof_void_p=`cat conftest.val`
20315 echo "$as_me: program exited with status
$ac_status" >&5
20316 echo "$as_me: failed program was
:" >&5
20317 sed 's/^/| /' conftest.$ac_ext >&5
20319 ( exit $ac_status )
20320 if test "$ac_cv_type_void_p" = yes; then
20321 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20322 See \
`config.log' for more details." >&5
20323 echo "$as_me: error: cannot compute sizeof (void *)
20324 See \`config.log
' for more details." >&2;}
20325 { (exit 77); exit 77; }; }
20327 ac_cv_sizeof_void_p=0
20330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20334 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20335 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20339 cat >>confdefs.h <<_ACEOF
20340 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20344 { echo "$as_me:$LINENO: checking for int" >&5
20345 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20346 if test "${ac_cv_type_int+set}" = set; then
20347 echo $ECHO_N "(cached) $ECHO_C" >&6
20349 cat >conftest.$ac_ext <<_ACEOF
20352 cat confdefs.h >>conftest.$ac_ext
20353 cat >>conftest.$ac_ext <<_ACEOF
20354 /* end confdefs.h. */
20355 $ac_includes_default
20356 typedef int ac__type_new_;
20360 if ((ac__type_new_ *) 0)
20362 if (sizeof (ac__type_new_))
20368 rm -f conftest.$ac_objext
20369 if { (ac_try="$ac_compile"
20370 case "(($ac_try" in
20371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20372 *) ac_try_echo=$ac_try;;
20374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20375 (eval "$ac_compile") 2>conftest.er1
20377 grep -v '^
*+' conftest.er1 >conftest.err
20379 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } && {
20382 test -z "$ac_c_werror_flag" ||
20383 test ! -s conftest.err
20384 } && test -s conftest.$ac_objext; then
20387 echo "$as_me: failed program was:" >&5
20388 sed 's
/^
/| /' conftest.$ac_ext >&5
20393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20395 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20396 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20398 # The cast to long int works around a bug in the HP C Compiler
20399 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20400 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20401 # This bug is HP SR number 8606223364.
20402 { echo "$as_me:$LINENO: checking size of int" >&5
20403 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20404 if test "${ac_cv_sizeof_int+set}" = set; then
20405 echo $ECHO_N "(cached) $ECHO_C" >&6
20407 if test "$cross_compiling" = yes; then
20408 # Depending upon the size, compute the lo and hi bounds.
20409 cat >conftest.
$ac_ext <<_ACEOF
20412 cat confdefs.h
>>conftest.
$ac_ext
20413 cat >>conftest.
$ac_ext <<_ACEOF
20414 /* end confdefs.h. */
20415 $ac_includes_default
20416 typedef int ac__type_sizeof_;
20420 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20427 rm -f conftest.
$ac_objext
20428 if { (ac_try
="$ac_compile"
20429 case "(($ac_try" in
20430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20431 *) ac_try_echo=$ac_try;;
20433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20434 (eval "$ac_compile") 2>conftest.er1
20436 grep -v '^ *+' conftest.er1 >conftest.err
20438 cat conftest.err >&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); } && {
20441 test -z "$ac_c_werror_flag" ||
20442 test ! -s conftest.err
20443 } && test -s conftest.$ac_objext; then
20446 cat >conftest.$ac_ext <<_ACEOF
20449 cat confdefs.h >>conftest.$ac_ext
20450 cat >>conftest.$ac_ext <<_ACEOF
20451 /* end confdefs.h. */
20452 $ac_includes_default
20453 typedef int ac__type_sizeof_;
20457 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20464 rm -f conftest.$ac_objext
20465 if { (ac_try="$ac_compile"
20466 case "(($ac_try" in
20467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20468 *) ac_try_echo
=$ac_try;;
20470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20471 (eval "$ac_compile") 2>conftest.er1
20473 grep -v '^ *+' conftest.er1
>conftest.err
20475 cat conftest.err
>&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); } && {
20478 test -z "$ac_c_werror_flag" ||
20479 test ! -s conftest.err
20480 } && test -s conftest.
$ac_objext; then
20481 ac_hi
=$ac_mid; break
20483 echo "$as_me: failed program was:" >&5
20484 sed 's/^/| /' conftest.
$ac_ext >&5
20486 ac_lo
=`expr $ac_mid + 1`
20487 if test $ac_lo -le $ac_mid; then
20491 ac_mid
=`expr 2 '*' $ac_mid + 1`
20494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20497 echo "$as_me: failed program was:" >&5
20498 sed 's/^/| /' conftest.
$ac_ext >&5
20500 cat >conftest.
$ac_ext <<_ACEOF
20503 cat confdefs.h
>>conftest.
$ac_ext
20504 cat >>conftest.
$ac_ext <<_ACEOF
20505 /* end confdefs.h. */
20506 $ac_includes_default
20507 typedef int ac__type_sizeof_;
20511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20518 rm -f conftest.
$ac_objext
20519 if { (ac_try
="$ac_compile"
20520 case "(($ac_try" in
20521 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20522 *) ac_try_echo=$ac_try;;
20524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20525 (eval "$ac_compile") 2>conftest.er1
20527 grep -v '^ *+' conftest.er1 >conftest.err
20529 cat conftest.err >&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); } && {
20532 test -z "$ac_c_werror_flag" ||
20533 test ! -s conftest.err
20534 } && test -s conftest.$ac_objext; then
20537 cat >conftest.$ac_ext <<_ACEOF
20540 cat confdefs.h >>conftest.$ac_ext
20541 cat >>conftest.$ac_ext <<_ACEOF
20542 /* end confdefs.h. */
20543 $ac_includes_default
20544 typedef int ac__type_sizeof_;
20548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20555 rm -f conftest.$ac_objext
20556 if { (ac_try="$ac_compile"
20557 case "(($ac_try" in
20558 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20559 *) ac_try_echo
=$ac_try;;
20561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20562 (eval "$ac_compile") 2>conftest.er1
20564 grep -v '^ *+' conftest.er1
>conftest.err
20566 cat conftest.err
>&5
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); } && {
20569 test -z "$ac_c_werror_flag" ||
20570 test ! -s conftest.err
20571 } && test -s conftest.
$ac_objext; then
20572 ac_lo
=$ac_mid; break
20574 echo "$as_me: failed program was:" >&5
20575 sed 's/^/| /' conftest.
$ac_ext >&5
20577 ac_hi
=`expr '(' $ac_mid ')' - 1`
20578 if test $ac_mid -le $ac_hi; then
20582 ac_mid
=`expr 2 '*' $ac_mid`
20585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20588 echo "$as_me: failed program was:" >&5
20589 sed 's/^/| /' conftest.
$ac_ext >&5
20594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20598 # Binary search between lo and hi bounds.
20599 while test "x$ac_lo" != "x$ac_hi"; do
20600 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20601 cat >conftest.
$ac_ext <<_ACEOF
20604 cat confdefs.h
>>conftest.
$ac_ext
20605 cat >>conftest.
$ac_ext <<_ACEOF
20606 /* end confdefs.h. */
20607 $ac_includes_default
20608 typedef int ac__type_sizeof_;
20612 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20619 rm -f conftest.
$ac_objext
20620 if { (ac_try
="$ac_compile"
20621 case "(($ac_try" in
20622 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20623 *) ac_try_echo=$ac_try;;
20625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20626 (eval "$ac_compile") 2>conftest.er1
20628 grep -v '^ *+' conftest.er1 >conftest.err
20630 cat conftest.err >&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); } && {
20633 test -z "$ac_c_werror_flag" ||
20634 test ! -s conftest.err
20635 } && test -s conftest.$ac_objext; then
20638 echo "$as_me: failed program was:" >&5
20639 sed 's/^/| /' conftest.$ac_ext >&5
20641 ac_lo=`expr '(' $ac_mid ')' + 1`
20644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20647 ?*) ac_cv_sizeof_int=$ac_lo;;
20648 '') if test "$ac_cv_type_int" = yes; then
20649 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20650 See \`config.log
' for more details." >&5
20651 echo "$as_me: error: cannot compute sizeof (int)
20652 See \`config.log' for more details.
" >&2;}
20653 { (exit 77); exit 77; }; }
20659 cat >conftest.$ac_ext <<_ACEOF
20662 cat confdefs.h >>conftest.$ac_ext
20663 cat >>conftest.$ac_ext <<_ACEOF
20664 /* end confdefs.h. */
20665 $ac_includes_default
20666 typedef int ac__type_sizeof_;
20667 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20668 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20670 #include <stdlib.h>
20675 FILE *f = fopen ("conftest.val
", "w
");
20678 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20680 long int i = longval ();
20681 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20683 fprintf (f, "%ld
\n", i);
20687 unsigned long int i = ulongval ();
20688 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20690 fprintf (f, "%lu
\n", i);
20692 return ferror (f) || fclose (f) != 0;
20698 rm -f conftest$ac_exeext
20699 if { (ac_try="$ac_link"
20700 case "(($ac_try" in
20701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20702 *) ac_try_echo=$ac_try;;
20704 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20705 (eval "$ac_link") 2>&5
20707 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20708 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20709 { (case "(($ac_try" in
20710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20711 *) ac_try_echo=$ac_try;;
20713 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20714 (eval "$ac_try") 2>&5
20716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20717 (exit $ac_status); }; }; then
20718 ac_cv_sizeof_int=`cat conftest.val`
20720 echo "$as_me: program exited with status
$ac_status" >&5
20721 echo "$as_me: failed program was
:" >&5
20722 sed 's/^/| /' conftest.$ac_ext >&5
20724 ( exit $ac_status )
20725 if test "$ac_cv_type_int" = yes; then
20726 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20727 See \
`config.log' for more details." >&5
20728 echo "$as_me: error: cannot compute sizeof (int)
20729 See \`config.log
' for more details." >&2;}
20730 { (exit 77); exit 77; }; }
20735 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20739 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20740 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20744 cat >>confdefs.h <<_ACEOF
20745 #define SIZEOF_INT $ac_cv_sizeof_int
20749 { echo "$as_me:$LINENO: checking for long" >&5
20750 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20751 if test "${ac_cv_type_long+set}" = set; then
20752 echo $ECHO_N "(cached) $ECHO_C" >&6
20754 cat >conftest.$ac_ext <<_ACEOF
20757 cat confdefs.h >>conftest.$ac_ext
20758 cat >>conftest.$ac_ext <<_ACEOF
20759 /* end confdefs.h. */
20760 $ac_includes_default
20761 typedef long ac__type_new_;
20765 if ((ac__type_new_ *) 0)
20767 if (sizeof (ac__type_new_))
20773 rm -f conftest.$ac_objext
20774 if { (ac_try="$ac_compile"
20775 case "(($ac_try" in
20776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20777 *) ac_try_echo=$ac_try;;
20779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20780 (eval "$ac_compile") 2>conftest.er1
20782 grep -v '^
*+' conftest.er1 >conftest.err
20784 cat conftest.err >&5
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); } && {
20787 test -z "$ac_c_werror_flag" ||
20788 test ! -s conftest.err
20789 } && test -s conftest.$ac_objext; then
20790 ac_cv_type_long=yes
20792 echo "$as_me: failed program was:" >&5
20793 sed 's
/^
/| /' conftest.$ac_ext >&5
20798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20800 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20801 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20803 # The cast to long int works around a bug in the HP C Compiler
20804 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20805 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20806 # This bug is HP SR number 8606223364.
20807 { echo "$as_me:$LINENO: checking size of long" >&5
20808 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20809 if test "${ac_cv_sizeof_long+set}" = set; then
20810 echo $ECHO_N "(cached) $ECHO_C" >&6
20812 if test "$cross_compiling" = yes; then
20813 # Depending upon the size, compute the lo and hi bounds.
20814 cat >conftest.
$ac_ext <<_ACEOF
20817 cat confdefs.h
>>conftest.
$ac_ext
20818 cat >>conftest.
$ac_ext <<_ACEOF
20819 /* end confdefs.h. */
20820 $ac_includes_default
20821 typedef long ac__type_sizeof_;
20825 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20832 rm -f conftest.
$ac_objext
20833 if { (ac_try
="$ac_compile"
20834 case "(($ac_try" in
20835 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20836 *) ac_try_echo=$ac_try;;
20838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20839 (eval "$ac_compile") 2>conftest.er1
20841 grep -v '^ *+' conftest.er1 >conftest.err
20843 cat conftest.err >&5
20844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20845 (exit $ac_status); } && {
20846 test -z "$ac_c_werror_flag" ||
20847 test ! -s conftest.err
20848 } && test -s conftest.$ac_objext; then
20851 cat >conftest.$ac_ext <<_ACEOF
20854 cat confdefs.h >>conftest.$ac_ext
20855 cat >>conftest.$ac_ext <<_ACEOF
20856 /* end confdefs.h. */
20857 $ac_includes_default
20858 typedef long ac__type_sizeof_;
20862 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20869 rm -f conftest.$ac_objext
20870 if { (ac_try="$ac_compile"
20871 case "(($ac_try" in
20872 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20873 *) ac_try_echo
=$ac_try;;
20875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20876 (eval "$ac_compile") 2>conftest.er1
20878 grep -v '^ *+' conftest.er1
>conftest.err
20880 cat conftest.err
>&5
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); } && {
20883 test -z "$ac_c_werror_flag" ||
20884 test ! -s conftest.err
20885 } && test -s conftest.
$ac_objext; then
20886 ac_hi
=$ac_mid; break
20888 echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.
$ac_ext >&5
20891 ac_lo
=`expr $ac_mid + 1`
20892 if test $ac_lo -le $ac_mid; then
20896 ac_mid
=`expr 2 '*' $ac_mid + 1`
20899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20902 echo "$as_me: failed program was:" >&5
20903 sed 's/^/| /' conftest.
$ac_ext >&5
20905 cat >conftest.
$ac_ext <<_ACEOF
20908 cat confdefs.h
>>conftest.
$ac_ext
20909 cat >>conftest.
$ac_ext <<_ACEOF
20910 /* end confdefs.h. */
20911 $ac_includes_default
20912 typedef long ac__type_sizeof_;
20916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20923 rm -f conftest.
$ac_objext
20924 if { (ac_try
="$ac_compile"
20925 case "(($ac_try" in
20926 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20927 *) ac_try_echo=$ac_try;;
20929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20930 (eval "$ac_compile") 2>conftest.er1
20932 grep -v '^ *+' conftest.er1 >conftest.err
20934 cat conftest.err >&5
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); } && {
20937 test -z "$ac_c_werror_flag" ||
20938 test ! -s conftest.err
20939 } && test -s conftest.$ac_objext; then
20942 cat >conftest.$ac_ext <<_ACEOF
20945 cat confdefs.h >>conftest.$ac_ext
20946 cat >>conftest.$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20948 $ac_includes_default
20949 typedef long ac__type_sizeof_;
20953 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20960 rm -f conftest.$ac_objext
20961 if { (ac_try="$ac_compile"
20962 case "(($ac_try" in
20963 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20964 *) ac_try_echo
=$ac_try;;
20966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20967 (eval "$ac_compile") 2>conftest.er1
20969 grep -v '^ *+' conftest.er1
>conftest.err
20971 cat conftest.err
>&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); } && {
20974 test -z "$ac_c_werror_flag" ||
20975 test ! -s conftest.err
20976 } && test -s conftest.
$ac_objext; then
20977 ac_lo
=$ac_mid; break
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.
$ac_ext >&5
20982 ac_hi
=`expr '(' $ac_mid ')' - 1`
20983 if test $ac_mid -le $ac_hi; then
20987 ac_mid
=`expr 2 '*' $ac_mid`
20990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20993 echo "$as_me: failed program was:" >&5
20994 sed 's/^/| /' conftest.
$ac_ext >&5
20999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21003 # Binary search between lo and hi bounds.
21004 while test "x$ac_lo" != "x$ac_hi"; do
21005 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21006 cat >conftest.
$ac_ext <<_ACEOF
21009 cat confdefs.h
>>conftest.
$ac_ext
21010 cat >>conftest.
$ac_ext <<_ACEOF
21011 /* end confdefs.h. */
21012 $ac_includes_default
21013 typedef long ac__type_sizeof_;
21017 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21024 rm -f conftest.
$ac_objext
21025 if { (ac_try
="$ac_compile"
21026 case "(($ac_try" in
21027 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21028 *) ac_try_echo=$ac_try;;
21030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21031 (eval "$ac_compile") 2>conftest.er1
21033 grep -v '^ *+' conftest.er1 >conftest.err
21035 cat conftest.err >&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); } && {
21038 test -z "$ac_c_werror_flag" ||
21039 test ! -s conftest.err
21040 } && test -s conftest.$ac_objext; then
21043 echo "$as_me: failed program was:" >&5
21044 sed 's/^/| /' conftest.$ac_ext >&5
21046 ac_lo=`expr '(' $ac_mid ')' + 1`
21049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21052 ?*) ac_cv_sizeof_long=$ac_lo;;
21053 '') if test "$ac_cv_type_long" = yes; then
21054 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21055 See \`config.log
' for more details." >&5
21056 echo "$as_me: error: cannot compute sizeof (long)
21057 See \`config.log' for more details.
" >&2;}
21058 { (exit 77); exit 77; }; }
21060 ac_cv_sizeof_long=0
21064 cat >conftest.$ac_ext <<_ACEOF
21067 cat confdefs.h >>conftest.$ac_ext
21068 cat >>conftest.$ac_ext <<_ACEOF
21069 /* end confdefs.h. */
21070 $ac_includes_default
21071 typedef long ac__type_sizeof_;
21072 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21073 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21075 #include <stdlib.h>
21080 FILE *f = fopen ("conftest.val
", "w
");
21083 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21085 long int i = longval ();
21086 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21088 fprintf (f, "%ld
\n", i);
21092 unsigned long int i = ulongval ();
21093 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21095 fprintf (f, "%lu
\n", i);
21097 return ferror (f) || fclose (f) != 0;
21103 rm -f conftest$ac_exeext
21104 if { (ac_try="$ac_link"
21105 case "(($ac_try" in
21106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21107 *) ac_try_echo=$ac_try;;
21109 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21110 (eval "$ac_link") 2>&5
21112 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21113 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21114 { (case "(($ac_try" in
21115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21116 *) ac_try_echo=$ac_try;;
21118 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21119 (eval "$ac_try") 2>&5
21121 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21122 (exit $ac_status); }; }; then
21123 ac_cv_sizeof_long=`cat conftest.val`
21125 echo "$as_me: program exited with status
$ac_status" >&5
21126 echo "$as_me: failed program was
:" >&5
21127 sed 's/^/| /' conftest.$ac_ext >&5
21129 ( exit $ac_status )
21130 if test "$ac_cv_type_long" = yes; then
21131 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21132 See \
`config.log' for more details." >&5
21133 echo "$as_me: error: cannot compute sizeof (long)
21134 See \`config.log
' for more details." >&2;}
21135 { (exit 77); exit 77; }; }
21137 ac_cv_sizeof_long=0
21140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21144 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21145 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21149 cat >>confdefs.h <<_ACEOF
21150 #define SIZEOF_LONG $ac_cv_sizeof_long
21154 { echo "$as_me:$LINENO: checking for size_t" >&5
21155 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21156 if test "${ac_cv_type_size_t+set}" = set; then
21157 echo $ECHO_N "(cached) $ECHO_C" >&6
21159 cat >conftest.$ac_ext <<_ACEOF
21162 cat confdefs.h >>conftest.$ac_ext
21163 cat >>conftest.$ac_ext <<_ACEOF
21164 /* end confdefs.h. */
21165 $ac_includes_default
21166 typedef size_t ac__type_new_;
21170 if ((ac__type_new_ *) 0)
21172 if (sizeof (ac__type_new_))
21178 rm -f conftest.$ac_objext
21179 if { (ac_try="$ac_compile"
21180 case "(($ac_try" in
21181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21182 *) ac_try_echo=$ac_try;;
21184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21185 (eval "$ac_compile") 2>conftest.er1
21187 grep -v '^
*+' conftest.er1 >conftest.err
21189 cat conftest.err >&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); } && {
21192 test -z "$ac_c_werror_flag" ||
21193 test ! -s conftest.err
21194 } && test -s conftest.$ac_objext; then
21195 ac_cv_type_size_t=yes
21197 echo "$as_me: failed program was:" >&5
21198 sed 's
/^
/| /' conftest.$ac_ext >&5
21200 ac_cv_type_size_t=no
21203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21205 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21206 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21208 # The cast to long int works around a bug in the HP C Compiler
21209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21211 # This bug is HP SR number 8606223364.
21212 { echo "$as_me:$LINENO: checking size of size_t" >&5
21213 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21214 if test "${ac_cv_sizeof_size_t+set}" = set; then
21215 echo $ECHO_N "(cached) $ECHO_C" >&6
21217 if test "$cross_compiling" = yes; then
21218 # Depending upon the size, compute the lo and hi bounds.
21219 cat >conftest.
$ac_ext <<_ACEOF
21222 cat confdefs.h
>>conftest.
$ac_ext
21223 cat >>conftest.
$ac_ext <<_ACEOF
21224 /* end confdefs.h. */
21225 $ac_includes_default
21226 typedef size_t ac__type_sizeof_;
21230 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21237 rm -f conftest.
$ac_objext
21238 if { (ac_try
="$ac_compile"
21239 case "(($ac_try" in
21240 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21241 *) ac_try_echo=$ac_try;;
21243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21244 (eval "$ac_compile") 2>conftest.er1
21246 grep -v '^ *+' conftest.er1 >conftest.err
21248 cat conftest.err >&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); } && {
21251 test -z "$ac_c_werror_flag" ||
21252 test ! -s conftest.err
21253 } && test -s conftest.$ac_objext; then
21256 cat >conftest.$ac_ext <<_ACEOF
21259 cat confdefs.h >>conftest.$ac_ext
21260 cat >>conftest.$ac_ext <<_ACEOF
21261 /* end confdefs.h. */
21262 $ac_includes_default
21263 typedef size_t ac__type_sizeof_;
21267 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21274 rm -f conftest.$ac_objext
21275 if { (ac_try="$ac_compile"
21276 case "(($ac_try" in
21277 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21278 *) ac_try_echo
=$ac_try;;
21280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21281 (eval "$ac_compile") 2>conftest.er1
21283 grep -v '^ *+' conftest.er1
>conftest.err
21285 cat conftest.err
>&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); } && {
21288 test -z "$ac_c_werror_flag" ||
21289 test ! -s conftest.err
21290 } && test -s conftest.
$ac_objext; then
21291 ac_hi
=$ac_mid; break
21293 echo "$as_me: failed program was:" >&5
21294 sed 's/^/| /' conftest.
$ac_ext >&5
21296 ac_lo
=`expr $ac_mid + 1`
21297 if test $ac_lo -le $ac_mid; then
21301 ac_mid
=`expr 2 '*' $ac_mid + 1`
21304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21307 echo "$as_me: failed program was:" >&5
21308 sed 's/^/| /' conftest.
$ac_ext >&5
21310 cat >conftest.
$ac_ext <<_ACEOF
21313 cat confdefs.h
>>conftest.
$ac_ext
21314 cat >>conftest.
$ac_ext <<_ACEOF
21315 /* end confdefs.h. */
21316 $ac_includes_default
21317 typedef size_t ac__type_sizeof_;
21321 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21328 rm -f conftest.
$ac_objext
21329 if { (ac_try
="$ac_compile"
21330 case "(($ac_try" in
21331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21332 *) ac_try_echo=$ac_try;;
21334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21335 (eval "$ac_compile") 2>conftest.er1
21337 grep -v '^ *+' conftest.er1 >conftest.err
21339 cat conftest.err >&5
21340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 (exit $ac_status); } && {
21342 test -z "$ac_c_werror_flag" ||
21343 test ! -s conftest.err
21344 } && test -s conftest.$ac_objext; then
21347 cat >conftest.$ac_ext <<_ACEOF
21350 cat confdefs.h >>conftest.$ac_ext
21351 cat >>conftest.$ac_ext <<_ACEOF
21352 /* end confdefs.h. */
21353 $ac_includes_default
21354 typedef size_t ac__type_sizeof_;
21358 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21365 rm -f conftest.$ac_objext
21366 if { (ac_try="$ac_compile"
21367 case "(($ac_try" in
21368 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21369 *) ac_try_echo
=$ac_try;;
21371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21372 (eval "$ac_compile") 2>conftest.er1
21374 grep -v '^ *+' conftest.er1
>conftest.err
21376 cat conftest.err
>&5
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); } && {
21379 test -z "$ac_c_werror_flag" ||
21380 test ! -s conftest.err
21381 } && test -s conftest.
$ac_objext; then
21382 ac_lo
=$ac_mid; break
21384 echo "$as_me: failed program was:" >&5
21385 sed 's/^/| /' conftest.
$ac_ext >&5
21387 ac_hi
=`expr '(' $ac_mid ')' - 1`
21388 if test $ac_mid -le $ac_hi; then
21392 ac_mid
=`expr 2 '*' $ac_mid`
21395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21398 echo "$as_me: failed program was:" >&5
21399 sed 's/^/| /' conftest.
$ac_ext >&5
21404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21408 # Binary search between lo and hi bounds.
21409 while test "x$ac_lo" != "x$ac_hi"; do
21410 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21411 cat >conftest.
$ac_ext <<_ACEOF
21414 cat confdefs.h
>>conftest.
$ac_ext
21415 cat >>conftest.
$ac_ext <<_ACEOF
21416 /* end confdefs.h. */
21417 $ac_includes_default
21418 typedef size_t ac__type_sizeof_;
21422 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21429 rm -f conftest.
$ac_objext
21430 if { (ac_try
="$ac_compile"
21431 case "(($ac_try" in
21432 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21433 *) ac_try_echo=$ac_try;;
21435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21436 (eval "$ac_compile") 2>conftest.er1
21438 grep -v '^ *+' conftest.er1 >conftest.err
21440 cat conftest.err >&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); } && {
21443 test -z "$ac_c_werror_flag" ||
21444 test ! -s conftest.err
21445 } && test -s conftest.$ac_objext; then
21448 echo "$as_me: failed program was:" >&5
21449 sed 's/^/| /' conftest.$ac_ext >&5
21451 ac_lo=`expr '(' $ac_mid ')' + 1`
21454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21457 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21458 '') if test "$ac_cv_type_size_t" = yes; then
21459 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21460 See \`config.log
' for more details." >&5
21461 echo "$as_me: error: cannot compute sizeof (size_t)
21462 See \`config.log' for more details.
" >&2;}
21463 { (exit 77); exit 77; }; }
21465 ac_cv_sizeof_size_t=0
21469 cat >conftest.$ac_ext <<_ACEOF
21472 cat confdefs.h >>conftest.$ac_ext
21473 cat >>conftest.$ac_ext <<_ACEOF
21474 /* end confdefs.h. */
21475 $ac_includes_default
21476 typedef size_t ac__type_sizeof_;
21477 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21478 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21480 #include <stdlib.h>
21485 FILE *f = fopen ("conftest.val
", "w
");
21488 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21490 long int i = longval ();
21491 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21493 fprintf (f, "%ld
\n", i);
21497 unsigned long int i = ulongval ();
21498 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21500 fprintf (f, "%lu
\n", i);
21502 return ferror (f) || fclose (f) != 0;
21508 rm -f conftest$ac_exeext
21509 if { (ac_try="$ac_link"
21510 case "(($ac_try" in
21511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21512 *) ac_try_echo=$ac_try;;
21514 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21515 (eval "$ac_link") 2>&5
21517 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21518 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21519 { (case "(($ac_try" in
21520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21521 *) ac_try_echo=$ac_try;;
21523 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21524 (eval "$ac_try") 2>&5
21526 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21527 (exit $ac_status); }; }; then
21528 ac_cv_sizeof_size_t=`cat conftest.val`
21530 echo "$as_me: program exited with status
$ac_status" >&5
21531 echo "$as_me: failed program was
:" >&5
21532 sed 's/^/| /' conftest.$ac_ext >&5
21534 ( exit $ac_status )
21535 if test "$ac_cv_type_size_t" = yes; then
21536 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21537 See \
`config.log' for more details." >&5
21538 echo "$as_me: error: cannot compute sizeof (size_t)
21539 See \`config.log
' for more details." >&2;}
21540 { (exit 77); exit 77; }; }
21542 ac_cv_sizeof_size_t=0
21545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21549 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21550 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21554 cat >>confdefs.h <<_ACEOF
21555 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21562 { echo "$as_me:$LINENO: checking for long long" >&5
21563 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21564 if test "${ac_cv_type_long_long+set}" = set; then
21565 echo $ECHO_N "(cached) $ECHO_C" >&6
21567 cat >conftest.$ac_ext <<_ACEOF
21570 cat confdefs.h >>conftest.$ac_ext
21571 cat >>conftest.$ac_ext <<_ACEOF
21572 /* end confdefs.h. */
21573 $ac_includes_default
21574 typedef long long ac__type_new_;
21578 if ((ac__type_new_ *) 0)
21580 if (sizeof (ac__type_new_))
21586 rm -f conftest.$ac_objext
21587 if { (ac_try="$ac_compile"
21588 case "(($ac_try" in
21589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21590 *) ac_try_echo=$ac_try;;
21592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21593 (eval "$ac_compile") 2>conftest.er1
21595 grep -v '^
*+' conftest.er1 >conftest.err
21597 cat conftest.err >&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); } && {
21600 test -z "$ac_c_werror_flag" ||
21601 test ! -s conftest.err
21602 } && test -s conftest.$ac_objext; then
21603 ac_cv_type_long_long=yes
21605 echo "$as_me: failed program was:" >&5
21606 sed 's
/^
/| /' conftest.$ac_ext >&5
21608 ac_cv_type_long_long=no
21611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21613 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21614 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21616 # The cast to long int works around a bug in the HP C Compiler
21617 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21618 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21619 # This bug is HP SR number 8606223364.
21620 { echo "$as_me:$LINENO: checking size of long long" >&5
21621 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21622 if test "${ac_cv_sizeof_long_long+set}" = set; then
21623 echo $ECHO_N "(cached) $ECHO_C" >&6
21625 if test "$cross_compiling" = yes; then
21626 # Depending upon the size, compute the lo and hi bounds.
21627 cat >conftest.
$ac_ext <<_ACEOF
21630 cat confdefs.h
>>conftest.
$ac_ext
21631 cat >>conftest.
$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 $ac_includes_default
21634 typedef long long ac__type_sizeof_;
21638 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21645 rm -f conftest.
$ac_objext
21646 if { (ac_try
="$ac_compile"
21647 case "(($ac_try" in
21648 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21649 *) ac_try_echo=$ac_try;;
21651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21652 (eval "$ac_compile") 2>conftest.er1
21654 grep -v '^ *+' conftest.er1 >conftest.err
21656 cat conftest.err >&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); } && {
21659 test -z "$ac_c_werror_flag" ||
21660 test ! -s conftest.err
21661 } && test -s conftest.$ac_objext; then
21664 cat >conftest.$ac_ext <<_ACEOF
21667 cat confdefs.h >>conftest.$ac_ext
21668 cat >>conftest.$ac_ext <<_ACEOF
21669 /* end confdefs.h. */
21670 $ac_includes_default
21671 typedef long long ac__type_sizeof_;
21675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21682 rm -f conftest.$ac_objext
21683 if { (ac_try="$ac_compile"
21684 case "(($ac_try" in
21685 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21686 *) ac_try_echo
=$ac_try;;
21688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21689 (eval "$ac_compile") 2>conftest.er1
21691 grep -v '^ *+' conftest.er1
>conftest.err
21693 cat conftest.err
>&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); } && {
21696 test -z "$ac_c_werror_flag" ||
21697 test ! -s conftest.err
21698 } && test -s conftest.
$ac_objext; then
21699 ac_hi
=$ac_mid; break
21701 echo "$as_me: failed program was:" >&5
21702 sed 's/^/| /' conftest.
$ac_ext >&5
21704 ac_lo
=`expr $ac_mid + 1`
21705 if test $ac_lo -le $ac_mid; then
21709 ac_mid
=`expr 2 '*' $ac_mid + 1`
21712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21715 echo "$as_me: failed program was:" >&5
21716 sed 's/^/| /' conftest.
$ac_ext >&5
21718 cat >conftest.
$ac_ext <<_ACEOF
21721 cat confdefs.h
>>conftest.
$ac_ext
21722 cat >>conftest.
$ac_ext <<_ACEOF
21723 /* end confdefs.h. */
21724 $ac_includes_default
21725 typedef long long ac__type_sizeof_;
21729 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21736 rm -f conftest.
$ac_objext
21737 if { (ac_try
="$ac_compile"
21738 case "(($ac_try" in
21739 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21740 *) ac_try_echo=$ac_try;;
21742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21743 (eval "$ac_compile") 2>conftest.er1
21745 grep -v '^ *+' conftest.er1 >conftest.err
21747 cat conftest.err >&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); } && {
21750 test -z "$ac_c_werror_flag" ||
21751 test ! -s conftest.err
21752 } && test -s conftest.$ac_objext; then
21755 cat >conftest.$ac_ext <<_ACEOF
21758 cat confdefs.h >>conftest.$ac_ext
21759 cat >>conftest.$ac_ext <<_ACEOF
21760 /* end confdefs.h. */
21761 $ac_includes_default
21762 typedef long long ac__type_sizeof_;
21766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21773 rm -f conftest.$ac_objext
21774 if { (ac_try="$ac_compile"
21775 case "(($ac_try" in
21776 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21777 *) ac_try_echo
=$ac_try;;
21779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21780 (eval "$ac_compile") 2>conftest.er1
21782 grep -v '^ *+' conftest.er1
>conftest.err
21784 cat conftest.err
>&5
21785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21786 (exit $ac_status); } && {
21787 test -z "$ac_c_werror_flag" ||
21788 test ! -s conftest.err
21789 } && test -s conftest.
$ac_objext; then
21790 ac_lo
=$ac_mid; break
21792 echo "$as_me: failed program was:" >&5
21793 sed 's/^/| /' conftest.
$ac_ext >&5
21795 ac_hi
=`expr '(' $ac_mid ')' - 1`
21796 if test $ac_mid -le $ac_hi; then
21800 ac_mid
=`expr 2 '*' $ac_mid`
21803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21806 echo "$as_me: failed program was:" >&5
21807 sed 's/^/| /' conftest.
$ac_ext >&5
21812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21816 # Binary search between lo and hi bounds.
21817 while test "x$ac_lo" != "x$ac_hi"; do
21818 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21819 cat >conftest.
$ac_ext <<_ACEOF
21822 cat confdefs.h
>>conftest.
$ac_ext
21823 cat >>conftest.
$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21825 $ac_includes_default
21826 typedef long long ac__type_sizeof_;
21830 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21837 rm -f conftest.
$ac_objext
21838 if { (ac_try
="$ac_compile"
21839 case "(($ac_try" in
21840 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21841 *) ac_try_echo=$ac_try;;
21843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21844 (eval "$ac_compile") 2>conftest.er1
21846 grep -v '^ *+' conftest.er1 >conftest.err
21848 cat conftest.err >&5
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); } && {
21851 test -z "$ac_c_werror_flag" ||
21852 test ! -s conftest.err
21853 } && test -s conftest.$ac_objext; then
21856 echo "$as_me: failed program was:" >&5
21857 sed 's/^/| /' conftest.$ac_ext >&5
21859 ac_lo=`expr '(' $ac_mid ')' + 1`
21862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21865 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21866 '') if test "$ac_cv_type_long_long" = yes; then
21867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21868 See \`config.log
' for more details." >&5
21869 echo "$as_me: error: cannot compute sizeof (long long)
21870 See \`config.log' for more details.
" >&2;}
21871 { (exit 77); exit 77; }; }
21873 ac_cv_sizeof_long_long=0
21877 cat >conftest.$ac_ext <<_ACEOF
21880 cat confdefs.h >>conftest.$ac_ext
21881 cat >>conftest.$ac_ext <<_ACEOF
21882 /* end confdefs.h. */
21883 $ac_includes_default
21884 typedef long long ac__type_sizeof_;
21885 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21886 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21888 #include <stdlib.h>
21893 FILE *f = fopen ("conftest.val
", "w
");
21896 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21898 long int i = longval ();
21899 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21901 fprintf (f, "%ld
\n", i);
21905 unsigned long int i = ulongval ();
21906 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21908 fprintf (f, "%lu
\n", i);
21910 return ferror (f) || fclose (f) != 0;
21916 rm -f conftest$ac_exeext
21917 if { (ac_try="$ac_link"
21918 case "(($ac_try" in
21919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21920 *) ac_try_echo=$ac_try;;
21922 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21923 (eval "$ac_link") 2>&5
21925 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21926 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21927 { (case "(($ac_try" in
21928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21929 *) ac_try_echo=$ac_try;;
21931 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21932 (eval "$ac_try") 2>&5
21934 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21935 (exit $ac_status); }; }; then
21936 ac_cv_sizeof_long_long=`cat conftest.val`
21938 echo "$as_me: program exited with status
$ac_status" >&5
21939 echo "$as_me: failed program was
:" >&5
21940 sed 's/^/| /' conftest.$ac_ext >&5
21942 ( exit $ac_status )
21943 if test "$ac_cv_type_long_long" = yes; then
21944 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21945 See \
`config.log' for more details." >&5
21946 echo "$as_me: error: cannot compute sizeof (long long)
21947 See \`config.log
' for more details." >&2;}
21948 { (exit 77); exit 77; }; }
21950 ac_cv_sizeof_long_long=0
21953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21957 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21958 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21962 cat >>confdefs.h <<_ACEOF
21963 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21969 { echo "$as_me:$LINENO: checking for long long" >&5
21970 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21971 if test "${ac_cv_type_long_long+set}" = set; then
21972 echo $ECHO_N "(cached) $ECHO_C" >&6
21974 cat >conftest.$ac_ext <<_ACEOF
21977 cat confdefs.h >>conftest.$ac_ext
21978 cat >>conftest.$ac_ext <<_ACEOF
21979 /* end confdefs.h. */
21980 $ac_includes_default
21981 typedef long long ac__type_new_;
21985 if ((ac__type_new_ *) 0)
21987 if (sizeof (ac__type_new_))
21993 rm -f conftest.$ac_objext
21994 if { (ac_try="$ac_compile"
21995 case "(($ac_try" in
21996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21997 *) ac_try_echo=$ac_try;;
21999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22000 (eval "$ac_compile") 2>conftest.er1
22002 grep -v '^
*+' conftest.er1 >conftest.err
22004 cat conftest.err >&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); } && {
22007 test -z "$ac_c_werror_flag" ||
22008 test ! -s conftest.err
22009 } && test -s conftest.$ac_objext; then
22010 ac_cv_type_long_long=yes
22012 echo "$as_me: failed program was:" >&5
22013 sed 's
/^
/| /' conftest.$ac_ext >&5
22015 ac_cv_type_long_long=no
22018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22020 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22021 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22023 # The cast to long int works around a bug in the HP C Compiler
22024 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22025 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22026 # This bug is HP SR number 8606223364.
22027 { echo "$as_me:$LINENO: checking size of long long" >&5
22028 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22029 if test "${ac_cv_sizeof_long_long+set}" = set; then
22030 echo $ECHO_N "(cached) $ECHO_C" >&6
22032 if test "$cross_compiling" = yes; then
22033 # Depending upon the size, compute the lo and hi bounds.
22034 cat >conftest.
$ac_ext <<_ACEOF
22037 cat confdefs.h
>>conftest.
$ac_ext
22038 cat >>conftest.
$ac_ext <<_ACEOF
22039 /* end confdefs.h. */
22040 $ac_includes_default
22041 typedef long long ac__type_sizeof_;
22045 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22052 rm -f conftest.
$ac_objext
22053 if { (ac_try
="$ac_compile"
22054 case "(($ac_try" in
22055 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22056 *) ac_try_echo=$ac_try;;
22058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22059 (eval "$ac_compile") 2>conftest.er1
22061 grep -v '^ *+' conftest.er1 >conftest.err
22063 cat conftest.err >&5
22064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065 (exit $ac_status); } && {
22066 test -z "$ac_c_werror_flag" ||
22067 test ! -s conftest.err
22068 } && test -s conftest.$ac_objext; then
22071 cat >conftest.$ac_ext <<_ACEOF
22074 cat confdefs.h >>conftest.$ac_ext
22075 cat >>conftest.$ac_ext <<_ACEOF
22076 /* end confdefs.h. */
22077 $ac_includes_default
22078 typedef long long ac__type_sizeof_;
22082 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22089 rm -f conftest.$ac_objext
22090 if { (ac_try="$ac_compile"
22091 case "(($ac_try" in
22092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22093 *) ac_try_echo
=$ac_try;;
22095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22096 (eval "$ac_compile") 2>conftest.er1
22098 grep -v '^ *+' conftest.er1
>conftest.err
22100 cat conftest.err
>&5
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); } && {
22103 test -z "$ac_c_werror_flag" ||
22104 test ! -s conftest.err
22105 } && test -s conftest.
$ac_objext; then
22106 ac_hi
=$ac_mid; break
22108 echo "$as_me: failed program was:" >&5
22109 sed 's/^/| /' conftest.
$ac_ext >&5
22111 ac_lo
=`expr $ac_mid + 1`
22112 if test $ac_lo -le $ac_mid; then
22116 ac_mid
=`expr 2 '*' $ac_mid + 1`
22119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22122 echo "$as_me: failed program was:" >&5
22123 sed 's/^/| /' conftest.
$ac_ext >&5
22125 cat >conftest.
$ac_ext <<_ACEOF
22128 cat confdefs.h
>>conftest.
$ac_ext
22129 cat >>conftest.
$ac_ext <<_ACEOF
22130 /* end confdefs.h. */
22131 $ac_includes_default
22132 typedef long long ac__type_sizeof_;
22136 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22143 rm -f conftest.
$ac_objext
22144 if { (ac_try
="$ac_compile"
22145 case "(($ac_try" in
22146 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22147 *) ac_try_echo=$ac_try;;
22149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22150 (eval "$ac_compile") 2>conftest.er1
22152 grep -v '^ *+' conftest.er1 >conftest.err
22154 cat conftest.err >&5
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); } && {
22157 test -z "$ac_c_werror_flag" ||
22158 test ! -s conftest.err
22159 } && test -s conftest.$ac_objext; then
22162 cat >conftest.$ac_ext <<_ACEOF
22165 cat confdefs.h >>conftest.$ac_ext
22166 cat >>conftest.$ac_ext <<_ACEOF
22167 /* end confdefs.h. */
22168 $ac_includes_default
22169 typedef long long ac__type_sizeof_;
22173 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22180 rm -f conftest.$ac_objext
22181 if { (ac_try="$ac_compile"
22182 case "(($ac_try" in
22183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22184 *) ac_try_echo
=$ac_try;;
22186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22187 (eval "$ac_compile") 2>conftest.er1
22189 grep -v '^ *+' conftest.er1
>conftest.err
22191 cat conftest.err
>&5
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); } && {
22194 test -z "$ac_c_werror_flag" ||
22195 test ! -s conftest.err
22196 } && test -s conftest.
$ac_objext; then
22197 ac_lo
=$ac_mid; break
22199 echo "$as_me: failed program was:" >&5
22200 sed 's/^/| /' conftest.
$ac_ext >&5
22202 ac_hi
=`expr '(' $ac_mid ')' - 1`
22203 if test $ac_mid -le $ac_hi; then
22207 ac_mid
=`expr 2 '*' $ac_mid`
22210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22213 echo "$as_me: failed program was:" >&5
22214 sed 's/^/| /' conftest.
$ac_ext >&5
22219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22223 # Binary search between lo and hi bounds.
22224 while test "x$ac_lo" != "x$ac_hi"; do
22225 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22226 cat >conftest.
$ac_ext <<_ACEOF
22229 cat confdefs.h
>>conftest.
$ac_ext
22230 cat >>conftest.
$ac_ext <<_ACEOF
22231 /* end confdefs.h. */
22232 $ac_includes_default
22233 typedef long long ac__type_sizeof_;
22237 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22244 rm -f conftest.
$ac_objext
22245 if { (ac_try
="$ac_compile"
22246 case "(($ac_try" in
22247 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22248 *) ac_try_echo=$ac_try;;
22250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22251 (eval "$ac_compile") 2>conftest.er1
22253 grep -v '^ *+' conftest.er1 >conftest.err
22255 cat conftest.err >&5
22256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257 (exit $ac_status); } && {
22258 test -z "$ac_c_werror_flag" ||
22259 test ! -s conftest.err
22260 } && test -s conftest.$ac_objext; then
22263 echo "$as_me: failed program was:" >&5
22264 sed 's/^/| /' conftest.$ac_ext >&5
22266 ac_lo=`expr '(' $ac_mid ')' + 1`
22269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22272 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22273 '') if test "$ac_cv_type_long_long" = yes; then
22274 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22275 See \`config.log
' for more details." >&5
22276 echo "$as_me: error: cannot compute sizeof (long long)
22277 See \`config.log' for more details.
" >&2;}
22278 { (exit 77); exit 77; }; }
22280 ac_cv_sizeof_long_long=0
22284 cat >conftest.$ac_ext <<_ACEOF
22287 cat confdefs.h >>conftest.$ac_ext
22288 cat >>conftest.$ac_ext <<_ACEOF
22289 /* end confdefs.h. */
22290 $ac_includes_default
22291 typedef long long ac__type_sizeof_;
22292 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22293 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22295 #include <stdlib.h>
22300 FILE *f = fopen ("conftest.val
", "w
");
22303 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22305 long int i = longval ();
22306 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22308 fprintf (f, "%ld
\n", i);
22312 unsigned long int i = ulongval ();
22313 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22315 fprintf (f, "%lu
\n", i);
22317 return ferror (f) || fclose (f) != 0;
22323 rm -f conftest$ac_exeext
22324 if { (ac_try="$ac_link"
22325 case "(($ac_try" in
22326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22327 *) ac_try_echo=$ac_try;;
22329 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22330 (eval "$ac_link") 2>&5
22332 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22333 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22334 { (case "(($ac_try" in
22335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22336 *) ac_try_echo=$ac_try;;
22338 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22339 (eval "$ac_try") 2>&5
22341 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22342 (exit $ac_status); }; }; then
22343 ac_cv_sizeof_long_long=`cat conftest.val`
22345 echo "$as_me: program exited with status
$ac_status" >&5
22346 echo "$as_me: failed program was
:" >&5
22347 sed 's/^/| /' conftest.$ac_ext >&5
22349 ( exit $ac_status )
22350 if test "$ac_cv_type_long_long" = yes; then
22351 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22352 See \
`config.log' for more details." >&5
22353 echo "$as_me: error: cannot compute sizeof (long long)
22354 See \`config.log
' for more details." >&2;}
22355 { (exit 77); exit 77; }; }
22357 ac_cv_sizeof_long_long=0
22360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22364 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22365 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22369 cat >>confdefs.h <<_ACEOF
22370 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22374 if test "$ac_cv_sizeof_long_long" != 0; then
22375 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22379 { echo "$as_me:$LINENO: checking for long long" >&5
22380 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22381 if test "${ac_cv_type_long_long+set}" = set; then
22382 echo $ECHO_N "(cached) $ECHO_C" >&6
22384 cat >conftest.$ac_ext <<_ACEOF
22387 cat confdefs.h >>conftest.$ac_ext
22388 cat >>conftest.$ac_ext <<_ACEOF
22389 /* end confdefs.h. */
22390 $ac_includes_default
22391 typedef long long ac__type_new_;
22395 if ((ac__type_new_ *) 0)
22397 if (sizeof (ac__type_new_))
22403 rm -f conftest.$ac_objext
22404 if { (ac_try="$ac_compile"
22405 case "(($ac_try" in
22406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22407 *) ac_try_echo=$ac_try;;
22409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22410 (eval "$ac_compile") 2>conftest.er1
22412 grep -v '^
*+' conftest.er1 >conftest.err
22414 cat conftest.err >&5
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); } && {
22417 test -z "$ac_c_werror_flag" ||
22418 test ! -s conftest.err
22419 } && test -s conftest.$ac_objext; then
22420 ac_cv_type_long_long=yes
22422 echo "$as_me: failed program was:" >&5
22423 sed 's
/^
/| /' conftest.$ac_ext >&5
22425 ac_cv_type_long_long=no
22428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22430 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22431 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22433 # The cast to long int works around a bug in the HP C Compiler
22434 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22435 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22436 # This bug is HP SR number 8606223364.
22437 { echo "$as_me:$LINENO: checking size of long long" >&5
22438 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22439 if test "${ac_cv_sizeof_long_long+set}" = set; then
22440 echo $ECHO_N "(cached) $ECHO_C" >&6
22442 if test "$cross_compiling" = yes; then
22443 # Depending upon the size, compute the lo and hi bounds.
22444 cat >conftest.
$ac_ext <<_ACEOF
22447 cat confdefs.h
>>conftest.
$ac_ext
22448 cat >>conftest.
$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22450 $ac_includes_default
22451 typedef long long ac__type_sizeof_;
22455 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22462 rm -f conftest.
$ac_objext
22463 if { (ac_try
="$ac_compile"
22464 case "(($ac_try" in
22465 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22466 *) ac_try_echo=$ac_try;;
22468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22469 (eval "$ac_compile") 2>conftest.er1
22471 grep -v '^ *+' conftest.er1 >conftest.err
22473 cat conftest.err >&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } && {
22476 test -z "$ac_c_werror_flag" ||
22477 test ! -s conftest.err
22478 } && test -s conftest.$ac_objext; then
22481 cat >conftest.$ac_ext <<_ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 $ac_includes_default
22488 typedef long long ac__type_sizeof_;
22492 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22499 rm -f conftest.$ac_objext
22500 if { (ac_try="$ac_compile"
22501 case "(($ac_try" in
22502 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22503 *) ac_try_echo
=$ac_try;;
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_compile") 2>conftest.er1
22508 grep -v '^ *+' conftest.er1
>conftest.err
22510 cat conftest.err
>&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } && {
22513 test -z "$ac_c_werror_flag" ||
22514 test ! -s conftest.err
22515 } && test -s conftest.
$ac_objext; then
22516 ac_hi
=$ac_mid; break
22518 echo "$as_me: failed program was:" >&5
22519 sed 's/^/| /' conftest.
$ac_ext >&5
22521 ac_lo
=`expr $ac_mid + 1`
22522 if test $ac_lo -le $ac_mid; then
22526 ac_mid
=`expr 2 '*' $ac_mid + 1`
22529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22532 echo "$as_me: failed program was:" >&5
22533 sed 's/^/| /' conftest.
$ac_ext >&5
22535 cat >conftest.
$ac_ext <<_ACEOF
22538 cat confdefs.h
>>conftest.
$ac_ext
22539 cat >>conftest.
$ac_ext <<_ACEOF
22540 /* end confdefs.h. */
22541 $ac_includes_default
22542 typedef long long ac__type_sizeof_;
22546 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22553 rm -f conftest.
$ac_objext
22554 if { (ac_try
="$ac_compile"
22555 case "(($ac_try" in
22556 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22557 *) ac_try_echo=$ac_try;;
22559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22560 (eval "$ac_compile") 2>conftest.er1
22562 grep -v '^ *+' conftest.er1 >conftest.err
22564 cat conftest.err >&5
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); } && {
22567 test -z "$ac_c_werror_flag" ||
22568 test ! -s conftest.err
22569 } && test -s conftest.$ac_objext; then
22572 cat >conftest.$ac_ext <<_ACEOF
22575 cat confdefs.h >>conftest.$ac_ext
22576 cat >>conftest.$ac_ext <<_ACEOF
22577 /* end confdefs.h. */
22578 $ac_includes_default
22579 typedef long long ac__type_sizeof_;
22583 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22590 rm -f conftest.$ac_objext
22591 if { (ac_try="$ac_compile"
22592 case "(($ac_try" in
22593 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22594 *) ac_try_echo
=$ac_try;;
22596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22597 (eval "$ac_compile") 2>conftest.er1
22599 grep -v '^ *+' conftest.er1
>conftest.err
22601 cat conftest.err
>&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); } && {
22604 test -z "$ac_c_werror_flag" ||
22605 test ! -s conftest.err
22606 } && test -s conftest.
$ac_objext; then
22607 ac_lo
=$ac_mid; break
22609 echo "$as_me: failed program was:" >&5
22610 sed 's/^/| /' conftest.
$ac_ext >&5
22612 ac_hi
=`expr '(' $ac_mid ')' - 1`
22613 if test $ac_mid -le $ac_hi; then
22617 ac_mid
=`expr 2 '*' $ac_mid`
22620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22623 echo "$as_me: failed program was:" >&5
22624 sed 's/^/| /' conftest.
$ac_ext >&5
22629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22633 # Binary search between lo and hi bounds.
22634 while test "x$ac_lo" != "x$ac_hi"; do
22635 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22636 cat >conftest.
$ac_ext <<_ACEOF
22639 cat confdefs.h
>>conftest.
$ac_ext
22640 cat >>conftest.
$ac_ext <<_ACEOF
22641 /* end confdefs.h. */
22642 $ac_includes_default
22643 typedef long long ac__type_sizeof_;
22647 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22654 rm -f conftest.
$ac_objext
22655 if { (ac_try
="$ac_compile"
22656 case "(($ac_try" in
22657 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22658 *) ac_try_echo=$ac_try;;
22660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22661 (eval "$ac_compile") 2>conftest.er1
22663 grep -v '^ *+' conftest.er1 >conftest.err
22665 cat conftest.err >&5
22666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22667 (exit $ac_status); } && {
22668 test -z "$ac_c_werror_flag" ||
22669 test ! -s conftest.err
22670 } && test -s conftest.$ac_objext; then
22673 echo "$as_me: failed program was:" >&5
22674 sed 's/^/| /' conftest.$ac_ext >&5
22676 ac_lo=`expr '(' $ac_mid ')' + 1`
22679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22682 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22683 '') if test "$ac_cv_type_long_long" = yes; then
22684 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22685 See \`config.log
' for more details." >&5
22686 echo "$as_me: error: cannot compute sizeof (long long)
22687 See \`config.log' for more details.
" >&2;}
22688 { (exit 77); exit 77; }; }
22690 ac_cv_sizeof_long_long=0
22694 cat >conftest.$ac_ext <<_ACEOF
22697 cat confdefs.h >>conftest.$ac_ext
22698 cat >>conftest.$ac_ext <<_ACEOF
22699 /* end confdefs.h. */
22700 $ac_includes_default
22701 typedef long long ac__type_sizeof_;
22702 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22703 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22705 #include <stdlib.h>
22710 FILE *f = fopen ("conftest.val
", "w
");
22713 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22715 long int i = longval ();
22716 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22718 fprintf (f, "%ld
\n", i);
22722 unsigned long int i = ulongval ();
22723 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22725 fprintf (f, "%lu
\n", i);
22727 return ferror (f) || fclose (f) != 0;
22733 rm -f conftest$ac_exeext
22734 if { (ac_try="$ac_link"
22735 case "(($ac_try" in
22736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22737 *) ac_try_echo=$ac_try;;
22739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22740 (eval "$ac_link") 2>&5
22742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22743 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22744 { (case "(($ac_try" in
22745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22746 *) ac_try_echo=$ac_try;;
22748 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22749 (eval "$ac_try") 2>&5
22751 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22752 (exit $ac_status); }; }; then
22753 ac_cv_sizeof_long_long=`cat conftest.val`
22755 echo "$as_me: program exited with status
$ac_status" >&5
22756 echo "$as_me: failed program was
:" >&5
22757 sed 's/^/| /' conftest.$ac_ext >&5
22759 ( exit $ac_status )
22760 if test "$ac_cv_type_long_long" = yes; then
22761 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22762 See \
`config.log' for more details." >&5
22763 echo "$as_me: error: cannot compute sizeof (long long)
22764 See \`config.log
' for more details." >&2;}
22765 { (exit 77); exit 77; }; }
22767 ac_cv_sizeof_long_long=0
22770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22774 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22775 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22779 cat >>confdefs.h <<_ACEOF
22780 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22786 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22787 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22788 if test "${ac_cv_type_wchar_t+set}" = set; then
22789 echo $ECHO_N "(cached) $ECHO_C" >&6
22791 cat >conftest.$ac_ext <<_ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22798 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22799 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22800 # error "fake wchar_t"
22802 #ifdef HAVE_WCHAR_H
22804 # include <stddef.h>
22806 # include <wchar.h>
22808 #ifdef HAVE_STDLIB_H
22809 # include <stdlib.h>
22815 typedef wchar_t ac__type_new_
;
22819 if ((ac__type_new_
*) 0)
22821 if (sizeof
(ac__type_new_
))
22827 rm -f conftest.
$ac_objext
22828 if { (ac_try
="$ac_compile"
22829 case "(($ac_try" in
22830 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22831 *) ac_try_echo=$ac_try;;
22833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22834 (eval "$ac_compile") 2>conftest.er1
22836 grep -v '^ *+' conftest.er1 >conftest.err
22838 cat conftest.err >&5
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); } && {
22841 test -z "$ac_c_werror_flag" ||
22842 test ! -s conftest.err
22843 } && test -s conftest.$ac_objext; then
22844 ac_cv_type_wchar_t=yes
22846 echo "$as_me: failed program was:" >&5
22847 sed 's/^/| /' conftest.$ac_ext >&5
22849 ac_cv_type_wchar_t=no
22852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22854 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22855 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22857 # The cast to long int works around a bug in the HP C Compiler
22858 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22859 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22860 # This bug is HP SR number 8606223364.
22861 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22862 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22863 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22864 echo $ECHO_N "(cached) $ECHO_C" >&6
22866 if test "$cross_compiling" = yes; then
22867 # Depending upon the size, compute the lo and hi bounds.
22868 cat >conftest.$ac_ext <<_ACEOF
22871 cat confdefs.h >>conftest.$ac_ext
22872 cat >>conftest.$ac_ext <<_ACEOF
22873 /* end confdefs.h. */
22875 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22876 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22877 # error "fake wchar_t"
22879 #ifdef HAVE_WCHAR_H
22881 # include <stddef.h>
22883 # include <wchar.h>
22885 #ifdef HAVE_STDLIB_H
22886 # include <stdlib.h>
22892 typedef wchar_t ac__type_sizeof_
;
22896 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22903 rm -f conftest.
$ac_objext
22904 if { (ac_try
="$ac_compile"
22905 case "(($ac_try" in
22906 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22907 *) ac_try_echo=$ac_try;;
22909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22910 (eval "$ac_compile") 2>conftest.er1
22912 grep -v '^ *+' conftest.er1 >conftest.err
22914 cat conftest.err >&5
22915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916 (exit $ac_status); } && {
22917 test -z "$ac_c_werror_flag" ||
22918 test ! -s conftest.err
22919 } && test -s conftest.$ac_objext; then
22922 cat >conftest.$ac_ext <<_ACEOF
22925 cat confdefs.h >>conftest.$ac_ext
22926 cat >>conftest.$ac_ext <<_ACEOF
22927 /* end confdefs.h. */
22929 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22930 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22931 # error "fake wchar_t"
22933 #ifdef HAVE_WCHAR_H
22935 # include <stddef.h>
22937 # include <wchar.h>
22939 #ifdef HAVE_STDLIB_H
22940 # include <stdlib.h>
22946 typedef wchar_t ac__type_sizeof_;
22950 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22957 rm -f conftest.$ac_objext
22958 if { (ac_try="$ac_compile"
22959 case "(($ac_try" in
22960 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22961 *) ac_try_echo
=$ac_try;;
22963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22964 (eval "$ac_compile") 2>conftest.er1
22966 grep -v '^ *+' conftest.er1
>conftest.err
22968 cat conftest.err
>&5
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); } && {
22971 test -z "$ac_c_werror_flag" ||
22972 test ! -s conftest.err
22973 } && test -s conftest.
$ac_objext; then
22974 ac_hi
=$ac_mid; break
22976 echo "$as_me: failed program was:" >&5
22977 sed 's/^/| /' conftest.
$ac_ext >&5
22979 ac_lo
=`expr $ac_mid + 1`
22980 if test $ac_lo -le $ac_mid; then
22984 ac_mid
=`expr 2 '*' $ac_mid + 1`
22987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22990 echo "$as_me: failed program was:" >&5
22991 sed 's/^/| /' conftest.
$ac_ext >&5
22993 cat >conftest.
$ac_ext <<_ACEOF
22996 cat confdefs.h
>>conftest.
$ac_ext
22997 cat >>conftest.
$ac_ext <<_ACEOF
22998 /* end confdefs.h. */
23000 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23001 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23002 # error "fake wchar_t"
23004 #ifdef HAVE_WCHAR_H
23006 # include <stddef.h>
23008 # include <wchar.h>
23010 #ifdef HAVE_STDLIB_H
23011 # include <stdlib.h>
23017 typedef wchar_t ac__type_sizeof_;
23021 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23028 rm -f conftest.
$ac_objext
23029 if { (ac_try
="$ac_compile"
23030 case "(($ac_try" in
23031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23032 *) ac_try_echo=$ac_try;;
23034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23035 (eval "$ac_compile") 2>conftest.er1
23037 grep -v '^ *+' conftest.er1 >conftest.err
23039 cat conftest.err >&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); } && {
23042 test -z "$ac_c_werror_flag" ||
23043 test ! -s conftest.err
23044 } && test -s conftest.$ac_objext; then
23047 cat >conftest.$ac_ext <<_ACEOF
23050 cat confdefs.h >>conftest.$ac_ext
23051 cat >>conftest.$ac_ext <<_ACEOF
23052 /* end confdefs.h. */
23054 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23055 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23056 # error "fake wchar_t"
23058 #ifdef HAVE_WCHAR_H
23060 # include <stddef.h>
23062 # include <wchar.h>
23064 #ifdef HAVE_STDLIB_H
23065 # include <stdlib.h>
23071 typedef wchar_t ac__type_sizeof_;
23075 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23082 rm -f conftest.$ac_objext
23083 if { (ac_try="$ac_compile"
23084 case "(($ac_try" in
23085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23086 *) ac_try_echo
=$ac_try;;
23088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23089 (eval "$ac_compile") 2>conftest.er1
23091 grep -v '^ *+' conftest.er1
>conftest.err
23093 cat conftest.err
>&5
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); } && {
23096 test -z "$ac_c_werror_flag" ||
23097 test ! -s conftest.err
23098 } && test -s conftest.
$ac_objext; then
23099 ac_lo
=$ac_mid; break
23101 echo "$as_me: failed program was:" >&5
23102 sed 's/^/| /' conftest.
$ac_ext >&5
23104 ac_hi
=`expr '(' $ac_mid ')' - 1`
23105 if test $ac_mid -le $ac_hi; then
23109 ac_mid
=`expr 2 '*' $ac_mid`
23112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23115 echo "$as_me: failed program was:" >&5
23116 sed 's/^/| /' conftest.
$ac_ext >&5
23121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23125 # Binary search between lo and hi bounds.
23126 while test "x$ac_lo" != "x$ac_hi"; do
23127 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23128 cat >conftest.
$ac_ext <<_ACEOF
23131 cat confdefs.h
>>conftest.
$ac_ext
23132 cat >>conftest.
$ac_ext <<_ACEOF
23133 /* end confdefs.h. */
23135 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23136 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23137 # error "fake wchar_t"
23139 #ifdef HAVE_WCHAR_H
23141 # include <stddef.h>
23143 # include <wchar.h>
23145 #ifdef HAVE_STDLIB_H
23146 # include <stdlib.h>
23152 typedef wchar_t ac__type_sizeof_;
23156 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23163 rm -f conftest.
$ac_objext
23164 if { (ac_try
="$ac_compile"
23165 case "(($ac_try" in
23166 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23167 *) ac_try_echo=$ac_try;;
23169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23170 (eval "$ac_compile") 2>conftest.er1
23172 grep -v '^ *+' conftest.er1 >conftest.err
23174 cat conftest.err >&5
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); } && {
23177 test -z "$ac_c_werror_flag" ||
23178 test ! -s conftest.err
23179 } && test -s conftest.$ac_objext; then
23182 echo "$as_me: failed program was:" >&5
23183 sed 's/^/| /' conftest.$ac_ext >&5
23185 ac_lo=`expr '(' $ac_mid ')' + 1`
23188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23191 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23192 '') if test "$ac_cv_type_wchar_t" = yes; then
23193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23194 See \`config.log
' for more details." >&5
23195 echo "$as_me: error: cannot compute sizeof (wchar_t)
23196 See \`config.log' for more details.
" >&2;}
23197 { (exit 77); exit 77; }; }
23199 ac_cv_sizeof_wchar_t=0
23203 cat >conftest.$ac_ext <<_ACEOF
23206 cat confdefs.h >>conftest.$ac_ext
23207 cat >>conftest.$ac_ext <<_ACEOF
23208 /* end confdefs.h. */
23210 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23211 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23212 # error "fake wchar_t
"
23214 #ifdef HAVE_WCHAR_H
23216 # include <stddef.h>
23218 # include <wchar.h>
23220 #ifdef HAVE_STDLIB_H
23221 # include <stdlib.h>
23227 typedef wchar_t ac__type_sizeof_;
23228 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23229 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23231 #include <stdlib.h>
23236 FILE *f = fopen ("conftest.val
", "w
");
23239 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23241 long int i = longval ();
23242 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23244 fprintf (f, "%ld
\n", i);
23248 unsigned long int i = ulongval ();
23249 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23251 fprintf (f, "%lu
\n", i);
23253 return ferror (f) || fclose (f) != 0;
23259 rm -f conftest$ac_exeext
23260 if { (ac_try="$ac_link"
23261 case "(($ac_try" in
23262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23263 *) ac_try_echo=$ac_try;;
23265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23266 (eval "$ac_link") 2>&5
23268 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23270 { (case "(($ac_try" in
23271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23272 *) ac_try_echo=$ac_try;;
23274 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23275 (eval "$ac_try") 2>&5
23277 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23278 (exit $ac_status); }; }; then
23279 ac_cv_sizeof_wchar_t=`cat conftest.val`
23281 echo "$as_me: program exited with status
$ac_status" >&5
23282 echo "$as_me: failed program was
:" >&5
23283 sed 's/^/| /' conftest.$ac_ext >&5
23285 ( exit $ac_status )
23286 if test "$ac_cv_type_wchar_t" = yes; then
23287 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23288 See \
`config.log' for more details." >&5
23289 echo "$as_me: error: cannot compute sizeof (wchar_t)
23290 See \`config.log
' for more details." >&2;}
23291 { (exit 77); exit 77; }; }
23293 ac_cv_sizeof_wchar_t=0
23296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23300 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23301 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23305 cat >>confdefs.h <<_ACEOF
23306 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23310 if test "$ac_cv_sizeof_wchar_t" != 0; then
23316 { echo "$as_me:$LINENO: checking for va_copy" >&5
23317 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23318 if test "${wx_cv_func_va_copy+set}" = set; then
23319 echo $ECHO_N "(cached) $ECHO_C" >&6
23323 ac_cpp='$CXXCPP $CPPFLAGS'
23324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23325 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23328 cat >conftest.$ac_ext <<_ACEOF
23330 #include <stdarg.h>
23331 void foo(char *f, ...)
23345 rm -f conftest.$ac_objext conftest$ac_exeext
23346 if { (ac_try="$ac_link"
23347 case "(($ac_try" in
23348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23349 *) ac_try_echo=$ac_try;;
23351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23352 (eval "$ac_link") 2>conftest.er1
23354 grep -v '^
*+' conftest.er1 >conftest.err
23356 cat conftest.err >&5
23357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358 (exit $ac_status); } && {
23359 test -z "$ac_cxx_werror_flag" ||
23360 test ! -s conftest.err
23361 } && test -s conftest$ac_exeext &&
23362 $as_test_x conftest$ac_exeext; then
23363 wx_cv_func_va_copy=yes
23365 echo "$as_me: failed program was:" >&5
23366 sed 's
/^
/| /' conftest.$ac_ext >&5
23368 wx_cv_func_va_copy=no
23372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23373 conftest$ac_exeext conftest.$ac_ext
23375 ac_cpp='$CPP $CPPFLAGS'
23376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23377 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23383 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23384 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23386 if test $wx_cv_func_va_copy = "yes"; then
23387 cat >>confdefs.h <<\_ACEOF
23388 #define HAVE_VA_COPY 1
23392 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23393 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23394 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23395 echo $ECHO_N "(cached) $ECHO_C" >&6
23398 if test "$cross_compiling" = yes; then
23399 wx_cv_type_va_list_lvalue=yes
23402 cat >conftest.$ac_ext <<_ACEOF
23404 #include <stdarg.h>
23405 int foo(char *f, ...)
23410 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23418 return foo("hi", 17);
23421 rm -f conftest$ac_exeext
23422 if { (ac_try="$ac_link"
23423 case "(($ac_try" in
23424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23425 *) ac_try_echo=$ac_try;;
23427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23428 (eval "$ac_link") 2>&5
23430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23432 { (case "(($ac_try" in
23433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23434 *) ac_try_echo=$ac_try;;
23436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23437 (eval "$ac_try") 2>&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); }; }; then
23441 wx_cv_type_va_list_lvalue=yes
23443 echo "$as_me: program exited with status $ac_status" >&5
23444 echo "$as_me: failed program was:" >&5
23445 sed 's
/^
/| /' conftest.$ac_ext >&5
23447 ( exit $ac_status )
23448 wx_cv_type_va_list_lvalue=no
23450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23457 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23458 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23460 if test $wx_cv_type_va_list_lvalue != "yes"; then
23461 cat >>confdefs.h <<\_ACEOF
23462 #define VA_LIST_IS_ARRAY 1
23468 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23470 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23471 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23472 if test "${wx_cv_have_variadic_macros+set}" = set; then
23473 echo $ECHO_N "(cached) $ECHO_C" >&6
23477 ac_cpp='$CXXCPP $CPPFLAGS'
23478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23479 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23482 cat >conftest.$ac_ext <<_ACEOF
23485 cat confdefs.h >>conftest.$ac_ext
23486 cat >>conftest.$ac_ext <<_ACEOF
23487 /* end confdefs.h. */
23490 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23496 test("%s %d %p", "test", 1, 0);
23503 rm -f conftest.$ac_objext
23504 if { (ac_try="$ac_compile"
23505 case "(($ac_try" in
23506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23507 *) ac_try_echo=$ac_try;;
23509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23510 (eval "$ac_compile") 2>conftest.er1
23512 grep -v '^
*+' conftest.er1 >conftest.err
23514 cat conftest.err >&5
23515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23516 (exit $ac_status); } && {
23517 test -z "$ac_cxx_werror_flag" ||
23518 test ! -s conftest.err
23519 } && test -s conftest.$ac_objext; then
23520 wx_cv_have_variadic_macros=yes
23522 echo "$as_me: failed program was:" >&5
23523 sed 's
/^
/| /' conftest.$ac_ext >&5
23525 wx_cv_have_variadic_macros=no
23529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23531 ac_cpp='$CPP $CPPFLAGS'
23532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23533 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23539 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23540 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23542 if test $wx_cv_have_variadic_macros = "yes"; then
23543 cat >>confdefs.h <<\_ACEOF
23544 #define HAVE_VARIADIC_MACROS 1
23551 LARGEFILE_CPPFLAGS=
23552 # Check whether --enable-largefile was given.
23553 if test "${enable_largefile+set}" = set; then
23554 enableval=$enable_largefile;
23557 if test "$enable_largefile" != no; then
23560 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23561 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23562 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23563 echo $ECHO_N "(cached) $ECHO_C" >&6
23566 cat >conftest.$ac_ext <<_ACEOF
23569 cat confdefs.h >>conftest.$ac_ext
23570 cat >>conftest.$ac_ext <<_ACEOF
23571 /* end confdefs.h. */
23572 #define _FILE_OFFSET_BITS 64
23573 #include <sys/types.h>
23578 unsigned int field: sizeof(off_t) == 8;
23585 rm -f conftest.$ac_objext
23586 if { (ac_try="$ac_compile"
23587 case "(($ac_try" in
23588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23589 *) ac_try_echo=$ac_try;;
23591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23592 (eval "$ac_compile") 2>conftest.er1
23594 grep -v '^
*+' conftest.er1 >conftest.err
23596 cat conftest.err >&5
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); } && {
23599 test -z "$ac_c_werror_flag" ||
23600 test ! -s conftest.err
23601 } && test -s conftest.$ac_objext; then
23602 ac_cv_sys_file_offset_bits=64
23604 echo "$as_me: failed program was:" >&5
23605 sed 's
/^
/| /' conftest.$ac_ext >&5
23607 ac_cv_sys_file_offset_bits=no
23610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23614 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23615 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23617 if test "$ac_cv_sys_file_offset_bits" != no; then
23619 cat >>confdefs.h <<_ACEOF
23620 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23625 if test "x$wx_largefile" != "xyes"; then
23627 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23628 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23629 if test "${ac_cv_sys_large_files+set}" = set; then
23630 echo $ECHO_N "(cached) $ECHO_C" >&6
23633 cat >conftest.$ac_ext <<_ACEOF
23636 cat confdefs.h >>conftest.$ac_ext
23637 cat >>conftest.$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23639 #define _LARGE_FILES 1
23640 #include <sys/types.h>
23645 unsigned int field: sizeof(off_t) == 8;
23652 rm -f conftest.$ac_objext
23653 if { (ac_try="$ac_compile"
23654 case "(($ac_try" in
23655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23656 *) ac_try_echo=$ac_try;;
23658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23659 (eval "$ac_compile") 2>conftest.er1
23661 grep -v '^
*+' conftest.er1 >conftest.err
23663 cat conftest.err >&5
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); } && {
23666 test -z "$ac_c_werror_flag" ||
23667 test ! -s conftest.err
23668 } && test -s conftest.$ac_objext; then
23669 ac_cv_sys_large_files=1
23671 echo "$as_me: failed program was:" >&5
23672 sed 's
/^
/| /' conftest.$ac_ext >&5
23674 ac_cv_sys_large_files=no
23677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23681 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23682 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23684 if test "$ac_cv_sys_large_files" != no; then
23686 cat >>confdefs.h <<_ACEOF
23687 #define _LARGE_FILES $ac_cv_sys_large_files
23694 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23695 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23696 if test "x$wx_largefile" = "xyes"; then
23697 cat >>confdefs.h <<\_ACEOF
23698 #define HAVE_LARGEFILE_SUPPORT 1
23702 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23703 echo "${ECHO_T}$wx_largefile" >&6; }
23706 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23707 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23708 elif test "$ac_cv_sys_large_files" = 1; then
23709 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23712 if test -n "$LARGEFILE_CPPFLAGS"; then
23713 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23715 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23716 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23717 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23718 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23719 echo $ECHO_N "(cached) $ECHO_C" >&6
23723 ac_cpp='$CXXCPP $CPPFLAGS'
23724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23725 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23728 cat >conftest.$ac_ext <<_ACEOF
23731 cat confdefs.h >>conftest.$ac_ext
23732 cat >>conftest.$ac_ext <<_ACEOF
23733 /* end confdefs.h. */
23739 #ifndef __STDC_EXT__
23747 rm -f conftest.$ac_objext
23748 if { (ac_try="$ac_compile"
23749 case "(($ac_try" in
23750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23751 *) ac_try_echo=$ac_try;;
23753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23754 (eval "$ac_compile") 2>conftest.er1
23756 grep -v '^
*+' conftest.er1 >conftest.err
23758 cat conftest.err >&5
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); } && {
23761 test -z "$ac_cxx_werror_flag" ||
23762 test ! -s conftest.err
23763 } && test -s conftest.$ac_objext; then
23764 wx_cv_STDC_EXT_required=no
23766 echo "$as_me: failed program was:" >&5
23767 sed 's
/^
/| /' conftest.$ac_ext >&5
23769 wx_cv_STDC_EXT_required=yes
23773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23775 ac_cpp='$CPP $CPPFLAGS'
23776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23777 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23783 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23784 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23785 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23786 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23792 ac_cpp='$CXXCPP $CPPFLAGS'
23793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23794 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23797 old_CPPFLAGS="$CPPFLAGS"
23798 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23799 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23800 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23801 if test "${ac_cv_sys_largefile_source+set}" = set; then
23802 echo $ECHO_N "(cached) $ECHO_C" >&6
23805 cat >conftest.$ac_ext <<_ACEOF
23808 cat confdefs.h >>conftest.$ac_ext
23809 cat >>conftest.$ac_ext <<_ACEOF
23810 /* end confdefs.h. */
23811 #include <sys/types.h> /* for off_t */
23816 int (*fp) (FILE *, off_t, int) = fseeko;
23817 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23822 rm -f conftest.$ac_objext conftest$ac_exeext
23823 if { (ac_try="$ac_link"
23824 case "(($ac_try" in
23825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23826 *) ac_try_echo=$ac_try;;
23828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23829 (eval "$ac_link") 2>conftest.er1
23831 grep -v '^
*+' conftest.er1 >conftest.err
23833 cat conftest.err >&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } && {
23836 test -z "$ac_cxx_werror_flag" ||
23837 test ! -s conftest.err
23838 } && test -s conftest$ac_exeext &&
23839 $as_test_x conftest$ac_exeext; then
23840 ac_cv_sys_largefile_source=no; break
23842 echo "$as_me: failed program was:" >&5
23843 sed 's
/^
/| /' conftest.$ac_ext >&5
23848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23849 conftest$ac_exeext conftest.$ac_ext
23850 cat >conftest.$ac_ext <<_ACEOF
23853 cat confdefs.h >>conftest.$ac_ext
23854 cat >>conftest.$ac_ext <<_ACEOF
23855 /* end confdefs.h. */
23856 #define _LARGEFILE_SOURCE 1
23857 #include <sys/types.h> /* for off_t */
23862 int (*fp) (FILE *, off_t, int) = fseeko;
23863 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23868 rm -f conftest.$ac_objext conftest$ac_exeext
23869 if { (ac_try="$ac_link"
23870 case "(($ac_try" in
23871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23872 *) ac_try_echo=$ac_try;;
23874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23875 (eval "$ac_link") 2>conftest.er1
23877 grep -v '^
*+' conftest.er1 >conftest.err
23879 cat conftest.err >&5
23880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23881 (exit $ac_status); } && {
23882 test -z "$ac_cxx_werror_flag" ||
23883 test ! -s conftest.err
23884 } && test -s conftest$ac_exeext &&
23885 $as_test_x conftest$ac_exeext; then
23886 ac_cv_sys_largefile_source=1; break
23888 echo "$as_me: failed program was:" >&5
23889 sed 's
/^
/| /' conftest.$ac_ext >&5
23894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23895 conftest$ac_exeext conftest.$ac_ext
23896 ac_cv_sys_largefile_source=unknown
23900 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23901 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23902 case $ac_cv_sys_largefile_source in #(
23905 cat >>confdefs.h <<_ACEOF
23906 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23912 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23913 # in glibc 2.1.3, but that breaks too many other things.
23914 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23915 if test $ac_cv_sys_largefile_source != unknown; then
23917 cat >>confdefs.h <<\_ACEOF
23918 #define HAVE_FSEEKO 1
23923 CPPFLAGS="$old_CPPFLAGS"
23925 ac_cpp='$CPP $CPPFLAGS'
23926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23927 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23930 if test "$ac_cv_sys_largefile_source" != no; then
23931 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23934 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23935 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23936 if test "${ac_cv_c_bigendian+set}" = set; then
23937 echo $ECHO_N "(cached) $ECHO_C" >&6
23939 ac_cv_c_bigendian=unknown
23940 # See if sys/param.h defines the BYTE_ORDER macro.
23941 cat >conftest.$ac_ext <<_ACEOF
23944 cat confdefs.h >>conftest.$ac_ext
23945 cat >>conftest.$ac_ext <<_ACEOF
23946 /* end confdefs.h. */
23947 #include <sys/types.h>
23948 #include <sys/param.h>
23953 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23954 bogus endian macros
23960 rm -f conftest.$ac_objext
23961 if { (ac_try="$ac_compile"
23962 case "(($ac_try" in
23963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23964 *) ac_try_echo=$ac_try;;
23966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23967 (eval "$ac_compile") 2>conftest.er1
23969 grep -v '^
*+' conftest.er1 >conftest.err
23971 cat conftest.err >&5
23972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23973 (exit $ac_status); } && {
23974 test -z "$ac_c_werror_flag" ||
23975 test ! -s conftest.err
23976 } && test -s conftest.$ac_objext; then
23977 # It does; now see whether it defined to BIG_ENDIAN or not.
23978 cat >conftest.$ac_ext <<_ACEOF
23981 cat confdefs.h >>conftest.$ac_ext
23982 cat >>conftest.$ac_ext <<_ACEOF
23983 /* end confdefs.h. */
23984 #include <sys/types.h>
23985 #include <sys/param.h>
23990 #if BYTE_ORDER != BIG_ENDIAN
23997 rm -f conftest.$ac_objext
23998 if { (ac_try="$ac_compile"
23999 case "(($ac_try" in
24000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24001 *) ac_try_echo=$ac_try;;
24003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24004 (eval "$ac_compile") 2>conftest.er1
24006 grep -v '^
*+' conftest.er1 >conftest.err
24008 cat conftest.err >&5
24009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24010 (exit $ac_status); } && {
24011 test -z "$ac_c_werror_flag" ||
24012 test ! -s conftest.err
24013 } && test -s conftest.$ac_objext; then
24014 ac_cv_c_bigendian=yes
24016 echo "$as_me: failed program was:" >&5
24017 sed 's
/^
/| /' conftest.$ac_ext >&5
24019 ac_cv_c_bigendian=no
24022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24024 echo "$as_me: failed program was:" >&5
24025 sed 's
/^
/| /' conftest.$ac_ext >&5
24030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24031 if test $ac_cv_c_bigendian = unknown; then
24032 if test "$cross_compiling" = yes; then
24033 ac_cv_c_bigendian=unknown
24035 cat >conftest.$ac_ext <<_ACEOF
24038 cat confdefs.h >>conftest.$ac_ext
24039 cat >>conftest.$ac_ext <<_ACEOF
24040 /* end confdefs.h. */
24042 /* Are we little or big endian? From Harbison&Steele. */
24046 char c[sizeof (long)];
24049 exit (u.c[sizeof (long) - 1] == 1);
24052 rm -f conftest$ac_exeext
24053 if { (ac_try="$ac_link"
24054 case "(($ac_try" in
24055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24056 *) ac_try_echo=$ac_try;;
24058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24059 (eval "$ac_link") 2>&5
24061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24062 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24063 { (case "(($ac_try" in
24064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24065 *) ac_try_echo=$ac_try;;
24067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24068 (eval "$ac_try") 2>&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); }; }; then
24072 ac_cv_c_bigendian=no
24074 echo "$as_me: program exited with status $ac_status" >&5
24075 echo "$as_me: failed program was:" >&5
24076 sed 's
/^
/| /' conftest.$ac_ext >&5
24078 ( exit $ac_status )
24079 ac_cv_c_bigendian=yes
24081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24087 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24088 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24089 if test $ac_cv_c_bigendian = unknown; then
24090 { 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
24091 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;}
24093 if test $ac_cv_c_bigendian = yes; then
24094 cat >>confdefs.h <<\_ACEOF
24095 #define WORDS_BIGENDIAN 1
24104 ac_cpp='$CXXCPP $CPPFLAGS'
24105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24106 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24111 for ac_header in iostream
24113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24114 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24117 echo $ECHO_N "(cached) $ECHO_C" >&6
24119 cat >conftest.$ac_ext <<_ACEOF
24122 cat confdefs.h >>conftest.$ac_ext
24123 cat >>conftest.$ac_ext <<_ACEOF
24124 /* end confdefs.h. */
24127 #include <$ac_header>
24129 rm -f conftest.$ac_objext
24130 if { (ac_try="$ac_compile"
24131 case "(($ac_try" in
24132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24133 *) ac_try_echo=$ac_try;;
24135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24136 (eval "$ac_compile") 2>conftest.er1
24138 grep -v '^
*+' conftest.er1 >conftest.err
24140 cat conftest.err >&5
24141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24142 (exit $ac_status); } && {
24143 test -z "$ac_cxx_werror_flag" ||
24144 test ! -s conftest.err
24145 } && test -s conftest.$ac_objext; then
24146 eval "$as_ac_Header=yes"
24148 echo "$as_me: failed program was:" >&5
24149 sed 's
/^
/| /' conftest.$ac_ext >&5
24151 eval "$as_ac_Header=no"
24154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24156 ac_res=`eval echo '${'$as_ac_Header'}'`
24157 { echo "$as_me:$LINENO: result: $ac_res" >&5
24158 echo "${ECHO_T}$ac_res" >&6; }
24159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24160 cat >>confdefs.h <<_ACEOF
24161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24169 if test "$ac_cv_header_iostream" = "yes" ; then
24172 cat >>confdefs.h <<\_ACEOF
24173 #define wxUSE_IOSTREAMH 1
24179 ac_cpp='$CPP $CPPFLAGS'
24180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24181 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24187 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24188 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24189 if test "${wx_cv_explicit+set}" = set; then
24190 echo $ECHO_N "(cached) $ECHO_C" >&6
24195 ac_cpp='$CXXCPP $CPPFLAGS'
24196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24197 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24201 cat >conftest.$ac_ext <<_ACEOF
24204 cat confdefs.h >>conftest.$ac_ext
24205 cat >>conftest.$ac_ext <<_ACEOF
24206 /* end confdefs.h. */
24208 class Foo { public: explicit Foo(int) {} };
24220 rm -f conftest.$ac_objext
24221 if { (ac_try="$ac_compile"
24222 case "(($ac_try" in
24223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24224 *) ac_try_echo=$ac_try;;
24226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24227 (eval "$ac_compile") 2>conftest.er1
24229 grep -v '^
*+' conftest.er1 >conftest.err
24231 cat conftest.err >&5
24232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24233 (exit $ac_status); } && {
24234 test -z "$ac_cxx_werror_flag" ||
24235 test ! -s conftest.err
24236 } && test -s conftest.$ac_objext; then
24238 cat >conftest.$ac_ext <<_ACEOF
24241 cat confdefs.h >>conftest.$ac_ext
24242 cat >>conftest.$ac_ext <<_ACEOF
24243 /* end confdefs.h. */
24245 class Foo { public: explicit Foo(int) {} };
24246 static void TakeFoo(const Foo& foo) { }
24259 rm -f conftest.$ac_objext
24260 if { (ac_try="$ac_compile"
24261 case "(($ac_try" in
24262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24263 *) ac_try_echo=$ac_try;;
24265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24266 (eval "$ac_compile") 2>conftest.er1
24268 grep -v '^
*+' conftest.er1 >conftest.err
24270 cat conftest.err >&5
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); } && {
24273 test -z "$ac_cxx_werror_flag" ||
24274 test ! -s conftest.err
24275 } && test -s conftest.$ac_objext; then
24278 echo "$as_me: failed program was:" >&5
24279 sed 's
/^
/| /' conftest.$ac_ext >&5
24285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24288 echo "$as_me: failed program was:" >&5
24289 sed 's
/^
/| /' conftest.$ac_ext >&5
24295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24298 ac_cpp='$CPP $CPPFLAGS'
24299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24300 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24305 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24306 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24308 if test "$wx_cv_explicit" = "yes"; then
24309 cat >>confdefs.h <<\_ACEOF
24310 #define HAVE_EXPLICIT 1
24316 if test "x$SUNCXX" = xyes; then
24317 CXXFLAGS="-features=tmplife $CXXFLAGS"
24320 if test "x$SUNCC" = xyes; then
24321 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24324 if test "x$SGICC" = "xyes"; then
24325 CFLAGS="-woff 3970 $CFLAGS"
24327 if test "x$SGICXX" = "xyes"; then
24328 CXXFLAGS="-woff 3970 $CXXFLAGS"
24331 if test "x$HPCC" = "xyes"; then
24332 CFLAGS="+W 2011,2450 $CFLAGS"
24334 if test "x$HPCXX" = "xyes"; then
24335 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24338 if test "x$COMPAQCXX" = "xyes"; then
24339 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24343 ac_cpp='$CXXCPP $CPPFLAGS'
24344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24345 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24349 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24350 if test "$wxUSE_UNICODE" = "yes"; then
24351 std_string="std::wstring"
24352 char_type="wchar_t"
24354 std_string="std::string"
24358 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24359 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24360 if test "${wx_cv_class_stdstring+set}" = set; then
24361 echo $ECHO_N "(cached) $ECHO_C" >&6
24364 cat >conftest.$ac_ext <<_ACEOF
24367 cat confdefs.h >>conftest.$ac_ext
24368 cat >>conftest.$ac_ext <<_ACEOF
24369 /* end confdefs.h. */
24379 rm -f conftest.$ac_objext
24380 if { (ac_try="$ac_compile"
24381 case "(($ac_try" in
24382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24383 *) ac_try_echo=$ac_try;;
24385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24386 (eval "$ac_compile") 2>conftest.er1
24388 grep -v '^
*+' conftest.er1 >conftest.err
24390 cat conftest.err >&5
24391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24392 (exit $ac_status); } && {
24393 test -z "$ac_cxx_werror_flag" ||
24394 test ! -s conftest.err
24395 } && test -s conftest.$ac_objext; then
24396 wx_cv_class_stdstring=yes
24398 echo "$as_me: failed program was:" >&5
24399 sed 's
/^
/| /' conftest.$ac_ext >&5
24401 wx_cv_class_stdstring=no
24405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24409 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24410 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24412 if test "$wx_cv_class_stdstring" = yes; then
24413 if test "$wxUSE_UNICODE" = "yes"; then
24414 cat >>confdefs.h <<\_ACEOF
24415 #define HAVE_STD_WSTRING 1
24420 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24421 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24422 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24423 echo $ECHO_N "(cached) $ECHO_C" >&6
24426 cat >conftest.$ac_ext <<_ACEOF
24429 cat confdefs.h >>conftest.$ac_ext
24430 cat >>conftest.$ac_ext <<_ACEOF
24431 /* end confdefs.h. */
24433 #ifdef HAVE_WCHAR_H
24435 # include <stddef.h>
24437 # include <wchar.h>
24439 #ifdef HAVE_STDLIB_H
24440 # include <stdlib.h>
24448 std::basic_string<$char_type> foo;
24449 const $char_type* dummy = foo.c_str();
24454 rm -f conftest.$ac_objext
24455 if { (ac_try="$ac_compile"
24456 case "(($ac_try" in
24457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24458 *) ac_try_echo=$ac_try;;
24460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24461 (eval "$ac_compile") 2>conftest.er1
24463 grep -v '^
*+' conftest.er1 >conftest.err
24465 cat conftest.err >&5
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); } && {
24468 test -z "$ac_cxx_werror_flag" ||
24469 test ! -s conftest.err
24470 } && test -s conftest.$ac_objext; then
24471 wx_cv_class_stdbasicstring=yes
24473 echo "$as_me: failed program was:" >&5
24474 sed 's
/^
/| /' conftest.$ac_ext >&5
24476 wx_cv_class_stdbasicstring=no
24480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24484 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24485 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24487 if test "$wx_cv_class_stdbasicstring" != yes; then
24488 if test "$wxUSE_STL" = "yes"; then
24489 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24490 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24491 { (exit 1); exit 1; }; }
24492 elif test "$wxUSE_STD_STRING" = "yes"; then
24493 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24494 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24495 { (exit 1); exit 1; }; }
24497 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24498 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24499 wxUSE_STD_STRING=no
24505 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24506 { echo "$as_me:$LINENO: checking for std::istream" >&5
24507 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24508 if test "${ac_cv_type_std__istream+set}" = set; then
24509 echo $ECHO_N "(cached) $ECHO_C" >&6
24511 cat >conftest.$ac_ext <<_ACEOF
24514 cat confdefs.h >>conftest.$ac_ext
24515 cat >>conftest.$ac_ext <<_ACEOF
24516 /* end confdefs.h. */
24517 #include <iostream>
24519 typedef std::istream ac__type_new_;
24523 if ((ac__type_new_ *) 0)
24525 if (sizeof (ac__type_new_))
24531 rm -f conftest.$ac_objext
24532 if { (ac_try="$ac_compile"
24533 case "(($ac_try" in
24534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24535 *) ac_try_echo=$ac_try;;
24537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24538 (eval "$ac_compile") 2>conftest.er1
24540 grep -v '^
*+' conftest.er1 >conftest.err
24542 cat conftest.err >&5
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); } && {
24545 test -z "$ac_cxx_werror_flag" ||
24546 test ! -s conftest.err
24547 } && test -s conftest.$ac_objext; then
24548 ac_cv_type_std__istream=yes
24550 echo "$as_me: failed program was:" >&5
24551 sed 's
/^
/| /' conftest.$ac_ext >&5
24553 ac_cv_type_std__istream=no
24556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24558 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24559 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24560 if test $ac_cv_type_std__istream = yes; then
24562 cat >>confdefs.h <<_ACEOF
24563 #define HAVE_STD__ISTREAM 1
24568 wxUSE_STD_IOSTREAM=no
24570 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24571 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24572 if test "${ac_cv_type_std__ostream+set}" = set; then
24573 echo $ECHO_N "(cached) $ECHO_C" >&6
24575 cat >conftest.$ac_ext <<_ACEOF
24578 cat confdefs.h >>conftest.$ac_ext
24579 cat >>conftest.$ac_ext <<_ACEOF
24580 /* end confdefs.h. */
24581 #include <iostream>
24583 typedef std::ostream ac__type_new_;
24587 if ((ac__type_new_ *) 0)
24589 if (sizeof (ac__type_new_))
24595 rm -f conftest.$ac_objext
24596 if { (ac_try="$ac_compile"
24597 case "(($ac_try" in
24598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24599 *) ac_try_echo=$ac_try;;
24601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24602 (eval "$ac_compile") 2>conftest.er1
24604 grep -v '^
*+' conftest.er1 >conftest.err
24606 cat conftest.err >&5
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); } && {
24609 test -z "$ac_cxx_werror_flag" ||
24610 test ! -s conftest.err
24611 } && test -s conftest.$ac_objext; then
24612 ac_cv_type_std__ostream=yes
24614 echo "$as_me: failed program was:" >&5
24615 sed 's
/^
/| /' conftest.$ac_ext >&5
24617 ac_cv_type_std__ostream=no
24620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24622 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24623 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24624 if test $ac_cv_type_std__ostream = yes; then
24626 cat >>confdefs.h <<_ACEOF
24627 #define HAVE_STD__OSTREAM 1
24632 wxUSE_STD_IOSTREAM=no
24636 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24637 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24638 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24639 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24640 { (exit 1); exit 1; }; }
24642 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24643 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24648 if test "$wxUSE_STL" = "yes"; then
24649 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24650 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24651 if test "${wx_cv_lib_stl+set}" = set; then
24652 echo $ECHO_N "(cached) $ECHO_C" >&6
24654 cat >conftest.$ac_ext <<_ACEOF
24657 cat confdefs.h >>conftest.$ac_ext
24658 cat >>conftest.$ac_ext <<_ACEOF
24659 /* end confdefs.h. */
24661 #include <functional>
24662 #include <algorithm>
24668 std::vector<int> moo;
24669 std::list<int> foo;
24670 std::vector<int>::iterator it =
24671 std::find_if(moo.begin(), moo.end(),
24672 std::bind2nd(std::less<int>(), 3));
24677 rm -f conftest.$ac_objext
24678 if { (ac_try="$ac_compile"
24679 case "(($ac_try" in
24680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24681 *) ac_try_echo=$ac_try;;
24683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24684 (eval "$ac_compile") 2>conftest.er1
24686 grep -v '^
*+' conftest.er1 >conftest.err
24688 cat conftest.err >&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } && {
24691 test -z "$ac_cxx_werror_flag" ||
24692 test ! -s conftest.err
24693 } && test -s conftest.$ac_objext; then
24696 echo "$as_me: failed program was:" >&5
24697 sed 's
/^
/| /' conftest.$ac_ext >&5
24703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24706 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24707 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24709 if test "$wx_cv_lib_stl" != yes; then
24710 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24711 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24712 { (exit 1); exit 1; }; }
24715 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24716 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24717 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24718 echo $ECHO_N "(cached) $ECHO_C" >&6
24720 cat >conftest.$ac_ext <<_ACEOF
24723 cat confdefs.h >>conftest.$ac_ext
24724 cat >>conftest.$ac_ext <<_ACEOF
24725 /* end confdefs.h. */
24730 std::string foo, bar;
24732 foo.compare(1, 1, bar);
24733 foo.compare(1, 1, bar, 1, 1);
24735 foo.compare(1, 1, "");
24736 foo.compare(1, 1, "", 2);
24741 rm -f conftest.$ac_objext
24742 if { (ac_try="$ac_compile"
24743 case "(($ac_try" in
24744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24745 *) ac_try_echo=$ac_try;;
24747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24748 (eval "$ac_compile") 2>conftest.er1
24750 grep -v '^
*+' conftest.er1 >conftest.err
24752 cat conftest.err >&5
24753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24754 (exit $ac_status); } && {
24755 test -z "$ac_cxx_werror_flag" ||
24756 test ! -s conftest.err
24757 } && test -s conftest.$ac_objext; then
24758 wx_cv_func_stdstring_compare=yes
24760 echo "$as_me: failed program was:" >&5
24761 sed 's
/^
/| /' conftest.$ac_ext >&5
24763 wx_cv_func_stdstring_compare=no
24767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24770 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24771 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24773 if test "$wx_cv_func_stdstring_compare" = yes; then
24774 cat >>confdefs.h <<\_ACEOF
24775 #define HAVE_STD_STRING_COMPARE 1
24780 if test "$wx_cv_class_gnuhashmapset" = yes; then
24781 cat >>confdefs.h <<\_ACEOF
24782 #define HAVE_EXT_HASH_MAP 1
24785 cat >>confdefs.h <<\_ACEOF
24786 #define HAVE_GNU_CXX_HASH_MAP 1
24791 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24792 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24793 if test "${ac_cv_header_unordered_map+set}" = set; then
24794 echo $ECHO_N "(cached) $ECHO_C" >&6
24796 cat >conftest.$ac_ext <<_ACEOF
24799 cat confdefs.h >>conftest.$ac_ext
24800 cat >>conftest.$ac_ext <<_ACEOF
24801 /* end confdefs.h. */
24805 #include <unordered_map>
24807 rm -f conftest.$ac_objext
24808 if { (ac_try="$ac_compile"
24809 case "(($ac_try" in
24810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24811 *) ac_try_echo=$ac_try;;
24813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24814 (eval "$ac_compile") 2>conftest.er1
24816 grep -v '^
*+' conftest.er1 >conftest.err
24818 cat conftest.err >&5
24819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24820 (exit $ac_status); } && {
24821 test -z "$ac_cxx_werror_flag" ||
24822 test ! -s conftest.err
24823 } && test -s conftest.$ac_objext; then
24824 ac_cv_header_unordered_map=yes
24826 echo "$as_me: failed program was:" >&5
24827 sed 's
/^
/| /' conftest.$ac_ext >&5
24829 ac_cv_header_unordered_map=no
24832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24834 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24835 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24836 if test $ac_cv_header_unordered_map = yes; then
24837 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24838 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24839 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24840 echo $ECHO_N "(cached) $ECHO_C" >&6
24842 cat >conftest.$ac_ext <<_ACEOF
24845 cat confdefs.h >>conftest.$ac_ext
24846 cat >>conftest.$ac_ext <<_ACEOF
24847 /* end confdefs.h. */
24848 #include <unordered_map>
24849 #include <unordered_set>
24853 std::unordered_map<double*, char*> test1;
24854 std::unordered_set<char*> test2;
24859 rm -f conftest.$ac_objext
24860 if { (ac_try="$ac_compile"
24861 case "(($ac_try" in
24862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24863 *) ac_try_echo=$ac_try;;
24865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24866 (eval "$ac_compile") 2>conftest.er1
24868 grep -v '^
*+' conftest.er1 >conftest.err
24870 cat conftest.err >&5
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); } && {
24873 test -z "$ac_cxx_werror_flag" ||
24874 test ! -s conftest.err
24875 } && test -s conftest.$ac_objext; then
24876 wx_cv_class_stdunorderedmapset=yes
24878 echo "$as_me: failed program was:" >&5
24879 sed 's
/^
/| /' conftest.$ac_ext >&5
24881 wx_cv_class_stdunorderedmapset=no
24884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24888 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24889 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24894 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24895 cat >>confdefs.h <<\_ACEOF
24896 #define HAVE_STD_UNORDERED_MAP 1
24899 cat >>confdefs.h <<\_ACEOF
24900 #define HAVE_STD_UNORDERED_SET 1
24904 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24905 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24906 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24907 echo $ECHO_N "(cached) $ECHO_C" >&6
24909 cat >conftest.$ac_ext <<_ACEOF
24912 cat confdefs.h >>conftest.$ac_ext
24913 cat >>conftest.$ac_ext <<_ACEOF
24914 /* end confdefs.h. */
24918 #include <tr1/unordered_map>
24920 rm -f conftest.$ac_objext
24921 if { (ac_try="$ac_compile"
24922 case "(($ac_try" in
24923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24924 *) ac_try_echo=$ac_try;;
24926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24927 (eval "$ac_compile") 2>conftest.er1
24929 grep -v '^
*+' conftest.er1 >conftest.err
24931 cat conftest.err >&5
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); } && {
24934 test -z "$ac_cxx_werror_flag" ||
24935 test ! -s conftest.err
24936 } && test -s conftest.$ac_objext; then
24937 ac_cv_header_tr1_unordered_map=yes
24939 echo "$as_me: failed program was:" >&5
24940 sed 's
/^
/| /' conftest.$ac_ext >&5
24942 ac_cv_header_tr1_unordered_map=no
24945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24947 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24948 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24949 if test $ac_cv_header_tr1_unordered_map = yes; then
24950 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24951 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24952 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24955 cat >conftest.$ac_ext <<_ACEOF
24958 cat confdefs.h >>conftest.$ac_ext
24959 cat >>conftest.$ac_ext <<_ACEOF
24960 /* end confdefs.h. */
24961 #include <tr1/unordered_map>
24962 #include <tr1/unordered_set>
24966 std::tr1::unordered_map<double*, char*> test1;
24967 std::tr1::unordered_set<char*> test2;
24968 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24969 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
24975 rm -f conftest.
$ac_objext
24976 if { (ac_try
="$ac_compile"
24977 case "(($ac_try" in
24978 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24979 *) ac_try_echo=$ac_try;;
24981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24982 (eval "$ac_compile") 2>conftest.er1
24984 grep -v '^ *+' conftest.er1 >conftest.err
24986 cat conftest.err >&5
24987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988 (exit $ac_status); } && {
24989 test -z "$ac_cxx_werror_flag" ||
24990 test ! -s conftest.err
24991 } && test -s conftest.$ac_objext; then
24992 wx_cv_class_tr1unorderedmapset=yes
24994 echo "$as_me: failed program was:" >&5
24995 sed 's/^/| /' conftest.$ac_ext >&5
24997 wx_cv_class_tr1unorderedmapset=no
25000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25004 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25005 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25010 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25011 cat >>confdefs.h <<\_ACEOF
25012 #define HAVE_TR1_UNORDERED_MAP 1
25015 cat >>confdefs.h <<\_ACEOF
25016 #define HAVE_TR1_UNORDERED_SET 1
25020 { echo "$as_me:$LINENO: checking for hash_map" >&5
25021 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25022 if test "${ac_cv_header_hash_map+set}" = set; then
25023 echo $ECHO_N "(cached) $ECHO_C" >&6
25025 cat >conftest.$ac_ext <<_ACEOF
25028 cat confdefs.h >>conftest.$ac_ext
25029 cat >>conftest.$ac_ext <<_ACEOF
25030 /* end confdefs.h. */
25034 #include <hash_map>
25036 rm -f conftest.$ac_objext
25037 if { (ac_try="$ac_compile"
25038 case "(($ac_try" in
25039 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25040 *) ac_try_echo
=$ac_try;;
25042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25043 (eval "$ac_compile") 2>conftest.er1
25045 grep -v '^ *+' conftest.er1
>conftest.err
25047 cat conftest.err
>&5
25048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25049 (exit $ac_status); } && {
25050 test -z "$ac_cxx_werror_flag" ||
25051 test ! -s conftest.err
25052 } && test -s conftest.
$ac_objext; then
25053 ac_cv_header_hash_map
=yes
25055 echo "$as_me: failed program was:" >&5
25056 sed 's/^/| /' conftest.
$ac_ext >&5
25058 ac_cv_header_hash_map
=no
25061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25063 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25064 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25065 if test $ac_cv_header_hash_map = yes; then
25066 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25067 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25068 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25069 echo $ECHO_N "(cached) $ECHO_C" >&6
25071 cat >conftest.
$ac_ext <<_ACEOF
25074 cat confdefs.h
>>conftest.
$ac_ext
25075 cat >>conftest.
$ac_ext <<_ACEOF
25076 /* end confdefs.h. */
25077 #include <hash_map>
25078 #include <hash_set>
25082 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25083 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25088 rm -f conftest.
$ac_objext
25089 if { (ac_try
="$ac_compile"
25090 case "(($ac_try" in
25091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25092 *) ac_try_echo=$ac_try;;
25094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25095 (eval "$ac_compile") 2>conftest.er1
25097 grep -v '^ *+' conftest.er1 >conftest.err
25099 cat conftest.err >&5
25100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25101 (exit $ac_status); } && {
25102 test -z "$ac_cxx_werror_flag" ||
25103 test ! -s conftest.err
25104 } && test -s conftest.$ac_objext; then
25105 wx_cv_class_stdhashmapset=yes
25107 echo "$as_me: failed program was:" >&5
25108 sed 's/^/| /' conftest.$ac_ext >&5
25110 wx_cv_class_stdhashmapset=no
25113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25117 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25118 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25123 if test "$wx_cv_class_stdhashmapset" = yes; then
25124 cat >>confdefs.h <<\_ACEOF
25125 #define HAVE_HASH_MAP 1
25128 cat >>confdefs.h <<\_ACEOF
25129 #define HAVE_STD_HASH_MAP 1
25134 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25135 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25136 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25137 echo $ECHO_N "(cached) $ECHO_C" >&6
25139 cat >conftest.$ac_ext <<_ACEOF
25142 cat confdefs.h >>conftest.$ac_ext
25143 cat >>conftest.$ac_ext <<_ACEOF
25144 /* end confdefs.h. */
25148 #include <ext/hash_map>
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_header_ext_hash_map
=yes
25169 echo "$as_me: failed program was:" >&5
25170 sed 's/^/| /' conftest.
$ac_ext >&5
25172 ac_cv_header_ext_hash_map
=no
25175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25177 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25178 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25179 if test $ac_cv_header_ext_hash_map = yes; then
25180 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25181 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25182 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25183 echo $ECHO_N "(cached) $ECHO_C" >&6
25185 cat >conftest.
$ac_ext <<_ACEOF
25188 cat confdefs.h
>>conftest.
$ac_ext
25189 cat >>conftest.
$ac_ext <<_ACEOF
25190 /* end confdefs.h. */
25191 #include <ext/hash_map>
25192 #include <ext/hash_set>
25196 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25197 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25202 rm -f conftest.
$ac_objext
25203 if { (ac_try
="$ac_compile"
25204 case "(($ac_try" in
25205 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25206 *) ac_try_echo=$ac_try;;
25208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25209 (eval "$ac_compile") 2>conftest.er1
25211 grep -v '^ *+' conftest.er1 >conftest.err
25213 cat conftest.err >&5
25214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215 (exit $ac_status); } && {
25216 test -z "$ac_cxx_werror_flag" ||
25217 test ! -s conftest.err
25218 } && test -s conftest.$ac_objext; then
25219 wx_cv_class_gnuhashmapset=yes
25221 echo "$as_me: failed program was:" >&5
25222 sed 's/^/| /' conftest.$ac_ext >&5
25224 wx_cv_class_gnuhashmapset=no
25227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25231 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25232 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25243 if test -n "$GCC"; then
25244 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25245 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25246 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25247 echo $ECHO_N "(cached) $ECHO_C" >&6
25250 cat >conftest.$ac_ext <<_ACEOF
25253 cat confdefs.h >>conftest.$ac_ext
25254 cat >>conftest.$ac_ext <<_ACEOF
25255 /* end confdefs.h. */
25261 unsigned int value=0;
25262 /* wxAtomicInc doesn't use return value here */
25263 __sync_fetch_and_add(&value, 2);
25264 __sync_sub_and_fetch(&value, 1);
25265 /* but wxAtomicDec does, so mimic that: */
25266 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25272 rm -f conftest.$ac_objext conftest$ac_exeext
25273 if { (ac_try="$ac_link"
25274 case "(($ac_try" in
25275 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25276 *) ac_try_echo
=$ac_try;;
25278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25279 (eval "$ac_link") 2>conftest.er1
25281 grep -v '^ *+' conftest.er1
>conftest.err
25283 cat conftest.err
>&5
25284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25285 (exit $ac_status); } && {
25286 test -z "$ac_cxx_werror_flag" ||
25287 test ! -s conftest.err
25288 } && test -s conftest
$ac_exeext &&
25289 $as_test_x conftest
$ac_exeext; then
25290 wx_cv_cc_gcc_atomic_builtins
=yes
25292 echo "$as_me: failed program was:" >&5
25293 sed 's/^/| /' conftest.
$ac_ext >&5
25295 wx_cv_cc_gcc_atomic_builtins
=no
25298 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25299 conftest
$ac_exeext conftest.
$ac_ext
25303 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25304 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25305 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25306 cat >>confdefs.h
<<\_ACEOF
25307 #define HAVE_GCC_ATOMIC_BUILTINS 1
25315 ac_cpp
='$CPP $CPPFLAGS'
25316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25323 /usr/local/include \
25324 /usr/local/X11/include \
25325 /usr/local/include/X11 \
25326 /usr/local/X11R6/include \
25327 /usr/local/include/X11R6 \
25329 /usr/Motif-2.1/include \
25330 /usr/Motif-1.2/include \
25331 /usr/include/Motif1.2 \
25334 /usr/openwin/include \
25338 /usr/X11R6/include \
25339 /usr/X11R6.4/include \
25341 /usr/include/X11R6 \
25346 /usr/XFree86/include/X11 \
25349 /usr/local/X1R5/include \
25350 /usr/local/include/X11R5 \
25351 /usr/X11R5/include \
25352 /usr/include/X11R5 \
25354 /usr/local/X11R4/include \
25355 /usr/local/include/X11R4 \
25356 /usr/X11R4/include \
25357 /usr/include/X11R4 \
25359 /usr/openwin/share/include"
25361 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25362 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25366 if test "${wx_cv_std_libpath+set}" = set; then
25367 echo $ECHO_N "(cached) $ECHO_C" >&6
25370 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25371 for e
in a so sl dylib dll.a
; do
25373 if test -f $libc; then
25376 cat >conftest.
$ac_ext <<_ACEOF
25377 int main() { return 0; }
25379 rm -f conftest.
$ac_objext conftest
$ac_exeext
25380 if { (ac_try
="$ac_link"
25381 case "(($ac_try" in
25382 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25383 *) ac_try_echo=$ac_try;;
25385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25386 (eval "$ac_link") 2>conftest.er1
25388 grep -v '^ *+' conftest.er1 >conftest.err
25390 cat conftest.err >&5
25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392 (exit $ac_status); } && {
25393 test -z "$ac_c_werror_flag" ||
25394 test ! -s conftest.err
25395 } && test -s conftest$ac_exeext &&
25396 $as_test_x conftest$ac_exeext; then
25397 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25399 echo "$as_me: failed program was:" >&5
25400 sed 's/^/| /' conftest.$ac_ext >&5
25405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25406 conftest$ac_exeext conftest.$ac_ext
25408 if test "x$wx_cv_std_libpath" != "x"; then
25414 if test "x$wx_cv_std_libpath" = "x"; then
25415 wx_cv_std_libpath="lib"
25424 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25425 wx_cv_std_libpath="lib/64"
25427 wx_cv_std_libpath="lib"
25432 if test "$ac_cv_sizeof_void_p" = 8 -a \
25433 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25434 wx_cv_std_libpath="lib64"
25436 wx_cv_std_libpath="lib"
25441 wx_cv_std_libpath="lib";
25445 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25446 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25448 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25450 if test "$build" != "$host" -a "$GCC" = yes; then
25451 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25452 cross_root=`dirname $cross_root`
25453 cross_root=`dirname $cross_root`
25455 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25456 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25457 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25459 if test -z "$PKG_CONFIG_PATH"; then
25460 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25461 export PKG_CONFIG_PATH
25464 if test -z "$x_includes" -o "$x_includes" = NONE; then
25467 for ac_dir in $SEARCH_INCLUDE /usr/include;
25469 if test -f "$ac_dir/X11/Intrinsic.h"; then
25470 ac_find_includes=$ac_dir
25475 x_includes=$ac_find_includes
25477 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25480 for ac_dir in $SEARCH_LIB;
25482 for ac_extension in a so sl dylib dll.a; do
25483 if test -f "$ac_dir/libXt.$ac_extension"; then
25484 ac_find_libraries=$ac_dir
25490 x_libraries=$ac_find_libraries
25496 cat >confcache <<\_ACEOF
25497 # This file is a shell script that caches the results of configure
25498 # tests run on this system so they can be shared between configure
25499 # scripts and configure runs, see configure's option --config-cache.
25500 # It is not useful on other systems. If it contains results you don't
25501 # want to keep, you may remove or edit it.
25503 # config.status only pays attention to the cache file if you give it
25504 # the --recheck option to rerun configure.
25506 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25507 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25508 # following values.
25512 # The following way of writing the cache mishandles newlines in values,
25513 # but we know of no workaround that is simple, portable, and efficient.
25514 # So, we kill variables containing newlines.
25515 # Ultrix sh set writes to stderr and can't be redirected directly,
25516 # and sets the high bit in the cache file unless we assign to the vars.
25518 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25519 eval ac_val
=\$
$ac_var
25523 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25524 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25527 _
| IFS
| as_nl
) ;; #(
25528 *) $as_unset $ac_var ;;
25534 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25535 *${as_nl}ac_space
=\
*)
25536 # `set' does not quote correctly, so add quotes (double-quote
25537 # substitution turns \\\\ into \\, and sed turns \\ into \).
25540 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25543 # `set' quotes correctly as required by POSIX, so do not add quotes.
25544 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25553 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25555 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25557 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25558 if test -w "$cache_file"; then
25559 test "x$cache_file" != "x/dev/null" &&
25560 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25561 echo "$as_me: updating cache $cache_file" >&6;}
25562 cat confcache
>$cache_file
25564 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25565 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25570 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25571 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25572 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25573 if test "${wx_cv_lib_glibc21+set}" = set; then
25574 echo $ECHO_N "(cached) $ECHO_C" >&6
25577 cat >conftest.
$ac_ext <<_ACEOF
25580 cat confdefs.h
>>conftest.
$ac_ext
25581 cat >>conftest.
$ac_ext <<_ACEOF
25582 /* end confdefs.h. */
25583 #include <features.h>
25588 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25596 rm -f conftest.
$ac_objext
25597 if { (ac_try
="$ac_compile"
25598 case "(($ac_try" in
25599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25600 *) ac_try_echo=$ac_try;;
25602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25603 (eval "$ac_compile") 2>conftest.er1
25605 grep -v '^ *+' conftest.er1 >conftest.err
25607 cat conftest.err >&5
25608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25609 (exit $ac_status); } && {
25610 test -z "$ac_c_werror_flag" ||
25611 test ! -s conftest.err
25612 } && test -s conftest.$ac_objext; then
25614 wx_cv_lib_glibc21=yes
25617 echo "$as_me: failed program was:" >&5
25618 sed 's/^/| /' conftest.$ac_ext >&5
25621 wx_cv_lib_glibc21=no
25626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25629 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25630 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25631 if test "$wx_cv_lib_glibc21" = "yes"; then
25632 cat >>confdefs.h <<\_ACEOF
25633 #define wxHAVE_GLIBC2 1
25639 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25640 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25641 cat >>confdefs.h <<\_ACEOF
25642 #define _GNU_SOURCE 1
25653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25657 echo $ECHO_N "(cached) $ECHO_C" >&6
25659 cat >conftest.$ac_ext <<_ACEOF
25662 cat confdefs.h >>conftest.$ac_ext
25663 cat >>conftest.$ac_ext <<_ACEOF
25664 /* end confdefs.h. */
25665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25667 #define $ac_func innocuous_$ac_func
25669 /* System header to define __stub macros and hopefully few prototypes,
25670 which can conflict with char $ac_func (); below.
25671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25672 <limits.h> exists even on freestanding compilers. */
25675 # include <limits.h>
25677 # include <assert.h>
25682 /* Override any GCC internal prototype to avoid an error.
25683 Use char because int might match the return type of a GCC
25684 builtin and then its argument prototype would still apply. */
25689 /* The GNU C library defines this for functions which it implements
25690 to always fail with ENOSYS. Some functions are actually named
25691 something starting with __ and the normal name is an alias. */
25692 #if defined __stub_$ac_func || defined __stub___$ac_func
25699 return $ac_func ();
25704 rm -f conftest.$ac_objext conftest$ac_exeext
25705 if { (ac_try="$ac_link"
25706 case "(($ac_try" in
25707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25708 *) ac_try_echo
=$ac_try;;
25710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25711 (eval "$ac_link") 2>conftest.er1
25713 grep -v '^ *+' conftest.er1
>conftest.err
25715 cat conftest.err
>&5
25716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25717 (exit $ac_status); } && {
25718 test -z "$ac_c_werror_flag" ||
25719 test ! -s conftest.err
25720 } && test -s conftest
$ac_exeext &&
25721 $as_test_x conftest
$ac_exeext; then
25722 eval "$as_ac_var=yes"
25724 echo "$as_me: failed program was:" >&5
25725 sed 's/^/| /' conftest.
$ac_ext >&5
25727 eval "$as_ac_var=no"
25730 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25731 conftest
$ac_exeext conftest.
$ac_ext
25733 ac_res
=`eval echo '${'$as_ac_var'}'`
25734 { echo "$as_me:$LINENO: result: $ac_res" >&5
25735 echo "${ECHO_T}$ac_res" >&6; }
25736 if test `eval echo '${'$as_ac_var'}'` = yes; then
25737 cat >>confdefs.h
<<_ACEOF
25738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25745 for ac_func
in floor
25747 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25748 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25750 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25751 echo $ECHO_N "(cached) $ECHO_C" >&6
25753 cat >conftest.
$ac_ext <<_ACEOF
25756 cat confdefs.h
>>conftest.
$ac_ext
25757 cat >>conftest.
$ac_ext <<_ACEOF
25758 /* end confdefs.h. */
25759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25761 #define $ac_func innocuous_$ac_func
25763 /* System header to define __stub macros and hopefully few prototypes,
25764 which can conflict with char $ac_func (); below.
25765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25766 <limits.h> exists even on freestanding compilers. */
25769 # include <limits.h>
25771 # include <assert.h>
25776 /* Override any GCC internal prototype to avoid an error.
25777 Use char because int might match the return type of a GCC
25778 builtin and then its argument prototype would still apply. */
25783 /* The GNU C library defines this for functions which it implements
25784 to always fail with ENOSYS. Some functions are actually named
25785 something starting with __ and the normal name is an alias. */
25786 #if defined __stub_$ac_func || defined __stub___$ac_func
25793 return $ac_func ();
25798 rm -f conftest.
$ac_objext conftest
$ac_exeext
25799 if { (ac_try
="$ac_link"
25800 case "(($ac_try" in
25801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25802 *) ac_try_echo=$ac_try;;
25804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25805 (eval "$ac_link") 2>conftest.er1
25807 grep -v '^ *+' conftest.er1 >conftest.err
25809 cat conftest.err >&5
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); } && {
25812 test -z "$ac_c_werror_flag" ||
25813 test ! -s conftest.err
25814 } && test -s conftest$ac_exeext &&
25815 $as_test_x conftest$ac_exeext; then
25816 eval "$as_ac_var=yes"
25818 echo "$as_me: failed program was:" >&5
25819 sed 's/^/| /' conftest.$ac_ext >&5
25821 eval "$as_ac_var=no"
25824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25825 conftest$ac_exeext conftest.$ac_ext
25827 ac_res=`eval echo '${'$as_ac_var'}'`
25828 { echo "$as_me:$LINENO: result: $ac_res" >&5
25829 echo "${ECHO_T}$ac_res" >&6; }
25830 if test `eval echo '${'$as_ac_var'}'` = yes; then
25831 cat >>confdefs.h <<_ACEOF
25832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25838 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25839 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25840 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25841 { echo "$as_me:$LINENO: result: yes" >&5
25842 echo "${ECHO_T}yes" >&6; }
25844 { echo "$as_me:$LINENO: result: no" >&5
25845 echo "${ECHO_T}no" >&6; }
25847 # use different functions to avoid configure caching
25853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25854 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25856 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25857 echo $ECHO_N "(cached) $ECHO_C" >&6
25859 cat >conftest.$ac_ext <<_ACEOF
25862 cat confdefs.h >>conftest.$ac_ext
25863 cat >>conftest.$ac_ext <<_ACEOF
25864 /* end confdefs.h. */
25865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25867 #define $ac_func innocuous_$ac_func
25869 /* System header to define __stub macros and hopefully few prototypes,
25870 which can conflict with char $ac_func (); below.
25871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25872 <limits.h> exists even on freestanding compilers. */
25875 # include <limits.h>
25877 # include <assert.h>
25882 /* Override any GCC internal prototype to avoid an error.
25883 Use char because int might match the return type of a GCC
25884 builtin and then its argument prototype would still apply. */
25889 /* The GNU C library defines this for functions which it implements
25890 to always fail with ENOSYS. Some functions are actually named
25891 something starting with __ and the normal name is an alias. */
25892 #if defined __stub_$ac_func || defined __stub___$ac_func
25899 return $ac_func ();
25904 rm -f conftest.$ac_objext conftest$ac_exeext
25905 if { (ac_try="$ac_link"
25906 case "(($ac_try" in
25907 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25908 *) ac_try_echo
=$ac_try;;
25910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25911 (eval "$ac_link") 2>conftest.er1
25913 grep -v '^ *+' conftest.er1
>conftest.err
25915 cat conftest.err
>&5
25916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25917 (exit $ac_status); } && {
25918 test -z "$ac_c_werror_flag" ||
25919 test ! -s conftest.err
25920 } && test -s conftest
$ac_exeext &&
25921 $as_test_x conftest
$ac_exeext; then
25922 eval "$as_ac_var=yes"
25924 echo "$as_me: failed program was:" >&5
25925 sed 's/^/| /' conftest.
$ac_ext >&5
25927 eval "$as_ac_var=no"
25930 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25931 conftest
$ac_exeext conftest.
$ac_ext
25933 ac_res
=`eval echo '${'$as_ac_var'}'`
25934 { echo "$as_me:$LINENO: result: $ac_res" >&5
25935 echo "${ECHO_T}$ac_res" >&6; }
25936 if test `eval echo '${'$as_ac_var'}'` = yes; then
25937 cat >>confdefs.h
<<_ACEOF
25938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25945 for ac_func
in ceil
25947 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25948 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25950 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25951 echo $ECHO_N "(cached) $ECHO_C" >&6
25953 cat >conftest.
$ac_ext <<_ACEOF
25956 cat confdefs.h
>>conftest.
$ac_ext
25957 cat >>conftest.
$ac_ext <<_ACEOF
25958 /* end confdefs.h. */
25959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25961 #define $ac_func innocuous_$ac_func
25963 /* System header to define __stub macros and hopefully few prototypes,
25964 which can conflict with char $ac_func (); below.
25965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25966 <limits.h> exists even on freestanding compilers. */
25969 # include <limits.h>
25971 # include <assert.h>
25976 /* Override any GCC internal prototype to avoid an error.
25977 Use char because int might match the return type of a GCC
25978 builtin and then its argument prototype would still apply. */
25983 /* The GNU C library defines this for functions which it implements
25984 to always fail with ENOSYS. Some functions are actually named
25985 something starting with __ and the normal name is an alias. */
25986 #if defined __stub_$ac_func || defined __stub___$ac_func
25993 return $ac_func ();
25998 rm -f conftest.
$ac_objext conftest
$ac_exeext
25999 if { (ac_try
="$ac_link"
26000 case "(($ac_try" in
26001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26002 *) ac_try_echo=$ac_try;;
26004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26005 (eval "$ac_link") 2>conftest.er1
26007 grep -v '^ *+' conftest.er1 >conftest.err
26009 cat conftest.err >&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); } && {
26012 test -z "$ac_c_werror_flag" ||
26013 test ! -s conftest.err
26014 } && test -s conftest$ac_exeext &&
26015 $as_test_x conftest$ac_exeext; then
26016 eval "$as_ac_var=yes"
26018 echo "$as_me: failed program was:" >&5
26019 sed 's/^/| /' conftest.$ac_ext >&5
26021 eval "$as_ac_var=no"
26024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26025 conftest$ac_exeext conftest.$ac_ext
26027 ac_res=`eval echo '${'$as_ac_var'}'`
26028 { echo "$as_me:$LINENO: result: $ac_res" >&5
26029 echo "${ECHO_T}$ac_res" >&6; }
26030 if test `eval echo '${'$as_ac_var'}'` = yes; then
26031 cat >>confdefs.h <<_ACEOF
26032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26038 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26039 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26040 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26041 { echo "$as_me:$LINENO: result: yes" >&5
26042 echo "${ECHO_T}yes" >&6; }
26044 { echo "$as_me:$LINENO: result: no" >&5
26045 echo "${ECHO_T}no" >&6; }
26046 # not sure we should warn the user, crash, etc.
26051 ac_cpp='$CXXCPP $CPPFLAGS'
26052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26056 if test "wxUSE_UNICODE" = "yes"; then
26058 for wx_func in wcstoull
26060 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26061 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26062 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26063 echo $ECHO_N "(cached) $ECHO_C" >&6
26066 cat >conftest.$ac_ext <<_ACEOF
26070 cat confdefs.h >>conftest.$ac_ext
26071 cat >>conftest.$ac_ext <<_ACEOF
26072 /* end confdefs.h. */
26075 $ac_includes_default
26091 rm -f conftest.$ac_objext conftest$ac_exeext
26092 if { (ac_try="$ac_link"
26093 case "(($ac_try" in
26094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26095 *) ac_try_echo
=$ac_try;;
26097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26098 (eval "$ac_link") 2>conftest.er1
26100 grep -v '^ *+' conftest.er1
>conftest.err
26102 cat conftest.err
>&5
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); } && {
26105 test -z "$ac_cxx_werror_flag" ||
26106 test ! -s conftest.err
26107 } && test -s conftest
$ac_exeext &&
26108 $as_test_x conftest
$ac_exeext; then
26109 eval wx_cv_func_
$wx_func=yes
26111 echo "$as_me: failed program was:" >&5
26112 sed 's/^/| /' conftest.
$ac_ext >&5
26114 eval wx_cv_func_
$wx_func=no
26117 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26118 conftest
$ac_exeext conftest.
$ac_ext
26121 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26122 { echo "$as_me:$LINENO: result: $ac_res" >&5
26123 echo "${ECHO_T}$ac_res" >&6; }
26125 if eval test \
$wx_cv_func_$wx_func = yes
26127 cat >>confdefs.h
<<_ACEOF
26128 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26140 for wx_func
in strtoull
26142 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26143 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26144 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26145 echo $ECHO_N "(cached) $ECHO_C" >&6
26148 cat >conftest.
$ac_ext <<_ACEOF
26152 cat confdefs.h
>>conftest.
$ac_ext
26153 cat >>conftest.
$ac_ext <<_ACEOF
26154 /* end confdefs.h. */
26157 $ac_includes_default
26173 rm -f conftest.
$ac_objext conftest
$ac_exeext
26174 if { (ac_try
="$ac_link"
26175 case "(($ac_try" in
26176 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26177 *) ac_try_echo=$ac_try;;
26179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26180 (eval "$ac_link") 2>conftest.er1
26182 grep -v '^ *+' conftest.er1 >conftest.err
26184 cat conftest.err >&5
26185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26186 (exit $ac_status); } && {
26187 test -z "$ac_cxx_werror_flag" ||
26188 test ! -s conftest.err
26189 } && test -s conftest$ac_exeext &&
26190 $as_test_x conftest$ac_exeext; then
26191 eval wx_cv_func_$wx_func=yes
26193 echo "$as_me: failed program was:" >&5
26194 sed 's/^/| /' conftest.$ac_ext >&5
26196 eval wx_cv_func_$wx_func=no
26199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26200 conftest$ac_exeext conftest.$ac_ext
26203 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26204 { echo "$as_me:$LINENO: result: $ac_res" >&5
26205 echo "${ECHO_T}$ac_res" >&6; }
26207 if eval test \$wx_cv_func_$wx_func = yes
26209 cat >>confdefs.h <<_ACEOF
26210 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26222 ac_cpp='$CPP $CPPFLAGS'
26223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26230 if test "$wxUSE_REGEX" != "no"; then
26231 cat >>confdefs.h <<\_ACEOF
26232 #define wxUSE_REGEX 1
26236 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26237 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26238 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26239 wxUSE_REGEX=builtin
26242 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26243 { echo "$as_me:$LINENO: checking for regex.h" >&5
26244 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26245 if test "${ac_cv_header_regex_h+set}" = set; then
26246 echo $ECHO_N "(cached) $ECHO_C" >&6
26248 cat >conftest.$ac_ext <<_ACEOF
26251 cat confdefs.h >>conftest.$ac_ext
26252 cat >>conftest.$ac_ext <<_ACEOF
26253 /* end confdefs.h. */
26258 rm -f conftest.$ac_objext
26259 if { (ac_try="$ac_compile"
26260 case "(($ac_try" in
26261 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26262 *) ac_try_echo
=$ac_try;;
26264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26265 (eval "$ac_compile") 2>conftest.er1
26267 grep -v '^ *+' conftest.er1
>conftest.err
26269 cat conftest.err
>&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } && {
26272 test -z "$ac_c_werror_flag" ||
26273 test ! -s conftest.err
26274 } && test -s conftest.
$ac_objext; then
26275 ac_cv_header_regex_h
=yes
26277 echo "$as_me: failed program was:" >&5
26278 sed 's/^/| /' conftest.
$ac_ext >&5
26280 ac_cv_header_regex_h
=no
26283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26285 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26286 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26287 if test $ac_cv_header_regex_h = yes; then
26290 for ac_func
in regcomp re_search
26292 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26293 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26295 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26296 echo $ECHO_N "(cached) $ECHO_C" >&6
26298 cat >conftest.
$ac_ext <<_ACEOF
26301 cat confdefs.h
>>conftest.
$ac_ext
26302 cat >>conftest.
$ac_ext <<_ACEOF
26303 /* end confdefs.h. */
26304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26306 #define $ac_func innocuous_$ac_func
26308 /* System header to define __stub macros and hopefully few prototypes,
26309 which can conflict with char $ac_func (); below.
26310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26311 <limits.h> exists even on freestanding compilers. */
26314 # include <limits.h>
26316 # include <assert.h>
26321 /* Override any GCC internal prototype to avoid an error.
26322 Use char because int might match the return type of a GCC
26323 builtin and then its argument prototype would still apply. */
26328 /* The GNU C library defines this for functions which it implements
26329 to always fail with ENOSYS. Some functions are actually named
26330 something starting with __ and the normal name is an alias. */
26331 #if defined __stub_$ac_func || defined __stub___$ac_func
26338 return $ac_func ();
26343 rm -f conftest.
$ac_objext conftest
$ac_exeext
26344 if { (ac_try
="$ac_link"
26345 case "(($ac_try" in
26346 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26347 *) ac_try_echo=$ac_try;;
26349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26350 (eval "$ac_link") 2>conftest.er1
26352 grep -v '^ *+' conftest.er1 >conftest.err
26354 cat conftest.err >&5
26355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26356 (exit $ac_status); } && {
26357 test -z "$ac_c_werror_flag" ||
26358 test ! -s conftest.err
26359 } && test -s conftest$ac_exeext &&
26360 $as_test_x conftest$ac_exeext; then
26361 eval "$as_ac_var=yes"
26363 echo "$as_me: failed program was:" >&5
26364 sed 's/^/| /' conftest.$ac_ext >&5
26366 eval "$as_ac_var=no"
26369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26370 conftest$ac_exeext conftest.$ac_ext
26372 ac_res=`eval echo '${'$as_ac_var'}'`
26373 { echo "$as_me:$LINENO: result: $ac_res" >&5
26374 echo "${ECHO_T}$ac_res" >&6; }
26375 if test `eval echo '${'$as_ac_var'}'` = yes; then
26376 cat >>confdefs.h <<_ACEOF
26377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26387 if test "x$ac_cv_func_regcomp" != "xyes"; then
26388 if test "$wxUSE_REGEX" = "sys" ; then
26389 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26390 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26391 { (exit 1); exit 1; }; }
26393 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26394 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26395 wxUSE_REGEX=builtin
26399 cat >>confdefs.h <<\_ACEOF
26400 #define WX_NO_REGEX_ADVANCED 1
26409 if test "$wxUSE_ZLIB" != "no" ; then
26410 cat >>confdefs.h <<\_ACEOF
26411 #define wxUSE_ZLIB 1
26415 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26416 if test "$USE_DARWIN" = 1; then
26417 system_zlib_h_ok="yes"
26419 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26420 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26421 if test "${ac_cv_header_zlib_h+set}" = set; then
26422 echo $ECHO_N "(cached) $ECHO_C" >&6
26424 if test "$cross_compiling" = yes; then
26425 unset ac_cv_header_zlib_h
26428 cat >conftest.$ac_ext <<_ACEOF
26431 cat confdefs.h >>conftest.$ac_ext
26432 cat >>conftest.$ac_ext <<_ACEOF
26433 /* end confdefs.h. */
26440 FILE *f=fopen("conftestval", "w");
26443 ZLIB_VERSION[0] == '1' &&
26444 (ZLIB_VERSION[2] > '1' ||
26445 (ZLIB_VERSION[2] == '1' &&
26446 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26451 rm -f conftest$ac_exeext
26452 if { (ac_try="$ac_link"
26453 case "(($ac_try" in
26454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26455 *) ac_try_echo
=$ac_try;;
26457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26458 (eval "$ac_link") 2>&5
26460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26462 { (case "(($ac_try" in
26463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26464 *) ac_try_echo=$ac_try;;
26466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26467 (eval "$ac_try") 2>&5
26469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470 (exit $ac_status); }; }; then
26471 ac_cv_header_zlib_h=`cat conftestval
`
26473 echo "$as_me: program exited with status $ac_status" >&5
26474 echo "$as_me: failed program was:" >&5
26475 sed 's/^/| /' conftest.$ac_ext >&5
26477 ( exit $ac_status )
26478 ac_cv_header_zlib_h=no
26480 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26486 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26487 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26488 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26489 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26490 if test "${ac_cv_header_zlib_h+set}" = set; then
26491 echo $ECHO_N "(cached) $ECHO_C" >&6
26493 cat >conftest.$ac_ext <<_ACEOF
26496 cat confdefs.h >>conftest.$ac_ext
26497 cat >>conftest.$ac_ext <<_ACEOF
26498 /* end confdefs.h. */
26503 rm -f conftest.$ac_objext
26504 if { (ac_try="$ac_compile"
26505 case "(($ac_try" in
26506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26507 *) ac_try_echo
=$ac_try;;
26509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26510 (eval "$ac_compile") 2>conftest.er1
26512 grep -v '^ *+' conftest.er1
>conftest.err
26514 cat conftest.err
>&5
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); } && {
26517 test -z "$ac_c_werror_flag" ||
26518 test ! -s conftest.err
26519 } && test -s conftest.
$ac_objext; then
26520 ac_cv_header_zlib_h
=yes
26522 echo "$as_me: failed program was:" >&5
26523 sed 's/^/| /' conftest.
$ac_ext >&5
26525 ac_cv_header_zlib_h
=no
26528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26530 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26531 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26535 system_zlib_h_ok
=$ac_cv_header_zlib_h
26538 if test "$system_zlib_h_ok" = "yes"; then
26539 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26540 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26541 if test "${ac_cv_lib_z_deflate+set}" = set; then
26542 echo $ECHO_N "(cached) $ECHO_C" >&6
26544 ac_check_lib_save_LIBS
=$LIBS
26546 cat >conftest.
$ac_ext <<_ACEOF
26549 cat confdefs.h
>>conftest.
$ac_ext
26550 cat >>conftest.
$ac_ext <<_ACEOF
26551 /* end confdefs.h. */
26553 /* Override any GCC internal prototype to avoid an error.
26554 Use char because int might match the return type of a GCC
26555 builtin and then its argument prototype would still apply. */
26568 rm -f conftest.
$ac_objext conftest
$ac_exeext
26569 if { (ac_try
="$ac_link"
26570 case "(($ac_try" in
26571 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26572 *) ac_try_echo=$ac_try;;
26574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26575 (eval "$ac_link") 2>conftest.er1
26577 grep -v '^ *+' conftest.er1 >conftest.err
26579 cat conftest.err >&5
26580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581 (exit $ac_status); } && {
26582 test -z "$ac_c_werror_flag" ||
26583 test ! -s conftest.err
26584 } && test -s conftest$ac_exeext &&
26585 $as_test_x conftest$ac_exeext; then
26586 ac_cv_lib_z_deflate=yes
26588 echo "$as_me: failed program was:" >&5
26589 sed 's/^/| /' conftest.$ac_ext >&5
26591 ac_cv_lib_z_deflate=no
26594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26595 conftest$ac_exeext conftest.$ac_ext
26596 LIBS=$ac_check_lib_save_LIBS
26598 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26599 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26600 if test $ac_cv_lib_z_deflate = yes; then
26606 if test "x$ZLIB_LINK" = "x" ; then
26607 if test "$wxUSE_ZLIB" = "sys" ; then
26608 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26609 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26610 { (exit 1); exit 1; }; }
26612 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26613 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26624 if test "$wxUSE_LIBPNG" != "no" ; then
26625 cat >>confdefs.h <<\_ACEOF
26626 #define wxUSE_LIBPNG 1
26630 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26631 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26632 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26636 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26637 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26638 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26639 wxUSE_LIBPNG=builtin
26642 if test "$wxUSE_MGL" != 1 ; then
26643 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26644 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26645 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26646 if test "${ac_cv_header_png_h+set}" = set; then
26647 echo $ECHO_N "(cached) $ECHO_C" >&6
26649 if test "$cross_compiling" = yes; then
26650 unset ac_cv_header_png_h
26653 cat >conftest.$ac_ext <<_ACEOF
26656 cat confdefs.h >>conftest.$ac_ext
26657 cat >>conftest.$ac_ext <<_ACEOF
26658 /* end confdefs.h. */
26665 FILE *f=fopen("conftestval", "w");
26668 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26673 rm -f conftest$ac_exeext
26674 if { (ac_try="$ac_link"
26675 case "(($ac_try" in
26676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26677 *) ac_try_echo
=$ac_try;;
26679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26680 (eval "$ac_link") 2>&5
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26684 { (case "(($ac_try" in
26685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26686 *) ac_try_echo=$ac_try;;
26688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26689 (eval "$ac_try") 2>&5
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); }; }; then
26693 ac_cv_header_png_h=`cat conftestval
`
26695 echo "$as_me: program exited with status $ac_status" >&5
26696 echo "$as_me: failed program was:" >&5
26697 sed 's/^/| /' conftest.$ac_ext >&5
26699 ( exit $ac_status )
26700 ac_cv_header_png_h=no
26702 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26708 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26709 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26710 { echo "$as_me:$LINENO: checking for png.h" >&5
26711 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26712 if test "${ac_cv_header_png_h+set}" = set; then
26713 echo $ECHO_N "(cached) $ECHO_C" >&6
26715 cat >conftest.$ac_ext <<_ACEOF
26718 cat confdefs.h >>conftest.$ac_ext
26719 cat >>conftest.$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26725 rm -f conftest.$ac_objext
26726 if { (ac_try="$ac_compile"
26727 case "(($ac_try" in
26728 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26729 *) ac_try_echo
=$ac_try;;
26731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26732 (eval "$ac_compile") 2>conftest.er1
26734 grep -v '^ *+' conftest.er1
>conftest.err
26736 cat conftest.err
>&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); } && {
26739 test -z "$ac_c_werror_flag" ||
26740 test ! -s conftest.err
26741 } && test -s conftest.
$ac_objext; then
26742 ac_cv_header_png_h
=yes
26744 echo "$as_me: failed program was:" >&5
26745 sed 's/^/| /' conftest.
$ac_ext >&5
26747 ac_cv_header_png_h
=no
26750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26752 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26753 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26757 if test "$ac_cv_header_png_h" = "yes"; then
26758 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26759 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26760 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26761 echo $ECHO_N "(cached) $ECHO_C" >&6
26763 ac_check_lib_save_LIBS
=$LIBS
26764 LIBS
="-lpng -lz -lm $LIBS"
26765 cat >conftest.
$ac_ext <<_ACEOF
26768 cat confdefs.h
>>conftest.
$ac_ext
26769 cat >>conftest.
$ac_ext <<_ACEOF
26770 /* end confdefs.h. */
26772 /* Override any GCC internal prototype to avoid an error.
26773 Use char because int might match the return type of a GCC
26774 builtin and then its argument prototype would still apply. */
26778 char png_check_sig ();
26782 return png_check_sig ();
26787 rm -f conftest.
$ac_objext conftest
$ac_exeext
26788 if { (ac_try
="$ac_link"
26789 case "(($ac_try" in
26790 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26791 *) ac_try_echo=$ac_try;;
26793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26794 (eval "$ac_link") 2>conftest.er1
26796 grep -v '^ *+' conftest.er1 >conftest.err
26798 cat conftest.err >&5
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); } && {
26801 test -z "$ac_c_werror_flag" ||
26802 test ! -s conftest.err
26803 } && test -s conftest$ac_exeext &&
26804 $as_test_x conftest$ac_exeext; then
26805 ac_cv_lib_png_png_check_sig=yes
26807 echo "$as_me: failed program was:" >&5
26808 sed 's/^/| /' conftest.$ac_ext >&5
26810 ac_cv_lib_png_png_check_sig=no
26813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26814 conftest$ac_exeext conftest.$ac_ext
26815 LIBS=$ac_check_lib_save_LIBS
26817 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26818 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26819 if test $ac_cv_lib_png_png_check_sig = yes; then
26820 PNG_LINK=" -lpng -lz"
26825 if test "x$PNG_LINK" = "x" ; then
26826 if test "$wxUSE_LIBPNG" = "sys" ; then
26827 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26828 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26829 { (exit 1); exit 1; }; }
26831 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26832 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26833 wxUSE_LIBPNG=builtin
26844 if test "$wxUSE_LIBJPEG" != "no" ; then
26845 cat >>confdefs.h <<\_ACEOF
26846 #define wxUSE_LIBJPEG 1
26850 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26851 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26852 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26856 if test "$wxUSE_MGL" != 1 ; then
26857 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26858 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26859 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26860 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26863 cat >conftest.$ac_ext <<_ACEOF
26866 cat confdefs.h >>conftest.$ac_ext
26867 cat >>conftest.$ac_ext <<_ACEOF
26868 /* end confdefs.h. */
26870 #undef HAVE_STDLIB_H
26872 #include <jpeglib.h>
26883 rm -f conftest.$ac_objext
26884 if { (ac_try="$ac_compile"
26885 case "(($ac_try" in
26886 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26887 *) ac_try_echo
=$ac_try;;
26889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26890 (eval "$ac_compile") 2>conftest.er1
26892 grep -v '^ *+' conftest.er1
>conftest.err
26894 cat conftest.err
>&5
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); } && {
26897 test -z "$ac_c_werror_flag" ||
26898 test ! -s conftest.err
26899 } && test -s conftest.
$ac_objext; then
26900 ac_cv_header_jpeglib_h
=yes
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.
$ac_ext >&5
26905 ac_cv_header_jpeglib_h
=no
26909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26913 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26914 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26916 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26917 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26918 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26919 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26920 echo $ECHO_N "(cached) $ECHO_C" >&6
26922 ac_check_lib_save_LIBS
=$LIBS
26923 LIBS
="-ljpeg $LIBS"
26924 cat >conftest.
$ac_ext <<_ACEOF
26927 cat confdefs.h
>>conftest.
$ac_ext
26928 cat >>conftest.
$ac_ext <<_ACEOF
26929 /* end confdefs.h. */
26931 /* Override any GCC internal prototype to avoid an error.
26932 Use char because int might match the return type of a GCC
26933 builtin and then its argument prototype would still apply. */
26937 char jpeg_read_header ();
26941 return jpeg_read_header ();
26946 rm -f conftest.
$ac_objext conftest
$ac_exeext
26947 if { (ac_try
="$ac_link"
26948 case "(($ac_try" in
26949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26950 *) ac_try_echo=$ac_try;;
26952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26953 (eval "$ac_link") 2>conftest.er1
26955 grep -v '^ *+' conftest.er1 >conftest.err
26957 cat conftest.err >&5
26958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26959 (exit $ac_status); } && {
26960 test -z "$ac_c_werror_flag" ||
26961 test ! -s conftest.err
26962 } && test -s conftest$ac_exeext &&
26963 $as_test_x conftest$ac_exeext; then
26964 ac_cv_lib_jpeg_jpeg_read_header=yes
26966 echo "$as_me: failed program was:" >&5
26967 sed 's/^/| /' conftest.$ac_ext >&5
26969 ac_cv_lib_jpeg_jpeg_read_header=no
26972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26973 conftest$ac_exeext conftest.$ac_ext
26974 LIBS=$ac_check_lib_save_LIBS
26976 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26977 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26978 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26979 JPEG_LINK=" -ljpeg"
26984 if test "x$JPEG_LINK" = "x" ; then
26985 if test "$wxUSE_LIBJPEG" = "sys" ; then
26986 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26987 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26988 { (exit 1); exit 1; }; }
26990 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26991 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26992 wxUSE_LIBJPEG=builtin
26997 if test "$wxUSE_MSW" = 1; then
26998 { echo "$as_me:$LINENO: checking for boolean" >&5
26999 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27000 if test "${ac_cv_type_boolean+set}" = set; then
27001 echo $ECHO_N "(cached) $ECHO_C" >&6
27003 cat >conftest.$ac_ext <<_ACEOF
27006 cat confdefs.h >>conftest.$ac_ext
27007 cat >>conftest.$ac_ext <<_ACEOF
27008 /* end confdefs.h. */
27009 #include <windows.h>
27011 typedef boolean ac__type_new_;
27015 if ((ac__type_new_ *) 0)
27017 if (sizeof (ac__type_new_))
27023 rm -f conftest.$ac_objext
27024 if { (ac_try="$ac_compile"
27025 case "(($ac_try" in
27026 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27027 *) ac_try_echo
=$ac_try;;
27029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27030 (eval "$ac_compile") 2>conftest.er1
27032 grep -v '^ *+' conftest.er1
>conftest.err
27034 cat conftest.err
>&5
27035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27036 (exit $ac_status); } && {
27037 test -z "$ac_c_werror_flag" ||
27038 test ! -s conftest.err
27039 } && test -s conftest.
$ac_objext; then
27040 ac_cv_type_boolean
=yes
27042 echo "$as_me: failed program was:" >&5
27043 sed 's/^/| /' conftest.
$ac_ext >&5
27045 ac_cv_type_boolean
=no
27048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27050 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27051 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27052 if test $ac_cv_type_boolean = yes; then
27054 cat >>confdefs.h
<<_ACEOF
27055 #define HAVE_BOOLEAN 1
27059 { echo "$as_me:$LINENO: checking for boolean" >&5
27060 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27061 if test "${ac_cv_type_boolean+set}" = set; then
27062 echo $ECHO_N "(cached) $ECHO_C" >&6
27064 cat >conftest.
$ac_ext <<_ACEOF
27067 cat confdefs.h
>>conftest.
$ac_ext
27068 cat >>conftest.
$ac_ext <<_ACEOF
27069 /* end confdefs.h. */
27071 #undef HAVE_BOOLEAN
27073 #include <jpeglib.h>
27076 typedef boolean ac__type_new_;
27080 if ((ac__type_new_ *) 0)
27082 if (sizeof (ac__type_new_))
27088 rm -f conftest.
$ac_objext
27089 if { (ac_try
="$ac_compile"
27090 case "(($ac_try" in
27091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27092 *) ac_try_echo=$ac_try;;
27094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27095 (eval "$ac_compile") 2>conftest.er1
27097 grep -v '^ *+' conftest.er1 >conftest.err
27099 cat conftest.err >&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); } && {
27102 test -z "$ac_c_werror_flag" ||
27103 test ! -s conftest.err
27104 } && test -s conftest.$ac_objext; then
27105 ac_cv_type_boolean=yes
27107 echo "$as_me: failed program was:" >&5
27108 sed 's/^/| /' conftest.$ac_ext >&5
27110 ac_cv_type_boolean=no
27113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27115 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27116 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27118 # The cast to long int works around a bug in the HP C Compiler
27119 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27120 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27121 # This bug is HP SR number 8606223364.
27122 { echo "$as_me:$LINENO: checking size of boolean" >&5
27123 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27124 if test "${ac_cv_sizeof_boolean+set}" = set; then
27125 echo $ECHO_N "(cached) $ECHO_C" >&6
27127 if test "$cross_compiling" = yes; then
27128 # Depending upon the size, compute the lo and hi bounds.
27129 cat >conftest.$ac_ext <<_ACEOF
27132 cat confdefs.h >>conftest.$ac_ext
27133 cat >>conftest.$ac_ext <<_ACEOF
27134 /* end confdefs.h. */
27136 #undef HAVE_BOOLEAN
27138 #include <jpeglib.h>
27141 typedef boolean ac__type_sizeof_;
27145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27152 rm -f conftest.$ac_objext
27153 if { (ac_try="$ac_compile"
27154 case "(($ac_try" in
27155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27156 *) ac_try_echo=$ac_try;;
27158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27159 (eval "$ac_compile") 2>conftest.er1
27161 grep -v '^
*+' conftest.er1 >conftest.err
27163 cat conftest.err >&5
27164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27165 (exit $ac_status); } && {
27166 test -z "$ac_c_werror_flag" ||
27167 test ! -s conftest.err
27168 } && test -s conftest.$ac_objext; then
27171 cat >conftest.$ac_ext <<_ACEOF
27174 cat confdefs.h >>conftest.$ac_ext
27175 cat >>conftest.$ac_ext <<_ACEOF
27176 /* end confdefs.h. */
27178 #undef HAVE_BOOLEAN
27180 #include <jpeglib.h>
27183 typedef boolean ac__type_sizeof_;
27187 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27194 rm -f conftest.$ac_objext
27195 if { (ac_try="$ac_compile"
27196 case "(($ac_try" in
27197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27198 *) ac_try_echo=$ac_try;;
27200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27201 (eval "$ac_compile") 2>conftest.er1
27203 grep -v '^
*+' conftest.er1 >conftest.err
27205 cat conftest.err >&5
27206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207 (exit $ac_status); } && {
27208 test -z "$ac_c_werror_flag" ||
27209 test ! -s conftest.err
27210 } && test -s conftest.$ac_objext; then
27211 ac_hi=$ac_mid; break
27213 echo "$as_me: failed program was:" >&5
27214 sed 's
/^
/| /' conftest.$ac_ext >&5
27216 ac_lo=`expr $ac_mid + 1`
27217 if test $ac_lo -le $ac_mid; then
27221 ac_mid=`expr 2 '*' $ac_mid + 1`
27224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27227 echo "$as_me: failed program was:" >&5
27228 sed 's
/^
/| /' conftest.$ac_ext >&5
27230 cat >conftest.$ac_ext <<_ACEOF
27233 cat confdefs.h >>conftest.$ac_ext
27234 cat >>conftest.$ac_ext <<_ACEOF
27235 /* end confdefs.h. */
27237 #undef HAVE_BOOLEAN
27239 #include <jpeglib.h>
27242 typedef boolean ac__type_sizeof_;
27246 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27253 rm -f conftest.$ac_objext
27254 if { (ac_try="$ac_compile"
27255 case "(($ac_try" in
27256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27257 *) ac_try_echo=$ac_try;;
27259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27260 (eval "$ac_compile") 2>conftest.er1
27262 grep -v '^
*+' conftest.er1 >conftest.err
27264 cat conftest.err >&5
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); } && {
27267 test -z "$ac_c_werror_flag" ||
27268 test ! -s conftest.err
27269 } && test -s conftest.$ac_objext; then
27272 cat >conftest.$ac_ext <<_ACEOF
27275 cat confdefs.h >>conftest.$ac_ext
27276 cat >>conftest.$ac_ext <<_ACEOF
27277 /* end confdefs.h. */
27279 #undef HAVE_BOOLEAN
27281 #include <jpeglib.h>
27284 typedef boolean ac__type_sizeof_;
27288 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27295 rm -f conftest.$ac_objext
27296 if { (ac_try="$ac_compile"
27297 case "(($ac_try" in
27298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27299 *) ac_try_echo=$ac_try;;
27301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27302 (eval "$ac_compile") 2>conftest.er1
27304 grep -v '^
*+' conftest.er1 >conftest.err
27306 cat conftest.err >&5
27307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27308 (exit $ac_status); } && {
27309 test -z "$ac_c_werror_flag" ||
27310 test ! -s conftest.err
27311 } && test -s conftest.$ac_objext; then
27312 ac_lo=$ac_mid; break
27314 echo "$as_me: failed program was:" >&5
27315 sed 's
/^
/| /' conftest.$ac_ext >&5
27317 ac_hi=`expr '(' $ac_mid ')' - 1`
27318 if test $ac_mid -le $ac_hi; then
27322 ac_mid=`expr 2 '*' $ac_mid`
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27328 echo "$as_me: failed program was:" >&5
27329 sed 's
/^
/| /' conftest.$ac_ext >&5
27334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27338 # Binary search between lo and hi bounds.
27339 while test "x$ac_lo" != "x$ac_hi"; do
27340 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27341 cat >conftest.$ac_ext <<_ACEOF
27344 cat confdefs.h >>conftest.$ac_ext
27345 cat >>conftest.$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27348 #undef HAVE_BOOLEAN
27350 #include <jpeglib.h>
27353 typedef boolean ac__type_sizeof_;
27357 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27364 rm -f conftest.$ac_objext
27365 if { (ac_try="$ac_compile"
27366 case "(($ac_try" in
27367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27368 *) ac_try_echo=$ac_try;;
27370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27371 (eval "$ac_compile") 2>conftest.er1
27373 grep -v '^
*+' conftest.er1 >conftest.err
27375 cat conftest.err >&5
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); } && {
27378 test -z "$ac_c_werror_flag" ||
27379 test ! -s conftest.err
27380 } && test -s conftest.$ac_objext; then
27383 echo "$as_me: failed program was:" >&5
27384 sed 's
/^
/| /' conftest.$ac_ext >&5
27386 ac_lo=`expr '(' $ac_mid ')' + 1`
27389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27392 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27393 '') if test "$ac_cv_type_boolean" = yes; then
27394 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27395 See \`config.log' for more details.
" >&5
27396 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27397 See \
`config.log' for more details." >&2;}
27398 { (exit 77); exit 77; }; }
27400 ac_cv_sizeof_boolean=0
27404 cat >conftest.$ac_ext <<_ACEOF
27407 cat confdefs.h >>conftest.$ac_ext
27408 cat >>conftest.$ac_ext <<_ACEOF
27409 /* end confdefs.h. */
27411 #undef HAVE_BOOLEAN
27413 #include <jpeglib.h>
27416 typedef boolean ac__type_sizeof_;
27417 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27418 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27420 #include <stdlib.h>
27425 FILE *f = fopen ("conftest.val", "w");
27428 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27430 long int i = longval ();
27431 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27433 fprintf (f, "%ld\n", i);
27437 unsigned long int i = ulongval ();
27438 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27440 fprintf (f, "%lu\n", i);
27442 return ferror (f) || fclose (f) != 0;
27448 rm -f conftest$ac_exeext
27449 if { (ac_try="$ac_link"
27450 case "(($ac_try" in
27451 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27452 *) ac_try_echo
=$ac_try;;
27454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27455 (eval "$ac_link") 2>&5
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27459 { (case "(($ac_try" in
27460 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27461 *) ac_try_echo=$ac_try;;
27463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27464 (eval "$ac_try") 2>&5
27466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27467 (exit $ac_status); }; }; then
27468 ac_cv_sizeof_boolean=`cat conftest.val
`
27470 echo "$as_me: program exited with status $ac_status" >&5
27471 echo "$as_me: failed program was:" >&5
27472 sed 's/^/| /' conftest.$ac_ext >&5
27474 ( exit $ac_status )
27475 if test "$ac_cv_type_boolean" = yes; then
27476 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27477 See \`config.log
' for more details." >&5
27478 echo "$as_me: error: cannot compute sizeof (boolean)
27479 See \`config.log' for more details.
" >&2;}
27480 { (exit 77); exit 77; }; }
27482 ac_cv_sizeof_boolean=0
27485 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27489 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27490 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27494 cat >>confdefs.h <<_ACEOF
27495 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27499 cat >>confdefs.h <<_ACEOF
27500 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27514 TIFF_PREREQ_LINKS=-lm
27515 if test "$wxUSE_LIBTIFF" != "no
" ; then
27516 cat >>confdefs.h <<\_ACEOF
27517 #define wxUSE_LIBTIFF 1
27521 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27522 if test "$wxUSE_LIBJPEG" = "sys
"; then
27523 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27525 if test "$wxUSE_ZLIB" = "sys
"; then
27526 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27528 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27529 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27530 if test "${ac_cv_header_tiffio_h+set}" = set; then
27531 echo $ECHO_N "(cached
) $ECHO_C" >&6
27533 cat >conftest.$ac_ext <<_ACEOF
27536 cat confdefs.h >>conftest.$ac_ext
27537 cat >>conftest.$ac_ext <<_ACEOF
27538 /* end confdefs.h. */
27542 #include <tiffio.h>
27544 rm -f conftest.$ac_objext
27545 if { (ac_try="$ac_compile"
27546 case "(($ac_try" in
27547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27548 *) ac_try_echo=$ac_try;;
27550 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27551 (eval "$ac_compile") 2>conftest.er1
27553 grep -v '^ *+' conftest.er1 >conftest.err
27555 cat conftest.err >&5
27556 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27557 (exit $ac_status); } && {
27558 test -z "$ac_c_werror_flag" ||
27559 test ! -s conftest.err
27560 } && test -s conftest.$ac_objext; then
27561 ac_cv_header_tiffio_h=yes
27563 echo "$as_me: failed program was
:" >&5
27564 sed 's/^/| /' conftest.$ac_ext >&5
27566 ac_cv_header_tiffio_h=no
27569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27571 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27572 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27573 if test $ac_cv_header_tiffio_h = yes; then
27575 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27576 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27577 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27578 echo $ECHO_N "(cached
) $ECHO_C" >&6
27580 ac_check_lib_save_LIBS=$LIBS
27581 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27582 cat >conftest.$ac_ext <<_ACEOF
27585 cat confdefs.h >>conftest.$ac_ext
27586 cat >>conftest.$ac_ext <<_ACEOF
27587 /* end confdefs.h. */
27589 /* Override any GCC internal prototype to avoid an error.
27590 Use char because int might match the return type of a GCC
27591 builtin and then its argument prototype would still apply. */
27599 return TIFFError ();
27604 rm -f conftest.$ac_objext conftest$ac_exeext
27605 if { (ac_try="$ac_link"
27606 case "(($ac_try" in
27607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27608 *) ac_try_echo=$ac_try;;
27610 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27611 (eval "$ac_link") 2>conftest.er1
27613 grep -v '^ *+' conftest.er1 >conftest.err
27615 cat conftest.err >&5
27616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27617 (exit $ac_status); } && {
27618 test -z "$ac_c_werror_flag" ||
27619 test ! -s conftest.err
27620 } && test -s conftest$ac_exeext &&
27621 $as_test_x conftest$ac_exeext; then
27622 ac_cv_lib_tiff_TIFFError=yes
27624 echo "$as_me: failed program was
:" >&5
27625 sed 's/^/| /' conftest.$ac_ext >&5
27627 ac_cv_lib_tiff_TIFFError=no
27630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27631 conftest$ac_exeext conftest.$ac_ext
27632 LIBS=$ac_check_lib_save_LIBS
27634 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27635 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27636 if test $ac_cv_lib_tiff_TIFFError = yes; then
27637 TIFF_LINK=" -ltiff"
27645 if test "x
$TIFF_LINK" = "x
" ; then
27646 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27647 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27648 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27649 { (exit 1); exit 1; }; }
27651 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27652 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27653 wxUSE_LIBTIFF=builtin
27659 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27660 if test "$wxUSE_LIBJPEG" = "no
"; then
27661 ac_configure_args="$ac_configure_args --disable-jpeg"
27663 subdirs="$subdirs src
/tiff
"
27669 if test "$wxUSE_WCHAR_T" != "yes"; then
27670 if test "$wxUSE_EXPAT" != "no
"; then
27671 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27672 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27675 if test "$wxUSE_XML" != "no
"; then
27676 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27677 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27682 if test "$wxUSE_EXPAT" != "no
"; then
27684 cat >>confdefs.h <<\_ACEOF
27685 #define wxUSE_EXPAT 1
27688 cat >>confdefs.h <<\_ACEOF
27689 #define wxUSE_XML 1
27693 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27694 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27695 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27696 if test "${ac_cv_header_expat_h+set}" = set; then
27697 echo $ECHO_N "(cached
) $ECHO_C" >&6
27699 cat >conftest.$ac_ext <<_ACEOF
27702 cat confdefs.h >>conftest.$ac_ext
27703 cat >>conftest.$ac_ext <<_ACEOF
27704 /* end confdefs.h. */
27709 rm -f conftest.$ac_objext
27710 if { (ac_try="$ac_compile"
27711 case "(($ac_try" in
27712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27713 *) ac_try_echo=$ac_try;;
27715 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27716 (eval "$ac_compile") 2>conftest.er1
27718 grep -v '^ *+' conftest.er1 >conftest.err
27720 cat conftest.err >&5
27721 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27722 (exit $ac_status); } && {
27723 test -z "$ac_c_werror_flag" ||
27724 test ! -s conftest.err
27725 } && test -s conftest.$ac_objext; then
27726 ac_cv_header_expat_h=yes
27728 echo "$as_me: failed program was
:" >&5
27729 sed 's/^/| /' conftest.$ac_ext >&5
27731 ac_cv_header_expat_h=no
27734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27736 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27737 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27738 if test $ac_cv_header_expat_h = yes; then
27743 if test "x
$found_expat_h" = "x1
"; then
27744 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27745 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27746 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27747 echo $ECHO_N "(cached
) $ECHO_C" >&6
27751 ac_cpp='$CXXCPP $CPPFLAGS'
27752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27756 cat >conftest.$ac_ext <<_ACEOF
27759 cat confdefs.h >>conftest.$ac_ext
27760 cat >>conftest.$ac_ext <<_ACEOF
27761 /* end confdefs.h. */
27771 rm -f conftest.$ac_objext
27772 if { (ac_try="$ac_compile"
27773 case "(($ac_try" in
27774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27775 *) ac_try_echo=$ac_try;;
27777 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27778 (eval "$ac_compile") 2>conftest.er1
27780 grep -v '^ *+' conftest.er1 >conftest.err
27782 cat conftest.err >&5
27783 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27784 (exit $ac_status); } && {
27785 test -z "$ac_cxx_werror_flag" ||
27786 test ! -s conftest.err
27787 } && test -s conftest.$ac_objext; then
27788 wx_cv_expat_is_not_broken=yes
27790 echo "$as_me: failed program was
:" >&5
27791 sed 's/^/| /' conftest.$ac_ext >&5
27793 wx_cv_expat_is_not_broken=no
27797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27799 ac_cpp='$CPP $CPPFLAGS'
27800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27807 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27808 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27809 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27810 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27811 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27812 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27813 echo $ECHO_N "(cached
) $ECHO_C" >&6
27815 ac_check_lib_save_LIBS=$LIBS
27816 LIBS="-lexpat $LIBS"
27817 cat >conftest.$ac_ext <<_ACEOF
27820 cat confdefs.h >>conftest.$ac_ext
27821 cat >>conftest.$ac_ext <<_ACEOF
27822 /* end confdefs.h. */
27824 /* Override any GCC internal prototype to avoid an error.
27825 Use char because int might match the return type of a GCC
27826 builtin and then its argument prototype would still apply. */
27830 char XML_ParserCreate ();
27834 return XML_ParserCreate ();
27839 rm -f conftest.$ac_objext conftest$ac_exeext
27840 if { (ac_try="$ac_link"
27841 case "(($ac_try" in
27842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27843 *) ac_try_echo=$ac_try;;
27845 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27846 (eval "$ac_link") 2>conftest.er1
27848 grep -v '^ *+' conftest.er1 >conftest.err
27850 cat conftest.err >&5
27851 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27852 (exit $ac_status); } && {
27853 test -z "$ac_c_werror_flag" ||
27854 test ! -s conftest.err
27855 } && test -s conftest$ac_exeext &&
27856 $as_test_x conftest$ac_exeext; then
27857 ac_cv_lib_expat_XML_ParserCreate=yes
27859 echo "$as_me: failed program was
:" >&5
27860 sed 's/^/| /' conftest.$ac_ext >&5
27862 ac_cv_lib_expat_XML_ParserCreate=no
27865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27866 conftest$ac_exeext conftest.$ac_ext
27867 LIBS=$ac_check_lib_save_LIBS
27869 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27870 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27871 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27872 EXPAT_LINK=" -lexpat"
27877 if test "x
$EXPAT_LINK" = "x
" ; then
27878 if test "$wxUSE_EXPAT" = "sys
" ; then
27879 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27880 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27881 { (exit 1); exit 1; }; }
27883 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27884 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27885 wxUSE_EXPAT=builtin
27891 if test "$wxUSE_EXPAT" = "builtin" ; then
27892 subdirs="$subdirs src
/expat
"
27899 if test "$wxUSE_LIBMSPACK" != "no
"; then
27900 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27901 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27902 if test "${ac_cv_header_mspack_h+set}" = set; then
27903 echo $ECHO_N "(cached
) $ECHO_C" >&6
27905 cat >conftest.$ac_ext <<_ACEOF
27908 cat confdefs.h >>conftest.$ac_ext
27909 cat >>conftest.$ac_ext <<_ACEOF
27910 /* end confdefs.h. */
27913 #include <mspack.h>
27915 rm -f conftest.$ac_objext
27916 if { (ac_try="$ac_compile"
27917 case "(($ac_try" in
27918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27919 *) ac_try_echo=$ac_try;;
27921 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27922 (eval "$ac_compile") 2>conftest.er1
27924 grep -v '^ *+' conftest.er1 >conftest.err
27926 cat conftest.err >&5
27927 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27928 (exit $ac_status); } && {
27929 test -z "$ac_c_werror_flag" ||
27930 test ! -s conftest.err
27931 } && test -s conftest.$ac_objext; then
27932 ac_cv_header_mspack_h=yes
27934 echo "$as_me: failed program was
:" >&5
27935 sed 's/^/| /' conftest.$ac_ext >&5
27937 ac_cv_header_mspack_h=no
27940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27942 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27943 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27944 if test $ac_cv_header_mspack_h = yes; then
27949 if test "x
$found_mspack_h" = "x1
"; then
27950 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27951 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27952 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27953 echo $ECHO_N "(cached
) $ECHO_C" >&6
27955 ac_check_lib_save_LIBS=$LIBS
27956 LIBS="-lmspack $LIBS"
27957 cat >conftest.$ac_ext <<_ACEOF
27960 cat confdefs.h >>conftest.$ac_ext
27961 cat >>conftest.$ac_ext <<_ACEOF
27962 /* end confdefs.h. */
27964 /* Override any GCC internal prototype to avoid an error.
27965 Use char because int might match the return type of a GCC
27966 builtin and then its argument prototype would still apply. */
27970 char mspack_create_chm_decompressor ();
27974 return mspack_create_chm_decompressor ();
27979 rm -f conftest.$ac_objext conftest$ac_exeext
27980 if { (ac_try="$ac_link"
27981 case "(($ac_try" in
27982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27983 *) ac_try_echo=$ac_try;;
27985 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27986 (eval "$ac_link") 2>conftest.er1
27988 grep -v '^ *+' conftest.er1 >conftest.err
27990 cat conftest.err >&5
27991 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27992 (exit $ac_status); } && {
27993 test -z "$ac_c_werror_flag" ||
27994 test ! -s conftest.err
27995 } && test -s conftest$ac_exeext &&
27996 $as_test_x conftest$ac_exeext; then
27997 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27999 echo "$as_me: failed program was
:" >&5
28000 sed 's/^/| /' conftest.$ac_ext >&5
28002 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28006 conftest$ac_exeext conftest.$ac_ext
28007 LIBS=$ac_check_lib_save_LIBS
28009 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28010 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28011 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28012 MSPACK_LINK=" -lmspack"
28016 if test "x
$MSPACK_LINK" = "x
" ; then
28021 if test "$wxUSE_LIBMSPACK" != "no
"; then
28022 cat >>confdefs.h <<\_ACEOF
28023 #define wxUSE_LIBMSPACK 1
28037 if test "$USE_WIN32" = 1 ; then
28039 for ac_header in w32api.h
28041 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28042 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28043 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28044 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28045 echo $ECHO_N "(cached
) $ECHO_C" >&6
28047 cat >conftest.$ac_ext <<_ACEOF
28050 cat confdefs.h >>conftest.$ac_ext
28051 cat >>conftest.$ac_ext <<_ACEOF
28052 /* end confdefs.h. */
28055 #include <$ac_header>
28057 rm -f conftest.$ac_objext
28058 if { (ac_try="$ac_compile"
28059 case "(($ac_try" in
28060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28061 *) ac_try_echo=$ac_try;;
28063 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28064 (eval "$ac_compile") 2>conftest.er1
28066 grep -v '^ *+' conftest.er1 >conftest.err
28068 cat conftest.err >&5
28069 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28070 (exit $ac_status); } && {
28071 test -z "$ac_c_werror_flag" ||
28072 test ! -s conftest.err
28073 } && test -s conftest.$ac_objext; then
28074 eval "$as_ac_Header=yes"
28076 echo "$as_me: failed program was
:" >&5
28077 sed 's/^/| /' conftest.$ac_ext >&5
28079 eval "$as_ac_Header=no
"
28082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28084 ac_res=`eval echo '${'$as_ac_Header'}'`
28085 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28086 echo "${ECHO_T}$ac_res" >&6; }
28087 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28088 cat >>confdefs.h <<_ACEOF
28089 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28096 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28097 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28098 if test "${ac_cv_header_windows_h+set}" = set; then
28099 echo $ECHO_N "(cached
) $ECHO_C" >&6
28101 cat >conftest.$ac_ext <<_ACEOF
28104 cat confdefs.h >>conftest.$ac_ext
28105 cat >>conftest.$ac_ext <<_ACEOF
28106 /* end confdefs.h. */
28109 #include <windows.h>
28111 rm -f conftest.$ac_objext
28112 if { (ac_try="$ac_compile"
28113 case "(($ac_try" in
28114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28115 *) ac_try_echo=$ac_try;;
28117 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28118 (eval "$ac_compile") 2>conftest.er1
28120 grep -v '^ *+' conftest.er1 >conftest.err
28122 cat conftest.err >&5
28123 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28124 (exit $ac_status); } && {
28125 test -z "$ac_c_werror_flag" ||
28126 test ! -s conftest.err
28127 } && test -s conftest.$ac_objext; then
28128 ac_cv_header_windows_h=yes
28130 echo "$as_me: failed program was
:" >&5
28131 sed 's/^/| /' conftest.$ac_ext >&5
28133 ac_cv_header_windows_h=no
28136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28138 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28139 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28140 if test $ac_cv_header_windows_h = yes; then
28144 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28145 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28146 { (exit 1); exit 1; }; }
28153 x86_64-*-mingw32* )
28154 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28157 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28160 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28161 LIBS="$LIBS -loleacc"
28166 LIBS="$LIBS -lkernel32 -luser32"
28169 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28170 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28172 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28174 WIN32INSTALL=win32install
28176 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28177 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28178 if test "${ac_cv_header_pbt_h+set}" = set; then
28179 echo $ECHO_N "(cached
) $ECHO_C" >&6
28181 cat >conftest.$ac_ext <<_ACEOF
28184 cat confdefs.h >>conftest.$ac_ext
28185 cat >>conftest.$ac_ext <<_ACEOF
28186 /* end confdefs.h. */
28191 rm -f conftest.$ac_objext
28192 if { (ac_try="$ac_compile"
28193 case "(($ac_try" in
28194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28195 *) ac_try_echo=$ac_try;;
28197 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28198 (eval "$ac_compile") 2>conftest.er1
28200 grep -v '^ *+' conftest.er1 >conftest.err
28202 cat conftest.err >&5
28203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28204 (exit $ac_status); } && {
28205 test -z "$ac_c_werror_flag" ||
28206 test ! -s conftest.err
28207 } && test -s conftest.$ac_objext; then
28208 ac_cv_header_pbt_h=yes
28210 echo "$as_me: failed program was
:" >&5
28211 sed 's/^/| /' conftest.$ac_ext >&5
28213 ac_cv_header_pbt_h=no
28216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28218 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28219 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28220 if test $ac_cv_header_pbt_h = yes; then
28223 cat >>confdefs.h <<\_ACEOF
28224 #define NEED_PBT_H 1
28232 if test "$wxUSE_GUI" = "yes"; then
28242 if test "$wxUSE_COCOA" = 1 ; then
28243 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28244 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28245 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28246 wxUSE_PRINTING_ARCHITECTURE=no
28248 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28249 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28250 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28251 wxUSE_DRAG_AND_DROP=no
28253 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28254 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28255 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28260 if test "$wxUSE_MSW" = 1 ; then
28266 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28270 if test "$wxUSE_GTK" = 1; then
28271 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28272 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28274 gtk_version_cached=1
28275 if test "${wx_cv_lib_gtk+set}" = set; then
28276 echo $ECHO_N "(cached
) $ECHO_C" >&6
28279 gtk_version_cached=0
28280 { echo "$as_me:$LINENO: result
: " >&5
28281 echo "${ECHO_T}" >&6; }
28284 if test "$wxUSE_THREADS" = "yes"; then
28285 GTK_MODULES=gthread
28289 if test "x
$wxGTK_VERSION" != "x1
"
28293 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28298 # Check whether --enable-gtktest was given.
28299 if test "${enable_gtktest+set}" = set; then
28300 enableval=$enable_gtktest;
28306 pkg_config_args=gtk+-2.0
28307 for module in . $GTK_MODULES
28311 pkg_config_args="$pkg_config_args gthread
-2.0
"
28318 # Extract the first word of "pkg
-config", so it can be a program name with args.
28319 set dummy pkg-config; ac_word=$2
28320 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28321 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28322 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28323 echo $ECHO_N "(cached
) $ECHO_C" >&6
28325 case $PKG_CONFIG in
28327 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28331 for as_dir in $PATH
28334 test -z "$as_dir" && as_dir=.
28335 for ac_exec_ext in '' $ac_executable_extensions; do
28336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28337 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28338 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28345 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28349 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28350 if test -n "$PKG_CONFIG"; then
28351 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28352 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28354 { echo "$as_me:$LINENO: result
: no
" >&5
28355 echo "${ECHO_T}no
" >&6; }
28360 if test x$PKG_CONFIG != xno ; then
28361 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28364 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28372 min_gtk_version=2.4.0
28373 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28374 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28376 if test x$PKG_CONFIG != xno ; then
28377 ## don't try to run the test against uninstalled libtool libs
28378 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28379 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28383 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28390 if test x"$no_gtk" = x ; then
28391 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28392 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28393 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28395 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28396 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28397 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28399 if test "x
$enable_gtktest" = "xyes
" ; then
28400 ac_save_CFLAGS="$CFLAGS"
28401 ac_save_LIBS="$LIBS"
28402 CFLAGS="$CFLAGS $GTK_CFLAGS"
28403 LIBS="$GTK_LIBS $LIBS"
28405 if test "$cross_compiling" = yes; then
28406 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28408 cat >conftest.$ac_ext <<_ACEOF
28411 cat confdefs.h >>conftest.$ac_ext
28412 cat >>conftest.$ac_ext <<_ACEOF
28413 /* end confdefs.h. */
28415 #include <gtk/gtk.h>
28417 #include <stdlib.h>
28422 int major, minor, micro;
28425 system ("touch conf.gtktest
");
28427 /* HP/UX 9 (%@#!) writes to sscanf strings */
28428 tmp_version = g_strdup("$min_gtk_version");
28429 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28430 printf("%s
, bad version string
\n", "$min_gtk_version");
28434 if ((gtk_major_version != $gtk_config_major_version) ||
28435 (gtk_minor_version != $gtk_config_minor_version) ||
28436 (gtk_micro_version != $gtk_config_micro_version))
28438 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28439 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28440 gtk_major_version, gtk_minor_version, gtk_micro_version);
28441 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28442 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28443 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28444 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28445 printf("*** required on your system.
\n");
28446 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28447 printf("*** to point to the correct configuration files
\n");
28449 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28450 (gtk_minor_version != GTK_MINOR_VERSION) ||
28451 (gtk_micro_version != GTK_MICRO_VERSION))
28453 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28454 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28455 printf("*** library
(version
%d.
%d.
%d
)\n",
28456 gtk_major_version, gtk_minor_version, gtk_micro_version);
28460 if ((gtk_major_version > major) ||
28461 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28462 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28468 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28469 gtk_major_version, gtk_minor_version, gtk_micro_version);
28470 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28471 major, minor, micro);
28472 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28474 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28475 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28476 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28477 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28478 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28479 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28480 printf("*** so that the correct libraries are found
at run
-time))\n");
28487 rm -f conftest$ac_exeext
28488 if { (ac_try="$ac_link"
28489 case "(($ac_try" in
28490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28491 *) ac_try_echo=$ac_try;;
28493 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28494 (eval "$ac_link") 2>&5
28496 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28497 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28498 { (case "(($ac_try" in
28499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28500 *) ac_try_echo=$ac_try;;
28502 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28503 (eval "$ac_try") 2>&5
28505 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28506 (exit $ac_status); }; }; then
28509 echo "$as_me: program exited with status
$ac_status" >&5
28510 echo "$as_me: failed program was
:" >&5
28511 sed 's/^/| /' conftest.$ac_ext >&5
28513 ( exit $ac_status )
28516 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28520 CFLAGS="$ac_save_CFLAGS"
28521 LIBS="$ac_save_LIBS"
28524 if test "x
$no_gtk" = x ; then
28525 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28526 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28529 { echo "$as_me:$LINENO: result
: no
" >&5
28530 echo "${ECHO_T}no
" >&6; }
28531 if test "$PKG_CONFIG" = "no
" ; then
28532 echo "*** A new enough version of pkg
-config was not found.
"
28533 echo "*** See http
://pkgconfig.sourceforge.net
"
28535 if test -f conf.gtktest ; then
28538 echo "*** Could not run GTK
+ test program
, checking why...
"
28539 ac_save_CFLAGS="$CFLAGS"
28540 ac_save_LIBS="$LIBS"
28541 CFLAGS="$CFLAGS $GTK_CFLAGS"
28542 LIBS="$LIBS $GTK_LIBS"
28543 cat >conftest.$ac_ext <<_ACEOF
28546 cat confdefs.h >>conftest.$ac_ext
28547 cat >>conftest.$ac_ext <<_ACEOF
28548 /* end confdefs.h. */
28550 #include <gtk/gtk.h>
28556 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28561 rm -f conftest.$ac_objext conftest$ac_exeext
28562 if { (ac_try="$ac_link"
28563 case "(($ac_try" in
28564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28565 *) ac_try_echo=$ac_try;;
28567 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28568 (eval "$ac_link") 2>conftest.er1
28570 grep -v '^ *+' conftest.er1 >conftest.err
28572 cat conftest.err >&5
28573 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28574 (exit $ac_status); } && {
28575 test -z "$ac_c_werror_flag" ||
28576 test ! -s conftest.err
28577 } && test -s conftest$ac_exeext &&
28578 $as_test_x conftest$ac_exeext; then
28579 echo "*** The
test program compiled
, but did not run. This usually means
"
28580 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28581 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28582 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28583 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28584 echo "*** is required on your system"
28586 echo "*** If you have an old version installed, it is best to remove it, although"
28587 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28589 echo "$as_me: failed program was:" >&5
28590 sed 's
/^
/| /' conftest.$ac_ext >&5
28592 echo "*** The test program failed to compile or link. See the file config.log for the"
28593 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28597 conftest$ac_exeext conftest.$ac_ext
28598 CFLAGS="$ac_save_CFLAGS"
28599 LIBS="$ac_save_LIBS"
28613 if test "$wxUSE_SHARED" != "yes"; then
28614 GTK_LIBS="$GTK_LIBS -lX11"
28619 if test -z "$wx_cv_lib_gtk"; then
28620 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28622 # Check whether --with-gtk-prefix was given.
28623 if test "${with_gtk_prefix+set}" = set; then
28624 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28626 gtk_config_prefix=""
28630 # Check whether --with-gtk-exec-prefix was given.
28631 if test "${with_gtk_exec_prefix+set}" = set; then
28632 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28634 gtk_config_exec_prefix=""
28637 # Check whether --enable-gtktest was given.
28638 if test "${enable_gtktest+set}" = set; then
28639 enableval=$enable_gtktest;
28645 for module in . $GTK_MODULES
28649 gtk_config_args="$gtk_config_args gthread"
28654 if test x$gtk_config_exec_prefix != x ; then
28655 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28656 if test x${GTK_CONFIG+set} != xset ; then
28657 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28660 if test x$gtk_config_prefix != x ; then
28661 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28662 if test x${GTK_CONFIG+set} != xset ; then
28663 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28667 # Extract the first word of "gtk-config", so it can be a program name with args.
28668 set dummy gtk-config; ac_word=$2
28669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28671 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28672 echo $ECHO_N "(cached) $ECHO_C" >&6
28674 case $GTK_CONFIG in
28676 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28680 for as_dir in $PATH
28683 test -z "$as_dir" && as_dir=.
28684 for ac_exec_ext in '' $ac_executable_extensions; do
28685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28686 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28694 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28698 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28699 if test -n "$GTK_CONFIG"; then
28700 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28701 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28703 { echo "$as_me:$LINENO: result: no" >&5
28704 echo "${ECHO_T}no" >&6; }
28708 min_gtk_version=1.2.7
28709 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28710 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28712 if test "$GTK_CONFIG" = "no" ; then
28715 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28716 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28717 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28718 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28719 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28720 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28721 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28722 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28723 if test "x$enable_gtktest" = "xyes" ; then
28724 ac_save_CFLAGS="$CFLAGS"
28725 ac_save_LIBS="$LIBS"
28726 CFLAGS="$CFLAGS $GTK_CFLAGS"
28727 LIBS="$GTK_LIBS $LIBS"
28729 if test "$cross_compiling" = yes; then
28730 echo $ac_n "cross compiling; assumed OK... $ac_c"
28732 cat >conftest.$ac_ext <<_ACEOF
28735 cat confdefs.h >>conftest.$ac_ext
28736 cat >>conftest.$ac_ext <<_ACEOF
28737 /* end confdefs.h. */
28739 #include <gtk/gtk.h>
28741 #include <stdlib.h>
28746 int major, minor, micro;
28749 system ("touch conf.gtktest");
28751 /* HP/UX 9 (%@#!) writes to sscanf strings */
28752 tmp_version = g_strdup("$min_gtk_version");
28753 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28754 printf("%s, bad version string\n", "$min_gtk_version");
28758 if ((gtk_major_version != $gtk_config_major_version) ||
28759 (gtk_minor_version != $gtk_config_minor_version) ||
28760 (gtk_micro_version != $gtk_config_micro_version))
28762 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28763 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28764 gtk_major_version, gtk_minor_version, gtk_micro_version);
28765 printf ("*** was found! If gtk-config was correct, then it is best\n");
28766 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28767 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28768 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28769 printf("*** required on your system.\n");
28770 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28771 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28772 printf("*** before re-running configure\n");
28774 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28775 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28776 (gtk_minor_version != GTK_MINOR_VERSION) ||
28777 (gtk_micro_version != GTK_MICRO_VERSION))
28779 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28780 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28781 printf("*** library (version %d.%d.%d)\n",
28782 gtk_major_version, gtk_minor_version, gtk_micro_version);
28784 #endif /* defined (GTK_MAJOR_VERSION) ... */
28787 if ((gtk_major_version > major) ||
28788 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28789 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28795 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28796 gtk_major_version, gtk_minor_version, gtk_micro_version);
28797 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28798 major, minor, micro);
28799 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28801 printf("*** If you have already installed a sufficiently new version, this error\n");
28802 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28803 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28804 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28805 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28806 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28807 printf("*** so that the correct libraries are found at run-time))\n");
28814 rm -f conftest$ac_exeext
28815 if { (ac_try="$ac_link"
28816 case "(($ac_try" in
28817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28818 *) ac_try_echo=$ac_try;;
28820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28821 (eval "$ac_link") 2>&5
28823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28824 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28825 { (case "(($ac_try" in
28826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28827 *) ac_try_echo=$ac_try;;
28829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28830 (eval "$ac_try") 2>&5
28832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28833 (exit $ac_status); }; }; then
28836 echo "$as_me: program exited with status $ac_status" >&5
28837 echo "$as_me: failed program was:" >&5
28838 sed 's
/^
/| /' conftest.$ac_ext >&5
28840 ( exit $ac_status )
28843 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28847 CFLAGS="$ac_save_CFLAGS"
28848 LIBS="$ac_save_LIBS"
28851 if test "x$no_gtk" = x ; then
28852 { echo "$as_me:$LINENO: result: yes" >&5
28853 echo "${ECHO_T}yes" >&6; }
28854 wx_cv_lib_gtk=1.2.7
28856 { echo "$as_me:$LINENO: result: no" >&5
28857 echo "${ECHO_T}no" >&6; }
28858 if test "$GTK_CONFIG" = "no" ; then
28859 echo "*** The gtk-config script installed by GTK could not be found"
28860 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28861 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28862 echo "*** full path to gtk-config."
28864 if test -f conf.gtktest ; then
28867 echo "*** Could not run GTK test program, checking why..."
28868 CFLAGS="$CFLAGS $GTK_CFLAGS"
28869 LIBS="$LIBS $GTK_LIBS"
28870 cat >conftest.$ac_ext <<_ACEOF
28873 cat confdefs.h >>conftest.$ac_ext
28874 cat >>conftest.$ac_ext <<_ACEOF
28875 /* end confdefs.h. */
28877 #include <gtk/gtk.h>
28883 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28888 rm -f conftest.$ac_objext conftest$ac_exeext
28889 if { (ac_try="$ac_link"
28890 case "(($ac_try" in
28891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28892 *) ac_try_echo=$ac_try;;
28894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28895 (eval "$ac_link") 2>conftest.er1
28897 grep -v '^
*+' conftest.er1 >conftest.err
28899 cat conftest.err >&5
28900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28901 (exit $ac_status); } && {
28902 test -z "$ac_c_werror_flag" ||
28903 test ! -s conftest.err
28904 } && test -s conftest$ac_exeext &&
28905 $as_test_x conftest$ac_exeext; then
28906 echo "*** The test program compiled, but did not run. This usually means"
28907 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28908 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28909 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28910 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28911 echo "*** is required on your system
"
28913 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28914 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28916 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28917 echo "*** came with the system with the
command"
28919 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28921 echo "$as_me: failed program was
:" >&5
28922 sed 's/^/| /' conftest.$ac_ext >&5
28924 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28925 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28926 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28927 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28931 conftest$ac_exeext conftest.$ac_ext
28932 CFLAGS="$ac_save_CFLAGS"
28933 LIBS="$ac_save_LIBS"
28945 if test -z "$wx_cv_lib_gtk"; then
28947 # Check whether --with-gtk-prefix was given.
28948 if test "${with_gtk_prefix+set}" = set; then
28949 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28951 gtk_config_prefix=""
28955 # Check whether --with-gtk-exec-prefix was given.
28956 if test "${with_gtk_exec_prefix+set}" = set; then
28957 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28959 gtk_config_exec_prefix=""
28962 # Check whether --enable-gtktest was given.
28963 if test "${enable_gtktest+set}" = set; then
28964 enableval=$enable_gtktest;
28970 for module in . $GTK_MODULES
28974 gtk_config_args="$gtk_config_args gthread
"
28979 if test x$gtk_config_exec_prefix != x ; then
28980 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28981 if test x${GTK_CONFIG+set} != xset ; then
28982 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28985 if test x$gtk_config_prefix != x ; then
28986 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28987 if test x${GTK_CONFIG+set} != xset ; then
28988 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28992 # Extract the first word of "gtk
-config", so it can be a program name with args.
28993 set dummy gtk-config; ac_word=$2
28994 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28995 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28996 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28997 echo $ECHO_N "(cached
) $ECHO_C" >&6
28999 case $GTK_CONFIG in
29001 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29005 for as_dir in $PATH
29008 test -z "$as_dir" && as_dir=.
29009 for ac_exec_ext in '' $ac_executable_extensions; do
29010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29011 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29012 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29019 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29023 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29024 if test -n "$GTK_CONFIG"; then
29025 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29026 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29028 { echo "$as_me:$LINENO: result
: no
" >&5
29029 echo "${ECHO_T}no
" >&6; }
29033 min_gtk_version=1.2.3
29034 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29035 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29037 if test "$GTK_CONFIG" = "no
" ; then
29040 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29041 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29042 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29044 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29045 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29046 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29048 if test "x
$enable_gtktest" = "xyes
" ; then
29049 ac_save_CFLAGS="$CFLAGS"
29050 ac_save_LIBS="$LIBS"
29051 CFLAGS="$CFLAGS $GTK_CFLAGS"
29052 LIBS="$GTK_LIBS $LIBS"
29054 if test "$cross_compiling" = yes; then
29055 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29057 cat >conftest.$ac_ext <<_ACEOF
29060 cat confdefs.h >>conftest.$ac_ext
29061 cat >>conftest.$ac_ext <<_ACEOF
29062 /* end confdefs.h. */
29064 #include <gtk/gtk.h>
29066 #include <stdlib.h>
29071 int major, minor, micro;
29074 system ("touch conf.gtktest
");
29076 /* HP/UX 9 (%@#!) writes to sscanf strings */
29077 tmp_version = g_strdup("$min_gtk_version");
29078 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29079 printf("%s
, bad version string
\n", "$min_gtk_version");
29083 if ((gtk_major_version != $gtk_config_major_version) ||
29084 (gtk_minor_version != $gtk_config_minor_version) ||
29085 (gtk_micro_version != $gtk_config_micro_version))
29087 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29088 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29089 gtk_major_version, gtk_minor_version, gtk_micro_version);
29090 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29091 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29092 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29093 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29094 printf("*** required on your system.
\n");
29095 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29096 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29097 printf("*** before re
-running configure
\n");
29099 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29100 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29101 (gtk_minor_version != GTK_MINOR_VERSION) ||
29102 (gtk_micro_version != GTK_MICRO_VERSION))
29104 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29105 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29106 printf("*** library
(version
%d.
%d.
%d
)\n",
29107 gtk_major_version, gtk_minor_version, gtk_micro_version);
29109 #endif /* defined (GTK_MAJOR_VERSION) ... */
29112 if ((gtk_major_version > major) ||
29113 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29114 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29120 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29121 gtk_major_version, gtk_minor_version, gtk_micro_version);
29122 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29123 major, minor, micro);
29124 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29126 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29127 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29128 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29129 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29130 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29131 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29132 printf("*** so that the correct libraries are found
at run
-time))\n");
29139 rm -f conftest$ac_exeext
29140 if { (ac_try="$ac_link"
29141 case "(($ac_try" in
29142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29143 *) ac_try_echo=$ac_try;;
29145 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29146 (eval "$ac_link") 2>&5
29148 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29149 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29150 { (case "(($ac_try" in
29151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29152 *) ac_try_echo=$ac_try;;
29154 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29155 (eval "$ac_try") 2>&5
29157 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29158 (exit $ac_status); }; }; then
29161 echo "$as_me: program exited with status
$ac_status" >&5
29162 echo "$as_me: failed program was
:" >&5
29163 sed 's/^/| /' conftest.$ac_ext >&5
29165 ( exit $ac_status )
29168 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29172 CFLAGS="$ac_save_CFLAGS"
29173 LIBS="$ac_save_LIBS"
29176 if test "x
$no_gtk" = x ; then
29177 { echo "$as_me:$LINENO: result
: yes" >&5
29178 echo "${ECHO_T}yes" >&6; }
29179 wx_cv_lib_gtk=1.2.3
29181 { echo "$as_me:$LINENO: result
: no
" >&5
29182 echo "${ECHO_T}no
" >&6; }
29183 if test "$GTK_CONFIG" = "no
" ; then
29184 echo "*** The gtk
-config script installed by GTK could not be found
"
29185 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29186 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29187 echo "*** full path to gtk
-config.
"
29189 if test -f conf.gtktest ; then
29192 echo "*** Could not run GTK
test program
, checking why...
"
29193 CFLAGS="$CFLAGS $GTK_CFLAGS"
29194 LIBS="$LIBS $GTK_LIBS"
29195 cat >conftest.$ac_ext <<_ACEOF
29198 cat confdefs.h >>conftest.$ac_ext
29199 cat >>conftest.$ac_ext <<_ACEOF
29200 /* end confdefs.h. */
29202 #include <gtk/gtk.h>
29208 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29213 rm -f conftest.$ac_objext conftest$ac_exeext
29214 if { (ac_try="$ac_link"
29215 case "(($ac_try" in
29216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29217 *) ac_try_echo=$ac_try;;
29219 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29220 (eval "$ac_link") 2>conftest.er1
29222 grep -v '^ *+' conftest.er1 >conftest.err
29224 cat conftest.err >&5
29225 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29226 (exit $ac_status); } && {
29227 test -z "$ac_c_werror_flag" ||
29228 test ! -s conftest.err
29229 } && test -s conftest$ac_exeext &&
29230 $as_test_x conftest$ac_exeext; then
29231 echo "*** The
test program compiled
, but did not run. This usually means
"
29232 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29233 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29234 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29235 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29236 echo "*** is required on your system"
29238 echo "*** If you have an old version installed, it is best to remove it, although"
29239 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29241 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29242 echo "*** came with the system with the command"
29244 echo "*** rpm --erase --nodeps gtk gtk-devel"
29246 echo "$as_me: failed program was:" >&5
29247 sed 's
/^
/| /' conftest.$ac_ext >&5
29249 echo "*** The test program failed to compile or link. See the file config.log for the"
29250 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29251 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29252 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29256 conftest$ac_exeext conftest.$ac_ext
29257 CFLAGS="$ac_save_CFLAGS"
29258 LIBS="$ac_save_LIBS"
29273 if test -z "$wx_cv_lib_gtk"; then
29276 wx_cv_cflags_gtk=$GTK_CFLAGS
29277 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29284 if test "$gtk_version_cached" = 1; then
29285 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29286 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29289 case "$wx_cv_lib_gtk" in
29298 *) { { echo "$as_me:$LINENO: error:
29299 The development files for GTK+ were not found. For GTK+ 2, please
29300 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29301 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29302 and that the version is 1.2.3 or above. Also check that the
29303 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29304 --libs' are in the LD_LIBRARY_PATH or equivalent.
29306 echo "$as_me: error:
29307 The development files for GTK+ were not found. For GTK+ 2, please
29308 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29309 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29310 and that the version is 1.2.3 or above. Also check that the
29311 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29312 --libs' are in the LD_LIBRARY_PATH or equivalent.
29314 { (exit 1); exit 1; }; }
29318 if test "$WXGTK2" = 1; then
29319 save_CFLAGS="$CFLAGS"
29321 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29322 LIBS="$LIBS $wx_cv_libs_gtk"
29324 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29325 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29326 cat >conftest.$ac_ext <<_ACEOF
29329 cat confdefs.h >>conftest.$ac_ext
29330 cat >>conftest.$ac_ext <<_ACEOF
29331 /* end confdefs.h. */
29333 #include <gtk/gtk.h>
29339 #if !GTK_CHECK_VERSION(2,10,0)
29347 rm -f conftest.$ac_objext
29348 if { (ac_try="$ac_compile"
29349 case "(($ac_try" in
29350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29351 *) ac_try_echo=$ac_try;;
29353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29354 (eval "$ac_compile") 2>conftest.er1
29356 grep -v '^
*+' conftest.er1 >conftest.err
29358 cat conftest.err >&5
29359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360 (exit $ac_status); } && {
29361 test -z "$ac_c_werror_flag" ||
29362 test ! -s conftest.err
29363 } && test -s conftest.$ac_objext; then
29365 cat >>confdefs.h <<\_ACEOF
29366 #define __WXGTK210__ 1
29369 cat >>confdefs.h <<\_ACEOF
29370 #define __WXGTK26__ 1
29373 { echo "$as_me:$LINENO: result: yes" >&5
29374 echo "${ECHO_T}yes" >&6; }
29378 echo "$as_me: failed program was:" >&5
29379 sed 's
/^
/| /' conftest.$ac_ext >&5
29382 { echo "$as_me:$LINENO: result: no" >&5
29383 echo "${ECHO_T}no" >&6; }
29388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29390 if test "$ac_wxgtk210" = 0; then
29391 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29392 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29393 cat >conftest.$ac_ext <<_ACEOF
29396 cat confdefs.h >>conftest.$ac_ext
29397 cat >>conftest.$ac_ext <<_ACEOF
29398 /* end confdefs.h. */
29400 #include <gtk/gtk.h>
29406 #if !GTK_CHECK_VERSION(2,6,0)
29414 rm -f conftest.$ac_objext
29415 if { (ac_try="$ac_compile"
29416 case "(($ac_try" in
29417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29418 *) ac_try_echo=$ac_try;;
29420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29421 (eval "$ac_compile") 2>conftest.er1
29423 grep -v '^
*+' conftest.er1 >conftest.err
29425 cat conftest.err >&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); } && {
29428 test -z "$ac_c_werror_flag" ||
29429 test ! -s conftest.err
29430 } && test -s conftest.$ac_objext; then
29432 cat >>confdefs.h <<\_ACEOF
29433 #define __WXGTK26__ 1
29436 { echo "$as_me:$LINENO: result: yes" >&5
29437 echo "${ECHO_T}yes" >&6; }
29441 echo "$as_me: failed program was:" >&5
29442 sed 's
/^
/| /' conftest.$ac_ext >&5
29445 { echo "$as_me:$LINENO: result: no" >&5
29446 echo "${ECHO_T}no" >&6; }
29451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29454 CFLAGS="$save_CFLAGS"
29457 if test "$wxUSE_UNICODE" = "yes"; then
29458 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29459 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29463 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29464 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29465 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29466 echo $ECHO_N "(cached) $ECHO_C" >&6
29468 ac_check_lib_save_LIBS=$LIBS
29470 cat >conftest.$ac_ext <<_ACEOF
29473 cat confdefs.h >>conftest.$ac_ext
29474 cat >>conftest.$ac_ext <<_ACEOF
29475 /* end confdefs.h. */
29477 /* Override any GCC internal prototype to avoid an error.
29478 Use char because int might match the return type of a GCC
29479 builtin and then its argument prototype would still apply. */
29483 char gdk_im_open ();
29487 return gdk_im_open ();
29492 rm -f conftest.$ac_objext conftest$ac_exeext
29493 if { (ac_try="$ac_link"
29494 case "(($ac_try" in
29495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29496 *) ac_try_echo=$ac_try;;
29498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29499 (eval "$ac_link") 2>conftest.er1
29501 grep -v '^
*+' conftest.er1 >conftest.err
29503 cat conftest.err >&5
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); } && {
29506 test -z "$ac_c_werror_flag" ||
29507 test ! -s conftest.err
29508 } && test -s conftest$ac_exeext &&
29509 $as_test_x conftest$ac_exeext; then
29510 ac_cv_lib_gdk_gdk_im_open=yes
29512 echo "$as_me: failed program was:" >&5
29513 sed 's
/^
/| /' conftest.$ac_ext >&5
29515 ac_cv_lib_gdk_gdk_im_open=no
29518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29519 conftest$ac_exeext conftest.$ac_ext
29520 LIBS=$ac_check_lib_save_LIBS
29522 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29523 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29524 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29525 cat >>confdefs.h <<\_ACEOF
29532 if test "$USE_DARWIN" != 1; then
29534 for ac_func in poll
29536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29537 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29539 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29540 echo $ECHO_N "(cached) $ECHO_C" >&6
29542 cat >conftest.$ac_ext <<_ACEOF
29545 cat confdefs.h >>conftest.$ac_ext
29546 cat >>conftest.$ac_ext <<_ACEOF
29547 /* end confdefs.h. */
29548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29550 #define $ac_func innocuous_$ac_func
29552 /* System header to define __stub macros and hopefully few prototypes,
29553 which can conflict with char $ac_func (); below.
29554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29555 <limits.h> exists even on freestanding compilers. */
29558 # include <limits.h>
29560 # include <assert.h>
29565 /* Override any GCC internal prototype to avoid an error.
29566 Use char because int might match the return type of a GCC
29567 builtin and then its argument prototype would still apply. */
29572 /* The GNU C library defines this for functions which it implements
29573 to always fail with ENOSYS. Some functions are actually named
29574 something starting with __ and the normal name is an alias. */
29575 #if defined __stub_$ac_func || defined __stub___$ac_func
29582 return $ac_func ();
29587 rm -f conftest.$ac_objext conftest$ac_exeext
29588 if { (ac_try="$ac_link"
29589 case "(($ac_try" in
29590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29591 *) ac_try_echo=$ac_try;;
29593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29594 (eval "$ac_link") 2>conftest.er1
29596 grep -v '^
*+' conftest.er1 >conftest.err
29598 cat conftest.err >&5
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); } && {
29601 test -z "$ac_c_werror_flag" ||
29602 test ! -s conftest.err
29603 } && test -s conftest$ac_exeext &&
29604 $as_test_x conftest$ac_exeext; then
29605 eval "$as_ac_var=yes"
29607 echo "$as_me: failed program was:" >&5
29608 sed 's
/^
/| /' conftest.$ac_ext >&5
29610 eval "$as_ac_var=no"
29613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29614 conftest$ac_exeext conftest.$ac_ext
29616 ac_res=`eval echo '${'$as_ac_var'}'`
29617 { echo "$as_me:$LINENO: result: $ac_res" >&5
29618 echo "${ECHO_T}$ac_res" >&6; }
29619 if test `eval echo '${'$as_ac_var'}'` = yes; then
29620 cat >>confdefs.h <<_ACEOF
29621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29630 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29631 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29633 AFMINSTALL=afminstall
29637 if test "$wxUSE_GPE" = "yes"; then
29638 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29639 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29642 for ac_dir in $SEARCH_LIB;
29644 for ac_extension in a so sl dylib dll.a; do
29645 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29646 ac_find_libraries=$ac_dir
29652 if test "$ac_find_libraries" != "" ; then
29654 if test "$ac_find_libraries" = "default location"; then
29657 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29659 if test $result = 0; then
29662 ac_path_to_link=" -L$ac_find_libraries"
29666 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29668 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29669 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29671 { echo "$as_me:$LINENO: result: not found" >&5
29672 echo "${ECHO_T}not found" >&6; }
29678 if test "$wxUSE_MGL" = 1; then
29679 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29680 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29681 if test "x$MGL_ROOT" = x ; then
29682 { echo "$as_me:$LINENO: result: not found" >&5
29683 echo "${ECHO_T}not found" >&6; }
29684 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29685 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29686 { (exit 1); exit 1; }; }
29688 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29689 echo "${ECHO_T}$MGL_ROOT" >&6; }
29692 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29693 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29696 if test "x$wxUSE_SHARED" = xyes ; then
29697 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29699 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29703 mgl_os_candidates="dos32/dj2"
29706 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29707 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29708 { (exit 1); exit 1; }; }
29714 for mgl_os_i in $mgl_os_candidates ; do
29715 if test "x$mgl_os" = x ; then
29716 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29717 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29718 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29723 if test "x$mgl_lib_type" = x ; then
29724 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29725 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29726 mgl_lib_type=release
29733 if test "x$mgl_os" = x ; then
29734 { echo "$as_me:$LINENO: result: not found" >&5
29735 echo "${ECHO_T}not found" >&6; }
29736 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29737 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29738 { (exit 1); exit 1; }; }
29740 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29741 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29743 wxUSE_UNIVERSAL="yes"
29745 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29746 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29748 AFMINSTALL=afminstall
29753 if test "$wxUSE_DFB" = 1; then
29756 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29757 if test -n "$ac_tool_prefix"; then
29758 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29759 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29762 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29763 echo $ECHO_N "(cached) $ECHO_C" >&6
29765 case $PKG_CONFIG in
29767 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29771 for as_dir in $PATH
29774 test -z "$as_dir" && as_dir=.
29775 for ac_exec_ext in '' $ac_executable_extensions; do
29776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29777 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29788 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29789 if test -n "$PKG_CONFIG"; then
29790 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29791 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29793 { echo "$as_me:$LINENO: result: no" >&5
29794 echo "${ECHO_T}no" >&6; }
29799 if test -z "$ac_cv_path_PKG_CONFIG"; then
29800 ac_pt_PKG_CONFIG=$PKG_CONFIG
29801 # Extract the first word of "pkg-config", so it can be a program name with args.
29802 set dummy pkg-config; ac_word=$2
29803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29805 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29806 echo $ECHO_N "(cached) $ECHO_C" >&6
29808 case $ac_pt_PKG_CONFIG in
29810 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29814 for as_dir in $PATH
29817 test -z "$as_dir" && as_dir=.
29818 for ac_exec_ext in '' $ac_executable_extensions; do
29819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29820 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29831 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29832 if test -n "$ac_pt_PKG_CONFIG"; then
29833 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29834 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29836 { echo "$as_me:$LINENO: result: no" >&5
29837 echo "${ECHO_T}no" >&6; }
29840 if test "x$ac_pt_PKG_CONFIG" = x; then
29843 case $cross_compiling:$ac_tool_warned in
29845 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29846 whose name does not start with the host triplet. If you think this
29847 configuration is useful to you, please write to autoconf@gnu.org." >&5
29848 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29849 whose name does not start with the host triplet. If you think this
29850 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29851 ac_tool_warned=yes ;;
29853 PKG_CONFIG=$ac_pt_PKG_CONFIG
29856 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29860 if test -n "$PKG_CONFIG"; then
29861 _pkg_min_version=0.9.0
29862 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29863 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29864 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29865 { echo "$as_me:$LINENO: result: yes" >&5
29866 echo "${ECHO_T}yes" >&6; }
29868 { echo "$as_me:$LINENO: result: no" >&5
29869 echo "${ECHO_T}no" >&6; }
29877 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29878 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29880 if test -n "$PKG_CONFIG"; then
29881 if test -n "$DIRECTFB_CFLAGS"; then
29882 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29884 if test -n "$PKG_CONFIG" && \
29885 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29886 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); }; then
29890 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29898 if test -n "$PKG_CONFIG"; then
29899 if test -n "$DIRECTFB_LIBS"; then
29900 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29902 if test -n "$PKG_CONFIG" && \
29903 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29904 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29907 (exit $ac_status); }; then
29908 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29919 if test $pkg_failed = yes; then
29921 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29922 _pkg_short_errors_supported=yes
29924 _pkg_short_errors_supported=no
29926 if test $_pkg_short_errors_supported = yes; then
29927 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29929 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29931 # Put the nasty error message in config.log where it belongs
29932 echo "$DIRECTFB_PKG_ERRORS" >&5
29935 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29936 echo "$as_me: error: DirectFB not found." >&2;}
29937 { (exit 1); exit 1; }; }
29940 elif test $pkg_failed = untried; then
29942 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29943 echo "$as_me: error: DirectFB not found." >&2;}
29944 { (exit 1); exit 1; }; }
29948 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29949 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29950 { echo "$as_me:$LINENO: result: yes" >&5
29951 echo "${ECHO_T}yes" >&6; }
29953 wxUSE_UNIVERSAL="yes"
29954 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29955 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29962 if test "$wxUSE_MICROWIN" = 1; then
29963 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29964 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29965 if test "x$MICROWINDOWS" = x ; then
29966 { echo "$as_me:$LINENO: result: not found" >&5
29967 echo "${ECHO_T}not found" >&6; }
29968 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29969 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29970 { (exit 1); exit 1; }; }
29972 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29973 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29976 if test -f $MICROWINDOWS/lib/libmwin.a; then
29977 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29978 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29980 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29981 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29982 { (exit 1); exit 1; }; }
29985 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29986 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29988 wxUSE_UNIVERSAL="yes"
29990 AFMINSTALL=afminstall
29992 GUIDIST=MICROWIN_DIST
29994 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29997 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29998 { echo "$as_me:$LINENO: checking for X" >&5
29999 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30002 # Check whether --with-x was given.
30003 if test "${with_x+set}" = set; then
30007 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30008 if test "x$with_x" = xno; then
30009 # The user explicitly disabled X.
30012 case $x_includes,$x_libraries in #(
30013 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30014 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30015 { (exit 1); exit 1; }; };; #(
30016 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30017 echo $ECHO_N "(cached) $ECHO_C" >&6
30019 # One or both of the vars are not set, and there is no cached value.
30020 ac_x_includes=no ac_x_libraries=no
30021 rm -f -r conftest.dir
30022 if mkdir conftest.dir; then
30024 cat >Imakefile <<'_ACEOF'
30026 @echo incroot='${INCROOT}'
30028 @echo usrlibdir='${USRLIBDIR}'
30030 @echo libdir='${LIBDIR}'
30032 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30033 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30034 for ac_var in incroot usrlibdir libdir; do
30035 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30037 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30038 for ac_extension in a so sl; do
30039 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30040 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30041 ac_im_usrlibdir=$ac_im_libdir; break
30044 # Screen out bogus values from the imake configuration. They are
30045 # bogus both because they are the default anyway, and because
30046 # using them would break gcc on systems where it needs fixed includes.
30047 case $ac_im_incroot in
30048 /usr/include) ac_x_includes= ;;
30049 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30051 case $ac_im_usrlibdir in
30052 /usr/lib | /lib) ;;
30053 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30057 rm -f -r conftest.dir
30060 # Standard set of common directories for X headers.
30061 # Check X11 before X11Rn because it is often a symlink to the current release.
30073 /usr
/local
/X
11/include
30074 /usr
/local
/X
11R
6/include
30075 /usr
/local
/X
11R
5/include
30076 /usr
/local
/X
11R
4/include
30078 /usr
/local
/include
/X11
30079 /usr
/local
/include
/X11R6
30080 /usr
/local
/include
/X11R5
30081 /usr
/local
/include
/X11R4
30085 /usr
/XFree
86/include
/X11
30089 /usr
/unsupported
/include
30090 /usr
/athena
/include
30091 /usr
/local
/x
11r
5/include
30092 /usr
/lpp
/Xamples
/include
30094 /usr
/openwin
/include
30095 /usr
/openwin
/share
/include
'
30097 if test "$ac_x_includes" = no; then
30098 # Guess where to find include files, by looking for Xlib.h.
30099 # First, try using that file with no special directory specified.
30100 cat >conftest.$ac_ext <<_ACEOF
30103 cat confdefs.h >>conftest.$ac_ext
30104 cat >>conftest.$ac_ext <<_ACEOF
30105 /* end confdefs.h. */
30106 #include <X11/Xlib.h>
30108 if { (ac_try="$ac_cpp conftest.$ac_ext"
30109 case "(($ac_try" in
30110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30111 *) ac_try_echo=$ac_try;;
30113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30114 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30116 grep -v '^
*+' conftest.er1 >conftest.err
30118 cat conftest.err >&5
30119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30120 (exit $ac_status); } >/dev/null && {
30121 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30122 test ! -s conftest.err
30124 # We can compile using X headers with no special include directory.
30127 echo "$as_me: failed program was:" >&5
30128 sed 's
/^
/| /' conftest.$ac_ext >&5
30130 for ac_dir in $ac_x_header_dirs; do
30131 if test -r "$ac_dir/X11/Xlib.h"; then
30132 ac_x_includes=$ac_dir
30138 rm -f conftest.err conftest.$ac_ext
30139 fi # $ac_x_includes = no
30141 if test "$ac_x_libraries" = no; then
30142 # Check for the libraries.
30143 # See if we find them without any special options.
30144 # Don't add to
$LIBS permanently.
30147 cat >conftest.
$ac_ext <<_ACEOF
30150 cat confdefs.h
>>conftest.
$ac_ext
30151 cat >>conftest.
$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30153 #include <X11/Xlib.h>
30162 rm -f conftest.
$ac_objext conftest
$ac_exeext
30163 if { (ac_try
="$ac_link"
30164 case "(($ac_try" in
30165 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30166 *) ac_try_echo=$ac_try;;
30168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30169 (eval "$ac_link") 2>conftest.er1
30171 grep -v '^ *+' conftest.er1 >conftest.err
30173 cat conftest.err >&5
30174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 (exit $ac_status); } && {
30176 test -z "$ac_c_werror_flag" ||
30177 test ! -s conftest.err
30178 } && test -s conftest$ac_exeext &&
30179 $as_test_x conftest$ac_exeext; then
30181 # We can link X programs with no special library path.
30184 echo "$as_me: failed program was:" >&5
30185 sed 's/^/| /' conftest.$ac_ext >&5
30188 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30190 # Don't even attempt the hair of trying to link an X program!
30191 for ac_extension in a so sl; do
30192 if test -r "$ac_dir/libX11.$ac_extension"; then
30193 ac_x_libraries=$ac_dir
30200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30201 conftest$ac_exeext conftest.$ac_ext
30202 fi # $ac_x_libraries = no
30204 case $ac_x_includes,$ac_x_libraries in #(
30205 no,* | *,no | *\'*)
30206 # Didn't find X, or a directory has "'" in its name.
30207 ac_cv_have_x="have_x=no";; #(
30209 # Record where we found X for the cache.
30210 ac_cv_have_x="have_x=yes\
30211 ac_x_includes='$ac_x_includes'\
30212 ac_x_libraries='$ac_x_libraries'"
30218 eval "$ac_cv_have_x"
30221 if test "$have_x" != yes; then
30222 { echo "$as_me:$LINENO: result: $have_x" >&5
30223 echo "${ECHO_T}$have_x" >&6; }
30226 # If each of the values was on the command line, it overrides each guess.
30227 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30228 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30229 # Update the cache value to reflect the command line values.
30230 ac_cv_have_x="have_x=yes\
30231 ac_x_includes='$x_includes'\
30232 ac_x_libraries='$x_libraries'"
30233 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30234 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30237 if test "$no_x" = yes; then
30238 # Not all programs may use this symbol, but it does not hurt to define it.
30240 cat >>confdefs.h <<\_ACEOF
30241 #define X_DISPLAY_MISSING 1
30244 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30246 if test -n "$x_includes"; then
30247 X_CFLAGS="$X_CFLAGS -I$x_includes"
30250 # It would also be nice to do this for all -L options, not just this one.
30251 if test -n "$x_libraries"; then
30252 X_LIBS="$X_LIBS -L$x_libraries"
30253 # For Solaris; some versions of Sun CC require a space after -R and
30254 # others require no space. Words are not sufficient . . . .
30255 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30256 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30257 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30258 ac_xsave_c_werror_flag=$ac_c_werror_flag
30259 ac_c_werror_flag=yes
30260 cat >conftest.$ac_ext <<_ACEOF
30263 cat confdefs.h >>conftest.$ac_ext
30264 cat >>conftest.$ac_ext <<_ACEOF
30265 /* end confdefs.h. */
30275 rm -f conftest.$ac_objext conftest$ac_exeext
30276 if { (ac_try="$ac_link"
30277 case "(($ac_try" in
30278 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30279 *) ac_try_echo
=$ac_try;;
30281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30282 (eval "$ac_link") 2>conftest.er1
30284 grep -v '^ *+' conftest.er1
>conftest.err
30286 cat conftest.err
>&5
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); } && {
30289 test -z "$ac_c_werror_flag" ||
30290 test ! -s conftest.err
30291 } && test -s conftest
$ac_exeext &&
30292 $as_test_x conftest
$ac_exeext; then
30293 { echo "$as_me:$LINENO: result: no" >&5
30294 echo "${ECHO_T}no" >&6; }
30295 X_LIBS
="$X_LIBS -R$x_libraries"
30297 echo "$as_me: failed program was:" >&5
30298 sed 's/^/| /' conftest.
$ac_ext >&5
30300 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30301 cat >conftest.
$ac_ext <<_ACEOF
30304 cat confdefs.h
>>conftest.
$ac_ext
30305 cat >>conftest.
$ac_ext <<_ACEOF
30306 /* end confdefs.h. */
30316 rm -f conftest.
$ac_objext conftest
$ac_exeext
30317 if { (ac_try
="$ac_link"
30318 case "(($ac_try" in
30319 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30320 *) ac_try_echo=$ac_try;;
30322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30323 (eval "$ac_link") 2>conftest.er1
30325 grep -v '^ *+' conftest.er1 >conftest.err
30327 cat conftest.err >&5
30328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30329 (exit $ac_status); } && {
30330 test -z "$ac_c_werror_flag" ||
30331 test ! -s conftest.err
30332 } && test -s conftest$ac_exeext &&
30333 $as_test_x conftest$ac_exeext; then
30334 { echo "$as_me:$LINENO: result: yes" >&5
30335 echo "${ECHO_T}yes" >&6; }
30336 X_LIBS="$X_LIBS -R $x_libraries"
30338 echo "$as_me: failed program was:" >&5
30339 sed 's/^/| /' conftest.$ac_ext >&5
30341 { echo "$as_me:$LINENO: result: neither works" >&5
30342 echo "${ECHO_T}neither works" >&6; }
30345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30346 conftest$ac_exeext conftest.$ac_ext
30349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30350 conftest$ac_exeext conftest.$ac_ext
30351 ac_c_werror_flag=$ac_xsave_c_werror_flag
30352 LIBS=$ac_xsave_LIBS
30355 # Check for system-dependent libraries X programs must link with.
30356 # Do this before checking for the system-independent R6 libraries
30357 # (-lICE), since we may need -lsocket or whatever for X linking.
30359 if test "$ISC" = yes; then
30360 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30362 # Martyn Johnson says this is needed for Ultrix, if the X
30363 # libraries were built with DECnet support. And Karl Berry says
30364 # the Alpha needs dnet_stub (dnet does not exist).
30365 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30366 cat >conftest.$ac_ext <<_ACEOF
30369 cat confdefs.h >>conftest.$ac_ext
30370 cat >>conftest.$ac_ext <<_ACEOF
30371 /* end confdefs.h. */
30373 /* Override any GCC internal prototype to avoid an error.
30374 Use char because int might match the return type of a GCC
30375 builtin and then its argument prototype would still apply. */
30379 char XOpenDisplay ();
30383 return XOpenDisplay ();
30388 rm -f conftest.$ac_objext conftest$ac_exeext
30389 if { (ac_try="$ac_link"
30390 case "(($ac_try" in
30391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30392 *) ac_try_echo
=$ac_try;;
30394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30395 (eval "$ac_link") 2>conftest.er1
30397 grep -v '^ *+' conftest.er1
>conftest.err
30399 cat conftest.err
>&5
30400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30401 (exit $ac_status); } && {
30402 test -z "$ac_c_werror_flag" ||
30403 test ! -s conftest.err
30404 } && test -s conftest
$ac_exeext &&
30405 $as_test_x conftest
$ac_exeext; then
30408 echo "$as_me: failed program was:" >&5
30409 sed 's/^/| /' conftest.
$ac_ext >&5
30411 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30412 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30413 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30414 echo $ECHO_N "(cached) $ECHO_C" >&6
30416 ac_check_lib_save_LIBS
=$LIBS
30417 LIBS
="-ldnet $LIBS"
30418 cat >conftest.
$ac_ext <<_ACEOF
30421 cat confdefs.h
>>conftest.
$ac_ext
30422 cat >>conftest.
$ac_ext <<_ACEOF
30423 /* end confdefs.h. */
30425 /* Override any GCC internal prototype to avoid an error.
30426 Use char because int might match the return type of a GCC
30427 builtin and then its argument prototype would still apply. */
30435 return dnet_ntoa ();
30440 rm -f conftest.
$ac_objext conftest
$ac_exeext
30441 if { (ac_try
="$ac_link"
30442 case "(($ac_try" in
30443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30444 *) ac_try_echo=$ac_try;;
30446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30447 (eval "$ac_link") 2>conftest.er1
30449 grep -v '^ *+' conftest.er1 >conftest.err
30451 cat conftest.err >&5
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); } && {
30454 test -z "$ac_c_werror_flag" ||
30455 test ! -s conftest.err
30456 } && test -s conftest$ac_exeext &&
30457 $as_test_x conftest$ac_exeext; then
30458 ac_cv_lib_dnet_dnet_ntoa=yes
30460 echo "$as_me: failed program was:" >&5
30461 sed 's/^/| /' conftest.$ac_ext >&5
30463 ac_cv_lib_dnet_dnet_ntoa=no
30466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30467 conftest$ac_exeext conftest.$ac_ext
30468 LIBS=$ac_check_lib_save_LIBS
30470 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30471 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30472 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30473 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30476 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30477 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30478 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30479 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30480 echo $ECHO_N "(cached) $ECHO_C" >&6
30482 ac_check_lib_save_LIBS=$LIBS
30483 LIBS="-ldnet_stub $LIBS"
30484 cat >conftest.$ac_ext <<_ACEOF
30487 cat confdefs.h >>conftest.$ac_ext
30488 cat >>conftest.$ac_ext <<_ACEOF
30489 /* end confdefs.h. */
30491 /* Override any GCC internal prototype to avoid an error.
30492 Use char because int might match the return type of a GCC
30493 builtin and then its argument prototype would still apply. */
30501 return dnet_ntoa ();
30506 rm -f conftest.$ac_objext conftest$ac_exeext
30507 if { (ac_try="$ac_link"
30508 case "(($ac_try" in
30509 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30510 *) ac_try_echo
=$ac_try;;
30512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30513 (eval "$ac_link") 2>conftest.er1
30515 grep -v '^ *+' conftest.er1
>conftest.err
30517 cat conftest.err
>&5
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); } && {
30520 test -z "$ac_c_werror_flag" ||
30521 test ! -s conftest.err
30522 } && test -s conftest
$ac_exeext &&
30523 $as_test_x conftest
$ac_exeext; then
30524 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30526 echo "$as_me: failed program was:" >&5
30527 sed 's/^/| /' conftest.
$ac_ext >&5
30529 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30532 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30533 conftest
$ac_exeext conftest.
$ac_ext
30534 LIBS
=$ac_check_lib_save_LIBS
30536 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30537 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30538 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30539 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30545 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30546 conftest
$ac_exeext conftest.
$ac_ext
30547 LIBS
="$ac_xsave_LIBS"
30549 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30550 # to get the SysV transport functions.
30551 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30553 # The nsl library prevents programs from opening the X display
30554 # on Irix 5.2, according to T.E. Dickey.
30555 # The functions gethostbyname, getservbyname, and inet_addr are
30556 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30557 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30558 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30559 if test "${ac_cv_func_gethostbyname+set}" = set; then
30560 echo $ECHO_N "(cached) $ECHO_C" >&6
30562 cat >conftest.
$ac_ext <<_ACEOF
30565 cat confdefs.h
>>conftest.
$ac_ext
30566 cat >>conftest.
$ac_ext <<_ACEOF
30567 /* end confdefs.h. */
30568 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30570 #define gethostbyname innocuous_gethostbyname
30572 /* System header to define __stub macros and hopefully few prototypes,
30573 which can conflict with char gethostbyname (); below.
30574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30575 <limits.h> exists even on freestanding compilers. */
30578 # include <limits.h>
30580 # include <assert.h>
30583 #undef gethostbyname
30585 /* Override any GCC internal prototype to avoid an error.
30586 Use char because int might match the return type of a GCC
30587 builtin and then its argument prototype would still apply. */
30591 char gethostbyname ();
30592 /* The GNU C library defines this for functions which it implements
30593 to always fail with ENOSYS. Some functions are actually named
30594 something starting with __ and the normal name is an alias. */
30595 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30602 return gethostbyname ();
30607 rm -f conftest.
$ac_objext conftest
$ac_exeext
30608 if { (ac_try
="$ac_link"
30609 case "(($ac_try" in
30610 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30611 *) ac_try_echo=$ac_try;;
30613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30614 (eval "$ac_link") 2>conftest.er1
30616 grep -v '^ *+' conftest.er1 >conftest.err
30618 cat conftest.err >&5
30619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620 (exit $ac_status); } && {
30621 test -z "$ac_c_werror_flag" ||
30622 test ! -s conftest.err
30623 } && test -s conftest$ac_exeext &&
30624 $as_test_x conftest$ac_exeext; then
30625 ac_cv_func_gethostbyname=yes
30627 echo "$as_me: failed program was:" >&5
30628 sed 's/^/| /' conftest.$ac_ext >&5
30630 ac_cv_func_gethostbyname=no
30633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30634 conftest$ac_exeext conftest.$ac_ext
30636 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30637 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30639 if test $ac_cv_func_gethostbyname = no; then
30640 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30641 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30642 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30643 echo $ECHO_N "(cached) $ECHO_C" >&6
30645 ac_check_lib_save_LIBS=$LIBS
30647 cat >conftest.$ac_ext <<_ACEOF
30650 cat confdefs.h >>conftest.$ac_ext
30651 cat >>conftest.$ac_ext <<_ACEOF
30652 /* end confdefs.h. */
30654 /* Override any GCC internal prototype to avoid an error.
30655 Use char because int might match the return type of a GCC
30656 builtin and then its argument prototype would still apply. */
30660 char gethostbyname ();
30664 return gethostbyname ();
30669 rm -f conftest.$ac_objext conftest$ac_exeext
30670 if { (ac_try="$ac_link"
30671 case "(($ac_try" in
30672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30673 *) ac_try_echo
=$ac_try;;
30675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30676 (eval "$ac_link") 2>conftest.er1
30678 grep -v '^ *+' conftest.er1
>conftest.err
30680 cat conftest.err
>&5
30681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30682 (exit $ac_status); } && {
30683 test -z "$ac_c_werror_flag" ||
30684 test ! -s conftest.err
30685 } && test -s conftest
$ac_exeext &&
30686 $as_test_x conftest
$ac_exeext; then
30687 ac_cv_lib_nsl_gethostbyname
=yes
30689 echo "$as_me: failed program was:" >&5
30690 sed 's/^/| /' conftest.
$ac_ext >&5
30692 ac_cv_lib_nsl_gethostbyname
=no
30695 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30696 conftest
$ac_exeext conftest.
$ac_ext
30697 LIBS
=$ac_check_lib_save_LIBS
30699 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30700 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30701 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30702 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30705 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30706 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30707 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30708 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30709 echo $ECHO_N "(cached) $ECHO_C" >&6
30711 ac_check_lib_save_LIBS
=$LIBS
30713 cat >conftest.
$ac_ext <<_ACEOF
30716 cat confdefs.h
>>conftest.
$ac_ext
30717 cat >>conftest.
$ac_ext <<_ACEOF
30718 /* end confdefs.h. */
30720 /* Override any GCC internal prototype to avoid an error.
30721 Use char because int might match the return type of a GCC
30722 builtin and then its argument prototype would still apply. */
30726 char gethostbyname ();
30730 return gethostbyname ();
30735 rm -f conftest.
$ac_objext conftest
$ac_exeext
30736 if { (ac_try
="$ac_link"
30737 case "(($ac_try" in
30738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30739 *) ac_try_echo=$ac_try;;
30741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30742 (eval "$ac_link") 2>conftest.er1
30744 grep -v '^ *+' conftest.er1 >conftest.err
30746 cat conftest.err >&5
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); } && {
30749 test -z "$ac_c_werror_flag" ||
30750 test ! -s conftest.err
30751 } && test -s conftest$ac_exeext &&
30752 $as_test_x conftest$ac_exeext; then
30753 ac_cv_lib_bsd_gethostbyname=yes
30755 echo "$as_me: failed program was:" >&5
30756 sed 's/^/| /' conftest.$ac_ext >&5
30758 ac_cv_lib_bsd_gethostbyname=no
30761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30762 conftest$ac_exeext conftest.$ac_ext
30763 LIBS=$ac_check_lib_save_LIBS
30765 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30766 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30767 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30768 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30774 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30775 # socket/setsockopt and other routines are undefined under SCO ODT
30776 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30777 # on later versions), says Simon Leinen: it contains gethostby*
30778 # variants that don't use the name server (or something). -lsocket
30779 # must be given before -lnsl if both are needed. We assume that
30780 # if connect needs -lnsl, so does gethostbyname.
30781 { echo "$as_me:$LINENO: checking for connect" >&5
30782 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30783 if test "${ac_cv_func_connect+set}" = set; then
30784 echo $ECHO_N "(cached) $ECHO_C" >&6
30786 cat >conftest.$ac_ext <<_ACEOF
30789 cat confdefs.h >>conftest.$ac_ext
30790 cat >>conftest.$ac_ext <<_ACEOF
30791 /* end confdefs.h. */
30792 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30794 #define connect innocuous_connect
30796 /* System header to define __stub macros and hopefully few prototypes,
30797 which can conflict with char connect (); below.
30798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30799 <limits.h> exists even on freestanding compilers. */
30802 # include <limits.h>
30804 # include <assert.h>
30809 /* Override any GCC internal prototype to avoid an error.
30810 Use char because int might match the return type of a GCC
30811 builtin and then its argument prototype would still apply. */
30816 /* The GNU C library defines this for functions which it implements
30817 to always fail with ENOSYS. Some functions are actually named
30818 something starting with __ and the normal name is an alias. */
30819 #if defined __stub_connect || defined __stub___connect
30831 rm -f conftest.$ac_objext conftest$ac_exeext
30832 if { (ac_try="$ac_link"
30833 case "(($ac_try" in
30834 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30835 *) ac_try_echo
=$ac_try;;
30837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30838 (eval "$ac_link") 2>conftest.er1
30840 grep -v '^ *+' conftest.er1
>conftest.err
30842 cat conftest.err
>&5
30843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30844 (exit $ac_status); } && {
30845 test -z "$ac_c_werror_flag" ||
30846 test ! -s conftest.err
30847 } && test -s conftest
$ac_exeext &&
30848 $as_test_x conftest
$ac_exeext; then
30849 ac_cv_func_connect
=yes
30851 echo "$as_me: failed program was:" >&5
30852 sed 's/^/| /' conftest.
$ac_ext >&5
30854 ac_cv_func_connect
=no
30857 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30858 conftest
$ac_exeext conftest.
$ac_ext
30860 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30861 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30863 if test $ac_cv_func_connect = no
; then
30864 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30865 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30866 if test "${ac_cv_lib_socket_connect+set}" = set; then
30867 echo $ECHO_N "(cached) $ECHO_C" >&6
30869 ac_check_lib_save_LIBS
=$LIBS
30870 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30871 cat >conftest.
$ac_ext <<_ACEOF
30874 cat confdefs.h
>>conftest.
$ac_ext
30875 cat >>conftest.
$ac_ext <<_ACEOF
30876 /* end confdefs.h. */
30878 /* Override any GCC internal prototype to avoid an error.
30879 Use char because int might match the return type of a GCC
30880 builtin and then its argument prototype would still apply. */
30893 rm -f conftest.
$ac_objext conftest
$ac_exeext
30894 if { (ac_try
="$ac_link"
30895 case "(($ac_try" in
30896 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30897 *) ac_try_echo=$ac_try;;
30899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30900 (eval "$ac_link") 2>conftest.er1
30902 grep -v '^ *+' conftest.er1 >conftest.err
30904 cat conftest.err >&5
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); } && {
30907 test -z "$ac_c_werror_flag" ||
30908 test ! -s conftest.err
30909 } && test -s conftest$ac_exeext &&
30910 $as_test_x conftest$ac_exeext; then
30911 ac_cv_lib_socket_connect=yes
30913 echo "$as_me: failed program was:" >&5
30914 sed 's/^/| /' conftest.$ac_ext >&5
30916 ac_cv_lib_socket_connect=no
30919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30920 conftest$ac_exeext conftest.$ac_ext
30921 LIBS=$ac_check_lib_save_LIBS
30923 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30924 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30925 if test $ac_cv_lib_socket_connect = yes; then
30926 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30931 # Guillermo Gomez says -lposix is necessary on A/UX.
30932 { echo "$as_me:$LINENO: checking for remove" >&5
30933 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30934 if test "${ac_cv_func_remove+set}" = set; then
30935 echo $ECHO_N "(cached) $ECHO_C" >&6
30937 cat >conftest.$ac_ext <<_ACEOF
30940 cat confdefs.h >>conftest.$ac_ext
30941 cat >>conftest.$ac_ext <<_ACEOF
30942 /* end confdefs.h. */
30943 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30945 #define remove innocuous_remove
30947 /* System header to define __stub macros and hopefully few prototypes,
30948 which can conflict with char remove (); below.
30949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30950 <limits.h> exists even on freestanding compilers. */
30953 # include <limits.h>
30955 # include <assert.h>
30960 /* Override any GCC internal prototype to avoid an error.
30961 Use char because int might match the return type of a GCC
30962 builtin and then its argument prototype would still apply. */
30967 /* The GNU C library defines this for functions which it implements
30968 to always fail with ENOSYS. Some functions are actually named
30969 something starting with __ and the normal name is an alias. */
30970 #if defined __stub_remove || defined __stub___remove
30982 rm -f conftest.$ac_objext conftest$ac_exeext
30983 if { (ac_try="$ac_link"
30984 case "(($ac_try" in
30985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30986 *) ac_try_echo
=$ac_try;;
30988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30989 (eval "$ac_link") 2>conftest.er1
30991 grep -v '^ *+' conftest.er1
>conftest.err
30993 cat conftest.err
>&5
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); } && {
30996 test -z "$ac_c_werror_flag" ||
30997 test ! -s conftest.err
30998 } && test -s conftest
$ac_exeext &&
30999 $as_test_x conftest
$ac_exeext; then
31000 ac_cv_func_remove
=yes
31002 echo "$as_me: failed program was:" >&5
31003 sed 's/^/| /' conftest.
$ac_ext >&5
31005 ac_cv_func_remove
=no
31008 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31009 conftest
$ac_exeext conftest.
$ac_ext
31011 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31012 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31014 if test $ac_cv_func_remove = no
; then
31015 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31016 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31017 if test "${ac_cv_lib_posix_remove+set}" = set; then
31018 echo $ECHO_N "(cached) $ECHO_C" >&6
31020 ac_check_lib_save_LIBS
=$LIBS
31021 LIBS
="-lposix $LIBS"
31022 cat >conftest.
$ac_ext <<_ACEOF
31025 cat confdefs.h
>>conftest.
$ac_ext
31026 cat >>conftest.
$ac_ext <<_ACEOF
31027 /* end confdefs.h. */
31029 /* Override any GCC internal prototype to avoid an error.
31030 Use char because int might match the return type of a GCC
31031 builtin and then its argument prototype would still apply. */
31044 rm -f conftest.
$ac_objext conftest
$ac_exeext
31045 if { (ac_try
="$ac_link"
31046 case "(($ac_try" in
31047 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31048 *) ac_try_echo=$ac_try;;
31050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31051 (eval "$ac_link") 2>conftest.er1
31053 grep -v '^ *+' conftest.er1 >conftest.err
31055 cat conftest.err >&5
31056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31057 (exit $ac_status); } && {
31058 test -z "$ac_c_werror_flag" ||
31059 test ! -s conftest.err
31060 } && test -s conftest$ac_exeext &&
31061 $as_test_x conftest$ac_exeext; then
31062 ac_cv_lib_posix_remove=yes
31064 echo "$as_me: failed program was:" >&5
31065 sed 's/^/| /' conftest.$ac_ext >&5
31067 ac_cv_lib_posix_remove=no
31070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31071 conftest$ac_exeext conftest.$ac_ext
31072 LIBS=$ac_check_lib_save_LIBS
31074 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31075 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31076 if test $ac_cv_lib_posix_remove = yes; then
31077 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31082 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31083 { echo "$as_me:$LINENO: checking for shmat" >&5
31084 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31085 if test "${ac_cv_func_shmat+set}" = set; then
31086 echo $ECHO_N "(cached) $ECHO_C" >&6
31088 cat >conftest.$ac_ext <<_ACEOF
31091 cat confdefs.h >>conftest.$ac_ext
31092 cat >>conftest.$ac_ext <<_ACEOF
31093 /* end confdefs.h. */
31094 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31096 #define shmat innocuous_shmat
31098 /* System header to define __stub macros and hopefully few prototypes,
31099 which can conflict with char shmat (); below.
31100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31101 <limits.h> exists even on freestanding compilers. */
31104 # include <limits.h>
31106 # include <assert.h>
31111 /* Override any GCC internal prototype to avoid an error.
31112 Use char because int might match the return type of a GCC
31113 builtin and then its argument prototype would still apply. */
31118 /* The GNU C library defines this for functions which it implements
31119 to always fail with ENOSYS. Some functions are actually named
31120 something starting with __ and the normal name is an alias. */
31121 #if defined __stub_shmat || defined __stub___shmat
31133 rm -f conftest.$ac_objext conftest$ac_exeext
31134 if { (ac_try="$ac_link"
31135 case "(($ac_try" in
31136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31137 *) ac_try_echo
=$ac_try;;
31139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31140 (eval "$ac_link") 2>conftest.er1
31142 grep -v '^ *+' conftest.er1
>conftest.err
31144 cat conftest.err
>&5
31145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31146 (exit $ac_status); } && {
31147 test -z "$ac_c_werror_flag" ||
31148 test ! -s conftest.err
31149 } && test -s conftest
$ac_exeext &&
31150 $as_test_x conftest
$ac_exeext; then
31151 ac_cv_func_shmat
=yes
31153 echo "$as_me: failed program was:" >&5
31154 sed 's/^/| /' conftest.
$ac_ext >&5
31156 ac_cv_func_shmat
=no
31159 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31160 conftest
$ac_exeext conftest.
$ac_ext
31162 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31163 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31165 if test $ac_cv_func_shmat = no
; then
31166 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31167 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31168 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31169 echo $ECHO_N "(cached) $ECHO_C" >&6
31171 ac_check_lib_save_LIBS
=$LIBS
31173 cat >conftest.
$ac_ext <<_ACEOF
31176 cat confdefs.h
>>conftest.
$ac_ext
31177 cat >>conftest.
$ac_ext <<_ACEOF
31178 /* end confdefs.h. */
31180 /* Override any GCC internal prototype to avoid an error.
31181 Use char because int might match the return type of a GCC
31182 builtin and then its argument prototype would still apply. */
31195 rm -f conftest.
$ac_objext conftest
$ac_exeext
31196 if { (ac_try
="$ac_link"
31197 case "(($ac_try" in
31198 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31199 *) ac_try_echo=$ac_try;;
31201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31202 (eval "$ac_link") 2>conftest.er1
31204 grep -v '^ *+' conftest.er1 >conftest.err
31206 cat conftest.err >&5
31207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31208 (exit $ac_status); } && {
31209 test -z "$ac_c_werror_flag" ||
31210 test ! -s conftest.err
31211 } && test -s conftest$ac_exeext &&
31212 $as_test_x conftest$ac_exeext; then
31213 ac_cv_lib_ipc_shmat=yes
31215 echo "$as_me: failed program was:" >&5
31216 sed 's/^/| /' conftest.$ac_ext >&5
31218 ac_cv_lib_ipc_shmat=no
31221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31222 conftest$ac_exeext conftest.$ac_ext
31223 LIBS=$ac_check_lib_save_LIBS
31225 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31226 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31227 if test $ac_cv_lib_ipc_shmat = yes; then
31228 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31234 # Check for libraries that X11R6 Xt/Xaw programs need.
31235 ac_save_LDFLAGS=$LDFLAGS
31236 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31237 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31238 # check for ICE first), but we must link in the order -lSM -lICE or
31239 # we get undefined symbols. So assume we have SM if we have ICE.
31240 # These have to be linked with before -lX11, unlike the other
31241 # libraries we check for below, so use a different variable.
31242 # John Interrante, Karl Berry
31243 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31244 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31245 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31246 echo $ECHO_N "(cached) $ECHO_C" >&6
31248 ac_check_lib_save_LIBS=$LIBS
31249 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31250 cat >conftest.$ac_ext <<_ACEOF
31253 cat confdefs.h >>conftest.$ac_ext
31254 cat >>conftest.$ac_ext <<_ACEOF
31255 /* end confdefs.h. */
31257 /* Override any GCC internal prototype to avoid an error.
31258 Use char because int might match the return type of a GCC
31259 builtin and then its argument prototype would still apply. */
31263 char IceConnectionNumber ();
31267 return IceConnectionNumber ();
31272 rm -f conftest.$ac_objext conftest$ac_exeext
31273 if { (ac_try="$ac_link"
31274 case "(($ac_try" in
31275 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31276 *) ac_try_echo
=$ac_try;;
31278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31279 (eval "$ac_link") 2>conftest.er1
31281 grep -v '^ *+' conftest.er1
>conftest.err
31283 cat conftest.err
>&5
31284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31285 (exit $ac_status); } && {
31286 test -z "$ac_c_werror_flag" ||
31287 test ! -s conftest.err
31288 } && test -s conftest
$ac_exeext &&
31289 $as_test_x conftest
$ac_exeext; then
31290 ac_cv_lib_ICE_IceConnectionNumber
=yes
31292 echo "$as_me: failed program was:" >&5
31293 sed 's/^/| /' conftest.
$ac_ext >&5
31295 ac_cv_lib_ICE_IceConnectionNumber
=no
31298 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31299 conftest
$ac_exeext conftest.
$ac_ext
31300 LIBS
=$ac_check_lib_save_LIBS
31302 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31303 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31304 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31305 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31308 LDFLAGS
=$ac_save_LDFLAGS
31313 if test "$no_x" = "yes"; then
31314 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31315 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31316 { (exit 1); exit 1; }; }
31319 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31320 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31321 AFMINSTALL
=afminstall
31322 COMPILED_X_PROGRAM
=0
31326 if test "$wxUSE_X11" = 1; then
31327 if test "$wxUSE_NANOX" = "yes"; then
31328 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31329 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31330 if test "x$MICROWIN" = x
; then
31331 { echo "$as_me:$LINENO: result: not found" >&5
31332 echo "${ECHO_T}not found" >&6; }
31333 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31334 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31335 { (exit 1); exit 1; }; }
31337 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31338 echo "${ECHO_T}$MICROWIN" >&6; }
31339 cat >>confdefs.h
<<\_ACEOF
31340 #define wxUSE_NANOX 1
31346 if test "$wxUSE_UNICODE" = "yes"; then
31349 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31350 if test -n "$ac_tool_prefix"; then
31351 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31352 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31355 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31356 echo $ECHO_N "(cached) $ECHO_C" >&6
31358 case $PKG_CONFIG in
31360 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31364 for as_dir
in $PATH
31367 test -z "$as_dir" && as_dir
=.
31368 for ac_exec_ext
in '' $ac_executable_extensions; do
31369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31370 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31381 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31382 if test -n "$PKG_CONFIG"; then
31383 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31384 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31386 { echo "$as_me:$LINENO: result: no" >&5
31387 echo "${ECHO_T}no" >&6; }
31392 if test -z "$ac_cv_path_PKG_CONFIG"; then
31393 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31394 # Extract the first word of "pkg-config", so it can be a program name with args.
31395 set dummy pkg
-config; ac_word
=$2
31396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31398 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31399 echo $ECHO_N "(cached) $ECHO_C" >&6
31401 case $ac_pt_PKG_CONFIG in
31403 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31407 for as_dir
in $PATH
31410 test -z "$as_dir" && as_dir
=.
31411 for ac_exec_ext
in '' $ac_executable_extensions; do
31412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31413 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31424 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31425 if test -n "$ac_pt_PKG_CONFIG"; then
31426 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31427 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31429 { echo "$as_me:$LINENO: result: no" >&5
31430 echo "${ECHO_T}no" >&6; }
31433 if test "x$ac_pt_PKG_CONFIG" = x
; then
31436 case $cross_compiling:$ac_tool_warned in
31438 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31439 whose name does not start with the host triplet. If you think this
31440 configuration is useful to you, please write to autoconf@gnu.org." >&5
31441 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31442 whose name does not start with the host triplet. If you think this
31443 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31444 ac_tool_warned
=yes ;;
31446 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31449 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31453 if test -n "$PKG_CONFIG"; then
31454 _pkg_min_version
=0.9.0
31455 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31456 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31457 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31458 { echo "$as_me:$LINENO: result: yes" >&5
31459 echo "${ECHO_T}yes" >&6; }
31461 { echo "$as_me:$LINENO: result: no" >&5
31462 echo "${ECHO_T}no" >&6; }
31470 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31471 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31473 if test -n "$PKG_CONFIG"; then
31474 if test -n "$PANGOX_CFLAGS"; then
31475 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31477 if test -n "$PKG_CONFIG" && \
31478 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31479 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); }; then
31483 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31491 if test -n "$PKG_CONFIG"; then
31492 if test -n "$PANGOX_LIBS"; then
31493 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31495 if test -n "$PKG_CONFIG" && \
31496 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31497 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); }; then
31501 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31512 if test $pkg_failed = yes; then
31514 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31515 _pkg_short_errors_supported
=yes
31517 _pkg_short_errors_supported
=no
31519 if test $_pkg_short_errors_supported = yes; then
31520 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31522 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31524 # Put the nasty error message in config.log where it belongs
31525 echo "$PANGOX_PKG_ERRORS" >&5
31528 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31529 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31530 { (exit 1); exit 1; }; }
31533 elif test $pkg_failed = untried
; then
31535 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31536 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31537 { (exit 1); exit 1; }; }
31541 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31542 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31543 { echo "$as_me:$LINENO: result: yes" >&5
31544 echo "${ECHO_T}yes" >&6; }
31546 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31547 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31548 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31553 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31554 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31556 if test -n "$PKG_CONFIG"; then
31557 if test -n "$PANGOFT2_CFLAGS"; then
31558 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31560 if test -n "$PKG_CONFIG" && \
31561 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31562 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); }; then
31566 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31574 if test -n "$PKG_CONFIG"; then
31575 if test -n "$PANGOFT2_LIBS"; then
31576 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31578 if test -n "$PKG_CONFIG" && \
31579 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31580 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); }; then
31584 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31595 if test $pkg_failed = yes; then
31597 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31598 _pkg_short_errors_supported
=yes
31600 _pkg_short_errors_supported
=no
31602 if test $_pkg_short_errors_supported = yes; then
31603 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31605 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31607 # Put the nasty error message in config.log where it belongs
31608 echo "$PANGOFT2_PKG_ERRORS" >&5
31611 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31612 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31613 wxUSE_PRINTING_ARCHITECTURE
="no"
31616 elif test $pkg_failed = untried
; then
31618 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31619 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31620 wxUSE_PRINTING_ARCHITECTURE
="no"
31624 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31625 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31626 { echo "$as_me:$LINENO: result: yes" >&5
31627 echo "${ECHO_T}yes" >&6; }
31629 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31630 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31631 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31636 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31637 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31639 if test -n "$PKG_CONFIG"; then
31640 if test -n "$PANGOXFT_CFLAGS"; then
31641 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31643 if test -n "$PKG_CONFIG" && \
31644 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31645 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31648 (exit $ac_status); }; then
31649 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31657 if test -n "$PKG_CONFIG"; then
31658 if test -n "$PANGOXFT_LIBS"; then
31659 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31661 if test -n "$PKG_CONFIG" && \
31662 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31663 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666 (exit $ac_status); }; then
31667 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31678 if test $pkg_failed = yes; then
31680 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31681 _pkg_short_errors_supported
=yes
31683 _pkg_short_errors_supported
=no
31685 if test $_pkg_short_errors_supported = yes; then
31686 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31688 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31690 # Put the nasty error message in config.log where it belongs
31691 echo "$PANGOXFT_PKG_ERRORS" >&5
31694 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31695 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31698 elif test $pkg_failed = untried
; then
31700 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31701 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31705 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31706 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31707 { echo "$as_me:$LINENO: result: yes" >&5
31708 echo "${ECHO_T}yes" >&6; }
31710 cat >>confdefs.h
<<\_ACEOF
31711 #define HAVE_PANGO_XFT 1
31714 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31715 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31716 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31720 LIBS
="$LIBS $PANGOX_LIBS"
31722 for ac_func
in pango_font_family_is_monospace
31724 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31725 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31727 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31728 echo $ECHO_N "(cached) $ECHO_C" >&6
31730 cat >conftest.
$ac_ext <<_ACEOF
31733 cat confdefs.h
>>conftest.
$ac_ext
31734 cat >>conftest.
$ac_ext <<_ACEOF
31735 /* end confdefs.h. */
31736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31738 #define $ac_func innocuous_$ac_func
31740 /* System header to define __stub macros and hopefully few prototypes,
31741 which can conflict with char $ac_func (); below.
31742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31743 <limits.h> exists even on freestanding compilers. */
31746 # include <limits.h>
31748 # include <assert.h>
31753 /* Override any GCC internal prototype to avoid an error.
31754 Use char because int might match the return type of a GCC
31755 builtin and then its argument prototype would still apply. */
31760 /* The GNU C library defines this for functions which it implements
31761 to always fail with ENOSYS. Some functions are actually named
31762 something starting with __ and the normal name is an alias. */
31763 #if defined __stub_$ac_func || defined __stub___$ac_func
31770 return $ac_func ();
31775 rm -f conftest.
$ac_objext conftest
$ac_exeext
31776 if { (ac_try
="$ac_link"
31777 case "(($ac_try" in
31778 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31779 *) ac_try_echo=$ac_try;;
31781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31782 (eval "$ac_link") 2>conftest.er1
31784 grep -v '^ *+' conftest.er1 >conftest.err
31786 cat conftest.err >&5
31787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31788 (exit $ac_status); } && {
31789 test -z "$ac_c_werror_flag" ||
31790 test ! -s conftest.err
31791 } && test -s conftest$ac_exeext &&
31792 $as_test_x conftest$ac_exeext; then
31793 eval "$as_ac_var=yes"
31795 echo "$as_me: failed program was:" >&5
31796 sed 's/^/| /' conftest.$ac_ext >&5
31798 eval "$as_ac_var=no"
31801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31802 conftest$ac_exeext conftest.$ac_ext
31804 ac_res=`eval echo '${'$as_ac_var'}'`
31805 { echo "$as_me:$LINENO: result: $ac_res" >&5
31806 echo "${ECHO_T}$ac_res" >&6; }
31807 if test `eval echo '${'$as_ac_var'}'` = yes; then
31808 cat >>confdefs.h <<_ACEOF
31809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31818 wxUSE_UNIVERSAL="yes"
31820 if test "$wxUSE_NANOX" = "yes"; then
31821 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31822 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"
31823 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31825 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31832 if test "$wxUSE_MOTIF" = 1; then
31833 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31834 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31837 for ac_dir in $SEARCH_INCLUDE /usr/include;
31839 if test -f "$ac_dir/Xm/Xm.h"; then
31840 ac_find_includes=$ac_dir
31845 if test "$ac_find_includes" != "" ; then
31846 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31847 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31849 if test "x$ac_find_includes" = "x/usr/include"; then
31850 ac_path_to_include=""
31852 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31854 if test $result = 0; then
31855 ac_path_to_include=""
31857 ac_path_to_include=" -I$ac_find_includes"
31861 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31863 save_CFLAGS=$CFLAGS
31864 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31866 cat >conftest.$ac_ext <<_ACEOF
31869 cat confdefs.h >>conftest.$ac_ext
31870 cat >>conftest.$ac_ext <<_ACEOF
31871 /* end confdefs.h. */
31880 version = xmUseVersion;
31886 rm -f conftest.$ac_objext
31887 if { (ac_try="$ac_compile"
31888 case "(($ac_try" in
31889 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31890 *) ac_try_echo
=$ac_try;;
31892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31893 (eval "$ac_compile") 2>conftest.er1
31895 grep -v '^ *+' conftest.er1
>conftest.err
31897 cat conftest.err
>&5
31898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899 (exit $ac_status); } && {
31900 test -z "$ac_c_werror_flag" ||
31901 test ! -s conftest.err
31902 } && test -s conftest.
$ac_objext; then
31904 { echo "$as_me:$LINENO: result: found in default search path" >&5
31905 echo "${ECHO_T}found in default search path" >&6; }
31906 COMPILED_X_PROGRAM
=1
31909 echo "$as_me: failed program was:" >&5
31910 sed 's/^/| /' conftest.
$ac_ext >&5
31913 { echo "$as_me:$LINENO: result: no" >&5
31914 echo "${ECHO_T}no" >&6; }
31915 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31916 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31917 { (exit 1); exit 1; }; }
31922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31924 CFLAGS
=$save_CFLAGS
31928 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31929 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31932 for ac_dir
in $SEARCH_LIB;
31934 for ac_extension
in a so sl dylib dll.a
; do
31935 if test -f "$ac_dir/libXm.$ac_extension"; then
31936 ac_find_libraries
=$ac_dir
31943 if test "x$ac_find_libraries" != "x" ; then
31944 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31945 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31948 if test "$ac_find_libraries" = "default location"; then
31951 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31953 if test $result = 0; then
31956 ac_path_to_link
=" -L$ac_find_libraries"
31960 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31962 save_CFLAGS
=$CFLAGS
31963 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31965 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31967 cat >conftest.
$ac_ext <<_ACEOF
31970 cat confdefs.h
>>conftest.
$ac_ext
31971 cat >>conftest.
$ac_ext <<_ACEOF
31972 /* end confdefs.h. */
31981 version = xmUseVersion;
31987 rm -f conftest.
$ac_objext conftest
$ac_exeext
31988 if { (ac_try
="$ac_link"
31989 case "(($ac_try" in
31990 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31991 *) ac_try_echo=$ac_try;;
31993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31994 (eval "$ac_link") 2>conftest.er1
31996 grep -v '^ *+' conftest.er1 >conftest.err
31998 cat conftest.err >&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); } && {
32001 test -z "$ac_c_werror_flag" ||
32002 test ! -s conftest.err
32003 } && test -s conftest$ac_exeext &&
32004 $as_test_x conftest$ac_exeext; then
32006 { echo "$as_me:$LINENO: result: found in default search path" >&5
32007 echo "${ECHO_T}found in default search path" >&6; }
32008 COMPILED_X_PROGRAM=1
32011 echo "$as_me: failed program was:" >&5
32012 sed 's/^/| /' conftest.$ac_ext >&5
32015 { echo "$as_me:$LINENO: result: no" >&5
32016 echo "${ECHO_T}no" >&6; }
32017 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32018 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32019 { (exit 1); exit 1; }; }
32024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32025 conftest$ac_exeext conftest.$ac_ext
32027 CFLAGS=$save_CFLAGS
32031 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32032 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32036 for libp in "" " -lXp"; do
32037 if test "$libs_found" = 0; then
32038 for libsm_ice in "" " -lSM -lICE"; do
32039 if test "$libs_found" = 0; then
32041 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32042 save_CFLAGS=$CFLAGS
32043 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32045 cat >conftest.$ac_ext <<_ACEOF
32048 cat confdefs.h >>conftest.$ac_ext
32049 cat >>conftest.$ac_ext <<_ACEOF
32050 /* end confdefs.h. */
32053 #include <Xm/List.h>
32059 XmString string = NULL;
32062 XmListAddItem(w, string, position);
32068 rm -f conftest.$ac_objext conftest$ac_exeext
32069 if { (ac_try="$ac_link"
32070 case "(($ac_try" in
32071 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32072 *) ac_try_echo
=$ac_try;;
32074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32075 (eval "$ac_link") 2>conftest.er1
32077 grep -v '^ *+' conftest.er1
>conftest.err
32079 cat conftest.err
>&5
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); } && {
32082 test -z "$ac_c_werror_flag" ||
32083 test ! -s conftest.err
32084 } && test -s conftest
$ac_exeext &&
32085 $as_test_x conftest
$ac_exeext; then
32088 libsm_ice_link
="$libsm_ice"
32089 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32090 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32094 echo "$as_me: failed program was:" >&5
32095 sed 's/^/| /' conftest.
$ac_ext >&5
32101 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32102 conftest
$ac_exeext conftest.
$ac_ext
32105 CFLAGS
=$save_CFLAGS
32111 if test "$libs_found" = 0; then
32112 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32113 echo "${ECHO_T}can't find the right libraries" >&6; }
32114 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32115 echo "$as_me: error: can't link a simple motif program" >&2;}
32116 { (exit 1); exit 1; }; }
32119 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32120 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32121 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32122 echo $ECHO_N "(cached) $ECHO_C" >&6
32124 ac_check_lib_save_LIBS
=$LIBS
32126 cat >conftest.
$ac_ext <<_ACEOF
32129 cat confdefs.h
>>conftest.
$ac_ext
32130 cat >>conftest.
$ac_ext <<_ACEOF
32131 /* end confdefs.h. */
32133 /* Override any GCC internal prototype to avoid an error.
32134 Use char because int might match the return type of a GCC
32135 builtin and then its argument prototype would still apply. */
32139 char SgCreateList ();
32143 return SgCreateList ();
32148 rm -f conftest.
$ac_objext conftest
$ac_exeext
32149 if { (ac_try
="$ac_link"
32150 case "(($ac_try" in
32151 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32152 *) ac_try_echo=$ac_try;;
32154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32155 (eval "$ac_link") 2>conftest.er1
32157 grep -v '^ *+' conftest.er1 >conftest.err
32159 cat conftest.err >&5
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); } && {
32162 test -z "$ac_c_werror_flag" ||
32163 test ! -s conftest.err
32164 } && test -s conftest$ac_exeext &&
32165 $as_test_x conftest$ac_exeext; then
32166 ac_cv_lib_Sgm_SgCreateList=yes
32168 echo "$as_me: failed program was:" >&5
32169 sed 's/^/| /' conftest.$ac_ext >&5
32171 ac_cv_lib_Sgm_SgCreateList=no
32174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32175 conftest$ac_exeext conftest.$ac_ext
32176 LIBS=$ac_check_lib_save_LIBS
32178 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32179 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32180 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32181 libsgm_link=" -lSgm"
32185 save_CFLAGS=$CFLAGS
32186 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32188 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32189 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32190 if test "${wx_cv_lib_motif2+set}" = set; then
32191 echo $ECHO_N "(cached) $ECHO_C" >&6
32193 cat >conftest.$ac_ext <<_ACEOF
32196 cat confdefs.h >>conftest.$ac_ext
32197 cat >>conftest.$ac_ext <<_ACEOF
32198 /* end confdefs.h. */
32206 #if XmVersion < 2000
32214 rm -f conftest.$ac_objext
32215 if { (ac_try="$ac_compile"
32216 case "(($ac_try" in
32217 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32218 *) ac_try_echo
=$ac_try;;
32220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32221 (eval "$ac_compile") 2>conftest.er1
32223 grep -v '^ *+' conftest.er1
>conftest.err
32225 cat conftest.err
>&5
32226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32227 (exit $ac_status); } && {
32228 test -z "$ac_c_werror_flag" ||
32229 test ! -s conftest.err
32230 } && test -s conftest.
$ac_objext; then
32231 wx_cv_lib_motif2
="yes"
32233 echo "$as_me: failed program was:" >&5
32234 sed 's/^/| /' conftest.
$ac_ext >&5
32236 wx_cv_lib_motif2
="no"
32239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32241 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32242 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32243 if test "$wx_cv_lib_motif2" = "yes"; then
32244 cat >>confdefs.h
<<\_ACEOF
32245 #define __WXMOTIF20__ 1
32249 cat >>confdefs.h
<<\_ACEOF
32250 #define __WXMOTIF20__ 0
32255 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32256 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32257 if test "${wx_cv_lib_lesstif+set}" = set; then
32258 echo $ECHO_N "(cached) $ECHO_C" >&6
32260 cat >conftest.
$ac_ext <<_ACEOF
32263 cat confdefs.h
>>conftest.
$ac_ext
32264 cat >>conftest.
$ac_ext <<_ACEOF
32265 /* end confdefs.h. */
32273 #if !defined(LesstifVersion) || LesstifVersion <= 0
32281 rm -f conftest.
$ac_objext
32282 if { (ac_try
="$ac_compile"
32283 case "(($ac_try" in
32284 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32285 *) ac_try_echo=$ac_try;;
32287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32288 (eval "$ac_compile") 2>conftest.er1
32290 grep -v '^ *+' conftest.er1 >conftest.err
32292 cat conftest.err >&5
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); } && {
32295 test -z "$ac_c_werror_flag" ||
32296 test ! -s conftest.err
32297 } && test -s conftest.$ac_objext; then
32298 wx_cv_lib_lesstif="yes"
32300 echo "$as_me: failed program was:" >&5
32301 sed 's/^/| /' conftest.$ac_ext >&5
32303 wx_cv_lib_lesstif="no"
32306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32309 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32310 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32311 if test "$wx_cv_lib_lesstif" = "yes"; then
32312 cat >>confdefs.h <<\_ACEOF
32313 #define __WXLESSTIF__ 1
32317 cat >>confdefs.h <<\_ACEOF
32318 #define __WXLESSTIF__ 0
32323 CFLAGS=$save_CFLAGS
32325 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32330 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32331 if test "$wxUSE_LIBXPM" = "sys"; then
32332 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32333 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32336 for ac_dir in $SEARCH_LIB;
32338 for ac_extension in a so sl dylib dll.a; do
32339 if test -f "$ac_dir/libXpm.$ac_extension"; then
32340 ac_find_libraries=$ac_dir
32346 if test "$ac_find_libraries" != "" ; then
32348 if test "$ac_find_libraries" = "default location"; then
32351 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32353 if test $result = 0; then
32356 ac_path_to_link=" -L$ac_find_libraries"
32360 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32361 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32362 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32364 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32365 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32366 if test "${wx_cv_x11_xpm_h+set}" = set; then
32367 echo $ECHO_N "(cached) $ECHO_C" >&6
32370 save_CFLAGS=$CFLAGS
32371 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32373 cat >conftest.$ac_ext <<_ACEOF
32376 cat confdefs.h >>conftest.$ac_ext
32377 cat >>conftest.$ac_ext <<_ACEOF
32378 /* end confdefs.h. */
32380 #include <X11/xpm.h>
32387 version = XpmLibraryVersion();
32393 rm -f conftest.$ac_objext
32394 if { (ac_try="$ac_compile"
32395 case "(($ac_try" in
32396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32397 *) ac_try_echo
=$ac_try;;
32399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32400 (eval "$ac_compile") 2>conftest.er1
32402 grep -v '^ *+' conftest.er1
>conftest.err
32404 cat conftest.err
>&5
32405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32406 (exit $ac_status); } && {
32407 test -z "$ac_c_werror_flag" ||
32408 test ! -s conftest.err
32409 } && test -s conftest.
$ac_objext; then
32410 wx_cv_x11_xpm_h
=yes
32412 echo "$as_me: failed program was:" >&5
32413 sed 's/^/| /' conftest.
$ac_ext >&5
32419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32421 CFLAGS
=$save_CFLAGS
32425 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32426 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32428 if test $wx_cv_x11_xpm_h = "yes"; then
32429 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32430 cat >>confdefs.h
<<\_ACEOF
32431 #define wxHAVE_LIB_XPM 1
32435 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32436 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32442 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32443 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32444 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32445 echo $ECHO_N "(cached) $ECHO_C" >&6
32447 ac_check_lib_save_LIBS
=$LIBS
32448 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32449 cat >conftest.
$ac_ext <<_ACEOF
32452 cat confdefs.h
>>conftest.
$ac_ext
32453 cat >>conftest.
$ac_ext <<_ACEOF
32454 /* end confdefs.h. */
32456 /* Override any GCC internal prototype to avoid an error.
32457 Use char because int might match the return type of a GCC
32458 builtin and then its argument prototype would still apply. */
32462 char XShapeQueryExtension ();
32466 return XShapeQueryExtension ();
32471 rm -f conftest.
$ac_objext conftest
$ac_exeext
32472 if { (ac_try
="$ac_link"
32473 case "(($ac_try" in
32474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32475 *) ac_try_echo=$ac_try;;
32477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32478 (eval "$ac_link") 2>conftest.er1
32480 grep -v '^ *+' conftest.er1 >conftest.err
32482 cat conftest.err >&5
32483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32484 (exit $ac_status); } && {
32485 test -z "$ac_c_werror_flag" ||
32486 test ! -s conftest.err
32487 } && test -s conftest$ac_exeext &&
32488 $as_test_x conftest$ac_exeext; then
32489 ac_cv_lib_Xext_XShapeQueryExtension=yes
32491 echo "$as_me: failed program was:" >&5
32492 sed 's/^/| /' conftest.$ac_ext >&5
32494 ac_cv_lib_Xext_XShapeQueryExtension=no
32497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32498 conftest$ac_exeext conftest.$ac_ext
32499 LIBS=$ac_check_lib_save_LIBS
32501 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32502 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32503 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32505 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32511 if test "$wxHAVE_XEXT_LIB" = 1; then
32512 save_CFLAGS="$CFLAGS"
32513 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32515 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32516 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32517 cat >conftest.$ac_ext <<_ACEOF
32520 cat confdefs.h >>conftest.$ac_ext
32521 cat >>conftest.$ac_ext <<_ACEOF
32522 /* end confdefs.h. */
32524 #include <X11/Xlib.h>
32525 #include <X11/extensions/shape.h>
32531 int dummy1, dummy2;
32532 XShapeQueryExtension((Display*)NULL,
32533 (int*)NULL, (int*)NULL);
32539 rm -f conftest.$ac_objext
32540 if { (ac_try="$ac_compile"
32541 case "(($ac_try" in
32542 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32543 *) ac_try_echo
=$ac_try;;
32545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32546 (eval "$ac_compile") 2>conftest.er1
32548 grep -v '^ *+' conftest.er1
>conftest.err
32550 cat conftest.err
>&5
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); } && {
32553 test -z "$ac_c_werror_flag" ||
32554 test ! -s conftest.err
32555 } && test -s conftest.
$ac_objext; then
32557 cat >>confdefs.h
<<\_ACEOF
32558 #define HAVE_XSHAPE 1
32561 { echo "$as_me:$LINENO: result: found" >&5
32562 echo "${ECHO_T}found" >&6; }
32565 echo "$as_me: failed program was:" >&5
32566 sed 's/^/| /' conftest.
$ac_ext >&5
32569 { echo "$as_me:$LINENO: result: not found" >&5
32570 echo "${ECHO_T}not found" >&6; }
32574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32575 CFLAGS
="$save_CFLAGS"
32580 if test "$wxUSE_OSX_CARBON" = 1; then
32581 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32582 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32583 if test "$GCC" = yes; then
32584 { echo "$as_me:$LINENO: result: gcc" >&5
32585 echo "${ECHO_T}gcc" >&6; }
32586 CPPFLAGS_PASCAL
="-fpascal-strings"
32587 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32588 { echo "$as_me:$LINENO: result: xlc" >&5
32589 echo "${ECHO_T}xlc" >&6; }
32590 CPPFLAGS_PASCAL
="-qmacpstr"
32592 { echo "$as_me:$LINENO: result: none" >&5
32593 echo "${ECHO_T}none" >&6; }
32596 if test "x$wxUSE_UNIX" = "xyes"; then
32597 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32599 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32603 GUIDIST
=OSX_CARBON_DIST
32604 WXBASEPORT
="_carbon"
32607 if test "$wxUSE_OSX_COCOA" = 1; then
32609 GUIDIST
=OSX_COCOA_DIST
32612 if test "$wxUSE_COCOA" = 1; then
32617 if test "$wxUSE_PM" = 1; then
32620 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32621 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32622 if test "${wx_cv_spbcdata+set}" = set; then
32623 echo $ECHO_N "(cached) $ECHO_C" >&6
32626 cat >conftest.
$ac_ext <<_ACEOF
32629 cat confdefs.h
>>conftest.
$ac_ext
32630 cat >>conftest.
$ac_ext <<_ACEOF
32631 /* end confdefs.h. */
32646 rm -f conftest.
$ac_objext
32647 if { (ac_try
="$ac_compile"
32648 case "(($ac_try" in
32649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32650 *) ac_try_echo=$ac_try;;
32652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32653 (eval "$ac_compile") 2>conftest.er1
32655 grep -v '^ *+' conftest.er1 >conftest.err
32657 cat conftest.err >&5
32658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32659 (exit $ac_status); } && {
32660 test -z "$ac_c_werror_flag" ||
32661 test ! -s conftest.err
32662 } && test -s conftest.$ac_objext; then
32665 echo "$as_me: failed program was:" >&5
32666 sed 's/^/| /' conftest.$ac_ext >&5
32672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32676 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32677 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32679 if test $wx_cv_spbcdata = "yes"; then
32680 cat >>confdefs.h <<\_ACEOF
32681 #define HAVE_SPBCDATA 1
32687 if test "$TOOLKIT" = "PM" ; then
32690 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32693 if test "$wxUSE_UNIVERSAL" = "yes"; then
32694 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32698 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32699 DISTDIR="wx\$(TOOLKIT)"
32705 if test "$USE_WIN32" = 1 ; then
32709 GUIDIST="BASE_DIST"
32715 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32716 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32717 wxUSE_UNICODE_UTF8=yes
32718 elif test "$USE_OS2" = 1 ; then
32719 wxUSE_UNICODE_UTF8=yes
32721 wxUSE_UNICODE_UTF8=no
32726 if test "$wxUSE_GUI" = "yes"; then
32727 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32729 for ac_header in X11/Xlib.h
32731 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32732 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32735 echo $ECHO_N "(cached) $ECHO_C" >&6
32737 cat >conftest.$ac_ext <<_ACEOF
32740 cat confdefs.h >>conftest.$ac_ext
32741 cat >>conftest.$ac_ext <<_ACEOF
32742 /* end confdefs.h. */
32745 #include <$ac_header>
32747 rm -f conftest.$ac_objext
32748 if { (ac_try="$ac_compile"
32749 case "(($ac_try" in
32750 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32751 *) ac_try_echo
=$ac_try;;
32753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32754 (eval "$ac_compile") 2>conftest.er1
32756 grep -v '^ *+' conftest.er1
>conftest.err
32758 cat conftest.err
>&5
32759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32760 (exit $ac_status); } && {
32761 test -z "$ac_c_werror_flag" ||
32762 test ! -s conftest.err
32763 } && test -s conftest.
$ac_objext; then
32764 eval "$as_ac_Header=yes"
32766 echo "$as_me: failed program was:" >&5
32767 sed 's/^/| /' conftest.
$ac_ext >&5
32769 eval "$as_ac_Header=no"
32772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32774 ac_res
=`eval echo '${'$as_ac_Header'}'`
32775 { echo "$as_me:$LINENO: result: $ac_res" >&5
32776 echo "${ECHO_T}$ac_res" >&6; }
32777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32778 cat >>confdefs.h
<<_ACEOF
32779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32787 for ac_header
in X
11/XKBlib.h
32789 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32790 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32792 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32793 echo $ECHO_N "(cached) $ECHO_C" >&6
32795 cat >conftest.
$ac_ext <<_ACEOF
32798 cat confdefs.h
>>conftest.
$ac_ext
32799 cat >>conftest.
$ac_ext <<_ACEOF
32800 /* end confdefs.h. */
32802 #if HAVE_X11_XLIB_H
32803 #include <X11/Xlib.h>
32807 #include <$ac_header>
32809 rm -f conftest.
$ac_objext
32810 if { (ac_try
="$ac_compile"
32811 case "(($ac_try" in
32812 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32813 *) ac_try_echo=$ac_try;;
32815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32816 (eval "$ac_compile") 2>conftest.er1
32818 grep -v '^ *+' conftest.er1 >conftest.err
32820 cat conftest.err >&5
32821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32822 (exit $ac_status); } && {
32823 test -z "$ac_c_werror_flag" ||
32824 test ! -s conftest.err
32825 } && test -s conftest.$ac_objext; then
32826 eval "$as_ac_Header=yes"
32828 echo "$as_me: failed program was:" >&5
32829 sed 's/^/| /' conftest.$ac_ext >&5
32831 eval "$as_ac_Header=no"
32834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32836 ac_res=`eval echo '${'$as_ac_Header'}'`
32837 { echo "$as_me:$LINENO: result: $ac_res" >&5
32838 echo "${ECHO_T}$ac_res" >&6; }
32839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32840 cat >>confdefs.h <<_ACEOF
32841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32853 if test "$wxUSE_DISPLAY" = "yes"; then
32854 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32855 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32856 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32859 for ac_dir in $SEARCH_LIB;
32861 for ac_extension in a so sl dylib dll.a; do
32862 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32863 ac_find_libraries=$ac_dir
32869 if test "$ac_find_libraries" != "" ; then
32871 if test "$ac_find_libraries" = "default location"; then
32874 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32876 if test $result = 0; then
32879 ac_path_to_link=" -L$ac_find_libraries"
32883 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32884 LDFLAGS="$LDFLAGS $ac_path_to_link"
32886 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32887 { echo "$as_me:$LINENO: result: yes" >&5
32888 echo "${ECHO_T}yes" >&6; }
32890 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32891 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32894 for ac_dir in $SEARCH_LIB;
32896 for ac_extension in a so sl dylib dll.a; do
32897 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32898 ac_find_libraries=$ac_dir
32904 if test "$ac_find_libraries" != "" ; then
32905 { echo "$as_me:$LINENO: result: yes" >&5
32906 echo "${ECHO_T}yes" >&6; }
32908 for ac_header in X11/extensions/xf86vmode.h
32910 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32911 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32914 echo $ECHO_N "(cached) $ECHO_C" >&6
32916 cat >conftest.$ac_ext <<_ACEOF
32919 cat confdefs.h >>conftest.$ac_ext
32920 cat >>conftest.$ac_ext <<_ACEOF
32921 /* end confdefs.h. */
32923 #if HAVE_X11_XLIB_H
32924 #include <X11/Xlib.h>
32928 #include <$ac_header>
32930 rm -f conftest.$ac_objext
32931 if { (ac_try="$ac_compile"
32932 case "(($ac_try" in
32933 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32934 *) ac_try_echo
=$ac_try;;
32936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32937 (eval "$ac_compile") 2>conftest.er1
32939 grep -v '^ *+' conftest.er1
>conftest.err
32941 cat conftest.err
>&5
32942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32943 (exit $ac_status); } && {
32944 test -z "$ac_c_werror_flag" ||
32945 test ! -s conftest.err
32946 } && test -s conftest.
$ac_objext; then
32947 eval "$as_ac_Header=yes"
32949 echo "$as_me: failed program was:" >&5
32950 sed 's/^/| /' conftest.
$ac_ext >&5
32952 eval "$as_ac_Header=no"
32955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32957 ac_res
=`eval echo '${'$as_ac_Header'}'`
32958 { echo "$as_me:$LINENO: result: $ac_res" >&5
32959 echo "${ECHO_T}$ac_res" >&6; }
32960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32961 cat >>confdefs.h
<<_ACEOF
32962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32965 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32972 { echo "$as_me:$LINENO: result: no" >&5
32973 echo "${ECHO_T}no" >&6; }
32977 { echo "$as_me:$LINENO: result: no" >&5
32978 echo "${ECHO_T}no" >&6; }
32979 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32980 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32983 elif test "$wxUSE_MSW" = 1; then
32984 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32985 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32986 if test "${ac_cv_header_ddraw_h+set}" = set; then
32987 echo $ECHO_N "(cached) $ECHO_C" >&6
32989 cat >conftest.
$ac_ext <<_ACEOF
32992 cat confdefs.h
>>conftest.
$ac_ext
32993 cat >>conftest.
$ac_ext <<_ACEOF
32994 /* end confdefs.h. */
32995 #include <windows.h>
32999 rm -f conftest.
$ac_objext
33000 if { (ac_try
="$ac_compile"
33001 case "(($ac_try" in
33002 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33003 *) ac_try_echo=$ac_try;;
33005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33006 (eval "$ac_compile") 2>conftest.er1
33008 grep -v '^ *+' conftest.er1 >conftest.err
33010 cat conftest.err >&5
33011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33012 (exit $ac_status); } && {
33013 test -z "$ac_c_werror_flag" ||
33014 test ! -s conftest.err
33015 } && test -s conftest.$ac_objext; then
33016 ac_cv_header_ddraw_h=yes
33018 echo "$as_me: failed program was:" >&5
33019 sed 's/^/| /' conftest.$ac_ext >&5
33021 ac_cv_header_ddraw_h=no
33024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33026 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33027 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33033 if test "$wxUSE_DETECT_SM" = "yes"; then
33034 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33035 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33036 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33039 for ac_dir in $SEARCH_LIB;
33041 for ac_extension in a so sl dylib dll.a; do
33042 if test -f "$ac_dir/libSM.$ac_extension"; then
33043 ac_find_libraries=$ac_dir
33049 if test "$ac_find_libraries" != "" ; then
33051 if test "$ac_find_libraries" = "default location"; then
33054 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33056 if test $result = 0; then
33059 ac_path_to_link=" -L$ac_find_libraries"
33063 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33064 LDFLAGS="$LDFLAGS $ac_path_to_link"
33066 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33067 { echo "$as_me:$LINENO: result: yes" >&5
33068 echo "${ECHO_T}yes" >&6; }
33070 { echo "$as_me:$LINENO: result: no" >&5
33071 echo "${ECHO_T}no" >&6; }
33072 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33073 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33074 wxUSE_DETECT_SM="no"
33077 wxUSE_DETECT_SM="no"
33084 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33087 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33088 OPENGL_LIBS="-framework OpenGL -framework AGL"
33089 elif test "$wxUSE_MSW" = 1; then
33090 OPENGL_LIBS="-lopengl32 -lglu32"
33091 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33093 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33094 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33097 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33099 if test -f "$ac_dir/GL/gl.h"; then
33100 ac_find_includes=$ac_dir
33105 if test "$ac_find_includes" != "" ; then
33106 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33107 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33109 if test "x$ac_find_includes" = "x/usr/include"; then
33110 ac_path_to_include=""
33112 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33114 if test $result = 0; then
33115 ac_path_to_include=""
33117 ac_path_to_include=" -I$ac_find_includes"
33121 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33123 { echo "$as_me:$LINENO: result: not found" >&5
33124 echo "${ECHO_T}not found" >&6; }
33127 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33128 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33129 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33130 echo $ECHO_N "(cached) $ECHO_C" >&6
33132 cat >conftest.$ac_ext <<_ACEOF
33135 cat confdefs.h >>conftest.$ac_ext
33136 cat >>conftest.$ac_ext <<_ACEOF
33137 /* end confdefs.h. */
33142 rm -f conftest.$ac_objext
33143 if { (ac_try="$ac_compile"
33144 case "(($ac_try" in
33145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33146 *) ac_try_echo
=$ac_try;;
33148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33149 (eval "$ac_compile") 2>conftest.er1
33151 grep -v '^ *+' conftest.er1
>conftest.err
33153 cat conftest.err
>&5
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); } && {
33156 test -z "$ac_c_werror_flag" ||
33157 test ! -s conftest.err
33158 } && test -s conftest.
$ac_objext; then
33159 ac_cv_header_GL_gl_h
=yes
33161 echo "$as_me: failed program was:" >&5
33162 sed 's/^/| /' conftest.
$ac_ext >&5
33164 ac_cv_header_GL_gl_h
=no
33167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33169 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33170 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33171 if test $ac_cv_header_GL_gl_h = yes; then
33173 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33174 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33175 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33176 echo $ECHO_N "(cached) $ECHO_C" >&6
33178 cat >conftest.
$ac_ext <<_ACEOF
33181 cat confdefs.h
>>conftest.
$ac_ext
33182 cat >>conftest.
$ac_ext <<_ACEOF
33183 /* end confdefs.h. */
33186 #include <GL/glu.h>
33188 rm -f conftest.
$ac_objext
33189 if { (ac_try
="$ac_compile"
33190 case "(($ac_try" in
33191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33192 *) ac_try_echo=$ac_try;;
33194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33195 (eval "$ac_compile") 2>conftest.er1
33197 grep -v '^ *+' conftest.er1 >conftest.err
33199 cat conftest.err >&5
33200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); } && {
33202 test -z "$ac_c_werror_flag" ||
33203 test ! -s conftest.err
33204 } && test -s conftest.$ac_objext; then
33205 ac_cv_header_GL_glu_h=yes
33207 echo "$as_me: failed program was:" >&5
33208 sed 's/^/| /' conftest.$ac_ext >&5
33210 ac_cv_header_GL_glu_h=no
33213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33215 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33216 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33217 if test $ac_cv_header_GL_glu_h = yes; then
33221 { echo "$as_me:$LINENO: checking for -lGL" >&5
33222 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33225 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33227 for ac_extension in a so sl dylib dll.a; do
33228 if test -f "$ac_dir/libGL.$ac_extension"; then
33229 ac_find_libraries=$ac_dir
33235 if test "$ac_find_libraries" != "" ; then
33236 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33237 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33240 if test "$ac_find_libraries" = "default location"; then
33243 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33245 if test $result = 0; then
33248 ac_path_to_link=" -L$ac_find_libraries"
33252 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33253 LDFLAGS_GL="$ac_path_to_link"
33256 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33257 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33260 for ac_dir in $SEARCH_LIB;
33262 for ac_extension in a so sl dylib dll.a; do
33263 if test -f "$ac_dir/libGLU.$ac_extension"; then
33264 ac_find_libraries=$ac_dir
33270 if test "$ac_find_libraries" != "" ; then
33272 if test "$ac_find_libraries" = "default location"; then
33275 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33277 if test $result = 0; then
33280 ac_path_to_link=" -L$ac_find_libraries"
33284 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33285 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33286 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33290 OPENGL_LIBS="-lGL -lGLU"
33291 { echo "$as_me:$LINENO: result: yes" >&5
33292 echo "${ECHO_T}yes" >&6; }
33294 { echo "$as_me:$LINENO: result: no" >&5
33295 echo "${ECHO_T}no" >&6; }
33298 { echo "$as_me:$LINENO: result: no" >&5
33299 echo "${ECHO_T}no" >&6; }
33302 if test "$found_gl" != 1; then
33303 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33304 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33307 for ac_dir in $SEARCH_LIB;
33309 for ac_extension in a so sl dylib dll.a; do
33310 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33311 ac_find_libraries=$ac_dir
33317 if test "$ac_find_libraries" != "" ; then
33319 if test "$ac_find_libraries" = "default location"; then
33322 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33324 if test $result = 0; then
33327 ac_path_to_link=" -L$ac_find_libraries"
33331 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33332 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33333 { echo "$as_me:$LINENO: result: yes" >&5
33334 echo "${ECHO_T}yes" >&6; }
33336 { echo "$as_me:$LINENO: result: no" >&5
33337 echo "${ECHO_T}no" >&6; }
33349 if test "x$OPENGL_LIBS" = "x"; then
33350 if test "$wxUSE_OPENGL" = "yes"; then
33351 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33352 echo "$as_me: error: OpenGL libraries not available" >&2;}
33353 { (exit 1); exit 1; }; }
33355 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33356 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33364 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33365 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33369 if test "$wxUSE_OPENGL" = "yes"; then
33371 cat >>confdefs.h <<\_ACEOF
33372 #define wxUSE_OPENGL 1
33375 cat >>confdefs.h <<\_ACEOF
33376 #define wxUSE_GLCANVAS 1
33379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33384 if test -n "$TOOLKIT" ; then
33385 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33390 if test "$wxUSE_SHARED" = "yes"; then
33394 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33395 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33400 if test "$wxUSE_SHARED" = "yes"; then
33404 *-*-cygwin* | *-*-mingw* )
33405 wx_cv_version_script=no
33409 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33410 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33411 if test "${wx_cv_version_script+set}" = set; then
33412 echo $ECHO_N "(cached) $ECHO_C" >&6
33415 echo "VER_1 { *; };" >conftest.sym
33416 echo "int main() { return 0; }" >conftest.cpp
33419 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33420 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33422 (eval $ac_try) 2>&5
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); }; } ; then
33426 if test -s conftest.stderr ; then
33427 wx_cv_version_script=no
33429 wx_cv_version_script=yes
33432 wx_cv_version_script=no
33435 if test $wx_cv_version_script = yes
33437 echo "struct B { virtual ~B() { } }; \
33438 struct D : public B { }; \
33439 void F() { D d; }" > conftest.cpp
33442 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33443 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33445 (eval $ac_try) 2>&5
33447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448 (exit $ac_status); }; } &&
33450 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33451 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33453 (eval $ac_try) 2>&5
33455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33456 (exit $ac_status); }; }
33459 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33460 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33462 (eval $ac_try) 2>&5
33464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33465 (exit $ac_status); }; }
33467 wx_cv_version_script=yes
33469 wx_cv_version_script=no
33474 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33475 rm -f conftest1.output conftest2.output conftest3.output
33478 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33479 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33481 if test $wx_cv_version_script = yes ; then
33482 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33488 if test "$wxUSE_VISIBILITY" != "no"; then
33491 if test -n "$GCC"; then
33492 CFLAGS_VISIBILITY="-fvisibility=hidden"
33493 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33494 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33495 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33496 if test "${wx_cv_cc_visibility+set}" = set; then
33497 echo $ECHO_N "(cached) $ECHO_C" >&6
33500 wx_save_CXXFLAGS="$CXXFLAGS"
33501 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33503 ac_cpp='$CXXCPP $CPPFLAGS'
33504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33508 cat >conftest.$ac_ext <<_ACEOF
33511 cat confdefs.h >>conftest.$ac_ext
33512 cat >>conftest.$ac_ext <<_ACEOF
33513 /* end confdefs.h. */
33515 /* we need gcc >= 4.0, older versions with visibility support
33516 didn't have class visibility: */
33517 #if defined(__GNUC__) && __GNUC__ < 4
33518 error this gcc is too old;
33521 /* visibility only makes sense for ELF shared libs: */
33522 #if !defined(__ELF__) && !defined(__APPLE__)
33523 error this platform has no visibility;
33526 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33527 extern __attribute__((__visibility__("default"))) int exportedvar;
33528 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33529 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33530 class __attribute__((__visibility__("default"))) Foo {
33542 rm -f conftest.$ac_objext
33543 if { (ac_try="$ac_compile"
33544 case "(($ac_try" in
33545 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33546 *) ac_try_echo
=$ac_try;;
33548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33549 (eval "$ac_compile") 2>conftest.er1
33551 grep -v '^ *+' conftest.er1
>conftest.err
33553 cat conftest.err
>&5
33554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33555 (exit $ac_status); } && {
33556 test -z "$ac_cxx_werror_flag" ||
33557 test ! -s conftest.err
33558 } && test -s conftest.
$ac_objext; then
33559 wx_cv_cc_visibility
=yes
33561 echo "$as_me: failed program was:" >&5
33562 sed 's/^/| /' conftest.
$ac_ext >&5
33564 wx_cv_cc_visibility
=no
33567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33569 ac_cpp
='$CPP $CPPFLAGS'
33570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33574 CXXFLAGS
="$wx_save_CXXFLAGS"
33577 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33578 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33579 if test $wx_cv_cc_visibility = yes; then
33580 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33581 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33582 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33583 echo $ECHO_N "(cached) $ECHO_C" >&6
33586 wx_save_CXXFLAGS
="$CXXFLAGS"
33587 wx_save_LDFLAGS
="$LDFLAGS"
33588 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33589 LDFLAGS
="$LDFLAGS -shared -fPIC"
33591 ac_cpp
='$CXXCPP $CPPFLAGS'
33592 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33593 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33594 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33596 cat >conftest.
$ac_ext <<_ACEOF
33599 cat confdefs.h
>>conftest.
$ac_ext
33600 cat >>conftest.
$ac_ext <<_ACEOF
33601 /* end confdefs.h. */
33609 std::string s("hello");
33616 rm -f conftest.
$ac_objext conftest
$ac_exeext
33617 if { (ac_try
="$ac_link"
33618 case "(($ac_try" in
33619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33620 *) ac_try_echo=$ac_try;;
33622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33623 (eval "$ac_link") 2>conftest.er1
33625 grep -v '^ *+' conftest.er1 >conftest.err
33627 cat conftest.err >&5
33628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33629 (exit $ac_status); } && {
33630 test -z "$ac_cxx_werror_flag" ||
33631 test ! -s conftest.err
33632 } && test -s conftest$ac_exeext &&
33633 $as_test_x conftest$ac_exeext; then
33634 wx_cv_cc_broken_libstdcxx_visibility=no
33636 echo "$as_me: failed program was:" >&5
33637 sed 's/^/| /' conftest.$ac_ext >&5
33639 wx_cv_cc_broken_libstdcxx_visibility=yes
33642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33643 conftest$ac_exeext conftest.$ac_ext
33645 ac_cpp='$CPP $CPPFLAGS'
33646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33650 CXXFLAGS="$wx_save_CXXFLAGS"
33651 LDFLAGS="$wx_save_LDFLAGS"
33654 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33655 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33657 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33658 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33659 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33660 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33661 echo $ECHO_N "(cached) $ECHO_C" >&6
33665 ac_cpp='$CXXCPP $CPPFLAGS'
33666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33670 cat >conftest.$ac_ext <<_ACEOF
33673 cat confdefs.h >>conftest.$ac_ext
33674 cat >>conftest.$ac_ext <<_ACEOF
33675 /* end confdefs.h. */
33677 #pragma GCC visibility push(default)
33679 #pragma GCC visibility pop
33685 std::string s("hello");
33692 rm -f conftest.$ac_objext conftest$ac_exeext
33693 if { (ac_try="$ac_link"
33694 case "(($ac_try" in
33695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33696 *) ac_try_echo
=$ac_try;;
33698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33699 (eval "$ac_link") 2>conftest.er1
33701 grep -v '^ *+' conftest.er1
>conftest.err
33703 cat conftest.err
>&5
33704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705 (exit $ac_status); } && {
33706 test -z "$ac_cxx_werror_flag" ||
33707 test ! -s conftest.err
33708 } && test -s conftest
$ac_exeext &&
33709 $as_test_x conftest
$ac_exeext; then
33710 wx_cv_cc_visibility_workaround
=no
33712 echo "$as_me: failed program was:" >&5
33713 sed 's/^/| /' conftest.
$ac_ext >&5
33715 wx_cv_cc_visibility_workaround
=yes
33718 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33719 conftest
$ac_exeext conftest.
$ac_ext
33721 ac_cpp
='$CPP $CPPFLAGS'
33722 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33723 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33724 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33729 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33730 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33732 if test $wx_cv_cc_visibility_workaround = no
; then
33733 wx_cv_cc_visibility
=no
33738 if test $wx_cv_cc_visibility = yes; then
33739 cat >>confdefs.h
<<\_ACEOF
33740 #define HAVE_VISIBILITY 1
33743 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33744 cat >>confdefs.h
<<\_ACEOF
33745 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33750 CFLAGS_VISIBILITY
=""
33751 CXXFLAGS_VISIBILITY
=""
33759 if test "x$SUNCXX" = xyes
; then
33760 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33761 WXCONFIG_RPATH
="-R\$libdir"
33764 *-*-linux* | *-*-gnu* )
33765 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33766 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33771 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33773 saveLdflags
="$LDFLAGS"
33774 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33775 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33776 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33777 cat >conftest.
$ac_ext <<_ACEOF
33780 cat confdefs.h
>>conftest.
$ac_ext
33781 cat >>conftest.
$ac_ext <<_ACEOF
33782 /* end confdefs.h. */
33792 rm -f conftest.
$ac_objext conftest
$ac_exeext
33793 if { (ac_try
="$ac_link"
33794 case "(($ac_try" in
33795 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33796 *) ac_try_echo=$ac_try;;
33798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33799 (eval "$ac_link") 2>conftest.er1
33801 grep -v '^ *+' conftest.er1 >conftest.err
33803 cat conftest.err >&5
33804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33805 (exit $ac_status); } && {
33806 test -z "$ac_c_werror_flag" ||
33807 test ! -s conftest.err
33808 } && test -s conftest$ac_exeext &&
33809 $as_test_x conftest$ac_exeext; then
33811 { echo "$as_me:$LINENO: result: yes" >&5
33812 echo "${ECHO_T}yes" >&6; }
33813 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33814 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33817 echo "$as_me: failed program was:" >&5
33818 sed 's/^/| /' conftest.$ac_ext >&5
33821 { echo "$as_me:$LINENO: result: no" >&5
33822 echo "${ECHO_T}no" >&6; }
33823 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33824 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33825 LDFLAGS="$saveLdflags -Wl,-R,/"
33826 cat >conftest.$ac_ext <<_ACEOF
33829 cat confdefs.h >>conftest.$ac_ext
33830 cat >>conftest.$ac_ext <<_ACEOF
33831 /* end confdefs.h. */
33841 rm -f conftest.$ac_objext conftest$ac_exeext
33842 if { (ac_try="$ac_link"
33843 case "(($ac_try" in
33844 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33845 *) ac_try_echo
=$ac_try;;
33847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33848 (eval "$ac_link") 2>conftest.er1
33850 grep -v '^ *+' conftest.er1
>conftest.err
33852 cat conftest.err
>&5
33853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33854 (exit $ac_status); } && {
33855 test -z "$ac_c_werror_flag" ||
33856 test ! -s conftest.err
33857 } && test -s conftest
$ac_exeext &&
33858 $as_test_x conftest
$ac_exeext; then
33860 { echo "$as_me:$LINENO: result: yes" >&5
33861 echo "${ECHO_T}yes" >&6; }
33862 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33863 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33866 echo "$as_me: failed program was:" >&5
33867 sed 's/^/| /' conftest.
$ac_ext >&5
33870 { echo "$as_me:$LINENO: result: no" >&5
33871 echo "${ECHO_T}no" >&6; }
33875 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33876 conftest
$ac_exeext conftest.
$ac_ext
33880 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33881 conftest
$ac_exeext conftest.
$ac_ext
33882 LDFLAGS
="$saveLdflags"
33886 install_name_tool
=`which install_name_tool`
33887 if test "$install_name_tool" -a -x "$install_name_tool"; then
33888 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33889 cat <<EOF >change-install-names
33891 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33892 inst_cmd="install_name_tool "
33893 for i in \${libnames} ; do
33894 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33898 chmod +x change
-install-names
33901 HEADER_PAD_OPTION
="-headerpad_max_install_names"
33904 *-*-cygwin* | *-*-mingw32* )
33908 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33909 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33915 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33917 if test $wxUSE_RPATH = "no"; then
33918 SAMPLES_RPATH_FLAG
=''
33919 SAMPLES_RPATH_POSTLINK
=''
33927 config_linkage_component
="-static"
33934 lib_unicode_suffix
=
33936 if test "$wxUSE_UNICODE" = "yes"; then
33937 lib_unicode_suffix
=u
33938 WX_CHARTYPE
="unicode"
33943 WX_DEBUGTYPE
="release"
33945 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33947 WX_DEBUGTYPE
="debug"
33951 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33952 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33955 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33959 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33961 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33963 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33965 if test "$cross_compiling" = "yes"; then
33966 HOST_SUFFIX
="-$host_alias"
33967 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33968 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33971 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33972 if test "${TOOLKIT_DIR}" = "os2"; then
33973 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33975 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33980 if test "$wxUSE_COCOA" = 1; then
33983 ac_cpp
='$CPP $CPPFLAGS'
33984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33990 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33991 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33992 cat >conftest.
$ac_ext <<_ACEOF
33995 cat confdefs.h
>>conftest.
$ac_ext
33996 cat >>conftest.
$ac_ext <<_ACEOF
33997 /* end confdefs.h. */
33998 #include <AppKit/NSEvent.h>
33999 #include <CoreFoundation/CoreFoundation.h>
34009 rm -f conftest.
$ac_objext
34010 if { (ac_try
="$ac_compile"
34011 case "(($ac_try" in
34012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34013 *) ac_try_echo=$ac_try;;
34015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34016 (eval "$ac_compile") 2>conftest.er1
34018 grep -v '^ *+' conftest.er1 >conftest.err
34020 cat conftest.err >&5
34021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34022 (exit $ac_status); } && {
34023 test -z "$ac_c_werror_flag" ||
34024 test ! -s conftest.err
34025 } && test -s conftest.$ac_objext; then
34026 { echo "$as_me:$LINENO: result: no" >&5
34027 echo "${ECHO_T}no" >&6; }
34029 echo "$as_me: failed program was:" >&5
34030 sed 's/^/| /' conftest.$ac_ext >&5
34032 { echo "$as_me:$LINENO: result: yes" >&5
34033 echo "${ECHO_T}yes" >&6; }
34034 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34035 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34036 cat >conftest.$ac_ext <<_ACEOF
34039 cat confdefs.h >>conftest.$ac_ext
34040 cat >>conftest.$ac_ext <<_ACEOF
34041 /* end confdefs.h. */
34042 #define __Point__ 1
34043 #include <AppKit/NSEvent.h>
34044 #include <CoreFoundation/CoreFoundation.h>
34054 rm -f conftest.$ac_objext
34055 if { (ac_try="$ac_compile"
34056 case "(($ac_try" in
34057 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34058 *) ac_try_echo
=$ac_try;;
34060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34061 (eval "$ac_compile") 2>conftest.er1
34063 grep -v '^ *+' conftest.er1
>conftest.err
34065 cat conftest.err
>&5
34066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34067 (exit $ac_status); } && {
34068 test -z "$ac_c_werror_flag" ||
34069 test ! -s conftest.err
34070 } && test -s conftest.
$ac_objext; then
34071 { echo "$as_me:$LINENO: result: yes" >&5
34072 echo "${ECHO_T}yes" >&6; }
34073 cat >>confdefs.h
<<\_ACEOF
34074 #define __Point__ 1
34079 echo "$as_me: failed program was:" >&5
34080 sed 's/^/| /' conftest.
$ac_ext >&5
34082 { { echo "$as_me:$LINENO: error: no
34083 See \`config.log' for more details." >&5
34084 echo "$as_me: error: no
34085 See \`config.log' for more details." >&2;}
34086 { (exit 1); exit 1; }; }
34090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34096 ac_cpp
='$CPP $CPPFLAGS'
34097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34104 { echo "$as_me:$LINENO: checking for mode_t" >&5
34105 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34106 if test "${ac_cv_type_mode_t+set}" = set; then
34107 echo $ECHO_N "(cached) $ECHO_C" >&6
34109 cat >conftest.
$ac_ext <<_ACEOF
34112 cat confdefs.h
>>conftest.
$ac_ext
34113 cat >>conftest.
$ac_ext <<_ACEOF
34114 /* end confdefs.h. */
34115 $ac_includes_default
34116 typedef mode_t ac__type_new_;
34120 if ((ac__type_new_ *) 0)
34122 if (sizeof (ac__type_new_))
34128 rm -f conftest.
$ac_objext
34129 if { (ac_try
="$ac_compile"
34130 case "(($ac_try" in
34131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34132 *) ac_try_echo=$ac_try;;
34134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34135 (eval "$ac_compile") 2>conftest.er1
34137 grep -v '^ *+' conftest.er1 >conftest.err
34139 cat conftest.err >&5
34140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141 (exit $ac_status); } && {
34142 test -z "$ac_c_werror_flag" ||
34143 test ! -s conftest.err
34144 } && test -s conftest.$ac_objext; then
34145 ac_cv_type_mode_t=yes
34147 echo "$as_me: failed program was:" >&5
34148 sed 's/^/| /' conftest.$ac_ext >&5
34150 ac_cv_type_mode_t=no
34153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34155 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34156 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34157 if test $ac_cv_type_mode_t = yes; then
34161 cat >>confdefs.h <<_ACEOF
34167 { echo "$as_me:$LINENO: checking for off_t" >&5
34168 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34169 if test "${ac_cv_type_off_t+set}" = set; then
34170 echo $ECHO_N "(cached) $ECHO_C" >&6
34172 cat >conftest.$ac_ext <<_ACEOF
34175 cat confdefs.h >>conftest.$ac_ext
34176 cat >>conftest.$ac_ext <<_ACEOF
34177 /* end confdefs.h. */
34178 $ac_includes_default
34179 typedef off_t ac__type_new_;
34183 if ((ac__type_new_ *) 0)
34185 if (sizeof (ac__type_new_))
34191 rm -f conftest.$ac_objext
34192 if { (ac_try="$ac_compile"
34193 case "(($ac_try" in
34194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34195 *) ac_try_echo
=$ac_try;;
34197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34198 (eval "$ac_compile") 2>conftest.er1
34200 grep -v '^ *+' conftest.er1
>conftest.err
34202 cat conftest.err
>&5
34203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34204 (exit $ac_status); } && {
34205 test -z "$ac_c_werror_flag" ||
34206 test ! -s conftest.err
34207 } && test -s conftest.
$ac_objext; then
34208 ac_cv_type_off_t
=yes
34210 echo "$as_me: failed program was:" >&5
34211 sed 's/^/| /' conftest.
$ac_ext >&5
34213 ac_cv_type_off_t
=no
34216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34218 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34219 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34220 if test $ac_cv_type_off_t = yes; then
34224 cat >>confdefs.h
<<_ACEOF
34225 #define off_t long int
34230 { echo "$as_me:$LINENO: checking for pid_t" >&5
34231 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34232 if test "${ac_cv_type_pid_t+set}" = set; then
34233 echo $ECHO_N "(cached) $ECHO_C" >&6
34235 cat >conftest.
$ac_ext <<_ACEOF
34238 cat confdefs.h
>>conftest.
$ac_ext
34239 cat >>conftest.
$ac_ext <<_ACEOF
34240 /* end confdefs.h. */
34241 $ac_includes_default
34242 typedef pid_t ac__type_new_;
34246 if ((ac__type_new_ *) 0)
34248 if (sizeof (ac__type_new_))
34254 rm -f conftest.
$ac_objext
34255 if { (ac_try
="$ac_compile"
34256 case "(($ac_try" in
34257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34258 *) ac_try_echo=$ac_try;;
34260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34261 (eval "$ac_compile") 2>conftest.er1
34263 grep -v '^ *+' conftest.er1 >conftest.err
34265 cat conftest.err >&5
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); } && {
34268 test -z "$ac_c_werror_flag" ||
34269 test ! -s conftest.err
34270 } && test -s conftest.$ac_objext; then
34271 ac_cv_type_pid_t=yes
34273 echo "$as_me: failed program was:" >&5
34274 sed 's/^/| /' conftest.$ac_ext >&5
34276 ac_cv_type_pid_t=no
34279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34281 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34282 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34283 if test $ac_cv_type_pid_t = yes; then
34287 cat >>confdefs.h <<_ACEOF
34293 { echo "$as_me:$LINENO: checking for size_t" >&5
34294 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34295 if test "${ac_cv_type_size_t+set}" = set; then
34296 echo $ECHO_N "(cached) $ECHO_C" >&6
34298 cat >conftest.$ac_ext <<_ACEOF
34301 cat confdefs.h >>conftest.$ac_ext
34302 cat >>conftest.$ac_ext <<_ACEOF
34303 /* end confdefs.h. */
34304 $ac_includes_default
34305 typedef size_t ac__type_new_;
34309 if ((ac__type_new_ *) 0)
34311 if (sizeof (ac__type_new_))
34317 rm -f conftest.$ac_objext
34318 if { (ac_try="$ac_compile"
34319 case "(($ac_try" in
34320 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34321 *) ac_try_echo
=$ac_try;;
34323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34324 (eval "$ac_compile") 2>conftest.er1
34326 grep -v '^ *+' conftest.er1
>conftest.err
34328 cat conftest.err
>&5
34329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34330 (exit $ac_status); } && {
34331 test -z "$ac_c_werror_flag" ||
34332 test ! -s conftest.err
34333 } && test -s conftest.
$ac_objext; then
34334 ac_cv_type_size_t
=yes
34336 echo "$as_me: failed program was:" >&5
34337 sed 's/^/| /' conftest.
$ac_ext >&5
34339 ac_cv_type_size_t
=no
34342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34344 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34345 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34346 if test $ac_cv_type_size_t = yes; then
34350 cat >>confdefs.h
<<_ACEOF
34351 #define size_t unsigned int
34357 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34358 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34359 if test "${ac_cv_type_ssize_t+set}" = set; then
34360 echo $ECHO_N "(cached) $ECHO_C" >&6
34362 cat >conftest.
$ac_ext <<_ACEOF
34365 cat confdefs.h
>>conftest.
$ac_ext
34366 cat >>conftest.
$ac_ext <<_ACEOF
34367 /* end confdefs.h. */
34368 $ac_includes_default
34369 typedef ssize_t ac__type_new_;
34373 if ((ac__type_new_ *) 0)
34375 if (sizeof (ac__type_new_))
34381 rm -f conftest.
$ac_objext
34382 if { (ac_try
="$ac_compile"
34383 case "(($ac_try" in
34384 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34385 *) ac_try_echo=$ac_try;;
34387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34388 (eval "$ac_compile") 2>conftest.er1
34390 grep -v '^ *+' conftest.er1 >conftest.err
34392 cat conftest.err >&5
34393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34394 (exit $ac_status); } && {
34395 test -z "$ac_c_werror_flag" ||
34396 test ! -s conftest.err
34397 } && test -s conftest.$ac_objext; then
34398 ac_cv_type_ssize_t=yes
34400 echo "$as_me: failed program was:" >&5
34401 sed 's/^/| /' conftest.$ac_ext >&5
34403 ac_cv_type_ssize_t=no
34406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34408 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34409 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34410 if test $ac_cv_type_ssize_t = yes; then
34412 cat >>confdefs.h <<_ACEOF
34413 #define HAVE_SSIZE_T 1
34421 ac_cpp='$CXXCPP $CPPFLAGS'
34422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34425 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34426 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34427 if test "${wx_cv_size_t_is_uint+set}" = set; then
34428 echo $ECHO_N "(cached) $ECHO_C" >&6
34431 cat >conftest.$ac_ext <<_ACEOF
34434 cat confdefs.h >>conftest.$ac_ext
34435 cat >>conftest.$ac_ext <<_ACEOF
34436 /* end confdefs.h. */
34437 #include <stddef.h>
34444 struct Foo { void foo(size_t); void foo(unsigned int); };
34452 rm -f conftest.$ac_objext
34453 if { (ac_try="$ac_compile"
34454 case "(($ac_try" in
34455 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34456 *) ac_try_echo
=$ac_try;;
34458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34459 (eval "$ac_compile") 2>conftest.er1
34461 grep -v '^ *+' conftest.er1
>conftest.err
34463 cat conftest.err
>&5
34464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34465 (exit $ac_status); } && {
34466 test -z "$ac_cxx_werror_flag" ||
34467 test ! -s conftest.err
34468 } && test -s conftest.
$ac_objext; then
34469 wx_cv_size_t_is_uint
=no
34471 echo "$as_me: failed program was:" >&5
34472 sed 's/^/| /' conftest.
$ac_ext >&5
34474 wx_cv_size_t_is_uint
=yes
34478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34482 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34483 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34485 if test "$wx_cv_size_t_is_uint" = "yes"; then
34486 cat >>confdefs.h
<<\_ACEOF
34487 #define wxSIZE_T_IS_UINT 1
34491 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34492 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34493 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34494 echo $ECHO_N "(cached) $ECHO_C" >&6
34496 cat >conftest.
$ac_ext <<_ACEOF
34499 cat confdefs.h
>>conftest.
$ac_ext
34500 cat >>conftest.
$ac_ext <<_ACEOF
34501 /* end confdefs.h. */
34502 #include <stddef.h>
34509 struct Foo { void foo(size_t); void foo(unsigned long); };
34517 rm -f conftest.
$ac_objext
34518 if { (ac_try
="$ac_compile"
34519 case "(($ac_try" in
34520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34521 *) ac_try_echo=$ac_try;;
34523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34524 (eval "$ac_compile") 2>conftest.er1
34526 grep -v '^ *+' conftest.er1 >conftest.err
34528 cat conftest.err >&5
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); } && {
34531 test -z "$ac_cxx_werror_flag" ||
34532 test ! -s conftest.err
34533 } && test -s conftest.$ac_objext; then
34534 wx_cv_size_t_is_ulong=no
34536 echo "$as_me: failed program was:" >&5
34537 sed 's/^/| /' conftest.$ac_ext >&5
34539 wx_cv_size_t_is_ulong=yes
34543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34546 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34547 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34549 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34550 cat >>confdefs.h <<\_ACEOF
34551 #define wxSIZE_T_IS_ULONG 1
34557 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34558 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34559 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34560 echo $ECHO_N "(cached) $ECHO_C" >&6
34562 cat >conftest.$ac_ext <<_ACEOF
34565 cat confdefs.h >>conftest.$ac_ext
34566 cat >>conftest.$ac_ext <<_ACEOF
34567 /* end confdefs.h. */
34575 struct Foo { void foo(wchar_t);
34576 void foo(unsigned short);
34577 void foo(unsigned int);
34578 void foo(unsigned long); };
34586 rm -f conftest.$ac_objext
34587 if { (ac_try="$ac_compile"
34588 case "(($ac_try" in
34589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34590 *) ac_try_echo
=$ac_try;;
34592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34593 (eval "$ac_compile") 2>conftest.er1
34595 grep -v '^ *+' conftest.er1
>conftest.err
34597 cat conftest.err
>&5
34598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34599 (exit $ac_status); } && {
34600 test -z "$ac_cxx_werror_flag" ||
34601 test ! -s conftest.err
34602 } && test -s conftest.
$ac_objext; then
34603 wx_cv_wchar_t_is_separate_type
=yes
34605 echo "$as_me: failed program was:" >&5
34606 sed 's/^/| /' conftest.
$ac_ext >&5
34608 wx_cv_wchar_t_is_separate_type
=no
34612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34615 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34616 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34618 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34619 cat >>confdefs.h
<<\_ACEOF
34620 #define wxWCHAR_T_IS_REAL_TYPE 1
34624 cat >>confdefs.h
<<\_ACEOF
34625 #define wxWCHAR_T_IS_REAL_TYPE 0
34631 ac_cpp
='$CPP $CPPFLAGS'
34632 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34633 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34634 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34637 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34638 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34639 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34640 echo $ECHO_N "(cached) $ECHO_C" >&6
34643 cat >conftest.
$ac_ext <<_ACEOF
34646 cat confdefs.h
>>conftest.
$ac_ext
34647 cat >>conftest.
$ac_ext <<_ACEOF
34648 /* end confdefs.h. */
34662 rm -f conftest.
$ac_objext
34663 if { (ac_try
="$ac_compile"
34664 case "(($ac_try" in
34665 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34666 *) ac_try_echo=$ac_try;;
34668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34669 (eval "$ac_compile") 2>conftest.er1
34671 grep -v '^ *+' conftest.er1 >conftest.err
34673 cat conftest.err >&5
34674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34675 (exit $ac_status); } && {
34676 test -z "$ac_c_werror_flag" ||
34677 test ! -s conftest.err
34678 } && test -s conftest.$ac_objext; then
34680 wx_cv_struct_pw_gecos=yes
34683 echo "$as_me: failed program was:" >&5
34684 sed 's/^/| /' conftest.$ac_ext >&5
34687 wx_cv_struct_pw_gecos=no
34692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34696 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34697 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34699 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34700 cat >>confdefs.h <<\_ACEOF
34701 #define HAVE_PW_GECOS 1
34707 if test "$wxUSE_WCHAR_T" = "yes"; then
34708 cat >>confdefs.h <<\_ACEOF
34709 #define wxUSE_WCHAR_T 1
34716 for ac_func in wcslen
34718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34719 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34721 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34722 echo $ECHO_N "(cached) $ECHO_C" >&6
34724 cat >conftest.$ac_ext <<_ACEOF
34727 cat confdefs.h >>conftest.$ac_ext
34728 cat >>conftest.$ac_ext <<_ACEOF
34729 /* end confdefs.h. */
34730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34732 #define $ac_func innocuous_$ac_func
34734 /* System header to define __stub macros and hopefully few prototypes,
34735 which can conflict with char $ac_func (); below.
34736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34737 <limits.h> exists even on freestanding compilers. */
34740 # include <limits.h>
34742 # include <assert.h>
34747 /* Override any GCC internal prototype to avoid an error.
34748 Use char because int might match the return type of a GCC
34749 builtin and then its argument prototype would still apply. */
34754 /* The GNU C library defines this for functions which it implements
34755 to always fail with ENOSYS. Some functions are actually named
34756 something starting with __ and the normal name is an alias. */
34757 #if defined __stub_$ac_func || defined __stub___$ac_func
34764 return $ac_func ();
34769 rm -f conftest.$ac_objext conftest$ac_exeext
34770 if { (ac_try="$ac_link"
34771 case "(($ac_try" in
34772 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34773 *) ac_try_echo
=$ac_try;;
34775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34776 (eval "$ac_link") 2>conftest.er1
34778 grep -v '^ *+' conftest.er1
>conftest.err
34780 cat conftest.err
>&5
34781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34782 (exit $ac_status); } && {
34783 test -z "$ac_c_werror_flag" ||
34784 test ! -s conftest.err
34785 } && test -s conftest
$ac_exeext &&
34786 $as_test_x conftest
$ac_exeext; then
34787 eval "$as_ac_var=yes"
34789 echo "$as_me: failed program was:" >&5
34790 sed 's/^/| /' conftest.
$ac_ext >&5
34792 eval "$as_ac_var=no"
34795 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34796 conftest
$ac_exeext conftest.
$ac_ext
34798 ac_res
=`eval echo '${'$as_ac_var'}'`
34799 { echo "$as_me:$LINENO: result: $ac_res" >&5
34800 echo "${ECHO_T}$ac_res" >&6; }
34801 if test `eval echo '${'$as_ac_var'}'` = yes; then
34802 cat >>confdefs.h
<<_ACEOF
34803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34810 if test "$WCSLEN_FOUND" = 0; then
34811 if test "$TOOLKIT" = "MSW"; then
34812 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34813 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34814 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34815 echo $ECHO_N "(cached) $ECHO_C" >&6
34817 ac_check_lib_save_LIBS
=$LIBS
34818 LIBS
="-lmsvcrt $LIBS"
34819 cat >conftest.
$ac_ext <<_ACEOF
34822 cat confdefs.h
>>conftest.
$ac_ext
34823 cat >>conftest.
$ac_ext <<_ACEOF
34824 /* end confdefs.h. */
34826 /* Override any GCC internal prototype to avoid an error.
34827 Use char because int might match the return type of a GCC
34828 builtin and then its argument prototype would still apply. */
34841 rm -f conftest.
$ac_objext conftest
$ac_exeext
34842 if { (ac_try
="$ac_link"
34843 case "(($ac_try" in
34844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34845 *) ac_try_echo=$ac_try;;
34847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34848 (eval "$ac_link") 2>conftest.er1
34850 grep -v '^ *+' conftest.er1 >conftest.err
34852 cat conftest.err >&5
34853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34854 (exit $ac_status); } && {
34855 test -z "$ac_c_werror_flag" ||
34856 test ! -s conftest.err
34857 } && test -s conftest$ac_exeext &&
34858 $as_test_x conftest$ac_exeext; then
34859 ac_cv_lib_msvcrt_wcslen=yes
34861 echo "$as_me: failed program was:" >&5
34862 sed 's/^/| /' conftest.$ac_ext >&5
34864 ac_cv_lib_msvcrt_wcslen=no
34867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34868 conftest$ac_exeext conftest.$ac_ext
34869 LIBS=$ac_check_lib_save_LIBS
34871 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34872 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34873 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34878 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34879 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34880 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34881 echo $ECHO_N "(cached) $ECHO_C" >&6
34883 ac_check_lib_save_LIBS=$LIBS
34885 cat >conftest.$ac_ext <<_ACEOF
34888 cat confdefs.h >>conftest.$ac_ext
34889 cat >>conftest.$ac_ext <<_ACEOF
34890 /* end confdefs.h. */
34892 /* Override any GCC internal prototype to avoid an error.
34893 Use char because int might match the return type of a GCC
34894 builtin and then its argument prototype would still apply. */
34907 rm -f conftest.$ac_objext conftest$ac_exeext
34908 if { (ac_try="$ac_link"
34909 case "(($ac_try" in
34910 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34911 *) ac_try_echo
=$ac_try;;
34913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34914 (eval "$ac_link") 2>conftest.er1
34916 grep -v '^ *+' conftest.er1
>conftest.err
34918 cat conftest.err
>&5
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); } && {
34921 test -z "$ac_c_werror_flag" ||
34922 test ! -s conftest.err
34923 } && test -s conftest
$ac_exeext &&
34924 $as_test_x conftest
$ac_exeext; then
34925 ac_cv_lib_w_wcslen
=yes
34927 echo "$as_me: failed program was:" >&5
34928 sed 's/^/| /' conftest.
$ac_ext >&5
34930 ac_cv_lib_w_wcslen
=no
34933 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34934 conftest
$ac_exeext conftest.
$ac_ext
34935 LIBS
=$ac_check_lib_save_LIBS
34937 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34938 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34939 if test $ac_cv_lib_w_wcslen = yes; then
34949 if test "$WCSLEN_FOUND" = 1; then
34950 cat >>confdefs.h
<<\_ACEOF
34951 #define HAVE_WCSLEN 1
34957 for ac_func
in wcsdup
34959 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34960 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34962 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34963 echo $ECHO_N "(cached) $ECHO_C" >&6
34965 cat >conftest.
$ac_ext <<_ACEOF
34968 cat confdefs.h
>>conftest.
$ac_ext
34969 cat >>conftest.
$ac_ext <<_ACEOF
34970 /* end confdefs.h. */
34971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34973 #define $ac_func innocuous_$ac_func
34975 /* System header to define __stub macros and hopefully few prototypes,
34976 which can conflict with char $ac_func (); below.
34977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34978 <limits.h> exists even on freestanding compilers. */
34981 # include <limits.h>
34983 # include <assert.h>
34988 /* Override any GCC internal prototype to avoid an error.
34989 Use char because int might match the return type of a GCC
34990 builtin and then its argument prototype would still apply. */
34995 /* The GNU C library defines this for functions which it implements
34996 to always fail with ENOSYS. Some functions are actually named
34997 something starting with __ and the normal name is an alias. */
34998 #if defined __stub_$ac_func || defined __stub___$ac_func
35005 return $ac_func ();
35010 rm -f conftest.
$ac_objext conftest
$ac_exeext
35011 if { (ac_try
="$ac_link"
35012 case "(($ac_try" in
35013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35014 *) ac_try_echo=$ac_try;;
35016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35017 (eval "$ac_link") 2>conftest.er1
35019 grep -v '^ *+' conftest.er1 >conftest.err
35021 cat conftest.err >&5
35022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35023 (exit $ac_status); } && {
35024 test -z "$ac_c_werror_flag" ||
35025 test ! -s conftest.err
35026 } && test -s conftest$ac_exeext &&
35027 $as_test_x conftest$ac_exeext; then
35028 eval "$as_ac_var=yes"
35030 echo "$as_me: failed program was:" >&5
35031 sed 's/^/| /' conftest.$ac_ext >&5
35033 eval "$as_ac_var=no"
35036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35037 conftest$ac_exeext conftest.$ac_ext
35039 ac_res=`eval echo '${'$as_ac_var'}'`
35040 { echo "$as_me:$LINENO: result: $ac_res" >&5
35041 echo "${ECHO_T}$ac_res" >&6; }
35042 if test `eval echo '${'$as_ac_var'}'` = yes; then
35043 cat >>confdefs.h <<_ACEOF
35044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35051 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35052 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35055 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35056 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35057 if test "${ac_cv_type_mbstate_t+set}" = set; then
35058 echo $ECHO_N "(cached) $ECHO_C" >&6
35060 cat >conftest.$ac_ext <<_ACEOF
35063 cat confdefs.h >>conftest.$ac_ext
35064 cat >>conftest.$ac_ext <<_ACEOF
35065 /* end confdefs.h. */
35068 typedef mbstate_t ac__type_new_;
35072 if ((ac__type_new_ *) 0)
35074 if (sizeof (ac__type_new_))
35080 rm -f conftest.$ac_objext
35081 if { (ac_try="$ac_compile"
35082 case "(($ac_try" in
35083 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35084 *) ac_try_echo
=$ac_try;;
35086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35087 (eval "$ac_compile") 2>conftest.er1
35089 grep -v '^ *+' conftest.er1
>conftest.err
35091 cat conftest.err
>&5
35092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35093 (exit $ac_status); } && {
35094 test -z "$ac_c_werror_flag" ||
35095 test ! -s conftest.err
35096 } && test -s conftest.
$ac_objext; then
35097 ac_cv_type_mbstate_t
=yes
35099 echo "$as_me: failed program was:" >&5
35100 sed 's/^/| /' conftest.
$ac_ext >&5
35102 ac_cv_type_mbstate_t
=no
35105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35107 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35108 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35109 if test $ac_cv_type_mbstate_t = yes; then
35111 cat >>confdefs.h
<<_ACEOF
35112 #define HAVE_MBSTATE_T 1
35116 for ac_func
in wcsrtombs
35118 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35119 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35121 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35122 echo $ECHO_N "(cached) $ECHO_C" >&6
35124 cat >conftest.
$ac_ext <<_ACEOF
35127 cat confdefs.h
>>conftest.
$ac_ext
35128 cat >>conftest.
$ac_ext <<_ACEOF
35129 /* end confdefs.h. */
35130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35132 #define $ac_func innocuous_$ac_func
35134 /* System header to define __stub macros and hopefully few prototypes,
35135 which can conflict with char $ac_func (); below.
35136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35137 <limits.h> exists even on freestanding compilers. */
35140 # include <limits.h>
35142 # include <assert.h>
35147 /* Override any GCC internal prototype to avoid an error.
35148 Use char because int might match the return type of a GCC
35149 builtin and then its argument prototype would still apply. */
35154 /* The GNU C library defines this for functions which it implements
35155 to always fail with ENOSYS. Some functions are actually named
35156 something starting with __ and the normal name is an alias. */
35157 #if defined __stub_$ac_func || defined __stub___$ac_func
35164 return $ac_func ();
35169 rm -f conftest.
$ac_objext conftest
$ac_exeext
35170 if { (ac_try
="$ac_link"
35171 case "(($ac_try" in
35172 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35173 *) ac_try_echo=$ac_try;;
35175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35176 (eval "$ac_link") 2>conftest.er1
35178 grep -v '^ *+' conftest.er1 >conftest.err
35180 cat conftest.err >&5
35181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35182 (exit $ac_status); } && {
35183 test -z "$ac_c_werror_flag" ||
35184 test ! -s conftest.err
35185 } && test -s conftest$ac_exeext &&
35186 $as_test_x conftest$ac_exeext; then
35187 eval "$as_ac_var=yes"
35189 echo "$as_me: failed program was:" >&5
35190 sed 's/^/| /' conftest.$ac_ext >&5
35192 eval "$as_ac_var=no"
35195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35196 conftest$ac_exeext conftest.$ac_ext
35198 ac_res=`eval echo '${'$as_ac_var'}'`
35199 { echo "$as_me:$LINENO: result: $ac_res" >&5
35200 echo "${ECHO_T}$ac_res" >&6; }
35201 if test `eval echo '${'$as_ac_var'}'` = yes; then
35202 cat >>confdefs.h <<_ACEOF
35203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35212 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35213 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35219 for ac_func in snprintf vsnprintf vsscanf
35221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35222 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35224 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35225 echo $ECHO_N "(cached) $ECHO_C" >&6
35227 cat >conftest.$ac_ext <<_ACEOF
35230 cat confdefs.h >>conftest.$ac_ext
35231 cat >>conftest.$ac_ext <<_ACEOF
35232 /* end confdefs.h. */
35233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35235 #define $ac_func innocuous_$ac_func
35237 /* System header to define __stub macros and hopefully few prototypes,
35238 which can conflict with char $ac_func (); below.
35239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35240 <limits.h> exists even on freestanding compilers. */
35243 # include <limits.h>
35245 # include <assert.h>
35250 /* Override any GCC internal prototype to avoid an error.
35251 Use char because int might match the return type of a GCC
35252 builtin and then its argument prototype would still apply. */
35257 /* The GNU C library defines this for functions which it implements
35258 to always fail with ENOSYS. Some functions are actually named
35259 something starting with __ and the normal name is an alias. */
35260 #if defined __stub_$ac_func || defined __stub___$ac_func
35267 return $ac_func ();
35272 rm -f conftest.$ac_objext conftest$ac_exeext
35273 if { (ac_try="$ac_link"
35274 case "(($ac_try" in
35275 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35276 *) ac_try_echo
=$ac_try;;
35278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35279 (eval "$ac_link") 2>conftest.er1
35281 grep -v '^ *+' conftest.er1
>conftest.err
35283 cat conftest.err
>&5
35284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35285 (exit $ac_status); } && {
35286 test -z "$ac_c_werror_flag" ||
35287 test ! -s conftest.err
35288 } && test -s conftest
$ac_exeext &&
35289 $as_test_x conftest
$ac_exeext; then
35290 eval "$as_ac_var=yes"
35292 echo "$as_me: failed program was:" >&5
35293 sed 's/^/| /' conftest.
$ac_ext >&5
35295 eval "$as_ac_var=no"
35298 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35299 conftest
$ac_exeext conftest.
$ac_ext
35301 ac_res
=`eval echo '${'$as_ac_var'}'`
35302 { echo "$as_me:$LINENO: result: $ac_res" >&5
35303 echo "${ECHO_T}$ac_res" >&6; }
35304 if test `eval echo '${'$as_ac_var'}'` = yes; then
35305 cat >>confdefs.h
<<_ACEOF
35306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35314 ac_cpp
='$CXXCPP $CPPFLAGS'
35315 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35316 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35317 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35319 if test "$ac_cv_func_vsnprintf" = "yes"; then
35320 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35321 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35322 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35323 echo $ECHO_N "(cached) $ECHO_C" >&6
35326 cat >conftest.
$ac_ext <<_ACEOF
35329 cat confdefs.h
>>conftest.
$ac_ext
35330 cat >>conftest.
$ac_ext <<_ACEOF
35331 /* end confdefs.h. */
35334 #include <stdarg.h>
35336 #if __MSL__ >= 0x6000
35338 using namespace std;
35348 vsnprintf(buf, 10u, "%s", ap);
35354 rm -f conftest.
$ac_objext
35355 if { (ac_try
="$ac_compile"
35356 case "(($ac_try" in
35357 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35358 *) ac_try_echo=$ac_try;;
35360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35361 (eval "$ac_compile") 2>conftest.er1
35363 grep -v '^ *+' conftest.er1 >conftest.err
35365 cat conftest.err >&5
35366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367 (exit $ac_status); } && {
35368 test -z "$ac_cxx_werror_flag" ||
35369 test ! -s conftest.err
35370 } && test -s conftest.$ac_objext; then
35371 wx_cv_func_vsnprintf_decl=yes
35373 echo "$as_me: failed program was:" >&5
35374 sed 's/^/| /' conftest.$ac_ext >&5
35376 wx_cv_func_vsnprintf_decl=no
35380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35384 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35385 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35387 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35388 cat >>confdefs.h <<\_ACEOF
35389 #define HAVE_VSNPRINTF_DECL 1
35393 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35394 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35395 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35396 echo $ECHO_N "(cached) $ECHO_C" >&6
35399 cat >conftest.$ac_ext <<_ACEOF
35402 cat confdefs.h >>conftest.$ac_ext
35403 cat >>conftest.$ac_ext <<_ACEOF
35404 /* end confdefs.h. */
35407 #include <stdarg.h>
35409 #if __MSL__ >= 0x6000
35411 using namespace std;
35421 const char *fmt = "%s";
35422 vsnprintf(buf, 10u, fmt, ap);
35428 rm -f conftest.$ac_objext
35429 if { (ac_try="$ac_compile"
35430 case "(($ac_try" in
35431 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35432 *) ac_try_echo
=$ac_try;;
35434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35435 (eval "$ac_compile") 2>conftest.er1
35437 grep -v '^ *+' conftest.er1
>conftest.err
35439 cat conftest.err
>&5
35440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35441 (exit $ac_status); } && {
35442 test -z "$ac_cxx_werror_flag" ||
35443 test ! -s conftest.err
35444 } && test -s conftest.
$ac_objext; then
35445 wx_cv_func_broken_vsnprintf_decl
=no
35447 echo "$as_me: failed program was:" >&5
35448 sed 's/^/| /' conftest.
$ac_ext >&5
35450 wx_cv_func_broken_vsnprintf_decl
=yes
35454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35458 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35459 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35461 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35462 cat >>confdefs.h
<<\_ACEOF
35463 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35470 if test "$ac_cv_func_snprintf" = "yes"; then
35471 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35472 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35473 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35474 echo $ECHO_N "(cached) $ECHO_C" >&6
35477 cat >conftest.
$ac_ext <<_ACEOF
35480 cat confdefs.h
>>conftest.
$ac_ext
35481 cat >>conftest.
$ac_ext <<_ACEOF
35482 /* end confdefs.h. */
35485 #include <stdarg.h>
35487 #if __MSL__ >= 0x6000
35489 using namespace std;
35498 snprintf(buf, 10u, "%s", "wx");
35504 rm -f conftest.
$ac_objext
35505 if { (ac_try
="$ac_compile"
35506 case "(($ac_try" in
35507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35508 *) ac_try_echo=$ac_try;;
35510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35511 (eval "$ac_compile") 2>conftest.er1
35513 grep -v '^ *+' conftest.er1 >conftest.err
35515 cat conftest.err >&5
35516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35517 (exit $ac_status); } && {
35518 test -z "$ac_cxx_werror_flag" ||
35519 test ! -s conftest.err
35520 } && test -s conftest.$ac_objext; then
35521 wx_cv_func_snprintf_decl=yes
35523 echo "$as_me: failed program was:" >&5
35524 sed 's/^/| /' conftest.$ac_ext >&5
35526 wx_cv_func_snprintf_decl=no
35530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35534 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35535 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35537 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35538 cat >>confdefs.h <<\_ACEOF
35539 #define HAVE_SNPRINTF_DECL 1
35544 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35546 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35547 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35548 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35549 echo $ECHO_N "(cached) $ECHO_C" >&6
35552 if test "$cross_compiling" = yes; then
35554 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35555 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35556 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35557 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35558 wx_cv_func_snprintf_pos_params=no
35562 cat >conftest.$ac_ext <<_ACEOF
35565 cat confdefs.h >>conftest.$ac_ext
35566 cat >>conftest.$ac_ext <<_ACEOF
35567 /* end confdefs.h. */
35574 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35575 if (strcmp ("2 3 1", buffer) == 0)
35581 rm -f conftest$ac_exeext
35582 if { (ac_try="$ac_link"
35583 case "(($ac_try" in
35584 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35585 *) ac_try_echo
=$ac_try;;
35587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35588 (eval "$ac_link") 2>&5
35590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35592 { (case "(($ac_try" in
35593 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35594 *) ac_try_echo=$ac_try;;
35596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35597 (eval "$ac_try") 2>&5
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); }; }; then
35601 wx_cv_func_snprintf_pos_params=no
35603 echo "$as_me: program exited with status $ac_status" >&5
35604 echo "$as_me: failed program was:" >&5
35605 sed 's/^/| /' conftest.$ac_ext >&5
35607 ( exit $ac_status )
35608 wx_cv_func_snprintf_pos_params=yes
35610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35617 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35618 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35620 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35621 cat >>confdefs.h <<\_ACEOF
35622 #define HAVE_UNIX98_PRINTF 1
35629 if test "$ac_cv_func_vsscanf" = "yes"; then
35630 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35631 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35632 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35633 echo $ECHO_N "(cached) $ECHO_C" >&6
35636 cat >conftest.$ac_ext <<_ACEOF
35639 cat confdefs.h >>conftest.$ac_ext
35640 cat >>conftest.$ac_ext <<_ACEOF
35641 /* end confdefs.h. */
35644 #include <stdarg.h>
35646 #if __MSL__ >= 0x6000
35648 using namespace std;
35658 vsscanf(buf, "%s", args);
35664 rm -f conftest.$ac_objext
35665 if { (ac_try="$ac_compile"
35666 case "(($ac_try" in
35667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35668 *) ac_try_echo
=$ac_try;;
35670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35671 (eval "$ac_compile") 2>conftest.er1
35673 grep -v '^ *+' conftest.er1
>conftest.err
35675 cat conftest.err
>&5
35676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35677 (exit $ac_status); } && {
35678 test -z "$ac_cxx_werror_flag" ||
35679 test ! -s conftest.err
35680 } && test -s conftest.
$ac_objext; then
35681 wx_cv_func_vsscanf_decl
=yes
35683 echo "$as_me: failed program was:" >&5
35684 sed 's/^/| /' conftest.
$ac_ext >&5
35686 wx_cv_func_vsscanf_decl
=no
35690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35694 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35695 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35697 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35698 cat >>confdefs.h
<<\_ACEOF
35699 #define HAVE_VSSCANF_DECL 1
35705 ac_cpp
='$CPP $CPPFLAGS'
35706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35711 if test "$wxUSE_UNICODE" = yes; then
35713 wchar_headers
="#include <stdio.h>
35714 #include <wchar.h>"
35718 for ac_header
in widec.h
35720 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35721 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35723 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35724 echo $ECHO_N "(cached) $ECHO_C" >&6
35726 cat >conftest.
$ac_ext <<_ACEOF
35729 cat confdefs.h
>>conftest.
$ac_ext
35730 cat >>conftest.
$ac_ext <<_ACEOF
35731 /* end confdefs.h. */
35732 $ac_includes_default
35734 #include <$ac_header>
35736 rm -f conftest.
$ac_objext
35737 if { (ac_try
="$ac_compile"
35738 case "(($ac_try" in
35739 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35740 *) ac_try_echo=$ac_try;;
35742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35743 (eval "$ac_compile") 2>conftest.er1
35745 grep -v '^ *+' conftest.er1 >conftest.err
35747 cat conftest.err >&5
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); } && {
35750 test -z "$ac_c_werror_flag" ||
35751 test ! -s conftest.err
35752 } && test -s conftest.$ac_objext; then
35753 eval "$as_ac_Header=yes"
35755 echo "$as_me: failed program was:" >&5
35756 sed 's/^/| /' conftest.$ac_ext >&5
35758 eval "$as_ac_Header=no"
35761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35763 ac_res=`eval echo '${'$as_ac_Header'}'`
35764 { echo "$as_me:$LINENO: result: $ac_res" >&5
35765 echo "${ECHO_T}$ac_res" >&6; }
35766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35767 cat >>confdefs.h <<_ACEOF
35768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35775 if test "$ac_cv_header_widec_h" = "yes"; then
35776 wchar_headers="$wchar_headers
35777 #include <widec.h>"
35782 for wx_func in putws fputws wprintf vswprintf vswscanf
35784 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35785 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35786 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35787 echo $ECHO_N "(cached) $ECHO_C" >&6
35790 cat >conftest.$ac_ext <<_ACEOF
35794 cat confdefs.h >>conftest.$ac_ext
35795 cat >>conftest.$ac_ext <<_ACEOF
35796 /* end confdefs.h. */
35799 $ac_includes_default
35815 rm -f conftest.$ac_objext conftest$ac_exeext
35816 if { (ac_try="$ac_link"
35817 case "(($ac_try" in
35818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35819 *) ac_try_echo
=$ac_try;;
35821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35822 (eval "$ac_link") 2>conftest.er1
35824 grep -v '^ *+' conftest.er1
>conftest.err
35826 cat conftest.err
>&5
35827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35828 (exit $ac_status); } && {
35829 test -z "$ac_c_werror_flag" ||
35830 test ! -s conftest.err
35831 } && test -s conftest
$ac_exeext &&
35832 $as_test_x conftest
$ac_exeext; then
35833 eval wx_cv_func_
$wx_func=yes
35835 echo "$as_me: failed program was:" >&5
35836 sed 's/^/| /' conftest.
$ac_ext >&5
35838 eval wx_cv_func_
$wx_func=no
35841 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35842 conftest
$ac_exeext conftest.
$ac_ext
35845 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35846 { echo "$as_me:$LINENO: result: $ac_res" >&5
35847 echo "${ECHO_T}$ac_res" >&6; }
35849 if eval test \
$wx_cv_func_$wx_func = yes
35851 cat >>confdefs.h
<<_ACEOF
35852 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35863 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35864 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35865 cat >conftest.
$ac_ext <<_ACEOF
35868 cat confdefs.h
>>conftest.
$ac_ext
35869 cat >>conftest.
$ac_ext <<_ACEOF
35870 /* end confdefs.h. */
35880 rm -f conftest.
$ac_objext
35881 if { (ac_try
="$ac_compile"
35882 case "(($ac_try" in
35883 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35884 *) ac_try_echo=$ac_try;;
35886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35887 (eval "$ac_compile") 2>conftest.er1
35889 grep -v '^ *+' conftest.er1 >conftest.err
35891 cat conftest.err >&5
35892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35893 (exit $ac_status); } && {
35894 test -z "$ac_c_werror_flag" ||
35895 test ! -s conftest.err
35896 } && test -s conftest.$ac_objext; then
35897 { echo "$as_me:$LINENO: result: yes" >&5
35898 echo "${ECHO_T}yes" >&6; }
35899 cat >>confdefs.h <<\_ACEOF
35900 #define HAVE__VSNWPRINTF 1
35904 echo "$as_me: failed program was:" >&5
35905 sed 's/^/| /' conftest.$ac_ext >&5
35907 { echo "$as_me:$LINENO: result: no" >&5
35908 echo "${ECHO_T}no" >&6; }
35911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35914 if test "$wxUSE_FILE" = "yes"; then
35916 for wx_func in fsync
35918 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35919 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35920 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35921 echo $ECHO_N "(cached) $ECHO_C" >&6
35924 cat >conftest.$ac_ext <<_ACEOF
35928 cat confdefs.h >>conftest.$ac_ext
35929 cat >>conftest.$ac_ext <<_ACEOF
35930 /* end confdefs.h. */
35933 $ac_includes_default
35949 rm -f conftest.$ac_objext conftest$ac_exeext
35950 if { (ac_try="$ac_link"
35951 case "(($ac_try" in
35952 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35953 *) ac_try_echo
=$ac_try;;
35955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35956 (eval "$ac_link") 2>conftest.er1
35958 grep -v '^ *+' conftest.er1
>conftest.err
35960 cat conftest.err
>&5
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); } && {
35963 test -z "$ac_c_werror_flag" ||
35964 test ! -s conftest.err
35965 } && test -s conftest
$ac_exeext &&
35966 $as_test_x conftest
$ac_exeext; then
35967 eval wx_cv_func_
$wx_func=yes
35969 echo "$as_me: failed program was:" >&5
35970 sed 's/^/| /' conftest.
$ac_ext >&5
35972 eval wx_cv_func_
$wx_func=no
35975 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35976 conftest
$ac_exeext conftest.
$ac_ext
35979 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35980 { echo "$as_me:$LINENO: result: $ac_res" >&5
35981 echo "${ECHO_T}$ac_res" >&6; }
35983 if eval test \
$wx_cv_func_$wx_func = yes
35985 cat >>confdefs.h
<<_ACEOF
35986 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35999 ac_cpp
='$CXXCPP $CPPFLAGS'
36000 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36001 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36002 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36005 for wx_func
in round
36007 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36008 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36009 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36010 echo $ECHO_N "(cached) $ECHO_C" >&6
36013 cat >conftest.
$ac_ext <<_ACEOF
36017 cat confdefs.h
>>conftest.
$ac_ext
36018 cat >>conftest.
$ac_ext <<_ACEOF
36019 /* end confdefs.h. */
36022 $ac_includes_default
36038 rm -f conftest.
$ac_objext conftest
$ac_exeext
36039 if { (ac_try
="$ac_link"
36040 case "(($ac_try" in
36041 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36042 *) ac_try_echo=$ac_try;;
36044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36045 (eval "$ac_link") 2>conftest.er1
36047 grep -v '^ *+' conftest.er1 >conftest.err
36049 cat conftest.err >&5
36050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36051 (exit $ac_status); } && {
36052 test -z "$ac_cxx_werror_flag" ||
36053 test ! -s conftest.err
36054 } && test -s conftest$ac_exeext &&
36055 $as_test_x conftest$ac_exeext; then
36056 eval wx_cv_func_$wx_func=yes
36058 echo "$as_me: failed program was:" >&5
36059 sed 's/^/| /' conftest.$ac_ext >&5
36061 eval wx_cv_func_$wx_func=no
36064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36065 conftest$ac_exeext conftest.$ac_ext
36068 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36069 { echo "$as_me:$LINENO: result: $ac_res" >&5
36070 echo "${ECHO_T}$ac_res" >&6; }
36072 if eval test \$wx_cv_func_$wx_func = yes
36074 cat >>confdefs.h <<_ACEOF
36075 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36086 ac_cpp='$CPP $CPPFLAGS'
36087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36092 if test "$TOOLKIT" != "MSW"; then
36094 if test "$wxUSE_LIBICONV" != "no" ; then
36098 # Check whether --with-libiconv-prefix was given.
36099 if test "${with_libiconv_prefix+set}" = set; then
36100 withval=$with_libiconv_prefix;
36101 for dir in `echo "$withval" | tr : ' '`; do
36102 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36103 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36109 { echo "$as_me:$LINENO: checking for iconv" >&5
36110 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36111 if test "${am_cv_func_iconv+set}" = set; then
36112 echo $ECHO_N "(cached) $ECHO_C" >&6
36115 am_cv_func_iconv="no, consider installing GNU libiconv"
36117 cat >conftest.$ac_ext <<_ACEOF
36120 cat confdefs.h >>conftest.$ac_ext
36121 cat >>conftest.$ac_ext <<_ACEOF
36122 /* end confdefs.h. */
36123 #include <stdlib.h>
36128 iconv_t cd = iconv_open("","");
36129 iconv(cd,NULL,NULL,NULL,NULL);
36135 rm -f conftest.$ac_objext conftest$ac_exeext
36136 if { (ac_try="$ac_link"
36137 case "(($ac_try" in
36138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36139 *) ac_try_echo
=$ac_try;;
36141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36142 (eval "$ac_link") 2>conftest.er1
36144 grep -v '^ *+' conftest.er1
>conftest.err
36146 cat conftest.err
>&5
36147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36148 (exit $ac_status); } && {
36149 test -z "$ac_c_werror_flag" ||
36150 test ! -s conftest.err
36151 } && test -s conftest
$ac_exeext &&
36152 $as_test_x conftest
$ac_exeext; then
36153 am_cv_func_iconv
=yes
36155 echo "$as_me: failed program was:" >&5
36156 sed 's/^/| /' conftest.
$ac_ext >&5
36161 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36162 conftest
$ac_exeext conftest.
$ac_ext
36163 if test "$am_cv_func_iconv" != yes; then
36164 am_save_LIBS
="$LIBS"
36165 LIBS
="$LIBS -liconv"
36166 cat >conftest.
$ac_ext <<_ACEOF
36169 cat confdefs.h
>>conftest.
$ac_ext
36170 cat >>conftest.
$ac_ext <<_ACEOF
36171 /* end confdefs.h. */
36172 #include <stdlib.h>
36177 iconv_t cd = iconv_open("","");
36178 iconv(cd,NULL,NULL,NULL,NULL);
36184 rm -f conftest.
$ac_objext conftest
$ac_exeext
36185 if { (ac_try
="$ac_link"
36186 case "(($ac_try" in
36187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36188 *) ac_try_echo=$ac_try;;
36190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36191 (eval "$ac_link") 2>conftest.er1
36193 grep -v '^ *+' conftest.er1 >conftest.err
36195 cat conftest.err >&5
36196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36197 (exit $ac_status); } && {
36198 test -z "$ac_c_werror_flag" ||
36199 test ! -s conftest.err
36200 } && test -s conftest$ac_exeext &&
36201 $as_test_x conftest$ac_exeext; then
36202 am_cv_lib_iconv=yes
36203 am_cv_func_iconv=yes
36205 echo "$as_me: failed program was:" >&5
36206 sed 's/^/| /' conftest.$ac_ext >&5
36211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36212 conftest$ac_exeext conftest.$ac_ext
36213 LIBS="$am_save_LIBS"
36217 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36218 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36219 if test "$am_cv_func_iconv" = yes; then
36221 cat >>confdefs.h <<\_ACEOF
36222 #define HAVE_ICONV 1
36225 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36226 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36227 if test "${wx_cv_func_iconv_const+set}" = set; then
36228 echo $ECHO_N "(cached) $ECHO_C" >&6
36230 cat >conftest.$ac_ext <<_ACEOF
36233 cat confdefs.h >>conftest.$ac_ext
36234 cat >>conftest.$ac_ext <<_ACEOF
36235 /* end confdefs.h. */
36237 #include <stdlib.h>
36243 #if defined(__STDC__) || defined(__cplusplus)
36244 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36257 rm -f conftest.$ac_objext
36258 if { (ac_try="$ac_compile"
36259 case "(($ac_try" in
36260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36261 *) ac_try_echo
=$ac_try;;
36263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36264 (eval "$ac_compile") 2>conftest.er1
36266 grep -v '^ *+' conftest.er1
>conftest.err
36268 cat conftest.err
>&5
36269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36270 (exit $ac_status); } && {
36271 test -z "$ac_c_werror_flag" ||
36272 test ! -s conftest.err
36273 } && test -s conftest.
$ac_objext; then
36274 wx_cv_func_iconv_const
="no"
36276 echo "$as_me: failed program was:" >&5
36277 sed 's/^/| /' conftest.
$ac_ext >&5
36279 wx_cv_func_iconv_const
="yes"
36283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36286 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36287 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36290 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36291 iconv_const
="const"
36295 cat >>confdefs.h
<<_ACEOF
36296 #define ICONV_CONST $iconv_const
36301 if test "$am_cv_lib_iconv" = yes; then
36306 LIBS
="$LIBICONV $LIBS"
36309 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36311 for ac_func
in sigaction
36313 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36314 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36316 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36317 echo $ECHO_N "(cached) $ECHO_C" >&6
36319 cat >conftest.
$ac_ext <<_ACEOF
36322 cat confdefs.h
>>conftest.
$ac_ext
36323 cat >>conftest.
$ac_ext <<_ACEOF
36324 /* end confdefs.h. */
36325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36327 #define $ac_func innocuous_$ac_func
36329 /* System header to define __stub macros and hopefully few prototypes,
36330 which can conflict with char $ac_func (); below.
36331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36332 <limits.h> exists even on freestanding compilers. */
36335 # include <limits.h>
36337 # include <assert.h>
36342 /* Override any GCC internal prototype to avoid an error.
36343 Use char because int might match the return type of a GCC
36344 builtin and then its argument prototype would still apply. */
36349 /* The GNU C library defines this for functions which it implements
36350 to always fail with ENOSYS. Some functions are actually named
36351 something starting with __ and the normal name is an alias. */
36352 #if defined __stub_$ac_func || defined __stub___$ac_func
36359 return $ac_func ();
36364 rm -f conftest.
$ac_objext conftest
$ac_exeext
36365 if { (ac_try
="$ac_link"
36366 case "(($ac_try" in
36367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36368 *) ac_try_echo=$ac_try;;
36370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36371 (eval "$ac_link") 2>conftest.er1
36373 grep -v '^ *+' conftest.er1 >conftest.err
36375 cat conftest.err >&5
36376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36377 (exit $ac_status); } && {
36378 test -z "$ac_c_werror_flag" ||
36379 test ! -s conftest.err
36380 } && test -s conftest$ac_exeext &&
36381 $as_test_x conftest$ac_exeext; then
36382 eval "$as_ac_var=yes"
36384 echo "$as_me: failed program was:" >&5
36385 sed 's/^/| /' conftest.$ac_ext >&5
36387 eval "$as_ac_var=no"
36390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36391 conftest$ac_exeext conftest.$ac_ext
36393 ac_res=`eval echo '${'$as_ac_var'}'`
36394 { echo "$as_me:$LINENO: result: $ac_res" >&5
36395 echo "${ECHO_T}$ac_res" >&6; }
36396 if test `eval echo '${'$as_ac_var'}'` = yes; then
36397 cat >>confdefs.h <<_ACEOF
36398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36405 if test "$ac_cv_func_sigaction" = "no"; then
36406 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36407 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36408 wxUSE_ON_FATAL_EXCEPTION=no
36411 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36412 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36413 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36414 if test "${wx_cv_type_sa_handler+set}" = set; then
36415 echo $ECHO_N "(cached) $ECHO_C" >&6
36419 ac_cpp='$CXXCPP $CPPFLAGS'
36420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36424 cat >conftest.$ac_ext <<_ACEOF
36427 cat confdefs.h >>conftest.$ac_ext
36428 cat >>conftest.$ac_ext <<_ACEOF
36429 /* end confdefs.h. */
36430 #include <signal.h>
36435 extern void testSigHandler(int);
36437 struct sigaction sa;
36438 sa.sa_handler = testSigHandler;
36444 rm -f conftest.$ac_objext
36445 if { (ac_try="$ac_compile"
36446 case "(($ac_try" in
36447 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36448 *) ac_try_echo
=$ac_try;;
36450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36451 (eval "$ac_compile") 2>conftest.er1
36453 grep -v '^ *+' conftest.er1
>conftest.err
36455 cat conftest.err
>&5
36456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36457 (exit $ac_status); } && {
36458 test -z "$ac_cxx_werror_flag" ||
36459 test ! -s conftest.err
36460 } && test -s conftest.
$ac_objext; then
36462 wx_cv_type_sa_handler
=int
36465 echo "$as_me: failed program was:" >&5
36466 sed 's/^/| /' conftest.
$ac_ext >&5
36469 wx_cv_type_sa_handler
=void
36473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36475 ac_cpp
='$CPP $CPPFLAGS'
36476 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36477 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36478 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36482 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36483 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36485 cat >>confdefs.h
<<_ACEOF
36486 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36492 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36493 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36494 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36495 if test "${wx_cv_func_backtrace+set}" = set; then
36496 echo $ECHO_N "(cached) $ECHO_C" >&6
36500 ac_cpp
='$CXXCPP $CPPFLAGS'
36501 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36502 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36503 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36505 cat >conftest.
$ac_ext <<_ACEOF
36508 cat confdefs.h
>>conftest.
$ac_ext
36509 cat >>conftest.
$ac_ext <<_ACEOF
36510 /* end confdefs.h. */
36511 #include <execinfo.h>
36519 backtrace(trace, 1);
36520 messages = backtrace_symbols(trace, 1);
36526 rm -f conftest.
$ac_objext
36527 if { (ac_try
="$ac_compile"
36528 case "(($ac_try" in
36529 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36530 *) ac_try_echo=$ac_try;;
36532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36533 (eval "$ac_compile") 2>conftest.er1
36535 grep -v '^ *+' conftest.er1 >conftest.err
36537 cat conftest.err >&5
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); } && {
36540 test -z "$ac_cxx_werror_flag" ||
36541 test ! -s conftest.err
36542 } && test -s conftest.$ac_objext; then
36543 wx_cv_func_backtrace=yes
36545 echo "$as_me: failed program was:" >&5
36546 sed 's/^/| /' conftest.$ac_ext >&5
36548 wx_cv_func_backtrace=no
36552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36554 ac_cpp='$CPP $CPPFLAGS'
36555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36562 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36563 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36566 if test "$wx_cv_func_backtrace" = "no"; then
36567 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36568 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36569 wxUSE_STACKWALKER=no
36571 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36572 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36573 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36574 echo $ECHO_N "(cached) $ECHO_C" >&6
36578 ac_cpp='$CXXCPP $CPPFLAGS'
36579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36583 cat >conftest.$ac_ext <<_ACEOF
36586 cat confdefs.h >>conftest.$ac_ext
36587 cat >>conftest.$ac_ext <<_ACEOF
36588 /* end confdefs.h. */
36589 #include <cxxabi.h>
36595 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36601 rm -f conftest.$ac_objext conftest$ac_exeext
36602 if { (ac_try="$ac_link"
36603 case "(($ac_try" in
36604 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36605 *) ac_try_echo
=$ac_try;;
36607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36608 (eval "$ac_link") 2>conftest.er1
36610 grep -v '^ *+' conftest.er1
>conftest.err
36612 cat conftest.err
>&5
36613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36614 (exit $ac_status); } && {
36615 test -z "$ac_cxx_werror_flag" ||
36616 test ! -s conftest.err
36617 } && test -s conftest
$ac_exeext &&
36618 $as_test_x conftest
$ac_exeext; then
36619 wx_cv_func_cxa_demangle
=yes
36621 echo "$as_me: failed program was:" >&5
36622 sed 's/^/| /' conftest.
$ac_ext >&5
36624 wx_cv_func_cxa_demangle
=no
36628 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36629 conftest
$ac_exeext conftest.
$ac_ext
36631 ac_cpp
='$CPP $CPPFLAGS'
36632 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36633 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36634 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36639 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36640 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36642 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36643 cat >>confdefs.h
<<\_ACEOF
36644 #define HAVE_CXA_DEMANGLE 1
36651 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36652 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36653 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36654 wxUSE_STACKWALKER
=no
36660 for ac_func
in mkstemp mktemp
36662 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36663 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36665 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36666 echo $ECHO_N "(cached) $ECHO_C" >&6
36668 cat >conftest.
$ac_ext <<_ACEOF
36671 cat confdefs.h
>>conftest.
$ac_ext
36672 cat >>conftest.
$ac_ext <<_ACEOF
36673 /* end confdefs.h. */
36674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36676 #define $ac_func innocuous_$ac_func
36678 /* System header to define __stub macros and hopefully few prototypes,
36679 which can conflict with char $ac_func (); below.
36680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36681 <limits.h> exists even on freestanding compilers. */
36684 # include <limits.h>
36686 # include <assert.h>
36691 /* Override any GCC internal prototype to avoid an error.
36692 Use char because int might match the return type of a GCC
36693 builtin and then its argument prototype would still apply. */
36698 /* The GNU C library defines this for functions which it implements
36699 to always fail with ENOSYS. Some functions are actually named
36700 something starting with __ and the normal name is an alias. */
36701 #if defined __stub_$ac_func || defined __stub___$ac_func
36708 return $ac_func ();
36713 rm -f conftest.
$ac_objext conftest
$ac_exeext
36714 if { (ac_try
="$ac_link"
36715 case "(($ac_try" in
36716 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36717 *) ac_try_echo=$ac_try;;
36719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36720 (eval "$ac_link") 2>conftest.er1
36722 grep -v '^ *+' conftest.er1 >conftest.err
36724 cat conftest.err >&5
36725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36726 (exit $ac_status); } && {
36727 test -z "$ac_c_werror_flag" ||
36728 test ! -s conftest.err
36729 } && test -s conftest$ac_exeext &&
36730 $as_test_x conftest$ac_exeext; then
36731 eval "$as_ac_var=yes"
36733 echo "$as_me: failed program was:" >&5
36734 sed 's/^/| /' conftest.$ac_ext >&5
36736 eval "$as_ac_var=no"
36739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36740 conftest$ac_exeext conftest.$ac_ext
36742 ac_res=`eval echo '${'$as_ac_var'}'`
36743 { echo "$as_me:$LINENO: result: $ac_res" >&5
36744 echo "${ECHO_T}$ac_res" >&6; }
36745 if test `eval echo '${'$as_ac_var'}'` = yes; then
36746 cat >>confdefs.h <<_ACEOF
36747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36754 { echo "$as_me:$LINENO: checking for statfs" >&5
36755 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36756 if test "${wx_cv_func_statfs+set}" = set; then
36757 echo $ECHO_N "(cached) $ECHO_C" >&6
36759 cat >conftest.$ac_ext <<_ACEOF
36762 cat confdefs.h >>conftest.$ac_ext
36763 cat >>conftest.$ac_ext <<_ACEOF
36764 /* end confdefs.h. */
36766 #if defined(__BSD__)
36767 #include <sys/param.h>
36768 #include <sys/mount.h>
36770 #include <sys/vfs.h>
36788 rm -f conftest.$ac_objext
36789 if { (ac_try="$ac_compile"
36790 case "(($ac_try" in
36791 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36792 *) ac_try_echo
=$ac_try;;
36794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36795 (eval "$ac_compile") 2>conftest.er1
36797 grep -v '^ *+' conftest.er1
>conftest.err
36799 cat conftest.err
>&5
36800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36801 (exit $ac_status); } && {
36802 test -z "$ac_c_werror_flag" ||
36803 test ! -s conftest.err
36804 } && test -s conftest.
$ac_objext; then
36805 wx_cv_func_statfs
=yes
36807 echo "$as_me: failed program was:" >&5
36808 sed 's/^/| /' conftest.
$ac_ext >&5
36810 wx_cv_func_statfs
=no
36814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36817 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36818 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36820 if test "$wx_cv_func_statfs" = "yes"; then
36821 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36822 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36823 if test "${wx_cv_func_statfs_decl+set}" = set; then
36824 echo $ECHO_N "(cached) $ECHO_C" >&6
36827 ac_cpp
='$CXXCPP $CPPFLAGS'
36828 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36829 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36830 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36832 cat >conftest.
$ac_ext <<_ACEOF
36835 cat confdefs.h
>>conftest.
$ac_ext
36836 cat >>conftest.
$ac_ext <<_ACEOF
36837 /* end confdefs.h. */
36839 #if defined(__BSD__)
36840 #include <sys/param.h>
36841 #include <sys/mount.h>
36843 #include <sys/vfs.h>
36857 rm -f conftest.
$ac_objext
36858 if { (ac_try
="$ac_compile"
36859 case "(($ac_try" in
36860 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36861 *) ac_try_echo=$ac_try;;
36863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36864 (eval "$ac_compile") 2>conftest.er1
36866 grep -v '^ *+' conftest.er1 >conftest.err
36868 cat conftest.err >&5
36869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36870 (exit $ac_status); } && {
36871 test -z "$ac_cxx_werror_flag" ||
36872 test ! -s conftest.err
36873 } && test -s conftest.$ac_objext; then
36874 wx_cv_func_statfs_decl=yes
36876 echo "$as_me: failed program was:" >&5
36877 sed 's/^/| /' conftest.$ac_ext >&5
36879 wx_cv_func_statfs_decl=no
36883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36885 ac_cpp='$CPP $CPPFLAGS'
36886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36892 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36893 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36895 if test "$wx_cv_func_statfs_decl" = "yes"; then
36896 cat >>confdefs.h <<\_ACEOF
36897 #define HAVE_STATFS_DECL 1
36902 wx_cv_type_statvfs_t="struct statfs"
36903 cat >>confdefs.h <<\_ACEOF
36904 #define HAVE_STATFS 1
36908 { echo "$as_me:$LINENO: checking for statvfs" >&5
36909 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36910 if test "${wx_cv_func_statvfs+set}" = set; then
36911 echo $ECHO_N "(cached) $ECHO_C" >&6
36913 cat >conftest.$ac_ext <<_ACEOF
36916 cat confdefs.h >>conftest.$ac_ext
36917 cat >>conftest.$ac_ext <<_ACEOF
36918 /* end confdefs.h. */
36920 #include <stddef.h>
36921 #include <sys/statvfs.h>
36927 statvfs("/", NULL);
36933 rm -f conftest.$ac_objext
36934 if { (ac_try="$ac_compile"
36935 case "(($ac_try" in
36936 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36937 *) ac_try_echo
=$ac_try;;
36939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36940 (eval "$ac_compile") 2>conftest.er1
36942 grep -v '^ *+' conftest.er1
>conftest.err
36944 cat conftest.err
>&5
36945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36946 (exit $ac_status); } && {
36947 test -z "$ac_c_werror_flag" ||
36948 test ! -s conftest.err
36949 } && test -s conftest.
$ac_objext; then
36950 wx_cv_func_statvfs
=yes
36952 echo "$as_me: failed program was:" >&5
36953 sed 's/^/| /' conftest.
$ac_ext >&5
36955 wx_cv_func_statvfs
=no
36959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36962 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36963 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36965 if test "$wx_cv_func_statvfs" = "yes"; then
36966 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36967 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36968 if test "${wx_cv_type_statvfs_t+set}" = set; then
36969 echo $ECHO_N "(cached) $ECHO_C" >&6
36972 ac_cpp
='$CXXCPP $CPPFLAGS'
36973 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36974 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36975 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36977 cat >conftest.
$ac_ext <<_ACEOF
36980 cat confdefs.h
>>conftest.
$ac_ext
36981 cat >>conftest.
$ac_ext <<_ACEOF
36982 /* end confdefs.h. */
36984 #include <sys/statvfs.h>
37001 rm -f conftest.
$ac_objext
37002 if { (ac_try
="$ac_compile"
37003 case "(($ac_try" in
37004 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37005 *) ac_try_echo=$ac_try;;
37007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37008 (eval "$ac_compile") 2>conftest.er1
37010 grep -v '^ *+' conftest.er1 >conftest.err
37012 cat conftest.err >&5
37013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37014 (exit $ac_status); } && {
37015 test -z "$ac_cxx_werror_flag" ||
37016 test ! -s conftest.err
37017 } && test -s conftest.$ac_objext; then
37018 wx_cv_type_statvfs_t=statvfs_t
37020 echo "$as_me: failed program was:" >&5
37021 sed 's/^/| /' conftest.$ac_ext >&5
37024 cat >conftest.$ac_ext <<_ACEOF
37027 cat confdefs.h >>conftest.$ac_ext
37028 cat >>conftest.$ac_ext <<_ACEOF
37029 /* end confdefs.h. */
37031 #include <sys/statvfs.h>
37048 rm -f conftest.$ac_objext
37049 if { (ac_try="$ac_compile"
37050 case "(($ac_try" in
37051 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37052 *) ac_try_echo
=$ac_try;;
37054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37055 (eval "$ac_compile") 2>conftest.er1
37057 grep -v '^ *+' conftest.er1
>conftest.err
37059 cat conftest.err
>&5
37060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37061 (exit $ac_status); } && {
37062 test -z "$ac_cxx_werror_flag" ||
37063 test ! -s conftest.err
37064 } && test -s conftest.
$ac_objext; then
37065 wx_cv_type_statvfs_t
="struct statvfs"
37067 echo "$as_me: failed program was:" >&5
37068 sed 's/^/| /' conftest.
$ac_ext >&5
37070 wx_cv_type_statvfs_t
="unknown"
37074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37081 ac_cpp
='$CPP $CPPFLAGS'
37082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37088 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37089 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37091 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37092 cat >>confdefs.h
<<\_ACEOF
37093 #define HAVE_STATVFS 1
37098 wx_cv_type_statvfs_t
="unknown"
37102 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37103 cat >>confdefs.h
<<_ACEOF
37104 #define WX_STATFS_T $wx_cv_type_statvfs_t
37108 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37109 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37112 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37115 for ac_func
in fcntl flock
37117 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37118 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37120 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37121 echo $ECHO_N "(cached) $ECHO_C" >&6
37123 cat >conftest.
$ac_ext <<_ACEOF
37126 cat confdefs.h
>>conftest.
$ac_ext
37127 cat >>conftest.
$ac_ext <<_ACEOF
37128 /* end confdefs.h. */
37129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37131 #define $ac_func innocuous_$ac_func
37133 /* System header to define __stub macros and hopefully few prototypes,
37134 which can conflict with char $ac_func (); below.
37135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37136 <limits.h> exists even on freestanding compilers. */
37139 # include <limits.h>
37141 # include <assert.h>
37146 /* Override any GCC internal prototype to avoid an error.
37147 Use char because int might match the return type of a GCC
37148 builtin and then its argument prototype would still apply. */
37153 /* The GNU C library defines this for functions which it implements
37154 to always fail with ENOSYS. Some functions are actually named
37155 something starting with __ and the normal name is an alias. */
37156 #if defined __stub_$ac_func || defined __stub___$ac_func
37163 return $ac_func ();
37168 rm -f conftest.
$ac_objext conftest
$ac_exeext
37169 if { (ac_try
="$ac_link"
37170 case "(($ac_try" in
37171 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37172 *) ac_try_echo=$ac_try;;
37174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37175 (eval "$ac_link") 2>conftest.er1
37177 grep -v '^ *+' conftest.er1 >conftest.err
37179 cat conftest.err >&5
37180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37181 (exit $ac_status); } && {
37182 test -z "$ac_c_werror_flag" ||
37183 test ! -s conftest.err
37184 } && test -s conftest$ac_exeext &&
37185 $as_test_x conftest$ac_exeext; then
37186 eval "$as_ac_var=yes"
37188 echo "$as_me: failed program was:" >&5
37189 sed 's/^/| /' conftest.$ac_ext >&5
37191 eval "$as_ac_var=no"
37194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37195 conftest$ac_exeext conftest.$ac_ext
37197 ac_res=`eval echo '${'$as_ac_var'}'`
37198 { echo "$as_me:$LINENO: result: $ac_res" >&5
37199 echo "${ECHO_T}$ac_res" >&6; }
37200 if test `eval echo '${'$as_ac_var'}'` = yes; then
37201 cat >>confdefs.h <<_ACEOF
37202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37209 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37210 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37211 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37212 wxUSE_SNGLINST_CHECKER=no
37218 for ac_func in setenv putenv
37220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37221 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37223 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37224 echo $ECHO_N "(cached) $ECHO_C" >&6
37226 cat >conftest.$ac_ext <<_ACEOF
37229 cat confdefs.h >>conftest.$ac_ext
37230 cat >>conftest.$ac_ext <<_ACEOF
37231 /* end confdefs.h. */
37232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37234 #define $ac_func innocuous_$ac_func
37236 /* System header to define __stub macros and hopefully few prototypes,
37237 which can conflict with char $ac_func (); below.
37238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37239 <limits.h> exists even on freestanding compilers. */
37242 # include <limits.h>
37244 # include <assert.h>
37249 /* Override any GCC internal prototype to avoid an error.
37250 Use char because int might match the return type of a GCC
37251 builtin and then its argument prototype would still apply. */
37256 /* The GNU C library defines this for functions which it implements
37257 to always fail with ENOSYS. Some functions are actually named
37258 something starting with __ and the normal name is an alias. */
37259 #if defined __stub_$ac_func || defined __stub___$ac_func
37266 return $ac_func ();
37271 rm -f conftest.$ac_objext conftest$ac_exeext
37272 if { (ac_try="$ac_link"
37273 case "(($ac_try" in
37274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37275 *) ac_try_echo
=$ac_try;;
37277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37278 (eval "$ac_link") 2>conftest.er1
37280 grep -v '^ *+' conftest.er1
>conftest.err
37282 cat conftest.err
>&5
37283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37284 (exit $ac_status); } && {
37285 test -z "$ac_c_werror_flag" ||
37286 test ! -s conftest.err
37287 } && test -s conftest
$ac_exeext &&
37288 $as_test_x conftest
$ac_exeext; then
37289 eval "$as_ac_var=yes"
37291 echo "$as_me: failed program was:" >&5
37292 sed 's/^/| /' conftest.
$ac_ext >&5
37294 eval "$as_ac_var=no"
37297 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37298 conftest
$ac_exeext conftest.
$ac_ext
37300 ac_res
=`eval echo '${'$as_ac_var'}'`
37301 { echo "$as_me:$LINENO: result: $ac_res" >&5
37302 echo "${ECHO_T}$ac_res" >&6; }
37303 if test `eval echo '${'$as_ac_var'}'` = yes; then
37304 cat >>confdefs.h
<<_ACEOF
37305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37311 if test "$ac_cv_func_setenv" = "yes"; then
37313 for ac_func
in unsetenv
37315 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37316 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37318 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37319 echo $ECHO_N "(cached) $ECHO_C" >&6
37321 cat >conftest.
$ac_ext <<_ACEOF
37324 cat confdefs.h
>>conftest.
$ac_ext
37325 cat >>conftest.
$ac_ext <<_ACEOF
37326 /* end confdefs.h. */
37327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37329 #define $ac_func innocuous_$ac_func
37331 /* System header to define __stub macros and hopefully few prototypes,
37332 which can conflict with char $ac_func (); below.
37333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37334 <limits.h> exists even on freestanding compilers. */
37337 # include <limits.h>
37339 # include <assert.h>
37344 /* Override any GCC internal prototype to avoid an error.
37345 Use char because int might match the return type of a GCC
37346 builtin and then its argument prototype would still apply. */
37351 /* The GNU C library defines this for functions which it implements
37352 to always fail with ENOSYS. Some functions are actually named
37353 something starting with __ and the normal name is an alias. */
37354 #if defined __stub_$ac_func || defined __stub___$ac_func
37361 return $ac_func ();
37366 rm -f conftest.
$ac_objext conftest
$ac_exeext
37367 if { (ac_try
="$ac_link"
37368 case "(($ac_try" in
37369 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37370 *) ac_try_echo=$ac_try;;
37372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37373 (eval "$ac_link") 2>conftest.er1
37375 grep -v '^ *+' conftest.er1 >conftest.err
37377 cat conftest.err >&5
37378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37379 (exit $ac_status); } && {
37380 test -z "$ac_c_werror_flag" ||
37381 test ! -s conftest.err
37382 } && test -s conftest$ac_exeext &&
37383 $as_test_x conftest$ac_exeext; then
37384 eval "$as_ac_var=yes"
37386 echo "$as_me: failed program was:" >&5
37387 sed 's/^/| /' conftest.$ac_ext >&5
37389 eval "$as_ac_var=no"
37392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37393 conftest$ac_exeext conftest.$ac_ext
37395 ac_res=`eval echo '${'$as_ac_var'}'`
37396 { echo "$as_me:$LINENO: result: $ac_res" >&5
37397 echo "${ECHO_T}$ac_res" >&6; }
37398 if test `eval echo '${'$as_ac_var'}'` = yes; then
37399 cat >>confdefs.h <<_ACEOF
37400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37408 HAVE_SOME_SLEEP_FUNC=0
37409 if test "$USE_BEOS" = 1; then
37410 cat >>confdefs.h <<\_ACEOF
37411 #define HAVE_SLEEP 1
37414 HAVE_SOME_SLEEP_FUNC=1
37417 if test "$USE_DARWIN" = 1; then
37418 cat >>confdefs.h <<\_ACEOF
37419 #define HAVE_USLEEP 1
37422 HAVE_SOME_SLEEP_FUNC=1
37425 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37428 for ac_func in nanosleep
37430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37431 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37433 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37434 echo $ECHO_N "(cached) $ECHO_C" >&6
37436 cat >conftest.$ac_ext <<_ACEOF
37439 cat confdefs.h >>conftest.$ac_ext
37440 cat >>conftest.$ac_ext <<_ACEOF
37441 /* end confdefs.h. */
37442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37444 #define $ac_func innocuous_$ac_func
37446 /* System header to define __stub macros and hopefully few prototypes,
37447 which can conflict with char $ac_func (); below.
37448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37449 <limits.h> exists even on freestanding compilers. */
37452 # include <limits.h>
37454 # include <assert.h>
37459 /* Override any GCC internal prototype to avoid an error.
37460 Use char because int might match the return type of a GCC
37461 builtin and then its argument prototype would still apply. */
37466 /* The GNU C library defines this for functions which it implements
37467 to always fail with ENOSYS. Some functions are actually named
37468 something starting with __ and the normal name is an alias. */
37469 #if defined __stub_$ac_func || defined __stub___$ac_func
37476 return $ac_func ();
37481 rm -f conftest.$ac_objext conftest$ac_exeext
37482 if { (ac_try="$ac_link"
37483 case "(($ac_try" in
37484 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37485 *) ac_try_echo
=$ac_try;;
37487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37488 (eval "$ac_link") 2>conftest.er1
37490 grep -v '^ *+' conftest.er1
>conftest.err
37492 cat conftest.err
>&5
37493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37494 (exit $ac_status); } && {
37495 test -z "$ac_c_werror_flag" ||
37496 test ! -s conftest.err
37497 } && test -s conftest
$ac_exeext &&
37498 $as_test_x conftest
$ac_exeext; then
37499 eval "$as_ac_var=yes"
37501 echo "$as_me: failed program was:" >&5
37502 sed 's/^/| /' conftest.
$ac_ext >&5
37504 eval "$as_ac_var=no"
37507 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37508 conftest
$ac_exeext conftest.
$ac_ext
37510 ac_res
=`eval echo '${'$as_ac_var'}'`
37511 { echo "$as_me:$LINENO: result: $ac_res" >&5
37512 echo "${ECHO_T}$ac_res" >&6; }
37513 if test `eval echo '${'$as_ac_var'}'` = yes; then
37514 cat >>confdefs.h
<<_ACEOF
37515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37517 cat >>confdefs.h
<<\_ACEOF
37518 #define HAVE_NANOSLEEP 1
37523 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37524 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37525 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37526 echo $ECHO_N "(cached) $ECHO_C" >&6
37528 ac_check_lib_save_LIBS
=$LIBS
37529 LIBS
="-lposix4 $LIBS"
37530 cat >conftest.
$ac_ext <<_ACEOF
37533 cat confdefs.h
>>conftest.
$ac_ext
37534 cat >>conftest.
$ac_ext <<_ACEOF
37535 /* end confdefs.h. */
37537 /* Override any GCC internal prototype to avoid an error.
37538 Use char because int might match the return type of a GCC
37539 builtin and then its argument prototype would still apply. */
37547 return nanosleep ();
37552 rm -f conftest.
$ac_objext conftest
$ac_exeext
37553 if { (ac_try
="$ac_link"
37554 case "(($ac_try" in
37555 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37556 *) ac_try_echo=$ac_try;;
37558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37559 (eval "$ac_link") 2>conftest.er1
37561 grep -v '^ *+' conftest.er1 >conftest.err
37563 cat conftest.err >&5
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); } && {
37566 test -z "$ac_c_werror_flag" ||
37567 test ! -s conftest.err
37568 } && test -s conftest$ac_exeext &&
37569 $as_test_x conftest$ac_exeext; then
37570 ac_cv_lib_posix4_nanosleep=yes
37572 echo "$as_me: failed program was:" >&5
37573 sed 's/^/| /' conftest.$ac_ext >&5
37575 ac_cv_lib_posix4_nanosleep=no
37578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37579 conftest$ac_exeext conftest.$ac_ext
37580 LIBS=$ac_check_lib_save_LIBS
37582 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37583 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37584 if test $ac_cv_lib_posix4_nanosleep = yes; then
37586 cat >>confdefs.h <<\_ACEOF
37587 #define HAVE_NANOSLEEP 1
37590 POSIX4_LINK=" -lposix4"
37595 for wx_func in usleep
37597 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37598 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37599 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37600 echo $ECHO_N "(cached) $ECHO_C" >&6
37603 cat >conftest.$ac_ext <<_ACEOF
37607 cat confdefs.h >>conftest.$ac_ext
37608 cat >>conftest.$ac_ext <<_ACEOF
37609 /* end confdefs.h. */
37612 $ac_includes_default
37628 rm -f conftest.$ac_objext conftest$ac_exeext
37629 if { (ac_try="$ac_link"
37630 case "(($ac_try" in
37631 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37632 *) ac_try_echo
=$ac_try;;
37634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37635 (eval "$ac_link") 2>conftest.er1
37637 grep -v '^ *+' conftest.er1
>conftest.err
37639 cat conftest.err
>&5
37640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37641 (exit $ac_status); } && {
37642 test -z "$ac_c_werror_flag" ||
37643 test ! -s conftest.err
37644 } && test -s conftest
$ac_exeext &&
37645 $as_test_x conftest
$ac_exeext; then
37646 eval wx_cv_func_
$wx_func=yes
37648 echo "$as_me: failed program was:" >&5
37649 sed 's/^/| /' conftest.
$ac_ext >&5
37651 eval wx_cv_func_
$wx_func=no
37654 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37655 conftest
$ac_exeext conftest.
$ac_ext
37658 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37659 { echo "$as_me:$LINENO: result: $ac_res" >&5
37660 echo "${ECHO_T}$ac_res" >&6; }
37662 if eval test \
$wx_cv_func_$wx_func = yes
37664 cat >>confdefs.h
<<_ACEOF
37665 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37671 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37672 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37689 for wx_func
in uname
37691 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37692 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37693 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37694 echo $ECHO_N "(cached) $ECHO_C" >&6
37697 cat >conftest.
$ac_ext <<_ACEOF
37701 cat confdefs.h
>>conftest.
$ac_ext
37702 cat >>conftest.
$ac_ext <<_ACEOF
37703 /* end confdefs.h. */
37705 #include <sys/utsname.h>
37706 $ac_includes_default
37722 rm -f conftest.
$ac_objext conftest
$ac_exeext
37723 if { (ac_try
="$ac_link"
37724 case "(($ac_try" in
37725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37726 *) ac_try_echo=$ac_try;;
37728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37729 (eval "$ac_link") 2>conftest.er1
37731 grep -v '^ *+' conftest.er1 >conftest.err
37733 cat conftest.err >&5
37734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37735 (exit $ac_status); } && {
37736 test -z "$ac_c_werror_flag" ||
37737 test ! -s conftest.err
37738 } && test -s conftest$ac_exeext &&
37739 $as_test_x conftest$ac_exeext; then
37740 eval wx_cv_func_$wx_func=yes
37742 echo "$as_me: failed program was:" >&5
37743 sed 's/^/| /' conftest.$ac_ext >&5
37745 eval wx_cv_func_$wx_func=no
37748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37749 conftest$ac_exeext conftest.$ac_ext
37752 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37753 { echo "$as_me:$LINENO: result: $ac_res" >&5
37754 echo "${ECHO_T}$ac_res" >&6; }
37756 if eval test \$wx_cv_func_$wx_func = yes
37758 cat >>confdefs.h <<_ACEOF
37759 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37769 if test "$wx_cv_func_uname" != yes; then
37771 for wx_func in gethostname
37773 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37774 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37775 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37776 echo $ECHO_N "(cached) $ECHO_C" >&6
37779 cat >conftest.$ac_ext <<_ACEOF
37783 cat confdefs.h >>conftest.$ac_ext
37784 cat >>conftest.$ac_ext <<_ACEOF
37785 /* end confdefs.h. */
37788 $ac_includes_default
37804 rm -f conftest.$ac_objext conftest$ac_exeext
37805 if { (ac_try="$ac_link"
37806 case "(($ac_try" in
37807 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37808 *) ac_try_echo
=$ac_try;;
37810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37811 (eval "$ac_link") 2>conftest.er1
37813 grep -v '^ *+' conftest.er1
>conftest.err
37815 cat conftest.err
>&5
37816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37817 (exit $ac_status); } && {
37818 test -z "$ac_c_werror_flag" ||
37819 test ! -s conftest.err
37820 } && test -s conftest
$ac_exeext &&
37821 $as_test_x conftest
$ac_exeext; then
37822 eval wx_cv_func_
$wx_func=yes
37824 echo "$as_me: failed program was:" >&5
37825 sed 's/^/| /' conftest.
$ac_ext >&5
37827 eval wx_cv_func_
$wx_func=no
37830 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37831 conftest
$ac_exeext conftest.
$ac_ext
37834 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37835 { echo "$as_me:$LINENO: result: $ac_res" >&5
37836 echo "${ECHO_T}$ac_res" >&6; }
37838 if eval test \
$wx_cv_func_$wx_func = yes
37840 cat >>confdefs.h
<<_ACEOF
37841 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37854 for wx_func
in strtok_r
37856 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37857 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37858 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37859 echo $ECHO_N "(cached) $ECHO_C" >&6
37862 cat >conftest.
$ac_ext <<_ACEOF
37866 cat confdefs.h
>>conftest.
$ac_ext
37867 cat >>conftest.
$ac_ext <<_ACEOF
37868 /* end confdefs.h. */
37871 $ac_includes_default
37887 rm -f conftest.
$ac_objext conftest
$ac_exeext
37888 if { (ac_try
="$ac_link"
37889 case "(($ac_try" in
37890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37891 *) ac_try_echo=$ac_try;;
37893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37894 (eval "$ac_link") 2>conftest.er1
37896 grep -v '^ *+' conftest.er1 >conftest.err
37898 cat conftest.err >&5
37899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37900 (exit $ac_status); } && {
37901 test -z "$ac_c_werror_flag" ||
37902 test ! -s conftest.err
37903 } && test -s conftest$ac_exeext &&
37904 $as_test_x conftest$ac_exeext; then
37905 eval wx_cv_func_$wx_func=yes
37907 echo "$as_me: failed program was:" >&5
37908 sed 's/^/| /' conftest.$ac_ext >&5
37910 eval wx_cv_func_$wx_func=no
37913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37914 conftest$ac_exeext conftest.$ac_ext
37917 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37918 { echo "$as_me:$LINENO: result: $ac_res" >&5
37919 echo "${ECHO_T}$ac_res" >&6; }
37921 if eval test \$wx_cv_func_$wx_func = yes
37923 cat >>confdefs.h <<_ACEOF
37924 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37937 for ac_func in inet_addr
37939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37945 cat >conftest.$ac_ext <<_ACEOF
37948 cat confdefs.h >>conftest.$ac_ext
37949 cat >>conftest.$ac_ext <<_ACEOF
37950 /* end confdefs.h. */
37951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37953 #define $ac_func innocuous_$ac_func
37955 /* System header to define __stub macros and hopefully few prototypes,
37956 which can conflict with char $ac_func (); below.
37957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37958 <limits.h> exists even on freestanding compilers. */
37961 # include <limits.h>
37963 # include <assert.h>
37968 /* Override any GCC internal prototype to avoid an error.
37969 Use char because int might match the return type of a GCC
37970 builtin and then its argument prototype would still apply. */
37975 /* The GNU C library defines this for functions which it implements
37976 to always fail with ENOSYS. Some functions are actually named
37977 something starting with __ and the normal name is an alias. */
37978 #if defined __stub_$ac_func || defined __stub___$ac_func
37985 return $ac_func ();
37990 rm -f conftest.$ac_objext conftest$ac_exeext
37991 if { (ac_try="$ac_link"
37992 case "(($ac_try" in
37993 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37994 *) ac_try_echo
=$ac_try;;
37996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37997 (eval "$ac_link") 2>conftest.er1
37999 grep -v '^ *+' conftest.er1
>conftest.err
38001 cat conftest.err
>&5
38002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38003 (exit $ac_status); } && {
38004 test -z "$ac_c_werror_flag" ||
38005 test ! -s conftest.err
38006 } && test -s conftest
$ac_exeext &&
38007 $as_test_x conftest
$ac_exeext; then
38008 eval "$as_ac_var=yes"
38010 echo "$as_me: failed program was:" >&5
38011 sed 's/^/| /' conftest.
$ac_ext >&5
38013 eval "$as_ac_var=no"
38016 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38017 conftest
$ac_exeext conftest.
$ac_ext
38019 ac_res
=`eval echo '${'$as_ac_var'}'`
38020 { echo "$as_me:$LINENO: result: $ac_res" >&5
38021 echo "${ECHO_T}$ac_res" >&6; }
38022 if test `eval echo '${'$as_ac_var'}'` = yes; then
38023 cat >>confdefs.h
<<_ACEOF
38024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38026 cat >>confdefs.h
<<\_ACEOF
38027 #define HAVE_INET_ADDR 1
38032 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38033 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38034 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38035 echo $ECHO_N "(cached) $ECHO_C" >&6
38037 ac_check_lib_save_LIBS
=$LIBS
38039 cat >conftest.
$ac_ext <<_ACEOF
38042 cat confdefs.h
>>conftest.
$ac_ext
38043 cat >>conftest.
$ac_ext <<_ACEOF
38044 /* end confdefs.h. */
38046 /* Override any GCC internal prototype to avoid an error.
38047 Use char because int might match the return type of a GCC
38048 builtin and then its argument prototype would still apply. */
38056 return inet_addr ();
38061 rm -f conftest.
$ac_objext conftest
$ac_exeext
38062 if { (ac_try
="$ac_link"
38063 case "(($ac_try" in
38064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38065 *) ac_try_echo=$ac_try;;
38067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38068 (eval "$ac_link") 2>conftest.er1
38070 grep -v '^ *+' conftest.er1 >conftest.err
38072 cat conftest.err >&5
38073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38074 (exit $ac_status); } && {
38075 test -z "$ac_c_werror_flag" ||
38076 test ! -s conftest.err
38077 } && test -s conftest$ac_exeext &&
38078 $as_test_x conftest$ac_exeext; then
38079 ac_cv_lib_nsl_inet_addr=yes
38081 echo "$as_me: failed program was:" >&5
38082 sed 's/^/| /' conftest.$ac_ext >&5
38084 ac_cv_lib_nsl_inet_addr=no
38087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38088 conftest$ac_exeext conftest.$ac_ext
38089 LIBS=$ac_check_lib_save_LIBS
38091 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38092 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38093 if test $ac_cv_lib_nsl_inet_addr = yes; then
38097 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38098 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38099 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38100 echo $ECHO_N "(cached) $ECHO_C" >&6
38102 ac_check_lib_save_LIBS=$LIBS
38103 LIBS="-lresolv $LIBS"
38104 cat >conftest.$ac_ext <<_ACEOF
38107 cat confdefs.h >>conftest.$ac_ext
38108 cat >>conftest.$ac_ext <<_ACEOF
38109 /* end confdefs.h. */
38111 /* Override any GCC internal prototype to avoid an error.
38112 Use char because int might match the return type of a GCC
38113 builtin and then its argument prototype would still apply. */
38121 return inet_addr ();
38126 rm -f conftest.$ac_objext conftest$ac_exeext
38127 if { (ac_try="$ac_link"
38128 case "(($ac_try" in
38129 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38130 *) ac_try_echo
=$ac_try;;
38132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38133 (eval "$ac_link") 2>conftest.er1
38135 grep -v '^ *+' conftest.er1
>conftest.err
38137 cat conftest.err
>&5
38138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38139 (exit $ac_status); } && {
38140 test -z "$ac_c_werror_flag" ||
38141 test ! -s conftest.err
38142 } && test -s conftest
$ac_exeext &&
38143 $as_test_x conftest
$ac_exeext; then
38144 ac_cv_lib_resolv_inet_addr
=yes
38146 echo "$as_me: failed program was:" >&5
38147 sed 's/^/| /' conftest.
$ac_ext >&5
38149 ac_cv_lib_resolv_inet_addr
=no
38152 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38153 conftest
$ac_exeext conftest.
$ac_ext
38154 LIBS
=$ac_check_lib_save_LIBS
38156 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38157 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38158 if test $ac_cv_lib_resolv_inet_addr = yes; then
38162 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38163 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38164 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38165 echo $ECHO_N "(cached) $ECHO_C" >&6
38167 ac_check_lib_save_LIBS
=$LIBS
38168 LIBS
="-lsocket $LIBS"
38169 cat >conftest.
$ac_ext <<_ACEOF
38172 cat confdefs.h
>>conftest.
$ac_ext
38173 cat >>conftest.
$ac_ext <<_ACEOF
38174 /* end confdefs.h. */
38176 /* Override any GCC internal prototype to avoid an error.
38177 Use char because int might match the return type of a GCC
38178 builtin and then its argument prototype would still apply. */
38186 return inet_addr ();
38191 rm -f conftest.
$ac_objext conftest
$ac_exeext
38192 if { (ac_try
="$ac_link"
38193 case "(($ac_try" in
38194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38195 *) ac_try_echo=$ac_try;;
38197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38198 (eval "$ac_link") 2>conftest.er1
38200 grep -v '^ *+' conftest.er1 >conftest.err
38202 cat conftest.err >&5
38203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38204 (exit $ac_status); } && {
38205 test -z "$ac_c_werror_flag" ||
38206 test ! -s conftest.err
38207 } && test -s conftest$ac_exeext &&
38208 $as_test_x conftest$ac_exeext; then
38209 ac_cv_lib_socket_inet_addr=yes
38211 echo "$as_me: failed program was:" >&5
38212 sed 's/^/| /' conftest.$ac_ext >&5
38214 ac_cv_lib_socket_inet_addr=no
38217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38218 conftest$ac_exeext conftest.$ac_ext
38219 LIBS=$ac_check_lib_save_LIBS
38221 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38222 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38223 if test $ac_cv_lib_socket_inet_addr = yes; then
38243 for ac_func in inet_aton
38245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38246 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38248 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38249 echo $ECHO_N "(cached) $ECHO_C" >&6
38251 cat >conftest.$ac_ext <<_ACEOF
38254 cat confdefs.h >>conftest.$ac_ext
38255 cat >>conftest.$ac_ext <<_ACEOF
38256 /* end confdefs.h. */
38257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38259 #define $ac_func innocuous_$ac_func
38261 /* System header to define __stub macros and hopefully few prototypes,
38262 which can conflict with char $ac_func (); below.
38263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38264 <limits.h> exists even on freestanding compilers. */
38267 # include <limits.h>
38269 # include <assert.h>
38274 /* Override any GCC internal prototype to avoid an error.
38275 Use char because int might match the return type of a GCC
38276 builtin and then its argument prototype would still apply. */
38281 /* The GNU C library defines this for functions which it implements
38282 to always fail with ENOSYS. Some functions are actually named
38283 something starting with __ and the normal name is an alias. */
38284 #if defined __stub_$ac_func || defined __stub___$ac_func
38291 return $ac_func ();
38296 rm -f conftest.$ac_objext conftest$ac_exeext
38297 if { (ac_try="$ac_link"
38298 case "(($ac_try" in
38299 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38300 *) ac_try_echo
=$ac_try;;
38302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38303 (eval "$ac_link") 2>conftest.er1
38305 grep -v '^ *+' conftest.er1
>conftest.err
38307 cat conftest.err
>&5
38308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38309 (exit $ac_status); } && {
38310 test -z "$ac_c_werror_flag" ||
38311 test ! -s conftest.err
38312 } && test -s conftest
$ac_exeext &&
38313 $as_test_x conftest
$ac_exeext; then
38314 eval "$as_ac_var=yes"
38316 echo "$as_me: failed program was:" >&5
38317 sed 's/^/| /' conftest.
$ac_ext >&5
38319 eval "$as_ac_var=no"
38322 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38323 conftest
$ac_exeext conftest.
$ac_ext
38325 ac_res
=`eval echo '${'$as_ac_var'}'`
38326 { echo "$as_me:$LINENO: result: $ac_res" >&5
38327 echo "${ECHO_T}$ac_res" >&6; }
38328 if test `eval echo '${'$as_ac_var'}'` = yes; then
38329 cat >>confdefs.h
<<_ACEOF
38330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38332 cat >>confdefs.h
<<\_ACEOF
38333 #define HAVE_INET_ATON 1
38338 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38339 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38340 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38341 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38342 echo $ECHO_N "(cached) $ECHO_C" >&6
38344 ac_check_lib_save_LIBS
=$LIBS
38345 LIBS
="-l$INET_LINK $LIBS"
38346 cat >conftest.
$ac_ext <<_ACEOF
38349 cat confdefs.h
>>conftest.
$ac_ext
38350 cat >>conftest.
$ac_ext <<_ACEOF
38351 /* end confdefs.h. */
38353 /* Override any GCC internal prototype to avoid an error.
38354 Use char because int might match the return type of a GCC
38355 builtin and then its argument prototype would still apply. */
38363 return inet_aton ();
38368 rm -f conftest.
$ac_objext conftest
$ac_exeext
38369 if { (ac_try
="$ac_link"
38370 case "(($ac_try" in
38371 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38372 *) ac_try_echo=$ac_try;;
38374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38375 (eval "$ac_link") 2>conftest.er1
38377 grep -v '^ *+' conftest.er1 >conftest.err
38379 cat conftest.err >&5
38380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38381 (exit $ac_status); } && {
38382 test -z "$ac_c_werror_flag" ||
38383 test ! -s conftest.err
38384 } && test -s conftest$ac_exeext &&
38385 $as_test_x conftest$ac_exeext; then
38386 eval "$as_ac_Lib=yes"
38388 echo "$as_me: failed program was:" >&5
38389 sed 's/^/| /' conftest.$ac_ext >&5
38391 eval "$as_ac_Lib=no"
38394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38395 conftest$ac_exeext conftest.$ac_ext
38396 LIBS=$ac_check_lib_save_LIBS
38398 ac_res=`eval echo '${'$as_ac_Lib'}'`
38399 { echo "$as_me:$LINENO: result: $ac_res" >&5
38400 echo "${ECHO_T}$ac_res" >&6; }
38401 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38402 cat >>confdefs.h <<\_ACEOF
38403 #define HAVE_INET_ATON 1
38413 if test "x$INET_LINK" != "x"; then
38414 cat >>confdefs.h <<\_ACEOF
38415 #define HAVE_INET_ADDR 1
38418 INET_LINK=" -l$INET_LINK"
38422 for wx_func in fdopen
38424 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38425 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38426 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38427 echo $ECHO_N "(cached) $ECHO_C" >&6
38430 cat >conftest.$ac_ext <<_ACEOF
38434 cat confdefs.h >>conftest.$ac_ext
38435 cat >>conftest.$ac_ext <<_ACEOF
38436 /* end confdefs.h. */
38439 $ac_includes_default
38455 rm -f conftest.$ac_objext conftest$ac_exeext
38456 if { (ac_try="$ac_link"
38457 case "(($ac_try" in
38458 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38459 *) ac_try_echo
=$ac_try;;
38461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38462 (eval "$ac_link") 2>conftest.er1
38464 grep -v '^ *+' conftest.er1
>conftest.err
38466 cat conftest.err
>&5
38467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38468 (exit $ac_status); } && {
38469 test -z "$ac_c_werror_flag" ||
38470 test ! -s conftest.err
38471 } && test -s conftest
$ac_exeext &&
38472 $as_test_x conftest
$ac_exeext; then
38473 eval wx_cv_func_
$wx_func=yes
38475 echo "$as_me: failed program was:" >&5
38476 sed 's/^/| /' conftest.
$ac_ext >&5
38478 eval wx_cv_func_
$wx_func=no
38481 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38482 conftest
$ac_exeext conftest.
$ac_ext
38485 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38486 { echo "$as_me:$LINENO: result: $ac_res" >&5
38487 echo "${ECHO_T}$ac_res" >&6; }
38489 if eval test \
$wx_cv_func_$wx_func = yes
38491 cat >>confdefs.h
<<_ACEOF
38492 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38503 if test "$wxUSE_TARSTREAM" = "yes"; then
38505 for wx_func
in sysconf
38507 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38508 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38509 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38510 echo $ECHO_N "(cached) $ECHO_C" >&6
38513 cat >conftest.
$ac_ext <<_ACEOF
38517 cat confdefs.h
>>conftest.
$ac_ext
38518 cat >>conftest.
$ac_ext <<_ACEOF
38519 /* end confdefs.h. */
38522 $ac_includes_default
38538 rm -f conftest.
$ac_objext conftest
$ac_exeext
38539 if { (ac_try
="$ac_link"
38540 case "(($ac_try" in
38541 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38542 *) ac_try_echo=$ac_try;;
38544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38545 (eval "$ac_link") 2>conftest.er1
38547 grep -v '^ *+' conftest.er1 >conftest.err
38549 cat conftest.err >&5
38550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38551 (exit $ac_status); } && {
38552 test -z "$ac_c_werror_flag" ||
38553 test ! -s conftest.err
38554 } && test -s conftest$ac_exeext &&
38555 $as_test_x conftest$ac_exeext; then
38556 eval wx_cv_func_$wx_func=yes
38558 echo "$as_me: failed program was:" >&5
38559 sed 's/^/| /' conftest.$ac_ext >&5
38561 eval wx_cv_func_$wx_func=no
38564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38565 conftest$ac_exeext conftest.$ac_ext
38568 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38569 { echo "$as_me:$LINENO: result: $ac_res" >&5
38570 echo "${ECHO_T}$ac_res" >&6; }
38572 if eval test \$wx_cv_func_$wx_func = yes
38574 cat >>confdefs.h <<_ACEOF
38575 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38587 for wx_func in getpwuid_r
38589 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38590 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38591 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38592 echo $ECHO_N "(cached) $ECHO_C" >&6
38595 cat >conftest.$ac_ext <<_ACEOF
38599 cat confdefs.h >>conftest.$ac_ext
38600 cat >>conftest.$ac_ext <<_ACEOF
38601 /* end confdefs.h. */
38607 $ac_includes_default
38617 struct passwd pw, *ppw;
38619 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38627 rm -f conftest.$ac_objext conftest$ac_exeext
38628 if { (ac_try="$ac_link"
38629 case "(($ac_try" in
38630 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38631 *) ac_try_echo
=$ac_try;;
38633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38634 (eval "$ac_link") 2>conftest.er1
38636 grep -v '^ *+' conftest.er1
>conftest.err
38638 cat conftest.err
>&5
38639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38640 (exit $ac_status); } && {
38641 test -z "$ac_c_werror_flag" ||
38642 test ! -s conftest.err
38643 } && test -s conftest
$ac_exeext &&
38644 $as_test_x conftest
$ac_exeext; then
38645 eval wx_cv_func_
$wx_func=yes
38647 echo "$as_me: failed program was:" >&5
38648 sed 's/^/| /' conftest.
$ac_ext >&5
38650 eval wx_cv_func_
$wx_func=no
38653 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38654 conftest
$ac_exeext conftest.
$ac_ext
38657 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38658 { echo "$as_me:$LINENO: result: $ac_res" >&5
38659 echo "${ECHO_T}$ac_res" >&6; }
38661 if eval test \
$wx_cv_func_$wx_func = yes
38663 cat >>confdefs.h
<<_ACEOF
38664 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38676 for wx_func
in getgrgid_r
38678 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38679 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38680 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38681 echo $ECHO_N "(cached) $ECHO_C" >&6
38684 cat >conftest.
$ac_ext <<_ACEOF
38688 cat confdefs.h
>>conftest.
$ac_ext
38689 cat >>conftest.
$ac_ext <<_ACEOF
38690 /* end confdefs.h. */
38696 $ac_includes_default
38706 struct group grp, *pgrp;
38708 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38716 rm -f conftest.
$ac_objext conftest
$ac_exeext
38717 if { (ac_try
="$ac_link"
38718 case "(($ac_try" in
38719 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38720 *) ac_try_echo=$ac_try;;
38722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38723 (eval "$ac_link") 2>conftest.er1
38725 grep -v '^ *+' conftest.er1 >conftest.err
38727 cat conftest.err >&5
38728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38729 (exit $ac_status); } && {
38730 test -z "$ac_c_werror_flag" ||
38731 test ! -s conftest.err
38732 } && test -s conftest$ac_exeext &&
38733 $as_test_x conftest$ac_exeext; then
38734 eval wx_cv_func_$wx_func=yes
38736 echo "$as_me: failed program was:" >&5
38737 sed 's/^/| /' conftest.$ac_ext >&5
38739 eval wx_cv_func_$wx_func=no
38742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38743 conftest$ac_exeext conftest.$ac_ext
38746 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38747 { echo "$as_me:$LINENO: result: $ac_res" >&5
38748 echo "${ECHO_T}$ac_res" >&6; }
38750 if eval test \$wx_cv_func_$wx_func = yes
38752 cat >>confdefs.h <<_ACEOF
38753 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38769 cat >confcache <<\_ACEOF
38770 # This file is a shell script that caches the results of configure
38771 # tests run on this system so they can be shared between configure
38772 # scripts and configure runs, see configure's option --config-cache.
38773 # It is not useful on other systems. If it contains results you don't
38774 # want to keep, you may remove or edit it.
38776 # config.status only pays attention to the cache file if you give it
38777 # the --recheck option to rerun configure.
38779 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38780 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38781 # following values.
38785 # The following way of writing the cache mishandles newlines in values,
38786 # but we know of no workaround that is simple, portable, and efficient.
38787 # So, we kill variables containing newlines.
38788 # Ultrix sh set writes to stderr and can't be redirected directly,
38789 # and sets the high bit in the cache file unless we assign to the vars.
38791 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38792 eval ac_val
=\$
$ac_var
38796 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38797 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38800 _
| IFS
| as_nl
) ;; #(
38801 *) $as_unset $ac_var ;;
38807 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38808 *${as_nl}ac_space
=\
*)
38809 # `set' does not quote correctly, so add quotes (double-quote
38810 # substitution turns \\\\ into \\, and sed turns \\ into \).
38813 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38816 # `set' quotes correctly as required by POSIX, so do not add quotes.
38817 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38826 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38828 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38830 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38831 if test -w "$cache_file"; then
38832 test "x$cache_file" != "x/dev/null" &&
38833 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38834 echo "$as_me: updating cache $cache_file" >&6;}
38835 cat confcache
>$cache_file
38837 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38838 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38844 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38850 if test "$wxUSE_THREADS" = "yes" ; then
38851 if test "$USE_BEOS" = 1; then
38852 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38853 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38858 if test "$wxUSE_THREADS" = "yes" ; then
38861 THREAD_OPTS
="-pthread"
38862 if test "x$SUNCXX" = xyes
; then
38863 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38867 *-*-solaris2* | *-*-sunos4* )
38868 if test "x$GCC" = "xyes"; then
38869 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38873 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38875 *-*-darwin* | *-*-cygwin* )
38879 THREAD_OPTS
="pthreads"
38882 if test "x$GCC" = "xyes"; then
38883 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38891 if test "x$GCC" = "xyes"; then
38897 if test "x$GCC" != "xyes"; then
38898 THREAD_OPTS
="-Ethread"
38903 THREAD_OPTS
="$THREAD_OPTS pthread none"
38906 for flag
in $THREAD_OPTS; do
38909 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38910 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38914 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38915 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38916 THREADS_CFLAGS
="$flag"
38920 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38921 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38922 THREADS_LINK
="-l$flag"
38927 save_CFLAGS
="$CFLAGS"
38928 LIBS
="$THREADS_LINK $LIBS"
38929 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38931 cat >conftest.
$ac_ext <<_ACEOF
38934 cat confdefs.h
>>conftest.
$ac_ext
38935 cat >>conftest.
$ac_ext <<_ACEOF
38936 /* end confdefs.h. */
38937 #include <pthread.h>
38941 pthread_create(0,0,0,0);
38946 rm -f conftest.
$ac_objext conftest
$ac_exeext
38947 if { (ac_try
="$ac_link"
38948 case "(($ac_try" in
38949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38950 *) ac_try_echo=$ac_try;;
38952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38953 (eval "$ac_link") 2>conftest.er1
38955 grep -v '^ *+' conftest.er1 >conftest.err
38957 cat conftest.err >&5
38958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38959 (exit $ac_status); } && {
38960 test -z "$ac_c_werror_flag" ||
38961 test ! -s conftest.err
38962 } && test -s conftest$ac_exeext &&
38963 $as_test_x conftest$ac_exeext; then
38966 echo "$as_me: failed program was:" >&5
38967 sed 's/^/| /' conftest.$ac_ext >&5
38972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38973 conftest$ac_exeext conftest.$ac_ext
38976 CFLAGS="$save_CFLAGS"
38978 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38979 echo "${ECHO_T}$THREADS_OK" >&6; }
38980 if test "x$THREADS_OK" = "xyes"; then
38988 if test "x$THREADS_OK" != "xyes"; then
38990 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38991 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38993 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38994 LIBS="$THREADS_LINK $LIBS"
38996 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38997 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39001 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39002 flag="-D_THREAD_SAFE"
39005 flag="-D_THREAD_SAFE"
39008 flag="-D_REENTRANT"
39009 if test "x$GCC" != "xyes"; then
39010 flag="$flag -D_RWSTD_MULTI_THREAD"
39013 *solaris* | alpha*-osf*)
39014 flag="-D_REENTRANT"
39017 { echo "$as_me:$LINENO: result: ${flag}" >&5
39018 echo "${ECHO_T}${flag}" >&6; }
39019 if test "x$flag" != xno; then
39020 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39023 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39027 if test "$wxUSE_THREADS" = "yes" ; then
39029 for ac_func in thr_setconcurrency
39031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39035 echo $ECHO_N "(cached) $ECHO_C" >&6
39037 cat >conftest.$ac_ext <<_ACEOF
39040 cat confdefs.h >>conftest.$ac_ext
39041 cat >>conftest.$ac_ext <<_ACEOF
39042 /* end confdefs.h. */
39043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39045 #define $ac_func innocuous_$ac_func
39047 /* System header to define __stub macros and hopefully few prototypes,
39048 which can conflict with char $ac_func (); below.
39049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39050 <limits.h> exists even on freestanding compilers. */
39053 # include <limits.h>
39055 # include <assert.h>
39060 /* Override any GCC internal prototype to avoid an error.
39061 Use char because int might match the return type of a GCC
39062 builtin and then its argument prototype would still apply. */
39067 /* The GNU C library defines this for functions which it implements
39068 to always fail with ENOSYS. Some functions are actually named
39069 something starting with __ and the normal name is an alias. */
39070 #if defined __stub_$ac_func || defined __stub___$ac_func
39077 return $ac_func ();
39082 rm -f conftest.$ac_objext conftest$ac_exeext
39083 if { (ac_try="$ac_link"
39084 case "(($ac_try" in
39085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39086 *) ac_try_echo
=$ac_try;;
39088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39089 (eval "$ac_link") 2>conftest.er1
39091 grep -v '^ *+' conftest.er1
>conftest.err
39093 cat conftest.err
>&5
39094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39095 (exit $ac_status); } && {
39096 test -z "$ac_c_werror_flag" ||
39097 test ! -s conftest.err
39098 } && test -s conftest
$ac_exeext &&
39099 $as_test_x conftest
$ac_exeext; then
39100 eval "$as_ac_var=yes"
39102 echo "$as_me: failed program was:" >&5
39103 sed 's/^/| /' conftest.
$ac_ext >&5
39105 eval "$as_ac_var=no"
39108 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39109 conftest
$ac_exeext conftest.
$ac_ext
39111 ac_res
=`eval echo '${'$as_ac_var'}'`
39112 { echo "$as_me:$LINENO: result: $ac_res" >&5
39113 echo "${ECHO_T}$ac_res" >&6; }
39114 if test `eval echo '${'$as_ac_var'}'` = yes; then
39115 cat >>confdefs.h
<<_ACEOF
39116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39123 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39124 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39125 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39126 echo $ECHO_N "(cached) $ECHO_C" >&6
39130 ac_cpp
='$CXXCPP $CPPFLAGS'
39131 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39132 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39133 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39135 cat >conftest.
$ac_ext <<_ACEOF
39138 cat confdefs.h
>>conftest.
$ac_ext
39139 cat >>conftest.
$ac_ext <<_ACEOF
39140 /* end confdefs.h. */
39141 #include <pthread.h>
39142 void ThreadCleanupFunc(void *p);
39149 pthread_cleanup_push(ThreadCleanupFunc, p);
39150 pthread_cleanup_pop(0);
39156 rm -f conftest.
$ac_objext
39157 if { (ac_try
="$ac_compile"
39158 case "(($ac_try" in
39159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39160 *) ac_try_echo=$ac_try;;
39162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39163 (eval "$ac_compile") 2>conftest.er1
39165 grep -v '^ *+' conftest.er1 >conftest.err
39167 cat conftest.err >&5
39168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39169 (exit $ac_status); } && {
39170 test -z "$ac_cxx_werror_flag" ||
39171 test ! -s conftest.err
39172 } && test -s conftest.$ac_objext; then
39174 wx_cv_func_pthread_cleanup=yes
39177 echo "$as_me: failed program was:" >&5
39178 sed 's/^/| /' conftest.$ac_ext >&5
39181 wx_cv_func_pthread_cleanup=no
39186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39188 ac_cpp='$CPP $CPPFLAGS'
39189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39195 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39196 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39197 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39198 cat >>confdefs.h <<\_ACEOF
39199 #define wxHAVE_PTHREAD_CLEANUP 1
39205 for ac_header in sched.h
39207 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39208 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39210 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39211 echo $ECHO_N "(cached) $ECHO_C" >&6
39213 cat >conftest.$ac_ext <<_ACEOF
39216 cat confdefs.h >>conftest.$ac_ext
39217 cat >>conftest.$ac_ext <<_ACEOF
39218 /* end confdefs.h. */
39219 $ac_includes_default
39221 #include <$ac_header>
39223 rm -f conftest.$ac_objext
39224 if { (ac_try="$ac_compile"
39225 case "(($ac_try" in
39226 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39227 *) ac_try_echo
=$ac_try;;
39229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39230 (eval "$ac_compile") 2>conftest.er1
39232 grep -v '^ *+' conftest.er1
>conftest.err
39234 cat conftest.err
>&5
39235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39236 (exit $ac_status); } && {
39237 test -z "$ac_c_werror_flag" ||
39238 test ! -s conftest.err
39239 } && test -s conftest.
$ac_objext; then
39240 eval "$as_ac_Header=yes"
39242 echo "$as_me: failed program was:" >&5
39243 sed 's/^/| /' conftest.
$ac_ext >&5
39245 eval "$as_ac_Header=no"
39248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39250 ac_res
=`eval echo '${'$as_ac_Header'}'`
39251 { echo "$as_me:$LINENO: result: $ac_res" >&5
39252 echo "${ECHO_T}$ac_res" >&6; }
39253 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39254 cat >>confdefs.h
<<_ACEOF
39255 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39262 if test "$ac_cv_header_sched_h" = "yes"; then
39263 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39264 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39265 if test "${ac_cv_func_sched_yield+set}" = set; then
39266 echo $ECHO_N "(cached) $ECHO_C" >&6
39268 cat >conftest.
$ac_ext <<_ACEOF
39271 cat confdefs.h
>>conftest.
$ac_ext
39272 cat >>conftest.
$ac_ext <<_ACEOF
39273 /* end confdefs.h. */
39274 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39276 #define sched_yield innocuous_sched_yield
39278 /* System header to define __stub macros and hopefully few prototypes,
39279 which can conflict with char sched_yield (); below.
39280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39281 <limits.h> exists even on freestanding compilers. */
39284 # include <limits.h>
39286 # include <assert.h>
39291 /* Override any GCC internal prototype to avoid an error.
39292 Use char because int might match the return type of a GCC
39293 builtin and then its argument prototype would still apply. */
39297 char sched_yield ();
39298 /* The GNU C library defines this for functions which it implements
39299 to always fail with ENOSYS. Some functions are actually named
39300 something starting with __ and the normal name is an alias. */
39301 #if defined __stub_sched_yield || defined __stub___sched_yield
39308 return sched_yield ();
39313 rm -f conftest.
$ac_objext conftest
$ac_exeext
39314 if { (ac_try
="$ac_link"
39315 case "(($ac_try" in
39316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39317 *) ac_try_echo=$ac_try;;
39319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39320 (eval "$ac_link") 2>conftest.er1
39322 grep -v '^ *+' conftest.er1 >conftest.err
39324 cat conftest.err >&5
39325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39326 (exit $ac_status); } && {
39327 test -z "$ac_c_werror_flag" ||
39328 test ! -s conftest.err
39329 } && test -s conftest$ac_exeext &&
39330 $as_test_x conftest$ac_exeext; then
39331 ac_cv_func_sched_yield=yes
39333 echo "$as_me: failed program was:" >&5
39334 sed 's/^/| /' conftest.$ac_ext >&5
39336 ac_cv_func_sched_yield=no
39339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39340 conftest$ac_exeext conftest.$ac_ext
39342 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39343 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39344 if test $ac_cv_func_sched_yield = yes; then
39345 cat >>confdefs.h <<\_ACEOF
39346 #define HAVE_SCHED_YIELD 1
39351 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39352 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39353 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39354 echo $ECHO_N "(cached) $ECHO_C" >&6
39356 ac_check_lib_save_LIBS=$LIBS
39357 LIBS="-lposix4 $LIBS"
39358 cat >conftest.$ac_ext <<_ACEOF
39361 cat confdefs.h >>conftest.$ac_ext
39362 cat >>conftest.$ac_ext <<_ACEOF
39363 /* end confdefs.h. */
39365 /* Override any GCC internal prototype to avoid an error.
39366 Use char because int might match the return type of a GCC
39367 builtin and then its argument prototype would still apply. */
39371 char sched_yield ();
39375 return sched_yield ();
39380 rm -f conftest.$ac_objext conftest$ac_exeext
39381 if { (ac_try="$ac_link"
39382 case "(($ac_try" in
39383 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39384 *) ac_try_echo
=$ac_try;;
39386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39387 (eval "$ac_link") 2>conftest.er1
39389 grep -v '^ *+' conftest.er1
>conftest.err
39391 cat conftest.err
>&5
39392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39393 (exit $ac_status); } && {
39394 test -z "$ac_c_werror_flag" ||
39395 test ! -s conftest.err
39396 } && test -s conftest
$ac_exeext &&
39397 $as_test_x conftest
$ac_exeext; then
39398 ac_cv_lib_posix4_sched_yield
=yes
39400 echo "$as_me: failed program was:" >&5
39401 sed 's/^/| /' conftest.
$ac_ext >&5
39403 ac_cv_lib_posix4_sched_yield
=no
39406 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39407 conftest
$ac_exeext conftest.
$ac_ext
39408 LIBS
=$ac_check_lib_save_LIBS
39410 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39411 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39412 if test $ac_cv_lib_posix4_sched_yield = yes; then
39413 cat >>confdefs.h
<<\_ACEOF
39414 #define HAVE_SCHED_YIELD 1
39416 POSIX4_LINK
=" -lposix4"
39418 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39419 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39430 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39431 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39432 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39433 echo $ECHO_N "(cached) $ECHO_C" >&6
39435 cat >conftest.
$ac_ext <<_ACEOF
39438 cat confdefs.h
>>conftest.
$ac_ext
39439 cat >>conftest.
$ac_ext <<_ACEOF
39440 /* end confdefs.h. */
39441 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39443 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39445 /* System header to define __stub macros and hopefully few prototypes,
39446 which can conflict with char pthread_attr_getschedpolicy (); below.
39447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39448 <limits.h> exists even on freestanding compilers. */
39451 # include <limits.h>
39453 # include <assert.h>
39456 #undef pthread_attr_getschedpolicy
39458 /* Override any GCC internal prototype to avoid an error.
39459 Use char because int might match the return type of a GCC
39460 builtin and then its argument prototype would still apply. */
39464 char pthread_attr_getschedpolicy ();
39465 /* The GNU C library defines this for functions which it implements
39466 to always fail with ENOSYS. Some functions are actually named
39467 something starting with __ and the normal name is an alias. */
39468 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39475 return pthread_attr_getschedpolicy ();
39480 rm -f conftest.
$ac_objext conftest
$ac_exeext
39481 if { (ac_try
="$ac_link"
39482 case "(($ac_try" in
39483 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39484 *) ac_try_echo=$ac_try;;
39486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39487 (eval "$ac_link") 2>conftest.er1
39489 grep -v '^ *+' conftest.er1 >conftest.err
39491 cat conftest.err >&5
39492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39493 (exit $ac_status); } && {
39494 test -z "$ac_c_werror_flag" ||
39495 test ! -s conftest.err
39496 } && test -s conftest$ac_exeext &&
39497 $as_test_x conftest$ac_exeext; then
39498 ac_cv_func_pthread_attr_getschedpolicy=yes
39500 echo "$as_me: failed program was:" >&5
39501 sed 's/^/| /' conftest.$ac_ext >&5
39503 ac_cv_func_pthread_attr_getschedpolicy=no
39506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39507 conftest$ac_exeext conftest.$ac_ext
39509 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39510 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39511 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39512 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39513 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39514 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39515 echo $ECHO_N "(cached) $ECHO_C" >&6
39517 cat >conftest.$ac_ext <<_ACEOF
39520 cat confdefs.h >>conftest.$ac_ext
39521 cat >>conftest.$ac_ext <<_ACEOF
39522 /* end confdefs.h. */
39523 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39525 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39527 /* System header to define __stub macros and hopefully few prototypes,
39528 which can conflict with char pthread_attr_setschedparam (); below.
39529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39530 <limits.h> exists even on freestanding compilers. */
39533 # include <limits.h>
39535 # include <assert.h>
39538 #undef pthread_attr_setschedparam
39540 /* Override any GCC internal prototype to avoid an error.
39541 Use char because int might match the return type of a GCC
39542 builtin and then its argument prototype would still apply. */
39546 char pthread_attr_setschedparam ();
39547 /* The GNU C library defines this for functions which it implements
39548 to always fail with ENOSYS. Some functions are actually named
39549 something starting with __ and the normal name is an alias. */
39550 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39557 return pthread_attr_setschedparam ();
39562 rm -f conftest.$ac_objext conftest$ac_exeext
39563 if { (ac_try="$ac_link"
39564 case "(($ac_try" in
39565 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39566 *) ac_try_echo
=$ac_try;;
39568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39569 (eval "$ac_link") 2>conftest.er1
39571 grep -v '^ *+' conftest.er1
>conftest.err
39573 cat conftest.err
>&5
39574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39575 (exit $ac_status); } && {
39576 test -z "$ac_c_werror_flag" ||
39577 test ! -s conftest.err
39578 } && test -s conftest
$ac_exeext &&
39579 $as_test_x conftest
$ac_exeext; then
39580 ac_cv_func_pthread_attr_setschedparam
=yes
39582 echo "$as_me: failed program was:" >&5
39583 sed 's/^/| /' conftest.
$ac_ext >&5
39585 ac_cv_func_pthread_attr_setschedparam
=no
39588 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39589 conftest
$ac_exeext conftest.
$ac_ext
39591 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39592 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39593 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39594 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39595 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39596 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39597 echo $ECHO_N "(cached) $ECHO_C" >&6
39599 cat >conftest.
$ac_ext <<_ACEOF
39602 cat confdefs.h
>>conftest.
$ac_ext
39603 cat >>conftest.
$ac_ext <<_ACEOF
39604 /* end confdefs.h. */
39605 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39607 #define sched_get_priority_max innocuous_sched_get_priority_max
39609 /* System header to define __stub macros and hopefully few prototypes,
39610 which can conflict with char sched_get_priority_max (); below.
39611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39612 <limits.h> exists even on freestanding compilers. */
39615 # include <limits.h>
39617 # include <assert.h>
39620 #undef sched_get_priority_max
39622 /* Override any GCC internal prototype to avoid an error.
39623 Use char because int might match the return type of a GCC
39624 builtin and then its argument prototype would still apply. */
39628 char sched_get_priority_max ();
39629 /* The GNU C library defines this for functions which it implements
39630 to always fail with ENOSYS. Some functions are actually named
39631 something starting with __ and the normal name is an alias. */
39632 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39639 return sched_get_priority_max ();
39644 rm -f conftest.
$ac_objext conftest
$ac_exeext
39645 if { (ac_try
="$ac_link"
39646 case "(($ac_try" in
39647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39648 *) ac_try_echo=$ac_try;;
39650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39651 (eval "$ac_link") 2>conftest.er1
39653 grep -v '^ *+' conftest.er1 >conftest.err
39655 cat conftest.err >&5
39656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657 (exit $ac_status); } && {
39658 test -z "$ac_c_werror_flag" ||
39659 test ! -s conftest.err
39660 } && test -s conftest$ac_exeext &&
39661 $as_test_x conftest$ac_exeext; then
39662 ac_cv_func_sched_get_priority_max=yes
39664 echo "$as_me: failed program was:" >&5
39665 sed 's/^/| /' conftest.$ac_ext >&5
39667 ac_cv_func_sched_get_priority_max=no
39670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39671 conftest$ac_exeext conftest.$ac_ext
39673 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39674 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39675 if test $ac_cv_func_sched_get_priority_max = yes; then
39678 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39679 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39680 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39681 echo $ECHO_N "(cached) $ECHO_C" >&6
39683 ac_check_lib_save_LIBS=$LIBS
39684 LIBS="-lposix4 $LIBS"
39685 cat >conftest.$ac_ext <<_ACEOF
39688 cat confdefs.h >>conftest.$ac_ext
39689 cat >>conftest.$ac_ext <<_ACEOF
39690 /* end confdefs.h. */
39692 /* Override any GCC internal prototype to avoid an error.
39693 Use char because int might match the return type of a GCC
39694 builtin and then its argument prototype would still apply. */
39698 char sched_get_priority_max ();
39702 return sched_get_priority_max ();
39707 rm -f conftest.$ac_objext conftest$ac_exeext
39708 if { (ac_try="$ac_link"
39709 case "(($ac_try" in
39710 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39711 *) ac_try_echo
=$ac_try;;
39713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39714 (eval "$ac_link") 2>conftest.er1
39716 grep -v '^ *+' conftest.er1
>conftest.err
39718 cat conftest.err
>&5
39719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39720 (exit $ac_status); } && {
39721 test -z "$ac_c_werror_flag" ||
39722 test ! -s conftest.err
39723 } && test -s conftest
$ac_exeext &&
39724 $as_test_x conftest
$ac_exeext; then
39725 ac_cv_lib_posix4_sched_get_priority_max
=yes
39727 echo "$as_me: failed program was:" >&5
39728 sed 's/^/| /' conftest.
$ac_ext >&5
39730 ac_cv_lib_posix4_sched_get_priority_max
=no
39733 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39734 conftest
$ac_exeext conftest.
$ac_ext
39735 LIBS
=$ac_check_lib_save_LIBS
39737 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39738 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39739 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39742 POSIX4_LINK
=" -lposix4"
39756 if test "$HAVE_PRIOR_FUNCS" = 1; then
39757 cat >>confdefs.h
<<\_ACEOF
39758 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39762 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39763 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39766 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39767 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39768 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39769 echo $ECHO_N "(cached) $ECHO_C" >&6
39771 cat >conftest.
$ac_ext <<_ACEOF
39774 cat confdefs.h
>>conftest.
$ac_ext
39775 cat >>conftest.
$ac_ext <<_ACEOF
39776 /* end confdefs.h. */
39777 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39779 #define pthread_cancel innocuous_pthread_cancel
39781 /* System header to define __stub macros and hopefully few prototypes,
39782 which can conflict with char pthread_cancel (); below.
39783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39784 <limits.h> exists even on freestanding compilers. */
39787 # include <limits.h>
39789 # include <assert.h>
39792 #undef pthread_cancel
39794 /* Override any GCC internal prototype to avoid an error.
39795 Use char because int might match the return type of a GCC
39796 builtin and then its argument prototype would still apply. */
39800 char pthread_cancel ();
39801 /* The GNU C library defines this for functions which it implements
39802 to always fail with ENOSYS. Some functions are actually named
39803 something starting with __ and the normal name is an alias. */
39804 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39811 return pthread_cancel ();
39816 rm -f conftest.
$ac_objext conftest
$ac_exeext
39817 if { (ac_try
="$ac_link"
39818 case "(($ac_try" in
39819 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39820 *) ac_try_echo=$ac_try;;
39822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39823 (eval "$ac_link") 2>conftest.er1
39825 grep -v '^ *+' conftest.er1 >conftest.err
39827 cat conftest.err >&5
39828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39829 (exit $ac_status); } && {
39830 test -z "$ac_c_werror_flag" ||
39831 test ! -s conftest.err
39832 } && test -s conftest$ac_exeext &&
39833 $as_test_x conftest$ac_exeext; then
39834 ac_cv_func_pthread_cancel=yes
39836 echo "$as_me: failed program was:" >&5
39837 sed 's/^/| /' conftest.$ac_ext >&5
39839 ac_cv_func_pthread_cancel=no
39842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39843 conftest$ac_exeext conftest.$ac_ext
39845 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39846 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39847 if test $ac_cv_func_pthread_cancel = yes; then
39848 cat >>confdefs.h <<\_ACEOF
39849 #define HAVE_PTHREAD_CANCEL 1
39853 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39854 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39858 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39859 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39860 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39861 echo $ECHO_N "(cached) $ECHO_C" >&6
39863 cat >conftest.$ac_ext <<_ACEOF
39866 cat confdefs.h >>conftest.$ac_ext
39867 cat >>conftest.$ac_ext <<_ACEOF
39868 /* end confdefs.h. */
39869 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39871 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39873 /* System header to define __stub macros and hopefully few prototypes,
39874 which can conflict with char pthread_mutex_timedlock (); below.
39875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39876 <limits.h> exists even on freestanding compilers. */
39879 # include <limits.h>
39881 # include <assert.h>
39884 #undef pthread_mutex_timedlock
39886 /* Override any GCC internal prototype to avoid an error.
39887 Use char because int might match the return type of a GCC
39888 builtin and then its argument prototype would still apply. */
39892 char pthread_mutex_timedlock ();
39893 /* The GNU C library defines this for functions which it implements
39894 to always fail with ENOSYS. Some functions are actually named
39895 something starting with __ and the normal name is an alias. */
39896 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39903 return pthread_mutex_timedlock ();
39908 rm -f conftest.$ac_objext conftest$ac_exeext
39909 if { (ac_try="$ac_link"
39910 case "(($ac_try" in
39911 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39912 *) ac_try_echo
=$ac_try;;
39914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39915 (eval "$ac_link") 2>conftest.er1
39917 grep -v '^ *+' conftest.er1
>conftest.err
39919 cat conftest.err
>&5
39920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39921 (exit $ac_status); } && {
39922 test -z "$ac_c_werror_flag" ||
39923 test ! -s conftest.err
39924 } && test -s conftest
$ac_exeext &&
39925 $as_test_x conftest
$ac_exeext; then
39926 ac_cv_func_pthread_mutex_timedlock
=yes
39928 echo "$as_me: failed program was:" >&5
39929 sed 's/^/| /' conftest.
$ac_ext >&5
39931 ac_cv_func_pthread_mutex_timedlock
=no
39934 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39935 conftest
$ac_exeext conftest.
$ac_ext
39937 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39938 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39939 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39940 cat >>confdefs.h
<<\_ACEOF
39941 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39945 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39946 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39950 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39951 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39952 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39953 echo $ECHO_N "(cached) $ECHO_C" >&6
39955 cat >conftest.
$ac_ext <<_ACEOF
39958 cat confdefs.h
>>conftest.
$ac_ext
39959 cat >>conftest.
$ac_ext <<_ACEOF
39960 /* end confdefs.h. */
39961 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39963 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39965 /* System header to define __stub macros and hopefully few prototypes,
39966 which can conflict with char pthread_attr_setstacksize (); below.
39967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39968 <limits.h> exists even on freestanding compilers. */
39971 # include <limits.h>
39973 # include <assert.h>
39976 #undef pthread_attr_setstacksize
39978 /* Override any GCC internal prototype to avoid an error.
39979 Use char because int might match the return type of a GCC
39980 builtin and then its argument prototype would still apply. */
39984 char pthread_attr_setstacksize ();
39985 /* The GNU C library defines this for functions which it implements
39986 to always fail with ENOSYS. Some functions are actually named
39987 something starting with __ and the normal name is an alias. */
39988 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39995 return pthread_attr_setstacksize ();
40000 rm -f conftest.
$ac_objext conftest
$ac_exeext
40001 if { (ac_try
="$ac_link"
40002 case "(($ac_try" in
40003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40004 *) ac_try_echo=$ac_try;;
40006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40007 (eval "$ac_link") 2>conftest.er1
40009 grep -v '^ *+' conftest.er1 >conftest.err
40011 cat conftest.err >&5
40012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40013 (exit $ac_status); } && {
40014 test -z "$ac_c_werror_flag" ||
40015 test ! -s conftest.err
40016 } && test -s conftest$ac_exeext &&
40017 $as_test_x conftest$ac_exeext; then
40018 ac_cv_func_pthread_attr_setstacksize=yes
40020 echo "$as_me: failed program was:" >&5
40021 sed 's/^/| /' conftest.$ac_ext >&5
40023 ac_cv_func_pthread_attr_setstacksize=no
40026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40027 conftest$ac_exeext conftest.$ac_ext
40029 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40030 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40031 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40032 cat >>confdefs.h <<\_ACEOF
40033 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40040 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40041 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40042 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40043 echo $ECHO_N "(cached) $ECHO_C" >&6
40046 cat >conftest.$ac_ext <<_ACEOF
40049 cat confdefs.h >>conftest.$ac_ext
40050 cat >>conftest.$ac_ext <<_ACEOF
40051 /* end confdefs.h. */
40052 #include <pthread.h>
40057 pthread_mutexattr_t attr;
40058 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40064 rm -f conftest.$ac_objext
40065 if { (ac_try="$ac_compile"
40066 case "(($ac_try" in
40067 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40068 *) ac_try_echo
=$ac_try;;
40070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40071 (eval "$ac_compile") 2>conftest.er1
40073 grep -v '^ *+' conftest.er1
>conftest.err
40075 cat conftest.err
>&5
40076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40077 (exit $ac_status); } && {
40078 test -z "$ac_c_werror_flag" ||
40079 test ! -s conftest.err
40080 } && test -s conftest.
$ac_objext; then
40081 wx_cv_type_pthread_mutexattr_t
=yes
40083 echo "$as_me: failed program was:" >&5
40084 sed 's/^/| /' conftest.
$ac_ext >&5
40086 wx_cv_type_pthread_mutexattr_t
=no
40090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40093 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40094 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40096 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40097 cat >>confdefs.h
<<\_ACEOF
40098 #define HAVE_PTHREAD_MUTEXATTR_T 1
40102 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40103 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40104 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40105 echo $ECHO_N "(cached) $ECHO_C" >&6
40108 cat >conftest.
$ac_ext <<_ACEOF
40111 cat confdefs.h
>>conftest.
$ac_ext
40112 cat >>conftest.
$ac_ext <<_ACEOF
40113 /* end confdefs.h. */
40114 #include <pthread.h>
40119 pthread_mutexattr_t attr;
40120 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40126 rm -f conftest.
$ac_objext
40127 if { (ac_try
="$ac_compile"
40128 case "(($ac_try" in
40129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40130 *) ac_try_echo=$ac_try;;
40132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40133 (eval "$ac_compile") 2>conftest.er1
40135 grep -v '^ *+' conftest.er1 >conftest.err
40137 cat conftest.err >&5
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); } && {
40140 test -z "$ac_c_werror_flag" ||
40141 test ! -s conftest.err
40142 } && test -s conftest.$ac_objext; then
40143 wx_cv_func_pthread_mutexattr_settype_decl=yes
40145 echo "$as_me: failed program was:" >&5
40146 sed 's/^/| /' conftest.$ac_ext >&5
40148 wx_cv_func_pthread_mutexattr_settype_decl=no
40152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40155 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40156 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40157 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40158 cat >>confdefs.h <<\_ACEOF
40159 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40164 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40165 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40166 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40167 echo $ECHO_N "(cached) $ECHO_C" >&6
40170 cat >conftest.$ac_ext <<_ACEOF
40173 cat confdefs.h >>conftest.$ac_ext
40174 cat >>conftest.$ac_ext <<_ACEOF
40175 /* end confdefs.h. */
40176 #include <pthread.h>
40181 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40187 rm -f conftest.$ac_objext
40188 if { (ac_try="$ac_compile"
40189 case "(($ac_try" in
40190 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40191 *) ac_try_echo
=$ac_try;;
40193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40194 (eval "$ac_compile") 2>conftest.er1
40196 grep -v '^ *+' conftest.er1
>conftest.err
40198 cat conftest.err
>&5
40199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40200 (exit $ac_status); } && {
40201 test -z "$ac_c_werror_flag" ||
40202 test ! -s conftest.err
40203 } && test -s conftest.
$ac_objext; then
40205 wx_cv_type_pthread_rec_mutex_init
=yes
40208 echo "$as_me: failed program was:" >&5
40209 sed 's/^/| /' conftest.
$ac_ext >&5
40212 wx_cv_type_pthread_rec_mutex_init
=no
40217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40220 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40221 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40222 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40223 cat >>confdefs.h
<<\_ACEOF
40224 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40228 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40229 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40233 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40234 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40235 if test "${wx_cv_cc___thread+set}" = set; then
40236 echo $ECHO_N "(cached) $ECHO_C" >&6
40239 cat >conftest.
$ac_ext <<_ACEOF
40242 cat confdefs.h
>>conftest.
$ac_ext
40243 cat >>conftest.
$ac_ext <<_ACEOF
40244 /* end confdefs.h. */
40245 #include <pthread.h>
40250 static __thread int n = 0;
40251 static __thread int *p = 0;
40257 rm -f conftest.
$ac_objext
40258 if { (ac_try
="$ac_compile"
40259 case "(($ac_try" in
40260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40261 *) ac_try_echo=$ac_try;;
40263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40264 (eval "$ac_compile") 2>conftest.er1
40266 grep -v '^ *+' conftest.er1 >conftest.err
40268 cat conftest.err >&5
40269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40270 (exit $ac_status); } && {
40271 test -z "$ac_c_werror_flag" ||
40272 test ! -s conftest.err
40273 } && test -s conftest.$ac_objext; then
40274 wx_cv_cc___thread=yes
40276 echo "$as_me: failed program was:" >&5
40277 sed 's/^/| /' conftest.$ac_ext >&5
40279 wx_cv_cc___thread=no
40283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40287 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40288 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40290 if test "$wx_cv_cc___thread" = "yes"; then
40296 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40297 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40299 if test "x$GCC" = "xyes" ; then
40301 if test -z "" ; then
40303 ax_gcc_option_test="int main()
40310 ax_gcc_option_test=""
40315 # Dump the test program to file
40316 cat <<EOF > conftest.c
40317 $ax_gcc_option_test
40320 # Dump back the file to the log, useful for debugging purposes
40321 { ac_try='cat conftest.c 1>&5'
40322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40323 (eval $ac_try) 2>&5
40325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40326 (exit $ac_status); }; }
40328 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40330 (eval $ac_try) 2>&5
40332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40333 (exit $ac_status); }; } ; then
40335 { echo "$as_me:$LINENO: result: yes" >&5
40336 echo "${ECHO_T}yes" >&6; }
40338 ax_gcc_version_option=yes
40343 { echo "$as_me:$LINENO: result: no" >&5
40344 echo "${ECHO_T}no" >&6; }
40346 ax_gcc_version_option=no
40354 { echo "$as_me:$LINENO: result: no gcc available" >&5
40355 echo "${ECHO_T}no gcc available" >&6; }
40360 if test "x$GXX" = "xyes"; then
40362 if test "x$ax_gxx_version_option" != "no"; then
40364 { echo "$as_me:$LINENO: checking gxx version" >&5
40365 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40366 if test "${ax_cv_gxx_version+set}" = set; then
40367 echo $ECHO_N "(cached) $ECHO_C" >&6
40370 ax_cv_gxx_version="`$CXX -dumpversion`"
40371 if test "x$ax_cv_gxx_version" = "x"; then
40373 ax_cv_gxx_version=""
40379 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40380 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40381 GXX_VERSION=$ax_cv_gxx_version
40390 if test -n "$ax_cv_gxx_version"; then
40391 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40392 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40393 case "$ax_cv_gxx_version" in
40395 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40396 echo "${ECHO_T}no, it's broken" >&6; }
40397 wx_cv_cc___thread=no
40400 { echo "$as_me:$LINENO: result: yes, it works" >&5
40401 echo "${ECHO_T}yes, it works" >&6; }
40407 if test "$wx_cv_cc___thread" = "yes"; then
40408 cat >>confdefs.h <<\_ACEOF
40409 #define HAVE___THREAD_KEYWORD 1
40416 if test "$wxUSE_THREADS" = "yes" ; then
40418 x86_64-*-mingw32* )
40421 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40422 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40423 if test "${wx_cv_cflags_mthread+set}" = set; then
40424 echo $ECHO_N "(cached) $ECHO_C" >&6
40427 CFLAGS_OLD="$CFLAGS"
40428 CFLAGS="-mthreads $CFLAGS"
40429 cat >conftest.$ac_ext <<_ACEOF
40432 cat confdefs.h >>conftest.$ac_ext
40433 cat >>conftest.$ac_ext <<_ACEOF
40434 /* end confdefs.h. */
40444 rm -f conftest.$ac_objext
40445 if { (ac_try="$ac_compile"
40446 case "(($ac_try" in
40447 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40448 *) ac_try_echo
=$ac_try;;
40450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40451 (eval "$ac_compile") 2>conftest.er1
40453 grep -v '^ *+' conftest.er1
>conftest.err
40455 cat conftest.err
>&5
40456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40457 (exit $ac_status); } && {
40458 test -z "$ac_c_werror_flag" ||
40459 test ! -s conftest.err
40460 } && test -s conftest.
$ac_objext; then
40461 wx_cv_cflags_mthread
=yes
40463 echo "$as_me: failed program was:" >&5
40464 sed 's/^/| /' conftest.
$ac_ext >&5
40466 wx_cv_cflags_mthread
=no
40470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40474 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40475 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40477 if test "$wx_cv_cflags_mthread" = "yes"; then
40478 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40479 LDFLAGS
="$LDFLAGS -mthreads"
40481 CFLAGS
="$CFLAGS_OLD"
40485 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40486 LDFLAGS
="$LDFLAGS -Zmt"
40492 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40493 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40494 if test "${ac_cv_func_localtime_r+set}" = set; then
40495 echo $ECHO_N "(cached) $ECHO_C" >&6
40497 cat >conftest.
$ac_ext <<_ACEOF
40500 cat confdefs.h
>>conftest.
$ac_ext
40501 cat >>conftest.
$ac_ext <<_ACEOF
40502 /* end confdefs.h. */
40503 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40505 #define localtime_r innocuous_localtime_r
40507 /* System header to define __stub macros and hopefully few prototypes,
40508 which can conflict with char localtime_r (); below.
40509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40510 <limits.h> exists even on freestanding compilers. */
40513 # include <limits.h>
40515 # include <assert.h>
40520 /* Override any GCC internal prototype to avoid an error.
40521 Use char because int might match the return type of a GCC
40522 builtin and then its argument prototype would still apply. */
40526 char localtime_r ();
40527 /* The GNU C library defines this for functions which it implements
40528 to always fail with ENOSYS. Some functions are actually named
40529 something starting with __ and the normal name is an alias. */
40530 #if defined __stub_localtime_r || defined __stub___localtime_r
40537 return localtime_r ();
40542 rm -f conftest.
$ac_objext conftest
$ac_exeext
40543 if { (ac_try
="$ac_link"
40544 case "(($ac_try" in
40545 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40546 *) ac_try_echo=$ac_try;;
40548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40549 (eval "$ac_link") 2>conftest.er1
40551 grep -v '^ *+' conftest.er1 >conftest.err
40553 cat conftest.err >&5
40554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555 (exit $ac_status); } && {
40556 test -z "$ac_c_werror_flag" ||
40557 test ! -s conftest.err
40558 } && test -s conftest$ac_exeext &&
40559 $as_test_x conftest$ac_exeext; then
40560 ac_cv_func_localtime_r=yes
40562 echo "$as_me: failed program was:" >&5
40563 sed 's/^/| /' conftest.$ac_ext >&5
40565 ac_cv_func_localtime_r=no
40568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40569 conftest$ac_exeext conftest.$ac_ext
40571 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40572 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40573 if test $ac_cv_func_localtime_r = yes; then
40574 cat >>confdefs.h <<\_ACEOF
40575 #define HAVE_LOCALTIME_R 1
40580 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40581 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40582 if test "${ac_cv_func_gmtime_r+set}" = set; then
40583 echo $ECHO_N "(cached) $ECHO_C" >&6
40585 cat >conftest.$ac_ext <<_ACEOF
40588 cat confdefs.h >>conftest.$ac_ext
40589 cat >>conftest.$ac_ext <<_ACEOF
40590 /* end confdefs.h. */
40591 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40593 #define gmtime_r innocuous_gmtime_r
40595 /* System header to define __stub macros and hopefully few prototypes,
40596 which can conflict with char gmtime_r (); below.
40597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40598 <limits.h> exists even on freestanding compilers. */
40601 # include <limits.h>
40603 # include <assert.h>
40608 /* Override any GCC internal prototype to avoid an error.
40609 Use char because int might match the return type of a GCC
40610 builtin and then its argument prototype would still apply. */
40615 /* The GNU C library defines this for functions which it implements
40616 to always fail with ENOSYS. Some functions are actually named
40617 something starting with __ and the normal name is an alias. */
40618 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40625 return gmtime_r ();
40630 rm -f conftest.$ac_objext conftest$ac_exeext
40631 if { (ac_try="$ac_link"
40632 case "(($ac_try" in
40633 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40634 *) ac_try_echo
=$ac_try;;
40636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40637 (eval "$ac_link") 2>conftest.er1
40639 grep -v '^ *+' conftest.er1
>conftest.err
40641 cat conftest.err
>&5
40642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40643 (exit $ac_status); } && {
40644 test -z "$ac_c_werror_flag" ||
40645 test ! -s conftest.err
40646 } && test -s conftest
$ac_exeext &&
40647 $as_test_x conftest
$ac_exeext; then
40648 ac_cv_func_gmtime_r
=yes
40650 echo "$as_me: failed program was:" >&5
40651 sed 's/^/| /' conftest.
$ac_ext >&5
40653 ac_cv_func_gmtime_r
=no
40656 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40657 conftest
$ac_exeext conftest.
$ac_ext
40659 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40660 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40661 if test $ac_cv_func_gmtime_r = yes; then
40662 cat >>confdefs.h
<<\_ACEOF
40663 #define HAVE_GMTIME_R 1
40672 ac_cpp
='$CPP $CPPFLAGS'
40673 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40674 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40675 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40677 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40678 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40680 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40681 echo $ECHO_N "(cached) $ECHO_C" >&6
40685 ################################################################
40687 ac_cv_func_which_gethostbyname_r
=unknown
40690 # ONE ARGUMENT (sanity check)
40693 # This should fail, as there is no variant of gethostbyname_r() that takes
40694 # a single argument. If it actually compiles, then we can assume that
40695 # netdb.h is not declaring the function, and the compiler is thereby
40696 # assuming an implicit prototype. In which case, we're out of luck.
40698 cat >conftest.
$ac_ext <<_ACEOF
40701 cat confdefs.h
>>conftest.
$ac_ext
40702 cat >>conftest.
$ac_ext <<_ACEOF
40703 /* end confdefs.h. */
40709 char *name = "www.gnu.org";
40710 (void)gethostbyname_r(name) /* ; */
40716 rm -f conftest.
$ac_objext
40717 if { (ac_try
="$ac_compile"
40718 case "(($ac_try" in
40719 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40720 *) ac_try_echo=$ac_try;;
40722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40723 (eval "$ac_compile") 2>conftest.er1
40725 grep -v '^ *+' conftest.er1 >conftest.err
40727 cat conftest.err >&5
40728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40729 (exit $ac_status); } && {
40730 test -z "$ac_c_werror_flag" ||
40731 test ! -s conftest.err
40732 } && test -s conftest.$ac_objext; then
40733 ac_cv_func_which_gethostbyname_r=no
40735 echo "$as_me: failed program was:" >&5
40736 sed 's/^/| /' conftest.$ac_ext >&5
40741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40748 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40750 cat >conftest.$ac_ext <<_ACEOF
40753 cat confdefs.h >>conftest.$ac_ext
40754 cat >>conftest.$ac_ext <<_ACEOF
40755 /* end confdefs.h. */
40761 char *name = "www.gnu.org";
40762 struct hostent ret, *retp;
40766 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40772 rm -f conftest.$ac_objext
40773 if { (ac_try="$ac_compile"
40774 case "(($ac_try" in
40775 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40776 *) ac_try_echo
=$ac_try;;
40778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40779 (eval "$ac_compile") 2>conftest.er1
40781 grep -v '^ *+' conftest.er1
>conftest.err
40783 cat conftest.err
>&5
40784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40785 (exit $ac_status); } && {
40786 test -z "$ac_c_werror_flag" ||
40787 test ! -s conftest.err
40788 } && test -s conftest.
$ac_objext; then
40789 ac_cv_func_which_gethostbyname_r
=six
40791 echo "$as_me: failed program was:" >&5
40792 sed 's/^/| /' conftest.
$ac_ext >&5
40797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40806 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40808 cat >conftest.
$ac_ext <<_ACEOF
40811 cat confdefs.h
>>conftest.
$ac_ext
40812 cat >>conftest.
$ac_ext <<_ACEOF
40813 /* end confdefs.h. */
40819 char *name = "www.gnu.org";
40820 struct hostent ret;
40824 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40830 rm -f conftest.
$ac_objext
40831 if { (ac_try
="$ac_compile"
40832 case "(($ac_try" in
40833 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40834 *) ac_try_echo=$ac_try;;
40836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40837 (eval "$ac_compile") 2>conftest.er1
40839 grep -v '^ *+' conftest.er1 >conftest.err
40841 cat conftest.err >&5
40842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40843 (exit $ac_status); } && {
40844 test -z "$ac_c_werror_flag" ||
40845 test ! -s conftest.err
40846 } && test -s conftest.$ac_objext; then
40847 ac_cv_func_which_gethostbyname_r=five
40849 echo "$as_me: failed program was:" >&5
40850 sed 's/^/| /' conftest.$ac_ext >&5
40855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40861 # (e.g. AIX, HP-UX, Tru64)
40864 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40866 cat >conftest.$ac_ext <<_ACEOF
40869 cat confdefs.h >>conftest.$ac_ext
40870 cat >>conftest.$ac_ext <<_ACEOF
40871 /* end confdefs.h. */
40877 char *name = "www.gnu.org";
40878 struct hostent ret;
40879 struct hostent_data data;
40880 (void)gethostbyname_r(name, &ret, &data) /* ; */
40886 rm -f conftest.$ac_objext
40887 if { (ac_try="$ac_compile"
40888 case "(($ac_try" in
40889 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40890 *) ac_try_echo
=$ac_try;;
40892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40893 (eval "$ac_compile") 2>conftest.er1
40895 grep -v '^ *+' conftest.er1
>conftest.err
40897 cat conftest.err
>&5
40898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40899 (exit $ac_status); } && {
40900 test -z "$ac_c_werror_flag" ||
40901 test ! -s conftest.err
40902 } && test -s conftest.
$ac_objext; then
40903 ac_cv_func_which_gethostbyname_r
=three
40905 echo "$as_me: failed program was:" >&5
40906 sed 's/^/| /' conftest.
$ac_ext >&5
40911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40915 ################################################################
40920 case "$ac_cv_func_which_gethostbyname_r" in
40922 { echo "$as_me:$LINENO: result: three" >&5
40923 echo "${ECHO_T}three" >&6; }
40924 cat >>confdefs.h
<<\_ACEOF
40925 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40931 { echo "$as_me:$LINENO: result: five" >&5
40932 echo "${ECHO_T}five" >&6; }
40933 cat >>confdefs.h
<<\_ACEOF
40934 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40940 { echo "$as_me:$LINENO: result: six" >&5
40941 echo "${ECHO_T}six" >&6; }
40942 cat >>confdefs.h
<<\_ACEOF
40943 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40949 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40950 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40954 { echo "$as_me:$LINENO: result: can't tell" >&5
40955 echo "${ECHO_T}can't tell" >&6; }
40959 { { echo "$as_me:$LINENO: error: internal error" >&5
40960 echo "$as_me: error: internal error" >&2;}
40961 { (exit 1); exit 1; }; }
40966 ac_cpp
='$CPP $CPPFLAGS'
40967 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40968 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40969 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40973 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40974 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40975 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40976 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40977 if test "${ac_cv_func_gethostbyname+set}" = set; then
40978 echo $ECHO_N "(cached) $ECHO_C" >&6
40980 cat >conftest.
$ac_ext <<_ACEOF
40983 cat confdefs.h
>>conftest.
$ac_ext
40984 cat >>conftest.
$ac_ext <<_ACEOF
40985 /* end confdefs.h. */
40986 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40988 #define gethostbyname innocuous_gethostbyname
40990 /* System header to define __stub macros and hopefully few prototypes,
40991 which can conflict with char gethostbyname (); below.
40992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40993 <limits.h> exists even on freestanding compilers. */
40996 # include <limits.h>
40998 # include <assert.h>
41001 #undef gethostbyname
41003 /* Override any GCC internal prototype to avoid an error.
41004 Use char because int might match the return type of a GCC
41005 builtin and then its argument prototype would still apply. */
41009 char gethostbyname ();
41010 /* The GNU C library defines this for functions which it implements
41011 to always fail with ENOSYS. Some functions are actually named
41012 something starting with __ and the normal name is an alias. */
41013 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41020 return gethostbyname ();
41025 rm -f conftest.
$ac_objext conftest
$ac_exeext
41026 if { (ac_try
="$ac_link"
41027 case "(($ac_try" in
41028 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41029 *) ac_try_echo=$ac_try;;
41031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41032 (eval "$ac_link") 2>conftest.er1
41034 grep -v '^ *+' conftest.er1 >conftest.err
41036 cat conftest.err >&5
41037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41038 (exit $ac_status); } && {
41039 test -z "$ac_c_werror_flag" ||
41040 test ! -s conftest.err
41041 } && test -s conftest$ac_exeext &&
41042 $as_test_x conftest$ac_exeext; then
41043 ac_cv_func_gethostbyname=yes
41045 echo "$as_me: failed program was:" >&5
41046 sed 's/^/| /' conftest.$ac_ext >&5
41048 ac_cv_func_gethostbyname=no
41051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41052 conftest$ac_exeext conftest.$ac_ext
41054 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41055 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41056 if test $ac_cv_func_gethostbyname = yes; then
41057 cat >>confdefs.h <<\_ACEOF
41058 #define HAVE_GETHOSTBYNAME 1
41065 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41066 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41067 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41068 echo $ECHO_N "(cached) $ECHO_C" >&6
41072 ac_cpp='$CXXCPP $CPPFLAGS'
41073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41078 cat >conftest.$ac_ext <<_ACEOF
41081 cat confdefs.h >>conftest.$ac_ext
41082 cat >>conftest.$ac_ext <<_ACEOF
41083 /* end confdefs.h. */
41091 struct servent *se, *res;
41094 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41100 rm -f conftest.$ac_objext
41101 if { (ac_try="$ac_compile"
41102 case "(($ac_try" in
41103 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41104 *) ac_try_echo
=$ac_try;;
41106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41107 (eval "$ac_compile") 2>conftest.er1
41109 grep -v '^ *+' conftest.er1
>conftest.err
41111 cat conftest.err
>&5
41112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41113 (exit $ac_status); } && {
41114 test -z "$ac_cxx_werror_flag" ||
41115 test ! -s conftest.err
41116 } && test -s conftest.
$ac_objext; then
41117 ac_cv_func_which_getservbyname_r
=six
41119 echo "$as_me: failed program was:" >&5
41120 sed 's/^/| /' conftest.
$ac_ext >&5
41123 cat >conftest.
$ac_ext <<_ACEOF
41126 cat confdefs.h
>>conftest.
$ac_ext
41127 cat >>conftest.
$ac_ext <<_ACEOF
41128 /* end confdefs.h. */
41136 struct servent *se;
41139 (void) getservbyname_r(name, proto, se, buffer, buflen)
41145 rm -f conftest.
$ac_objext
41146 if { (ac_try
="$ac_compile"
41147 case "(($ac_try" in
41148 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41149 *) ac_try_echo=$ac_try;;
41151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41152 (eval "$ac_compile") 2>conftest.er1
41154 grep -v '^ *+' conftest.er1 >conftest.err
41156 cat conftest.err >&5
41157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41158 (exit $ac_status); } && {
41159 test -z "$ac_cxx_werror_flag" ||
41160 test ! -s conftest.err
41161 } && test -s conftest.$ac_objext; then
41162 ac_cv_func_which_getservbyname_r=five
41164 echo "$as_me: failed program was:" >&5
41165 sed 's/^/| /' conftest.$ac_ext >&5
41168 cat >conftest.$ac_ext <<_ACEOF
41171 cat confdefs.h >>conftest.$ac_ext
41172 cat >>conftest.$ac_ext <<_ACEOF
41173 /* end confdefs.h. */
41181 struct servent *se;
41182 struct servent_data data;
41183 (void) getservbyname_r(name, proto, se, &data);
41189 rm -f conftest.$ac_objext
41190 if { (ac_try="$ac_compile"
41191 case "(($ac_try" in
41192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41193 *) ac_try_echo
=$ac_try;;
41195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41196 (eval "$ac_compile") 2>conftest.er1
41198 grep -v '^ *+' conftest.er1
>conftest.err
41200 cat conftest.err
>&5
41201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41202 (exit $ac_status); } && {
41203 test -z "$ac_cxx_werror_flag" ||
41204 test ! -s conftest.err
41205 } && test -s conftest.
$ac_objext; then
41206 ac_cv_func_which_getservbyname_r
=four
41208 echo "$as_me: failed program was:" >&5
41209 sed 's/^/| /' conftest.
$ac_ext >&5
41211 ac_cv_func_which_getservbyname_r
=no
41215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41227 ac_cpp
='$CPP $CPPFLAGS'
41228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41235 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41236 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41238 if test $ac_cv_func_which_getservbyname_r = six
; then
41239 cat >>confdefs.h
<<\_ACEOF
41240 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41243 elif test $ac_cv_func_which_getservbyname_r = five
; then
41244 cat >>confdefs.h
<<\_ACEOF
41245 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41248 elif test $ac_cv_func_which_getservbyname_r = four
; then
41249 cat >>confdefs.h
<<\_ACEOF
41250 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41256 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41257 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41259 for ac_func
in getservbyname
41261 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41262 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41264 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41265 echo $ECHO_N "(cached) $ECHO_C" >&6
41267 cat >conftest.
$ac_ext <<_ACEOF
41270 cat confdefs.h
>>conftest.
$ac_ext
41271 cat >>conftest.
$ac_ext <<_ACEOF
41272 /* end confdefs.h. */
41273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41275 #define $ac_func innocuous_$ac_func
41277 /* System header to define __stub macros and hopefully few prototypes,
41278 which can conflict with char $ac_func (); below.
41279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41280 <limits.h> exists even on freestanding compilers. */
41283 # include <limits.h>
41285 # include <assert.h>
41290 /* Override any GCC internal prototype to avoid an error.
41291 Use char because int might match the return type of a GCC
41292 builtin and then its argument prototype would still apply. */
41297 /* The GNU C library defines this for functions which it implements
41298 to always fail with ENOSYS. Some functions are actually named
41299 something starting with __ and the normal name is an alias. */
41300 #if defined __stub_$ac_func || defined __stub___$ac_func
41307 return $ac_func ();
41312 rm -f conftest.
$ac_objext conftest
$ac_exeext
41313 if { (ac_try
="$ac_link"
41314 case "(($ac_try" in
41315 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41316 *) ac_try_echo=$ac_try;;
41318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41319 (eval "$ac_link") 2>conftest.er1
41321 grep -v '^ *+' conftest.er1 >conftest.err
41323 cat conftest.err >&5
41324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41325 (exit $ac_status); } && {
41326 test -z "$ac_c_werror_flag" ||
41327 test ! -s conftest.err
41328 } && test -s conftest$ac_exeext &&
41329 $as_test_x conftest$ac_exeext; then
41330 eval "$as_ac_var=yes"
41332 echo "$as_me: failed program was:" >&5
41333 sed 's/^/| /' conftest.$ac_ext >&5
41335 eval "$as_ac_var=no"
41338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41339 conftest$ac_exeext conftest.$ac_ext
41341 ac_res=`eval echo '${'$as_ac_var'}'`
41342 { echo "$as_me:$LINENO: result: $ac_res" >&5
41343 echo "${ECHO_T}$ac_res" >&6; }
41344 if test `eval echo '${'$as_ac_var'}'` = yes; then
41345 cat >>confdefs.h <<_ACEOF
41346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41348 cat >>confdefs.h <<\_ACEOF
41349 #define HAVE_GETSERVBYNAME 1
41357 if test "$wxUSE_THREADS" = "yes"; then
41358 cat >>confdefs.h <<\_ACEOF
41359 #define wxUSE_THREADS 1
41363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41365 if test "$wx_cv_func_strtok_r" = "yes"; then
41366 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41367 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41368 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41369 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41370 { echo "$as_me:$LINENO: result: yes" >&5
41371 echo "${ECHO_T}yes" >&6; }
41373 { echo "$as_me:$LINENO: result: no" >&5
41374 echo "${ECHO_T}no" >&6; }
41379 if test "$WXGTK2" = 1 ; then
41380 cat >>confdefs.h <<_ACEOF
41381 #define __WXGTK20__ $WXGTK2
41387 if test "$WXGTK12" = 1 ; then
41388 cat >>confdefs.h <<_ACEOF
41389 #define __WXGTK12__ $WXGTK12
41394 if test "$WXGTK127" = 1 ; then
41395 cat >>confdefs.h <<_ACEOF
41396 #define __WXGTK127__ $WXGTK127
41401 if test "$WXGPE" = 1 ; then
41402 cat >>confdefs.h <<_ACEOF
41403 #define __WXGPE__ $WXGPE
41409 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41413 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41414 wxUSE_DEBUG_INFO=yes
41415 if test "$GCC" = yes; then
41416 DEBUG_CFLAGS="-ggdb"
41420 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41421 cat >>confdefs.h <<\_ACEOF
41425 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41427 if test "$wxUSE_GTK" = 1 ; then
41428 if test "x$wxGTK_VERSION" = "x1" ; then
41429 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41434 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41435 cat >>confdefs.h <<\_ACEOF
41436 #define wxUSE_MEMORY_TRACING 1
41439 cat >>confdefs.h <<\_ACEOF
41440 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41443 cat >>confdefs.h <<\_ACEOF
41444 #define wxUSE_DEBUG_NEW_ALWAYS 1
41447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41450 if test "$wxUSE_DMALLOC" = "yes" ; then
41451 DMALLOC_LIBS="-ldmallocthcxx"
41455 if test "$wxUSE_PROFILE" = "yes" ; then
41456 PROFILE_FLAGS=" -pg"
41459 if test "$GCC" = "yes" ; then
41460 if test "$wxUSE_NO_RTTI" = "yes" ; then
41461 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41463 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41464 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41466 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41467 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41472 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41475 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41481 if test "$wxUSE_OPTIMISE" = "no" ; then
41482 if test "$GCC" = yes ; then
41483 OPTIMISE_CFLAGS="-O0"
41486 if test "$GCC" = yes ; then
41488 *-pc-os2_emx | *-pc-os2-emx )
41489 OPTIMISE_CFLAGS="-O2"
41492 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41496 OPTIMISE_CFLAGS="-O"
41501 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41502 cat >>confdefs.h <<\_ACEOF
41503 #define WXWIN_COMPATIBILITY_2_6 1
41507 WXWIN_COMPATIBILITY_2_8="yes"
41510 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41511 cat >>confdefs.h <<\_ACEOF
41512 #define WXWIN_COMPATIBILITY_2_8 1
41518 if test "$wxUSE_GUI" = "yes"; then
41519 cat >>confdefs.h <<\_ACEOF
41520 #define wxUSE_GUI 1
41527 if test "$wxUSE_UNIX" = "yes"; then
41528 cat >>confdefs.h <<\_ACEOF
41529 #define wxUSE_UNIX 1
41535 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41539 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41540 if test "$USE_DOS" = 1; then
41544 for ac_func in dlopen
41546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41547 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41549 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41550 echo $ECHO_N "(cached) $ECHO_C" >&6
41552 cat >conftest.$ac_ext <<_ACEOF
41555 cat confdefs.h >>conftest.$ac_ext
41556 cat >>conftest.$ac_ext <<_ACEOF
41557 /* end confdefs.h. */
41558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41560 #define $ac_func innocuous_$ac_func
41562 /* System header to define __stub macros and hopefully few prototypes,
41563 which can conflict with char $ac_func (); below.
41564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41565 <limits.h> exists even on freestanding compilers. */
41568 # include <limits.h>
41570 # include <assert.h>
41575 /* Override any GCC internal prototype to avoid an error.
41576 Use char because int might match the return type of a GCC
41577 builtin and then its argument prototype would still apply. */
41582 /* The GNU C library defines this for functions which it implements
41583 to always fail with ENOSYS. Some functions are actually named
41584 something starting with __ and the normal name is an alias. */
41585 #if defined __stub_$ac_func || defined __stub___$ac_func
41592 return $ac_func ();
41597 rm -f conftest.$ac_objext conftest$ac_exeext
41598 if { (ac_try="$ac_link"
41599 case "(($ac_try" in
41600 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41601 *) ac_try_echo
=$ac_try;;
41603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41604 (eval "$ac_link") 2>conftest.er1
41606 grep -v '^ *+' conftest.er1
>conftest.err
41608 cat conftest.err
>&5
41609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41610 (exit $ac_status); } && {
41611 test -z "$ac_c_werror_flag" ||
41612 test ! -s conftest.err
41613 } && test -s conftest
$ac_exeext &&
41614 $as_test_x conftest
$ac_exeext; then
41615 eval "$as_ac_var=yes"
41617 echo "$as_me: failed program was:" >&5
41618 sed 's/^/| /' conftest.
$ac_ext >&5
41620 eval "$as_ac_var=no"
41623 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41624 conftest
$ac_exeext conftest.
$ac_ext
41626 ac_res
=`eval echo '${'$as_ac_var'}'`
41627 { echo "$as_me:$LINENO: result: $ac_res" >&5
41628 echo "${ECHO_T}$ac_res" >&6; }
41629 if test `eval echo '${'$as_ac_var'}'` = yes; then
41630 cat >>confdefs.h
<<_ACEOF
41631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41634 cat >>confdefs.h
<<\_ACEOF
41635 #define HAVE_DLOPEN 1
41642 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41643 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41644 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41645 echo $ECHO_N "(cached) $ECHO_C" >&6
41647 ac_check_lib_save_LIBS
=$LIBS
41649 cat >conftest.
$ac_ext <<_ACEOF
41652 cat confdefs.h
>>conftest.
$ac_ext
41653 cat >>conftest.
$ac_ext <<_ACEOF
41654 /* end confdefs.h. */
41656 /* Override any GCC internal prototype to avoid an error.
41657 Use char because int might match the return type of a GCC
41658 builtin and then its argument prototype would still apply. */
41671 rm -f conftest.
$ac_objext conftest
$ac_exeext
41672 if { (ac_try
="$ac_link"
41673 case "(($ac_try" in
41674 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41675 *) ac_try_echo=$ac_try;;
41677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41678 (eval "$ac_link") 2>conftest.er1
41680 grep -v '^ *+' conftest.er1 >conftest.err
41682 cat conftest.err >&5
41683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41684 (exit $ac_status); } && {
41685 test -z "$ac_c_werror_flag" ||
41686 test ! -s conftest.err
41687 } && test -s conftest$ac_exeext &&
41688 $as_test_x conftest$ac_exeext; then
41689 ac_cv_lib_dl_dlopen=yes
41691 echo "$as_me: failed program was:" >&5
41692 sed 's/^/| /' conftest.$ac_ext >&5
41694 ac_cv_lib_dl_dlopen=no
41697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41698 conftest$ac_exeext conftest.$ac_ext
41699 LIBS=$ac_check_lib_save_LIBS
41701 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41702 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41703 if test $ac_cv_lib_dl_dlopen = yes; then
41705 cat >>confdefs.h <<\_ACEOF
41706 #define HAVE_DLOPEN 1
41710 DL_LINK=" -ldl$DL_LINK"
41715 for ac_func in shl_load
41717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41718 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41720 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41721 echo $ECHO_N "(cached) $ECHO_C" >&6
41723 cat >conftest.$ac_ext <<_ACEOF
41726 cat confdefs.h >>conftest.$ac_ext
41727 cat >>conftest.$ac_ext <<_ACEOF
41728 /* end confdefs.h. */
41729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41731 #define $ac_func innocuous_$ac_func
41733 /* System header to define __stub macros and hopefully few prototypes,
41734 which can conflict with char $ac_func (); below.
41735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41736 <limits.h> exists even on freestanding compilers. */
41739 # include <limits.h>
41741 # include <assert.h>
41746 /* Override any GCC internal prototype to avoid an error.
41747 Use char because int might match the return type of a GCC
41748 builtin and then its argument prototype would still apply. */
41753 /* The GNU C library defines this for functions which it implements
41754 to always fail with ENOSYS. Some functions are actually named
41755 something starting with __ and the normal name is an alias. */
41756 #if defined __stub_$ac_func || defined __stub___$ac_func
41763 return $ac_func ();
41768 rm -f conftest.$ac_objext conftest$ac_exeext
41769 if { (ac_try="$ac_link"
41770 case "(($ac_try" in
41771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41772 *) ac_try_echo
=$ac_try;;
41774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41775 (eval "$ac_link") 2>conftest.er1
41777 grep -v '^ *+' conftest.er1
>conftest.err
41779 cat conftest.err
>&5
41780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41781 (exit $ac_status); } && {
41782 test -z "$ac_c_werror_flag" ||
41783 test ! -s conftest.err
41784 } && test -s conftest
$ac_exeext &&
41785 $as_test_x conftest
$ac_exeext; then
41786 eval "$as_ac_var=yes"
41788 echo "$as_me: failed program was:" >&5
41789 sed 's/^/| /' conftest.
$ac_ext >&5
41791 eval "$as_ac_var=no"
41794 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41795 conftest
$ac_exeext conftest.
$ac_ext
41797 ac_res
=`eval echo '${'$as_ac_var'}'`
41798 { echo "$as_me:$LINENO: result: $ac_res" >&5
41799 echo "${ECHO_T}$ac_res" >&6; }
41800 if test `eval echo '${'$as_ac_var'}'` = yes; then
41801 cat >>confdefs.h
<<_ACEOF
41802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41805 cat >>confdefs.h
<<\_ACEOF
41806 #define HAVE_SHL_LOAD 1
41813 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41814 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41815 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41816 echo $ECHO_N "(cached) $ECHO_C" >&6
41818 ac_check_lib_save_LIBS
=$LIBS
41819 LIBS
="-lshl_load $LIBS"
41820 cat >conftest.
$ac_ext <<_ACEOF
41823 cat confdefs.h
>>conftest.
$ac_ext
41824 cat >>conftest.
$ac_ext <<_ACEOF
41825 /* end confdefs.h. */
41827 /* Override any GCC internal prototype to avoid an error.
41828 Use char because int might match the return type of a GCC
41829 builtin and then its argument prototype would still apply. */
41842 rm -f conftest.
$ac_objext conftest
$ac_exeext
41843 if { (ac_try
="$ac_link"
41844 case "(($ac_try" in
41845 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41846 *) ac_try_echo=$ac_try;;
41848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41849 (eval "$ac_link") 2>conftest.er1
41851 grep -v '^ *+' conftest.er1 >conftest.err
41853 cat conftest.err >&5
41854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41855 (exit $ac_status); } && {
41856 test -z "$ac_c_werror_flag" ||
41857 test ! -s conftest.err
41858 } && test -s conftest$ac_exeext &&
41859 $as_test_x conftest$ac_exeext; then
41860 ac_cv_lib_shl_load_dld=yes
41862 echo "$as_me: failed program was:" >&5
41863 sed 's/^/| /' conftest.$ac_ext >&5
41865 ac_cv_lib_shl_load_dld=no
41868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41869 conftest$ac_exeext conftest.$ac_ext
41870 LIBS=$ac_check_lib_save_LIBS
41872 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41873 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41874 if test $ac_cv_lib_shl_load_dld = yes; then
41877 DL_LINK=" -ldld$DL_LINK"
41893 if test "$HAVE_DL_FUNCS" = 1; then
41895 for ac_func in dlerror
41897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41898 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41900 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41901 echo $ECHO_N "(cached) $ECHO_C" >&6
41903 cat >conftest.$ac_ext <<_ACEOF
41906 cat confdefs.h >>conftest.$ac_ext
41907 cat >>conftest.$ac_ext <<_ACEOF
41908 /* end confdefs.h. */
41909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41911 #define $ac_func innocuous_$ac_func
41913 /* System header to define __stub macros and hopefully few prototypes,
41914 which can conflict with char $ac_func (); below.
41915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41916 <limits.h> exists even on freestanding compilers. */
41919 # include <limits.h>
41921 # include <assert.h>
41926 /* Override any GCC internal prototype to avoid an error.
41927 Use char because int might match the return type of a GCC
41928 builtin and then its argument prototype would still apply. */
41933 /* The GNU C library defines this for functions which it implements
41934 to always fail with ENOSYS. Some functions are actually named
41935 something starting with __ and the normal name is an alias. */
41936 #if defined __stub_$ac_func || defined __stub___$ac_func
41943 return $ac_func ();
41948 rm -f conftest.$ac_objext conftest$ac_exeext
41949 if { (ac_try="$ac_link"
41950 case "(($ac_try" in
41951 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41952 *) ac_try_echo
=$ac_try;;
41954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41955 (eval "$ac_link") 2>conftest.er1
41957 grep -v '^ *+' conftest.er1
>conftest.err
41959 cat conftest.err
>&5
41960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41961 (exit $ac_status); } && {
41962 test -z "$ac_c_werror_flag" ||
41963 test ! -s conftest.err
41964 } && test -s conftest
$ac_exeext &&
41965 $as_test_x conftest
$ac_exeext; then
41966 eval "$as_ac_var=yes"
41968 echo "$as_me: failed program was:" >&5
41969 sed 's/^/| /' conftest.
$ac_ext >&5
41971 eval "$as_ac_var=no"
41974 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41975 conftest
$ac_exeext conftest.
$ac_ext
41977 ac_res
=`eval echo '${'$as_ac_var'}'`
41978 { echo "$as_me:$LINENO: result: $ac_res" >&5
41979 echo "${ECHO_T}$ac_res" >&6; }
41980 if test `eval echo '${'$as_ac_var'}'` = yes; then
41981 cat >>confdefs.h
<<_ACEOF
41982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41984 cat >>confdefs.h
<<\_ACEOF
41985 #define HAVE_DLERROR 1
41990 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41991 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41992 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41993 echo $ECHO_N "(cached) $ECHO_C" >&6
41995 ac_check_lib_save_LIBS
=$LIBS
41997 cat >conftest.
$ac_ext <<_ACEOF
42000 cat confdefs.h
>>conftest.
$ac_ext
42001 cat >>conftest.
$ac_ext <<_ACEOF
42002 /* end confdefs.h. */
42004 /* Override any GCC internal prototype to avoid an error.
42005 Use char because int might match the return type of a GCC
42006 builtin and then its argument prototype would still apply. */
42019 rm -f conftest.
$ac_objext conftest
$ac_exeext
42020 if { (ac_try
="$ac_link"
42021 case "(($ac_try" in
42022 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42023 *) ac_try_echo=$ac_try;;
42025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42026 (eval "$ac_link") 2>conftest.er1
42028 grep -v '^ *+' conftest.er1 >conftest.err
42030 cat conftest.err >&5
42031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42032 (exit $ac_status); } && {
42033 test -z "$ac_c_werror_flag" ||
42034 test ! -s conftest.err
42035 } && test -s conftest$ac_exeext &&
42036 $as_test_x conftest$ac_exeext; then
42037 ac_cv_lib_dl_dlerror=yes
42039 echo "$as_me: failed program was:" >&5
42040 sed 's/^/| /' conftest.$ac_ext >&5
42042 ac_cv_lib_dl_dlerror=no
42045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42046 conftest$ac_exeext conftest.$ac_ext
42047 LIBS=$ac_check_lib_save_LIBS
42049 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42050 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42051 if test $ac_cv_lib_dl_dlerror = yes; then
42052 cat >>confdefs.h <<\_ACEOF
42053 #define HAVE_DLERROR 1
42066 if test "$USE_DARWIN" = 1; then
42070 if test "$HAVE_DL_FUNCS" = 0; then
42071 if test "$HAVE_SHL_FUNCS" = 0; then
42072 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42073 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42074 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42075 wxUSE_DYNAMIC_LOADER=no
42076 wxUSE_DYNLIB_CLASS=no
42078 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42079 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42086 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42087 cat >>confdefs.h <<\_ACEOF
42088 #define wxUSE_DYNAMIC_LOADER 1
42092 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42093 cat >>confdefs.h <<\_ACEOF
42094 #define wxUSE_DYNLIB_CLASS 1
42101 if test "$wxUSE_PLUGINS" = "yes" ; then
42102 if test "$wxUSE_SHARED" = "no" ; then
42103 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42104 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42107 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42108 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42109 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42112 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42113 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42114 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42117 if test "$wxUSE_PLUGINS" = "yes" ; then
42118 cat >>confdefs.h <<\_ACEOF
42119 #define wxUSE_PLUGINS 1
42126 if test "$wxUSE_STL" = "yes"; then
42127 cat >>confdefs.h <<\_ACEOF
42128 #define wxUSE_STL 1
42133 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42134 cat >>confdefs.h <<\_ACEOF
42135 #define wxUSE_EXTENDED_RTTI 1
42140 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42141 cat >>confdefs.h <<\_ACEOF
42142 #define wxUSE_APPLE_IEEE 1
42147 if test "$wxUSE_TIMER" = "yes"; then
42148 cat >>confdefs.h <<\_ACEOF
42149 #define wxUSE_TIMER 1
42154 if test "$USE_UNIX" = 1 ; then
42155 if test "$wxUSE_MGL" != 1; then
42156 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42157 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42158 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42159 echo $ECHO_N "(cached) $ECHO_C" >&6
42162 cat >conftest.$ac_ext <<_ACEOF
42165 cat confdefs.h >>conftest.$ac_ext
42166 cat >>conftest.$ac_ext <<_ACEOF
42167 /* end confdefs.h. */
42169 #include <sys/ioctl.h>
42170 #include <sys/soundcard.h>
42176 ioctl(0, SNDCTL_DSP_SPEED, 0);
42182 rm -f conftest.$ac_objext conftest$ac_exeext
42183 if { (ac_try="$ac_link"
42184 case "(($ac_try" in
42185 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42186 *) ac_try_echo
=$ac_try;;
42188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42189 (eval "$ac_link") 2>conftest.er1
42191 grep -v '^ *+' conftest.er1
>conftest.err
42193 cat conftest.err
>&5
42194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42195 (exit $ac_status); } && {
42196 test -z "$ac_c_werror_flag" ||
42197 test ! -s conftest.err
42198 } && test -s conftest
$ac_exeext &&
42199 $as_test_x conftest
$ac_exeext; then
42200 ac_cv_header_sys_soundcard
=yes
42202 echo "$as_me: failed program was:" >&5
42203 sed 's/^/| /' conftest.
$ac_ext >&5
42207 LIBS
="$saveLibs -lossaudio"
42208 cat >conftest.
$ac_ext <<_ACEOF
42211 cat confdefs.h
>>conftest.
$ac_ext
42212 cat >>conftest.
$ac_ext <<_ACEOF
42213 /* end confdefs.h. */
42215 #include <sys/ioctl.h>
42216 #include <sys/soundcard.h>
42222 ioctl(0, SNDCTL_DSP_SPEED, 0);
42228 rm -f conftest.
$ac_objext conftest
$ac_exeext
42229 if { (ac_try
="$ac_link"
42230 case "(($ac_try" in
42231 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42232 *) ac_try_echo=$ac_try;;
42234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42235 (eval "$ac_link") 2>conftest.er1
42237 grep -v '^ *+' conftest.er1 >conftest.err
42239 cat conftest.err >&5
42240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42241 (exit $ac_status); } && {
42242 test -z "$ac_c_werror_flag" ||
42243 test ! -s conftest.err
42244 } && test -s conftest$ac_exeext &&
42245 $as_test_x conftest$ac_exeext; then
42246 ac_cv_header_sys_soundcard=yes
42248 echo "$as_me: failed program was:" >&5
42249 sed 's/^/| /' conftest.$ac_ext >&5
42253 ac_cv_header_sys_soundcard=no
42258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42259 conftest$ac_exeext conftest.$ac_ext
42264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42265 conftest$ac_exeext conftest.$ac_ext
42268 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42269 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42272 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42273 cat >>confdefs.h <<\_ACEOF
42274 #define HAVE_SYS_SOUNDCARD_H 1
42281 if test "$wxUSE_SOUND" = "yes"; then
42282 if test "$USE_UNIX" = 1 ; then
42283 if test "$wxUSE_LIBSDL" != "no"; then
42285 # Check whether --with-sdl-prefix was given.
42286 if test "${with_sdl_prefix+set}" = set; then
42287 withval=$with_sdl_prefix; sdl_prefix="$withval"
42293 # Check whether --with-sdl-exec-prefix was given.
42294 if test "${with_sdl_exec_prefix+set}" = set; then
42295 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42300 # Check whether --enable-sdltest was given.
42301 if test "${enable_sdltest+set}" = set; then
42302 enableval=$enable_sdltest;
42308 if test x$sdl_exec_prefix != x ; then
42309 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42310 if test x${SDL_CONFIG+set} != xset ; then
42311 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42314 if test x$sdl_prefix != x ; then
42315 sdl_args="$sdl_args --prefix=$sdl_prefix"
42316 if test x${SDL_CONFIG+set} != xset ; then
42317 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42321 if test "x$prefix" != xNONE; then
42322 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42324 # Extract the first word of "sdl-config", so it can be a program name with args.
42325 set dummy sdl-config; ac_word=$2
42326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42328 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42329 echo $ECHO_N "(cached) $ECHO_C" >&6
42331 case $SDL_CONFIG in
42333 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42337 for as_dir in $PATH
42340 test -z "$as_dir" && as_dir=.
42341 for ac_exec_ext in '' $ac_executable_extensions; do
42342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42343 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42351 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42355 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42356 if test -n "$SDL_CONFIG"; then
42357 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42358 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42360 { echo "$as_me:$LINENO: result: no" >&5
42361 echo "${ECHO_T}no" >&6; }
42365 min_sdl_version=1.2.0
42366 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42367 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42369 if test "$SDL_CONFIG" = "no" ; then
42372 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42373 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42375 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42377 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42378 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42379 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42380 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42381 if test "x$enable_sdltest" = "xyes" ; then
42382 ac_save_CFLAGS="$CFLAGS"
42383 ac_save_CXXFLAGS="$CXXFLAGS"
42384 ac_save_LIBS="$LIBS"
42385 CFLAGS="$CFLAGS $SDL_CFLAGS"
42386 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42387 LIBS="$LIBS $SDL_LIBS"
42389 if test "$cross_compiling" = yes; then
42390 echo $ac_n "cross compiling; assumed OK... $ac_c"
42392 cat >conftest.$ac_ext <<_ACEOF
42395 cat confdefs.h >>conftest.$ac_ext
42396 cat >>conftest.$ac_ext <<_ACEOF
42397 /* end confdefs.h. */
42400 #include <stdlib.h>
42401 #include <string.h>
42405 my_strdup (char *str)
42411 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42412 strcpy (new_str, str);
42420 int main (int argc, char *argv[])
42422 int major, minor, micro;
42425 /* This hangs on some systems (?)
42426 system ("touch conf.sdltest");
42428 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42430 /* HP/UX 9 (%@#!) writes to sscanf strings */
42431 tmp_version = my_strdup("$min_sdl_version");
42432 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42433 printf("%s, bad version string\n", "$min_sdl_version");
42437 if (($sdl_major_version > major) ||
42438 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42439 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42445 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42446 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42447 printf("*** best to upgrade to the required version.\n");
42448 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42449 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42450 printf("*** config.cache before re-running configure\n");
42457 rm -f conftest$ac_exeext
42458 if { (ac_try="$ac_link"
42459 case "(($ac_try" in
42460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42461 *) ac_try_echo
=$ac_try;;
42463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42464 (eval "$ac_link") 2>&5
42466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42467 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42468 { (case "(($ac_try" in
42469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42470 *) ac_try_echo=$ac_try;;
42472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42473 (eval "$ac_try") 2>&5
42475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42476 (exit $ac_status); }; }; then
42479 echo "$as_me: program exited with status $ac_status" >&5
42480 echo "$as_me: failed program was:" >&5
42481 sed 's/^/| /' conftest.$ac_ext >&5
42483 ( exit $ac_status )
42486 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42490 CFLAGS="$ac_save_CFLAGS"
42491 CXXFLAGS="$ac_save_CXXFLAGS"
42492 LIBS="$ac_save_LIBS"
42495 if test "x$no_sdl" = x ; then
42496 { echo "$as_me:$LINENO: result: yes" >&5
42497 echo "${ECHO_T}yes" >&6; }
42499 EXTRALIBS_SDL="$SDL_LIBS"
42500 CFLAGS="$SDL_CFLAGS $CFLAGS"
42501 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42502 cat >>confdefs.h <<\_ACEOF
42503 #define wxUSE_LIBSDL 1
42508 { echo "$as_me:$LINENO: result: no" >&5
42509 echo "${ECHO_T}no" >&6; }
42510 if test "$SDL_CONFIG" = "no" ; then
42511 echo "*** The sdl-config script installed by SDL could not be found"
42512 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42513 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42514 echo "*** full path to sdl-config."
42516 if test -f conf.sdltest ; then
42519 echo "*** Could not run SDL test program, checking why..."
42520 CFLAGS="$CFLAGS $SDL_CFLAGS"
42521 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42522 LIBS="$LIBS $SDL_LIBS"
42523 cat >conftest.$ac_ext <<_ACEOF
42526 cat confdefs.h >>conftest.$ac_ext
42527 cat >>conftest.$ac_ext <<_ACEOF
42528 /* end confdefs.h. */
42533 int main(int argc, char *argv[])
42536 #define main K_and_R_C_main
42546 rm -f conftest.$ac_objext conftest$ac_exeext
42547 if { (ac_try="$ac_link"
42548 case "(($ac_try" in
42549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42550 *) ac_try_echo
=$ac_try;;
42552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42553 (eval "$ac_link") 2>conftest.er1
42555 grep -v '^ *+' conftest.er1
>conftest.err
42557 cat conftest.err
>&5
42558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42559 (exit $ac_status); } && {
42560 test -z "$ac_c_werror_flag" ||
42561 test ! -s conftest.err
42562 } && test -s conftest
$ac_exeext &&
42563 $as_test_x conftest
$ac_exeext; then
42564 echo "*** The test program compiled, but did not run. This usually means"
42565 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42566 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42567 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42568 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42569 echo "*** is required on your system"
42571 echo "*** If you have an old version installed, it is best to remove it, although"
42572 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42574 echo "$as_me: failed program was:" >&5
42575 sed 's/^/| /' conftest.
$ac_ext >&5
42577 echo "*** The test program failed to compile or link. See the file config.log for the"
42578 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42579 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42580 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42583 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42584 conftest
$ac_exeext conftest.
$ac_ext
42585 CFLAGS
="$ac_save_CFLAGS"
42586 CXXFLAGS
="$ac_save_CXXFLAGS"
42587 LIBS
="$ac_save_LIBS"
42598 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42603 if test "$wxUSE_MGL" = 1; then
42604 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42605 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42611 if test "$wxUSE_SOUND" = "yes"; then
42612 cat >>confdefs.h
<<\_ACEOF
42613 #define wxUSE_SOUND 1
42616 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42619 if test "$WXGTK2" = 1; then
42622 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42623 if test -n "$ac_tool_prefix"; then
42624 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42625 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42628 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42629 echo $ECHO_N "(cached) $ECHO_C" >&6
42631 case $PKG_CONFIG in
42633 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42637 for as_dir
in $PATH
42640 test -z "$as_dir" && as_dir
=.
42641 for ac_exec_ext
in '' $ac_executable_extensions; do
42642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42643 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42654 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42655 if test -n "$PKG_CONFIG"; then
42656 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42657 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42659 { echo "$as_me:$LINENO: result: no" >&5
42660 echo "${ECHO_T}no" >&6; }
42665 if test -z "$ac_cv_path_PKG_CONFIG"; then
42666 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42667 # Extract the first word of "pkg-config", so it can be a program name with args.
42668 set dummy pkg
-config; ac_word
=$2
42669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42671 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42672 echo $ECHO_N "(cached) $ECHO_C" >&6
42674 case $ac_pt_PKG_CONFIG in
42676 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42680 for as_dir
in $PATH
42683 test -z "$as_dir" && as_dir
=.
42684 for ac_exec_ext
in '' $ac_executable_extensions; do
42685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42686 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42697 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42698 if test -n "$ac_pt_PKG_CONFIG"; then
42699 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42700 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42702 { echo "$as_me:$LINENO: result: no" >&5
42703 echo "${ECHO_T}no" >&6; }
42706 if test "x$ac_pt_PKG_CONFIG" = x
; then
42709 case $cross_compiling:$ac_tool_warned in
42711 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42712 whose name does not start with the host triplet. If you think this
42713 configuration is useful to you, please write to autoconf@gnu.org." >&5
42714 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42715 whose name does not start with the host triplet. If you think this
42716 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42717 ac_tool_warned
=yes ;;
42719 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42722 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42726 if test -n "$PKG_CONFIG"; then
42727 _pkg_min_version
=0.9.0
42728 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42729 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42730 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42731 { echo "$as_me:$LINENO: result: yes" >&5
42732 echo "${ECHO_T}yes" >&6; }
42734 { echo "$as_me:$LINENO: result: no" >&5
42735 echo "${ECHO_T}no" >&6; }
42741 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42743 if test "$wxUSE_GTKPRINT" = "yes" ; then
42747 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42748 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42750 if test -n "$PKG_CONFIG"; then
42751 if test -n "$GTKPRINT_CFLAGS"; then
42752 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42754 if test -n "$PKG_CONFIG" && \
42755 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42756 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42759 (exit $ac_status); }; then
42760 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42768 if test -n "$PKG_CONFIG"; then
42769 if test -n "$GTKPRINT_LIBS"; then
42770 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42772 if test -n "$PKG_CONFIG" && \
42773 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42774 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42777 (exit $ac_status); }; then
42778 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42789 if test $pkg_failed = yes; then
42791 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42792 _pkg_short_errors_supported
=yes
42794 _pkg_short_errors_supported
=no
42796 if test $_pkg_short_errors_supported = yes; then
42797 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42799 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42801 # Put the nasty error message in config.log where it belongs
42802 echo "$GTKPRINT_PKG_ERRORS" >&5
42805 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42806 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42807 wxUSE_GTKPRINT
="no"
42810 elif test $pkg_failed = untried
; then
42812 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42813 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42814 wxUSE_GTKPRINT
="no"
42818 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42819 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42820 { echo "$as_me:$LINENO: result: yes" >&5
42821 echo "${ECHO_T}yes" >&6; }
42823 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42824 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42825 cat >>confdefs.h
<<\_ACEOF
42826 #define wxUSE_GTKPRINT 1
42833 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42837 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42838 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42840 if test -n "$PKG_CONFIG"; then
42841 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42842 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42844 if test -n "$PKG_CONFIG" && \
42845 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42846 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42849 (exit $ac_status); }; then
42850 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42858 if test -n "$PKG_CONFIG"; then
42859 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42860 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42862 if test -n "$PKG_CONFIG" && \
42863 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42864 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42867 (exit $ac_status); }; then
42868 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42879 if test $pkg_failed = yes; then
42881 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42882 _pkg_short_errors_supported
=yes
42884 _pkg_short_errors_supported
=no
42886 if test $_pkg_short_errors_supported = yes; then
42887 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42889 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42891 # Put the nasty error message in config.log where it belongs
42892 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42895 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42896 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42897 wxUSE_LIBGNOMEPRINT
="no"
42900 elif test $pkg_failed = untried
; then
42902 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42903 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42904 wxUSE_LIBGNOMEPRINT
="no"
42908 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42909 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42910 { echo "$as_me:$LINENO: result: yes" >&5
42911 echo "${ECHO_T}yes" >&6; }
42913 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42914 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42915 cat >>confdefs.h
<<\_ACEOF
42916 #define wxUSE_LIBGNOMEPRINT 1
42924 if test "$wxUSE_MIMETYPE" = "yes" ; then
42925 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42929 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42930 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42932 if test -n "$PKG_CONFIG"; then
42933 if test -n "$GNOMEVFS_CFLAGS"; then
42934 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42936 if test -n "$PKG_CONFIG" && \
42937 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42938 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42941 (exit $ac_status); }; then
42942 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42950 if test -n "$PKG_CONFIG"; then
42951 if test -n "$GNOMEVFS_LIBS"; then
42952 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42954 if test -n "$PKG_CONFIG" && \
42955 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42956 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42959 (exit $ac_status); }; then
42960 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42971 if test $pkg_failed = yes; then
42973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42974 _pkg_short_errors_supported
=yes
42976 _pkg_short_errors_supported
=no
42978 if test $_pkg_short_errors_supported = yes; then
42979 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42981 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42983 # Put the nasty error message in config.log where it belongs
42984 echo "$GNOMEVFS_PKG_ERRORS" >&5
42987 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42988 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42989 wxUSE_LIBGNOMEVFS
="no"
42992 elif test $pkg_failed = untried
; then
42994 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42995 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42996 wxUSE_LIBGNOMEVFS
="no"
43000 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43001 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43002 { echo "$as_me:$LINENO: result: yes" >&5
43003 echo "${ECHO_T}yes" >&6; }
43005 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43006 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43007 cat >>confdefs.h
<<\_ACEOF
43008 #define wxUSE_LIBGNOMEVFS 1
43016 if test "$wxUSE_LIBHILDON" = "yes" ; then
43019 { echo "$as_me:$LINENO: checking for HILDON" >&5
43020 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43022 if test -n "$PKG_CONFIG"; then
43023 if test -n "$HILDON_CFLAGS"; then
43024 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43026 if test -n "$PKG_CONFIG" && \
43027 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43028 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43031 (exit $ac_status); }; then
43032 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43040 if test -n "$PKG_CONFIG"; then
43041 if test -n "$HILDON_LIBS"; then
43042 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43044 if test -n "$PKG_CONFIG" && \
43045 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43046 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43049 (exit $ac_status); }; then
43050 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43061 if test $pkg_failed = yes; then
43063 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43064 _pkg_short_errors_supported
=yes
43066 _pkg_short_errors_supported
=no
43068 if test $_pkg_short_errors_supported = yes; then
43069 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43071 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43073 # Put the nasty error message in config.log where it belongs
43074 echo "$HILDON_PKG_ERRORS" >&5
43077 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43078 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43079 wxUSE_LIBHILDON
="no"
43082 elif test $pkg_failed = untried
; then
43084 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43085 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43086 wxUSE_LIBHILDON
="no"
43090 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43091 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43092 { echo "$as_me:$LINENO: result: yes" >&5
43093 echo "${ECHO_T}yes" >&6; }
43095 EXTRALIBS_HILDON
="$HILDON_LIBS"
43096 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43097 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43098 cat >>confdefs.h
<<\_ACEOF
43099 #define wxUSE_LIBHILDON 1
43107 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43108 cat >>confdefs.h
<<\_ACEOF
43109 #define wxUSE_CMDLINE_PARSER 1
43114 if test "$wxUSE_STOPWATCH" = "yes"; then
43115 cat >>confdefs.h
<<\_ACEOF
43116 #define wxUSE_STOPWATCH 1
43121 if test "$wxUSE_DATETIME" = "yes"; then
43122 cat >>confdefs.h
<<\_ACEOF
43123 #define wxUSE_DATETIME 1
43128 if test "$wxUSE_FILE" = "yes"; then
43129 cat >>confdefs.h
<<\_ACEOF
43130 #define wxUSE_FILE 1
43135 if test "$wxUSE_FFILE" = "yes"; then
43136 cat >>confdefs.h
<<\_ACEOF
43137 #define wxUSE_FFILE 1
43142 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43143 if test "$wxUSE_STREAMS" != yes; then
43144 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43145 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43146 wxUSE_ARCHIVE_STREAMS
=no
43148 cat >>confdefs.h
<<\_ACEOF
43149 #define wxUSE_ARCHIVE_STREAMS 1
43155 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43156 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43157 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43158 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43159 elif test "$wxUSE_ZLIB" = "no"; then
43160 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43161 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43163 cat >>confdefs.h
<<\_ACEOF
43164 #define wxUSE_ZIPSTREAM 1
43170 if test "$wxUSE_TARSTREAM" = "yes"; then
43171 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43172 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43173 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43175 cat >>confdefs.h
<<\_ACEOF
43176 #define wxUSE_TARSTREAM 1
43182 if test "$wxUSE_FILESYSTEM" = "yes"; then
43183 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43184 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43185 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43186 wxUSE_FILESYSTEM
=no
43188 cat >>confdefs.h
<<\_ACEOF
43189 #define wxUSE_FILESYSTEM 1
43195 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43196 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43197 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43198 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43200 cat >>confdefs.h
<<\_ACEOF
43201 #define wxUSE_FS_ARCHIVE 1
43207 if test "$wxUSE_FS_ZIP" = "yes"; then
43208 if test "$wxUSE_FS_ARCHIVE" != yes; then
43209 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43210 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43212 cat >>confdefs.h
<<\_ACEOF
43213 #define wxUSE_FS_ZIP 1
43219 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43220 if test "$USE_UNIX" != 1; then
43221 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43222 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43223 wxUSE_ON_FATAL_EXCEPTION
=no
43225 cat >>confdefs.h
<<\_ACEOF
43226 #define wxUSE_ON_FATAL_EXCEPTION 1
43232 if test "$wxUSE_STACKWALKER" = "yes"; then
43233 cat >>confdefs.h
<<\_ACEOF
43234 #define wxUSE_STACKWALKER 1
43239 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43240 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43241 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43242 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43243 wxUSE_DEBUGREPORT
=no
43245 cat >>confdefs.h
<<\_ACEOF
43246 #define wxUSE_DEBUGREPORT 1
43249 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43250 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43255 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43256 cat >>confdefs.h
<<\_ACEOF
43257 #define wxUSE_SNGLINST_CHECKER 1
43262 if test "$wxUSE_BUSYINFO" = "yes"; then
43263 cat >>confdefs.h
<<\_ACEOF
43264 #define wxUSE_BUSYINFO 1
43269 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43270 cat >>confdefs.h
<<\_ACEOF
43271 #define wxUSE_STD_IOSTREAM 1
43276 if test "$wxUSE_STD_STRING" = "yes"; then
43277 cat >>confdefs.h
<<\_ACEOF
43278 #define wxUSE_STD_STRING 1
43283 if test "$wxUSE_STDPATHS" = "yes"; then
43284 cat >>confdefs.h
<<\_ACEOF
43285 #define wxUSE_STDPATHS 1
43290 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43291 cat >>confdefs.h
<<\_ACEOF
43292 #define wxUSE_TEXTBUFFER 1
43297 if test "$wxUSE_TEXTFILE" = "yes"; then
43298 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43299 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43300 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43302 cat >>confdefs.h
<<\_ACEOF
43303 #define wxUSE_TEXTFILE 1
43309 if test "$wxUSE_CONFIG" = "yes" ; then
43310 if test "$wxUSE_TEXTFILE" != "yes"; then
43311 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43312 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43314 cat >>confdefs.h
<<\_ACEOF
43315 #define wxUSE_CONFIG 1
43318 cat >>confdefs.h
<<\_ACEOF
43319 #define wxUSE_CONFIG_NATIVE 1
43322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43326 if test "$wxUSE_INTL" = "yes" ; then
43327 if test "$wxUSE_FILE" != "yes"; then
43328 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43329 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43331 cat >>confdefs.h
<<\_ACEOF
43332 #define wxUSE_INTL 1
43335 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43336 GUIDIST
="$GUIDIST INTL_DIST"
43340 if test "$wxUSE_XLOCALE" = "yes" ; then
43341 cat >>confdefs.h
<<\_ACEOF
43342 #define wxUSE_XLOCALE 1
43345 { echo "$as_me:$LINENO: checking for locale_t" >&5
43346 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43347 if test "${ac_cv_type_locale_t+set}" = set; then
43348 echo $ECHO_N "(cached) $ECHO_C" >&6
43350 cat >conftest.
$ac_ext <<_ACEOF
43353 cat confdefs.h
>>conftest.
$ac_ext
43354 cat >>conftest.
$ac_ext <<_ACEOF
43355 /* end confdefs.h. */
43356 #include <xlocale.h>
43357 #include <locale.h>
43359 typedef locale_t ac__type_new_;
43363 if ((ac__type_new_ *) 0)
43365 if (sizeof (ac__type_new_))
43371 rm -f conftest.
$ac_objext
43372 if { (ac_try
="$ac_compile"
43373 case "(($ac_try" in
43374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43375 *) ac_try_echo=$ac_try;;
43377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43378 (eval "$ac_compile") 2>conftest.er1
43380 grep -v '^ *+' conftest.er1 >conftest.err
43382 cat conftest.err >&5
43383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43384 (exit $ac_status); } && {
43385 test -z "$ac_c_werror_flag" ||
43386 test ! -s conftest.err
43387 } && test -s conftest.$ac_objext; then
43388 ac_cv_type_locale_t=yes
43390 echo "$as_me: failed program was:" >&5
43391 sed 's/^/| /' conftest.$ac_ext >&5
43393 ac_cv_type_locale_t=no
43396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43398 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43399 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43400 if test $ac_cv_type_locale_t = yes; then
43402 cat >>confdefs.h <<_ACEOF
43403 #define HAVE_LOCALE_T 1
43411 if test "$wxUSE_LOG" = "yes"; then
43412 cat >>confdefs.h <<\_ACEOF
43413 #define wxUSE_LOG 1
43417 if test "$wxUSE_LOGGUI" = "yes"; then
43418 cat >>confdefs.h <<\_ACEOF
43419 #define wxUSE_LOGGUI 1
43424 if test "$wxUSE_LOGWINDOW" = "yes"; then
43425 cat >>confdefs.h <<\_ACEOF
43426 #define wxUSE_LOGWINDOW 1
43431 if test "$wxUSE_LOGDIALOG" = "yes"; then
43432 cat >>confdefs.h <<\_ACEOF
43433 #define wxUSE_LOG_DIALOG 1
43438 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43441 if test "$wxUSE_LONGLONG" = "yes"; then
43442 cat >>confdefs.h <<\_ACEOF
43443 #define wxUSE_LONGLONG 1
43448 if test "$wxUSE_GEOMETRY" = "yes"; then
43449 cat >>confdefs.h <<\_ACEOF
43450 #define wxUSE_GEOMETRY 1
43455 if test "$wxUSE_BASE64" = "yes"; then
43456 cat >>confdefs.h <<\_ACEOF
43457 #define wxUSE_BASE64 1
43462 if test "$wxUSE_STREAMS" = "yes" ; then
43463 cat >>confdefs.h <<\_ACEOF
43464 #define wxUSE_STREAMS 1
43469 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43470 cat >>confdefs.h <<\_ACEOF
43471 #define wxUSE_PRINTF_POS_PARAMS 1
43476 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43477 cat >>confdefs.h <<\_ACEOF
43478 #define wxUSE_OBJC_UNIQUIFYING 1
43484 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43485 cat >>confdefs.h <<\_ACEOF
43486 #define wxUSE_CONSOLE_EVENTLOOP 1
43490 if test "$wxUSE_UNIX" = "yes"; then
43491 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43492 cat >>confdefs.h <<\_ACEOF
43493 #define wxUSE_SELECT_DISPATCHER 1
43498 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43500 for ac_header in sys/epoll.h
43502 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43503 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43505 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43506 echo $ECHO_N "(cached) $ECHO_C" >&6
43508 cat >conftest.$ac_ext <<_ACEOF
43511 cat confdefs.h >>conftest.$ac_ext
43512 cat >>conftest.$ac_ext <<_ACEOF
43513 /* end confdefs.h. */
43514 $ac_includes_default
43516 #include <$ac_header>
43518 rm -f conftest.$ac_objext
43519 if { (ac_try="$ac_compile"
43520 case "(($ac_try" in
43521 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43522 *) ac_try_echo
=$ac_try;;
43524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43525 (eval "$ac_compile") 2>conftest.er1
43527 grep -v '^ *+' conftest.er1
>conftest.err
43529 cat conftest.err
>&5
43530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43531 (exit $ac_status); } && {
43532 test -z "$ac_c_werror_flag" ||
43533 test ! -s conftest.err
43534 } && test -s conftest.
$ac_objext; then
43535 eval "$as_ac_Header=yes"
43537 echo "$as_me: failed program was:" >&5
43538 sed 's/^/| /' conftest.
$ac_ext >&5
43540 eval "$as_ac_Header=no"
43543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43545 ac_res
=`eval echo '${'$as_ac_Header'}'`
43546 { echo "$as_me:$LINENO: result: $ac_res" >&5
43547 echo "${ECHO_T}$ac_res" >&6; }
43548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43549 cat >>confdefs.h
<<_ACEOF
43550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43557 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43558 cat >>confdefs.h
<<\_ACEOF
43559 #define wxUSE_EPOLL_DISPATCHER 1
43563 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43564 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43573 for ac_func
in gettimeofday ftime
43575 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43576 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43578 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43579 echo $ECHO_N "(cached) $ECHO_C" >&6
43581 cat >conftest.
$ac_ext <<_ACEOF
43584 cat confdefs.h
>>conftest.
$ac_ext
43585 cat >>conftest.
$ac_ext <<_ACEOF
43586 /* end confdefs.h. */
43587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43589 #define $ac_func innocuous_$ac_func
43591 /* System header to define __stub macros and hopefully few prototypes,
43592 which can conflict with char $ac_func (); below.
43593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43594 <limits.h> exists even on freestanding compilers. */
43597 # include <limits.h>
43599 # include <assert.h>
43604 /* Override any GCC internal prototype to avoid an error.
43605 Use char because int might match the return type of a GCC
43606 builtin and then its argument prototype would still apply. */
43611 /* The GNU C library defines this for functions which it implements
43612 to always fail with ENOSYS. Some functions are actually named
43613 something starting with __ and the normal name is an alias. */
43614 #if defined __stub_$ac_func || defined __stub___$ac_func
43621 return $ac_func ();
43626 rm -f conftest.
$ac_objext conftest
$ac_exeext
43627 if { (ac_try
="$ac_link"
43628 case "(($ac_try" in
43629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43630 *) ac_try_echo=$ac_try;;
43632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43633 (eval "$ac_link") 2>conftest.er1
43635 grep -v '^ *+' conftest.er1 >conftest.err
43637 cat conftest.err >&5
43638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639 (exit $ac_status); } && {
43640 test -z "$ac_c_werror_flag" ||
43641 test ! -s conftest.err
43642 } && test -s conftest$ac_exeext &&
43643 $as_test_x conftest$ac_exeext; then
43644 eval "$as_ac_var=yes"
43646 echo "$as_me: failed program was:" >&5
43647 sed 's/^/| /' conftest.$ac_ext >&5
43649 eval "$as_ac_var=no"
43652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43653 conftest$ac_exeext conftest.$ac_ext
43655 ac_res=`eval echo '${'$as_ac_var'}'`
43656 { echo "$as_me:$LINENO: result: $ac_res" >&5
43657 echo "${ECHO_T}$ac_res" >&6; }
43658 if test `eval echo '${'$as_ac_var'}'` = yes; then
43659 cat >>confdefs.h <<_ACEOF
43660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43667 if test "$ac_cv_func_gettimeofday" = "yes"; then
43668 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43669 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43670 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43671 echo $ECHO_N "(cached) $ECHO_C" >&6
43674 cat >conftest.$ac_ext <<_ACEOF
43677 cat confdefs.h >>conftest.$ac_ext
43678 cat >>conftest.$ac_ext <<_ACEOF
43679 /* end confdefs.h. */
43681 #include <sys/time.h>
43682 #include <unistd.h>
43689 gettimeofday(&tv, NULL);
43695 rm -f conftest.$ac_objext
43696 if { (ac_try="$ac_compile"
43697 case "(($ac_try" in
43698 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43699 *) ac_try_echo
=$ac_try;;
43701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43702 (eval "$ac_compile") 2>conftest.er1
43704 grep -v '^ *+' conftest.er1
>conftest.err
43706 cat conftest.err
>&5
43707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43708 (exit $ac_status); } && {
43709 test -z "$ac_c_werror_flag" ||
43710 test ! -s conftest.err
43711 } && test -s conftest.
$ac_objext; then
43712 wx_cv_func_gettimeofday_has_2_args
=yes
43714 echo "$as_me: failed program was:" >&5
43715 sed 's/^/| /' conftest.
$ac_ext >&5
43717 cat >conftest.
$ac_ext <<_ACEOF
43720 cat confdefs.h
>>conftest.
$ac_ext
43721 cat >>conftest.
$ac_ext <<_ACEOF
43722 /* end confdefs.h. */
43724 #include <sys/time.h>
43725 #include <unistd.h>
43738 rm -f conftest.
$ac_objext
43739 if { (ac_try
="$ac_compile"
43740 case "(($ac_try" in
43741 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43742 *) ac_try_echo=$ac_try;;
43744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43745 (eval "$ac_compile") 2>conftest.er1
43747 grep -v '^ *+' conftest.er1 >conftest.err
43749 cat conftest.err >&5
43750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43751 (exit $ac_status); } && {
43752 test -z "$ac_c_werror_flag" ||
43753 test ! -s conftest.err
43754 } && test -s conftest.$ac_objext; then
43755 wx_cv_func_gettimeofday_has_2_args=no
43757 echo "$as_me: failed program was:" >&5
43758 sed 's/^/| /' conftest.$ac_ext >&5
43761 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43762 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43763 wx_cv_func_gettimeofday_has_2_args=unknown
43768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43775 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43776 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43778 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43779 cat >>confdefs.h <<\_ACEOF
43780 #define WX_GETTIMEOFDAY_NO_TZ 1
43786 if test "$wxUSE_DATETIME" = "yes"; then
43787 { echo "$as_me:$LINENO: checking for strptime" >&5
43788 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43789 if test "${ac_cv_func_strptime+set}" = set; then
43790 echo $ECHO_N "(cached) $ECHO_C" >&6
43792 cat >conftest.$ac_ext <<_ACEOF
43795 cat confdefs.h >>conftest.$ac_ext
43796 cat >>conftest.$ac_ext <<_ACEOF
43797 /* end confdefs.h. */
43798 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43800 #define strptime innocuous_strptime
43802 /* System header to define __stub macros and hopefully few prototypes,
43803 which can conflict with char strptime (); below.
43804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43805 <limits.h> exists even on freestanding compilers. */
43808 # include <limits.h>
43810 # include <assert.h>
43815 /* Override any GCC internal prototype to avoid an error.
43816 Use char because int might match the return type of a GCC
43817 builtin and then its argument prototype would still apply. */
43822 /* The GNU C library defines this for functions which it implements
43823 to always fail with ENOSYS. Some functions are actually named
43824 something starting with __ and the normal name is an alias. */
43825 #if defined __stub_strptime || defined __stub___strptime
43832 return strptime ();
43837 rm -f conftest.$ac_objext conftest$ac_exeext
43838 if { (ac_try="$ac_link"
43839 case "(($ac_try" in
43840 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43841 *) ac_try_echo
=$ac_try;;
43843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43844 (eval "$ac_link") 2>conftest.er1
43846 grep -v '^ *+' conftest.er1
>conftest.err
43848 cat conftest.err
>&5
43849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43850 (exit $ac_status); } && {
43851 test -z "$ac_c_werror_flag" ||
43852 test ! -s conftest.err
43853 } && test -s conftest
$ac_exeext &&
43854 $as_test_x conftest
$ac_exeext; then
43855 ac_cv_func_strptime
=yes
43857 echo "$as_me: failed program was:" >&5
43858 sed 's/^/| /' conftest.
$ac_ext >&5
43860 ac_cv_func_strptime
=no
43863 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43864 conftest
$ac_exeext conftest.
$ac_ext
43866 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43867 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43869 if test "$ac_cv_func_strptime" = "yes"; then
43870 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43871 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43872 if test "${wx_cv_func_strptime_decl+set}" = set; then
43873 echo $ECHO_N "(cached) $ECHO_C" >&6
43877 ac_cpp
='$CXXCPP $CPPFLAGS'
43878 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43879 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43880 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43882 cat >conftest.
$ac_ext <<_ACEOF
43885 cat confdefs.h
>>conftest.
$ac_ext
43886 cat >>conftest.
$ac_ext <<_ACEOF
43887 /* end confdefs.h. */
43896 strptime("foo", "bar", &t);
43902 rm -f conftest.
$ac_objext
43903 if { (ac_try
="$ac_compile"
43904 case "(($ac_try" in
43905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43906 *) ac_try_echo=$ac_try;;
43908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43909 (eval "$ac_compile") 2>conftest.er1
43911 grep -v '^ *+' conftest.er1 >conftest.err
43913 cat conftest.err >&5
43914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43915 (exit $ac_status); } && {
43916 test -z "$ac_cxx_werror_flag" ||
43917 test ! -s conftest.err
43918 } && test -s conftest.$ac_objext; then
43919 wx_cv_func_strptime_decl=yes
43921 echo "$as_me: failed program was:" >&5
43922 sed 's/^/| /' conftest.$ac_ext >&5
43924 wx_cv_func_strptime_decl=no
43928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43930 ac_cpp='$CPP $CPPFLAGS'
43931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43938 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43939 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43941 if test "$wx_cv_func_strptime_decl" = "yes"; then
43942 cat >>confdefs.h <<\_ACEOF
43943 #define HAVE_STRPTIME_DECL 1
43947 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43949 if test "$ac_cv_func_strptime" = "yes"; then
43950 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43951 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43952 if test "${wx_cv_func_strptime_ok+set}" = set; then
43953 echo $ECHO_N "(cached) $ECHO_C" >&6
43955 if test "$cross_compiling" = yes; then
43956 wx_cv_func_strptime_ok=no
43959 cat >conftest.$ac_ext <<_ACEOF
43961 #include <stdlib.h>
43963 #include "confdefs.h"
43970 return !!strptime("", "%x", &t);
43974 rm -f conftest$ac_exeext
43975 if { (ac_try="$ac_link"
43976 case "(($ac_try" in
43977 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43978 *) ac_try_echo
=$ac_try;;
43980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43981 (eval "$ac_link") 2>&5
43983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43984 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43985 { (case "(($ac_try" in
43986 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43987 *) ac_try_echo=$ac_try;;
43989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43990 (eval "$ac_try") 2>&5
43992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43993 (exit $ac_status); }; }; then
43994 wx_cv_func_strptime_ok=yes
43996 echo "$as_me: program exited with status $ac_status" >&5
43997 echo "$as_me: failed program was:" >&5
43998 sed 's/^/| /' conftest.$ac_ext >&5
44000 ( exit $ac_status )
44001 wx_cv_func_strptime_ok=no
44003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44009 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
44010 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
44012 if test "$wx_cv_func_strptime_ok" = "yes"; then
44013 cat >>confdefs.h <<\_ACEOF
44014 #define HAVE_STRPTIME 1
44020 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44021 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44022 if test "${wx_cv_var_timezone+set}" = set; then
44023 echo $ECHO_N "(cached) $ECHO_C" >&6
44027 ac_cpp='$CXXCPP $CPPFLAGS'
44028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44032 cat >conftest.$ac_ext <<_ACEOF
44035 cat confdefs.h >>conftest.$ac_ext
44036 cat >>conftest.$ac_ext <<_ACEOF
44037 /* end confdefs.h. */
44052 rm -f conftest.$ac_objext
44053 if { (ac_try="$ac_compile"
44054 case "(($ac_try" in
44055 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44056 *) ac_try_echo
=$ac_try;;
44058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44059 (eval "$ac_compile") 2>conftest.er1
44061 grep -v '^ *+' conftest.er1
>conftest.err
44063 cat conftest.err
>&5
44064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44065 (exit $ac_status); } && {
44066 test -z "$ac_cxx_werror_flag" ||
44067 test ! -s conftest.err
44068 } && test -s conftest.
$ac_objext; then
44070 wx_cv_var_timezone
=timezone
44073 echo "$as_me: failed program was:" >&5
44074 sed 's/^/| /' conftest.
$ac_ext >&5
44077 cat >conftest.
$ac_ext <<_ACEOF
44080 cat confdefs.h
>>conftest.
$ac_ext
44081 cat >>conftest.
$ac_ext <<_ACEOF
44082 /* end confdefs.h. */
44097 rm -f conftest.
$ac_objext
44098 if { (ac_try
="$ac_compile"
44099 case "(($ac_try" in
44100 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44101 *) ac_try_echo=$ac_try;;
44103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44104 (eval "$ac_compile") 2>conftest.er1
44106 grep -v '^ *+' conftest.er1 >conftest.err
44108 cat conftest.err >&5
44109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44110 (exit $ac_status); } && {
44111 test -z "$ac_cxx_werror_flag" ||
44112 test ! -s conftest.err
44113 } && test -s conftest.$ac_objext; then
44115 wx_cv_var_timezone=_timezone
44118 echo "$as_me: failed program was:" >&5
44119 sed 's/^/| /' conftest.$ac_ext >&5
44122 cat >conftest.$ac_ext <<_ACEOF
44125 cat confdefs.h >>conftest.$ac_ext
44126 cat >>conftest.$ac_ext <<_ACEOF
44127 /* end confdefs.h. */
44142 rm -f conftest.$ac_objext
44143 if { (ac_try="$ac_compile"
44144 case "(($ac_try" in
44145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44146 *) ac_try_echo
=$ac_try;;
44148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44149 (eval "$ac_compile") 2>conftest.er1
44151 grep -v '^ *+' conftest.er1
>conftest.err
44153 cat conftest.err
>&5
44154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44155 (exit $ac_status); } && {
44156 test -z "$ac_cxx_werror_flag" ||
44157 test ! -s conftest.err
44158 } && test -s conftest.
$ac_objext; then
44160 wx_cv_var_timezone
=__timezone
44163 echo "$as_me: failed program was:" >&5
44164 sed 's/^/| /' conftest.
$ac_ext >&5
44167 if test "$USE_DOS" = 0 ; then
44168 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44169 echo "$as_me: WARNING: no timezone variable" >&2;}
44175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44187 ac_cpp
='$CPP $CPPFLAGS'
44188 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44189 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44190 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44195 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44196 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44198 if test "x$wx_cv_var_timezone" != x
; then
44199 cat >>confdefs.h
<<_ACEOF
44200 #define WX_TIMEZONE $wx_cv_var_timezone
44206 for ac_func
in localtime
44208 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44209 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44211 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44212 echo $ECHO_N "(cached) $ECHO_C" >&6
44214 cat >conftest.
$ac_ext <<_ACEOF
44217 cat confdefs.h
>>conftest.
$ac_ext
44218 cat >>conftest.
$ac_ext <<_ACEOF
44219 /* end confdefs.h. */
44220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44222 #define $ac_func innocuous_$ac_func
44224 /* System header to define __stub macros and hopefully few prototypes,
44225 which can conflict with char $ac_func (); below.
44226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44227 <limits.h> exists even on freestanding compilers. */
44230 # include <limits.h>
44232 # include <assert.h>
44237 /* Override any GCC internal prototype to avoid an error.
44238 Use char because int might match the return type of a GCC
44239 builtin and then its argument prototype would still apply. */
44244 /* The GNU C library defines this for functions which it implements
44245 to always fail with ENOSYS. Some functions are actually named
44246 something starting with __ and the normal name is an alias. */
44247 #if defined __stub_$ac_func || defined __stub___$ac_func
44254 return $ac_func ();
44259 rm -f conftest.
$ac_objext conftest
$ac_exeext
44260 if { (ac_try
="$ac_link"
44261 case "(($ac_try" in
44262 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44263 *) ac_try_echo=$ac_try;;
44265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44266 (eval "$ac_link") 2>conftest.er1
44268 grep -v '^ *+' conftest.er1 >conftest.err
44270 cat conftest.err >&5
44271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44272 (exit $ac_status); } && {
44273 test -z "$ac_c_werror_flag" ||
44274 test ! -s conftest.err
44275 } && test -s conftest$ac_exeext &&
44276 $as_test_x conftest$ac_exeext; then
44277 eval "$as_ac_var=yes"
44279 echo "$as_me: failed program was:" >&5
44280 sed 's/^/| /' conftest.$ac_ext >&5
44282 eval "$as_ac_var=no"
44285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44286 conftest$ac_exeext conftest.$ac_ext
44288 ac_res=`eval echo '${'$as_ac_var'}'`
44289 { echo "$as_me:$LINENO: result: $ac_res" >&5
44290 echo "${ECHO_T}$ac_res" >&6; }
44291 if test `eval echo '${'$as_ac_var'}'` = yes; then
44292 cat >>confdefs.h <<_ACEOF
44293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44300 if test "$ac_cv_func_localtime" = "yes"; then
44301 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44302 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44303 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44304 echo $ECHO_N "(cached) $ECHO_C" >&6
44307 cat >conftest.$ac_ext <<_ACEOF
44310 cat confdefs.h >>conftest.$ac_ext
44311 cat >>conftest.$ac_ext <<_ACEOF
44312 /* end confdefs.h. */
44327 rm -f conftest.$ac_objext
44328 if { (ac_try="$ac_compile"
44329 case "(($ac_try" in
44330 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44331 *) ac_try_echo
=$ac_try;;
44333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44334 (eval "$ac_compile") 2>conftest.er1
44336 grep -v '^ *+' conftest.er1
>conftest.err
44338 cat conftest.err
>&5
44339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44340 (exit $ac_status); } && {
44341 test -z "$ac_c_werror_flag" ||
44342 test ! -s conftest.err
44343 } && test -s conftest.
$ac_objext; then
44345 wx_cv_struct_tm_has_gmtoff
=yes
44348 echo "$as_me: failed program was:" >&5
44349 sed 's/^/| /' conftest.
$ac_ext >&5
44351 wx_cv_struct_tm_has_gmtoff
=no
44355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44358 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44359 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44362 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44363 cat >>confdefs.h
<<\_ACEOF
44364 #define WX_GMTOFF_IN_TM 1
44369 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44373 if test "$wxUSE_SOCKETS" = "yes"; then
44374 if test "$wxUSE_MGL" = 1; then
44375 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44376 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44381 if test "$wxUSE_SOCKETS" = "yes"; then
44382 if test "$TOOLKIT" != "MSW"; then
44383 { echo "$as_me:$LINENO: checking for socket" >&5
44384 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44385 if test "${ac_cv_func_socket+set}" = set; then
44386 echo $ECHO_N "(cached) $ECHO_C" >&6
44388 cat >conftest.
$ac_ext <<_ACEOF
44391 cat confdefs.h
>>conftest.
$ac_ext
44392 cat >>conftest.
$ac_ext <<_ACEOF
44393 /* end confdefs.h. */
44394 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44396 #define socket innocuous_socket
44398 /* System header to define __stub macros and hopefully few prototypes,
44399 which can conflict with char socket (); below.
44400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44401 <limits.h> exists even on freestanding compilers. */
44404 # include <limits.h>
44406 # include <assert.h>
44411 /* Override any GCC internal prototype to avoid an error.
44412 Use char because int might match the return type of a GCC
44413 builtin and then its argument prototype would still apply. */
44418 /* The GNU C library defines this for functions which it implements
44419 to always fail with ENOSYS. Some functions are actually named
44420 something starting with __ and the normal name is an alias. */
44421 #if defined __stub_socket || defined __stub___socket
44433 rm -f conftest.
$ac_objext conftest
$ac_exeext
44434 if { (ac_try
="$ac_link"
44435 case "(($ac_try" in
44436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44437 *) ac_try_echo=$ac_try;;
44439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44440 (eval "$ac_link") 2>conftest.er1
44442 grep -v '^ *+' conftest.er1 >conftest.err
44444 cat conftest.err >&5
44445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44446 (exit $ac_status); } && {
44447 test -z "$ac_c_werror_flag" ||
44448 test ! -s conftest.err
44449 } && test -s conftest$ac_exeext &&
44450 $as_test_x conftest$ac_exeext; then
44451 ac_cv_func_socket=yes
44453 echo "$as_me: failed program was:" >&5
44454 sed 's/^/| /' conftest.$ac_ext >&5
44456 ac_cv_func_socket=no
44459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44460 conftest$ac_exeext conftest.$ac_ext
44462 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44463 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44464 if test $ac_cv_func_socket = yes; then
44468 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44469 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44470 if test "${ac_cv_lib_socket_socket+set}" = set; then
44471 echo $ECHO_N "(cached) $ECHO_C" >&6
44473 ac_check_lib_save_LIBS=$LIBS
44474 LIBS="-lsocket $LIBS"
44475 cat >conftest.$ac_ext <<_ACEOF
44478 cat confdefs.h >>conftest.$ac_ext
44479 cat >>conftest.$ac_ext <<_ACEOF
44480 /* end confdefs.h. */
44482 /* Override any GCC internal prototype to avoid an error.
44483 Use char because int might match the return type of a GCC
44484 builtin and then its argument prototype would still apply. */
44497 rm -f conftest.$ac_objext conftest$ac_exeext
44498 if { (ac_try="$ac_link"
44499 case "(($ac_try" in
44500 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44501 *) ac_try_echo
=$ac_try;;
44503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44504 (eval "$ac_link") 2>conftest.er1
44506 grep -v '^ *+' conftest.er1
>conftest.err
44508 cat conftest.err
>&5
44509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44510 (exit $ac_status); } && {
44511 test -z "$ac_c_werror_flag" ||
44512 test ! -s conftest.err
44513 } && test -s conftest
$ac_exeext &&
44514 $as_test_x conftest
$ac_exeext; then
44515 ac_cv_lib_socket_socket
=yes
44517 echo "$as_me: failed program was:" >&5
44518 sed 's/^/| /' conftest.
$ac_ext >&5
44520 ac_cv_lib_socket_socket
=no
44523 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44524 conftest
$ac_exeext conftest.
$ac_ext
44525 LIBS
=$ac_check_lib_save_LIBS
44527 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44528 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44529 if test $ac_cv_lib_socket_socket = yes; then
44530 if test "$INET_LINK" != " -lsocket"; then
44531 INET_LINK
="$INET_LINK -lsocket"
44535 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44536 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44549 if test "$wxUSE_SOCKETS" = "yes" ; then
44550 if test "$TOOLKIT" != "MSW"; then
44551 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44552 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44553 if test "${wx_cv_type_getsockname3+set}" = set; then
44554 echo $ECHO_N "(cached) $ECHO_C" >&6
44558 ac_cpp
='$CXXCPP $CPPFLAGS'
44559 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44560 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44561 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44563 cat >conftest.
$ac_ext <<_ACEOF
44566 cat confdefs.h
>>conftest.
$ac_ext
44567 cat >>conftest.
$ac_ext <<_ACEOF
44568 /* end confdefs.h. */
44570 #include <sys/types.h>
44571 #include <sys/socket.h>
44578 getsockname(0, 0, &len);
44584 rm -f conftest.
$ac_objext
44585 if { (ac_try
="$ac_compile"
44586 case "(($ac_try" in
44587 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44588 *) ac_try_echo=$ac_try;;
44590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44591 (eval "$ac_compile") 2>conftest.er1
44593 grep -v '^ *+' conftest.er1 >conftest.err
44595 cat conftest.err >&5
44596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44597 (exit $ac_status); } && {
44598 test -z "$ac_cxx_werror_flag" ||
44599 test ! -s conftest.err
44600 } && test -s conftest.$ac_objext; then
44601 wx_cv_type_getsockname3=socklen_t
44603 echo "$as_me: failed program was:" >&5
44604 sed 's/^/| /' conftest.$ac_ext >&5
44607 CFLAGS_OLD="$CFLAGS"
44608 if test "$GCC" = yes ; then
44609 CFLAGS="-Werror $CFLAGS"
44612 cat >conftest.$ac_ext <<_ACEOF
44615 cat confdefs.h >>conftest.$ac_ext
44616 cat >>conftest.$ac_ext <<_ACEOF
44617 /* end confdefs.h. */
44619 #include <sys/types.h>
44620 #include <sys/socket.h>
44627 getsockname(0, 0, &len);
44633 rm -f conftest.$ac_objext
44634 if { (ac_try="$ac_compile"
44635 case "(($ac_try" in
44636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44637 *) ac_try_echo
=$ac_try;;
44639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44640 (eval "$ac_compile") 2>conftest.er1
44642 grep -v '^ *+' conftest.er1
>conftest.err
44644 cat conftest.err
>&5
44645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44646 (exit $ac_status); } && {
44647 test -z "$ac_cxx_werror_flag" ||
44648 test ! -s conftest.err
44649 } && test -s conftest.
$ac_objext; then
44650 wx_cv_type_getsockname3
=size_t
44652 echo "$as_me: failed program was:" >&5
44653 sed 's/^/| /' conftest.
$ac_ext >&5
44655 cat >conftest.
$ac_ext <<_ACEOF
44658 cat confdefs.h
>>conftest.
$ac_ext
44659 cat >>conftest.
$ac_ext <<_ACEOF
44660 /* end confdefs.h. */
44662 #include <sys/types.h>
44663 #include <sys/socket.h>
44670 getsockname(0, 0, &len);
44676 rm -f conftest.
$ac_objext
44677 if { (ac_try
="$ac_compile"
44678 case "(($ac_try" in
44679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44680 *) ac_try_echo=$ac_try;;
44682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44683 (eval "$ac_compile") 2>conftest.er1
44685 grep -v '^ *+' conftest.er1 >conftest.err
44687 cat conftest.err >&5
44688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44689 (exit $ac_status); } && {
44690 test -z "$ac_cxx_werror_flag" ||
44691 test ! -s conftest.err
44692 } && test -s conftest.$ac_objext; then
44693 wx_cv_type_getsockname3=int
44695 echo "$as_me: failed program was:" >&5
44696 sed 's/^/| /' conftest.$ac_ext >&5
44698 wx_cv_type_getsockname3=unknown
44702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44708 CFLAGS="$CFLAGS_OLD"
44713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44715 ac_cpp='$CPP $CPPFLAGS'
44716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44722 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44723 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44725 if test "$wx_cv_type_getsockname3" = "unknown"; then
44727 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44728 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44730 cat >>confdefs.h <<_ACEOF
44731 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44735 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44736 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44737 if test "${wx_cv_type_getsockopt5+set}" = set; then
44738 echo $ECHO_N "(cached) $ECHO_C" >&6
44742 ac_cpp='$CXXCPP $CPPFLAGS'
44743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44747 cat >conftest.$ac_ext <<_ACEOF
44750 cat confdefs.h >>conftest.$ac_ext
44751 cat >>conftest.$ac_ext <<_ACEOF
44752 /* end confdefs.h. */
44754 #include <sys/types.h>
44755 #include <sys/socket.h>
44762 getsockopt(0, 0, 0, 0, &len);
44768 rm -f conftest.$ac_objext
44769 if { (ac_try="$ac_compile"
44770 case "(($ac_try" in
44771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44772 *) ac_try_echo
=$ac_try;;
44774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44775 (eval "$ac_compile") 2>conftest.er1
44777 grep -v '^ *+' conftest.er1
>conftest.err
44779 cat conftest.err
>&5
44780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44781 (exit $ac_status); } && {
44782 test -z "$ac_cxx_werror_flag" ||
44783 test ! -s conftest.err
44784 } && test -s conftest.
$ac_objext; then
44785 wx_cv_type_getsockopt5
=socklen_t
44787 echo "$as_me: failed program was:" >&5
44788 sed 's/^/| /' conftest.
$ac_ext >&5
44791 cat >conftest.
$ac_ext <<_ACEOF
44794 cat confdefs.h
>>conftest.
$ac_ext
44795 cat >>conftest.
$ac_ext <<_ACEOF
44796 /* end confdefs.h. */
44798 #include <sys/types.h>
44799 #include <sys/socket.h>
44806 getsockopt(0, 0, 0, 0, &len);
44812 rm -f conftest.
$ac_objext
44813 if { (ac_try
="$ac_compile"
44814 case "(($ac_try" in
44815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44816 *) ac_try_echo=$ac_try;;
44818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44819 (eval "$ac_compile") 2>conftest.er1
44821 grep -v '^ *+' conftest.er1 >conftest.err
44823 cat conftest.err >&5
44824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44825 (exit $ac_status); } && {
44826 test -z "$ac_cxx_werror_flag" ||
44827 test ! -s conftest.err
44828 } && test -s conftest.$ac_objext; then
44829 wx_cv_type_getsockopt5=size_t
44831 echo "$as_me: failed program was:" >&5
44832 sed 's/^/| /' conftest.$ac_ext >&5
44834 cat >conftest.$ac_ext <<_ACEOF
44837 cat confdefs.h >>conftest.$ac_ext
44838 cat >>conftest.$ac_ext <<_ACEOF
44839 /* end confdefs.h. */
44841 #include <sys/types.h>
44842 #include <sys/socket.h>
44849 getsockopt(0, 0, 0, 0, &len);
44855 rm -f conftest.$ac_objext
44856 if { (ac_try="$ac_compile"
44857 case "(($ac_try" in
44858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44859 *) ac_try_echo
=$ac_try;;
44861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44862 (eval "$ac_compile") 2>conftest.er1
44864 grep -v '^ *+' conftest.er1
>conftest.err
44866 cat conftest.err
>&5
44867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44868 (exit $ac_status); } && {
44869 test -z "$ac_cxx_werror_flag" ||
44870 test ! -s conftest.err
44871 } && test -s conftest.
$ac_objext; then
44872 wx_cv_type_getsockopt5
=int
44874 echo "$as_me: failed program was:" >&5
44875 sed 's/^/| /' conftest.
$ac_ext >&5
44877 wx_cv_type_getsockopt5
=unknown
44881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44892 ac_cpp
='$CPP $CPPFLAGS'
44893 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44894 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44895 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44899 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44900 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44902 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44904 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44905 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44907 cat >>confdefs.h
<<_ACEOF
44908 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44915 if test "$wxUSE_SOCKETS" = "yes" ; then
44916 if test "$wxUSE_IPV6" = "yes"; then
44917 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44918 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44919 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44920 echo $ECHO_N "(cached) $ECHO_C" >&6
44923 cat >conftest.
$ac_ext <<_ACEOF
44926 cat confdefs.h
>>conftest.
$ac_ext
44927 cat >>conftest.
$ac_ext <<_ACEOF
44928 /* end confdefs.h. */
44930 #include <sys/types.h>
44931 #include <sys/socket.h>
44932 #include <netinet/in.h>
44938 struct sockaddr_in6 sa6;
44944 rm -f conftest.
$ac_objext
44945 if { (ac_try
="$ac_compile"
44946 case "(($ac_try" in
44947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44948 *) ac_try_echo=$ac_try;;
44950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44951 (eval "$ac_compile") 2>conftest.er1
44953 grep -v '^ *+' conftest.er1 >conftest.err
44955 cat conftest.err >&5
44956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44957 (exit $ac_status); } && {
44958 test -z "$ac_c_werror_flag" ||
44959 test ! -s conftest.err
44960 } && test -s conftest.$ac_objext; then
44961 wx_cv_type_sockaddr_in6=yes
44963 echo "$as_me: failed program was:" >&5
44964 sed 's/^/| /' conftest.$ac_ext >&5
44966 wx_cv_type_sockaddr_in6=no
44970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44974 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44975 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44977 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44978 cat >>confdefs.h <<\_ACEOF
44979 #define wxUSE_IPV6 1
44983 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44984 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44988 cat >>confdefs.h <<\_ACEOF
44989 #define wxUSE_SOCKETS 1
44992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44995 if test "$wxUSE_PROTOCOL" = "yes"; then
44996 if test "$wxUSE_SOCKETS" != "yes"; then
44997 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44998 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45003 if test "$wxUSE_PROTOCOL" = "yes"; then
45004 cat >>confdefs.h <<\_ACEOF
45005 #define wxUSE_PROTOCOL 1
45009 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45010 cat >>confdefs.h <<\_ACEOF
45011 #define wxUSE_PROTOCOL_HTTP 1
45015 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define wxUSE_PROTOCOL_FTP 1
45021 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45022 cat >>confdefs.h <<\_ACEOF
45023 #define wxUSE_PROTOCOL_FILE 1
45028 if test "$wxUSE_FS_INET" = "yes"; then
45029 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45030 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45035 if test "$wxUSE_URL" = "yes"; then
45036 if test "$wxUSE_PROTOCOL" != "yes"; then
45037 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45038 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45041 if test "$wxUSE_URL" = "yes"; then
45042 cat >>confdefs.h <<\_ACEOF
45043 #define wxUSE_URL 1
45049 if test "$wxUSE_VARIANT" = "yes"; then
45050 cat >>confdefs.h <<\_ACEOF
45051 #define wxUSE_VARIANT 1
45056 if test "$wxUSE_FS_INET" = "yes"; then
45057 cat >>confdefs.h <<\_ACEOF
45058 #define wxUSE_FS_INET 1
45064 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45067 if test "$TOOLKIT" = "MSW"; then
45070 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45071 if test "$USE_DARWIN" = 1; then
45072 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45073 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45075 ac_cpp='$CXXCPP $CPPFLAGS'
45076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45080 cat >conftest.$ac_ext <<_ACEOF
45083 cat confdefs.h >>conftest.$ac_ext
45084 cat >>conftest.$ac_ext <<_ACEOF
45085 /* end confdefs.h. */
45086 #include <IOKit/hid/IOHIDLib.h>
45090 IOHIDQueueInterface *qi = NULL;
45091 IOHIDCallbackFunction cb = NULL;
45092 qi->setEventCallout(NULL, cb, NULL, NULL);
45097 rm -f conftest.$ac_objext
45098 if { (ac_try="$ac_compile"
45099 case "(($ac_try" in
45100 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45101 *) ac_try_echo
=$ac_try;;
45103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45104 (eval "$ac_compile") 2>conftest.er1
45106 grep -v '^ *+' conftest.er1
>conftest.err
45108 cat conftest.err
>&5
45109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45110 (exit $ac_status); } && {
45111 test -z "$ac_cxx_werror_flag" ||
45112 test ! -s conftest.err
45113 } && test -s conftest.
$ac_objext; then
45117 echo "$as_me: failed program was:" >&5
45118 sed 's/^/| /' conftest.
$ac_ext >&5
45123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45125 ac_cpp
='$CPP $CPPFLAGS'
45126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45130 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45131 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45135 if test "$wxUSE_MGL" != 1; then
45137 for ac_header
in linux
/joystick.h
45139 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45140 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45142 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45143 echo $ECHO_N "(cached) $ECHO_C" >&6
45145 cat >conftest.
$ac_ext <<_ACEOF
45148 cat confdefs.h
>>conftest.
$ac_ext
45149 cat >>conftest.
$ac_ext <<_ACEOF
45150 /* end confdefs.h. */
45151 $ac_includes_default
45153 #include <$ac_header>
45155 rm -f conftest.
$ac_objext
45156 if { (ac_try
="$ac_compile"
45157 case "(($ac_try" in
45158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45159 *) ac_try_echo=$ac_try;;
45161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45162 (eval "$ac_compile") 2>conftest.er1
45164 grep -v '^ *+' conftest.er1 >conftest.err
45166 cat conftest.err >&5
45167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45168 (exit $ac_status); } && {
45169 test -z "$ac_c_werror_flag" ||
45170 test ! -s conftest.err
45171 } && test -s conftest.$ac_objext; then
45172 eval "$as_ac_Header=yes"
45174 echo "$as_me: failed program was:" >&5
45175 sed 's/^/| /' conftest.$ac_ext >&5
45177 eval "$as_ac_Header=no"
45180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45182 ac_res=`eval echo '${'$as_ac_Header'}'`
45183 { echo "$as_me:$LINENO: result: $ac_res" >&5
45184 echo "${ECHO_T}$ac_res" >&6; }
45185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45186 cat >>confdefs.h <<_ACEOF
45187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45197 if test "$wxUSE_JOYSTICK" = "yes"; then
45198 cat >>confdefs.h <<\_ACEOF
45199 #define wxUSE_JOYSTICK 1
45202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45204 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45205 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45211 if test "$wxUSE_FONTENUM" = "yes" ; then
45212 cat >>confdefs.h <<\_ACEOF
45213 #define wxUSE_FONTENUM 1
45218 if test "$wxUSE_FONTMAP" = "yes" ; then
45219 cat >>confdefs.h <<\_ACEOF
45220 #define wxUSE_FONTMAP 1
45225 if test "$wxUSE_UNICODE" = "yes" ; then
45226 cat >>confdefs.h <<\_ACEOF
45227 #define wxUSE_UNICODE 1
45231 if test "$USE_WIN32" != 1; then
45232 wxUSE_UNICODE_MSLU=no
45235 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45236 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45237 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45238 if test "${ac_cv_lib_unicows_main+set}" = set; then
45239 echo $ECHO_N "(cached) $ECHO_C" >&6
45241 ac_check_lib_save_LIBS=$LIBS
45242 LIBS="-lunicows $LIBS"
45243 cat >conftest.$ac_ext <<_ACEOF
45246 cat confdefs.h >>conftest.$ac_ext
45247 cat >>conftest.$ac_ext <<_ACEOF
45248 /* end confdefs.h. */
45259 rm -f conftest.$ac_objext conftest$ac_exeext
45260 if { (ac_try="$ac_link"
45261 case "(($ac_try" in
45262 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45263 *) ac_try_echo
=$ac_try;;
45265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45266 (eval "$ac_link") 2>conftest.er1
45268 grep -v '^ *+' conftest.er1
>conftest.err
45270 cat conftest.err
>&5
45271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45272 (exit $ac_status); } && {
45273 test -z "$ac_c_werror_flag" ||
45274 test ! -s conftest.err
45275 } && test -s conftest
$ac_exeext &&
45276 $as_test_x conftest
$ac_exeext; then
45277 ac_cv_lib_unicows_main
=yes
45279 echo "$as_me: failed program was:" >&5
45280 sed 's/^/| /' conftest.
$ac_ext >&5
45282 ac_cv_lib_unicows_main
=no
45285 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45286 conftest
$ac_exeext conftest.
$ac_ext
45287 LIBS
=$ac_check_lib_save_LIBS
45289 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45290 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45291 if test $ac_cv_lib_unicows_main = yes; then
45293 cat >>confdefs.h
<<\_ACEOF
45294 #define wxUSE_UNICODE_MSLU 1
45300 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45301 Applications will only run on Windows NT/2000/XP!" >&5
45302 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45303 Applications will only run on Windows NT/2000/XP!" >&2;}
45304 wxUSE_UNICODE_MSLU
=no
45311 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45312 cat >>confdefs.h
<<\_ACEOF
45313 #define wxUSE_UNICODE_UTF8 1
45317 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45318 cat >>confdefs.h
<<\_ACEOF
45319 #define wxUSE_UTF8_LOCALE_ONLY 1
45326 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45327 cat >>confdefs.h
<<\_ACEOF
45328 #define wxUSE_CONSTRAINTS 1
45331 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45334 if test "$wxUSE_MDI" = "yes"; then
45335 cat >>confdefs.h
<<\_ACEOF
45336 #define wxUSE_MDI 1
45340 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45341 cat >>confdefs.h
<<\_ACEOF
45342 #define wxUSE_MDI_ARCHITECTURE 1
45345 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45349 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45350 cat >>confdefs.h
<<\_ACEOF
45351 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45357 if test "$wxUSE_HELP" = "yes"; then
45358 cat >>confdefs.h
<<\_ACEOF
45359 #define wxUSE_HELP 1
45362 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45364 if test "$wxUSE_MSW" = 1; then
45365 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45366 cat >>confdefs.h
<<\_ACEOF
45367 #define wxUSE_MS_HTML_HELP 1
45373 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45374 if test "$wxUSE_HTML" = "yes"; then
45375 cat >>confdefs.h
<<\_ACEOF
45376 #define wxUSE_WXHTML_HELP 1
45380 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45381 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45382 wxUSE_WXHTML_HELP
=no
45387 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45388 cat >>confdefs.h
<<\_ACEOF
45389 #define wxUSE_PRINTING_ARCHITECTURE 1
45392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45395 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45396 cat >>confdefs.h
<<\_ACEOF
45397 #define wxUSE_POSTSCRIPT 1
45402 cat >>confdefs.h
<<\_ACEOF
45403 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45407 if test "$wxUSE_SVG" = "yes"; then
45408 cat >>confdefs.h
<<\_ACEOF
45409 #define wxUSE_SVG 1
45415 if test "$wxUSE_METAFILE" = "yes"; then
45416 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45417 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45418 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45424 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45425 -o "$wxUSE_CLIPBOARD" = "yes" \
45426 -o "$wxUSE_OLE" = "yes" \
45427 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45428 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45429 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45430 if test "${ac_cv_header_ole2_h+set}" = set; then
45431 echo $ECHO_N "(cached) $ECHO_C" >&6
45433 cat >conftest.
$ac_ext <<_ACEOF
45436 cat confdefs.h
>>conftest.
$ac_ext
45437 cat >>conftest.
$ac_ext <<_ACEOF
45438 /* end confdefs.h. */
45443 rm -f conftest.
$ac_objext
45444 if { (ac_try
="$ac_compile"
45445 case "(($ac_try" in
45446 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45447 *) ac_try_echo=$ac_try;;
45449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45450 (eval "$ac_compile") 2>conftest.er1
45452 grep -v '^ *+' conftest.er1 >conftest.err
45454 cat conftest.err >&5
45455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45456 (exit $ac_status); } && {
45457 test -z "$ac_c_werror_flag" ||
45458 test ! -s conftest.err
45459 } && test -s conftest.$ac_objext; then
45460 ac_cv_header_ole2_h=yes
45462 echo "$as_me: failed program was:" >&5
45463 sed 's/^/| /' conftest.$ac_ext >&5
45465 ac_cv_header_ole2_h=no
45468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45470 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45471 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45475 if test "$ac_cv_header_ole2_h" = "yes" ; then
45476 if test "$GCC" = yes ; then
45477 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45478 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45479 cat >conftest.$ac_ext <<_ACEOF
45482 cat confdefs.h >>conftest.$ac_ext
45483 cat >>conftest.$ac_ext <<_ACEOF
45484 /* end confdefs.h. */
45485 #include <windows.h>
45495 rm -f conftest.$ac_objext
45496 if { (ac_try="$ac_compile"
45497 case "(($ac_try" in
45498 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45499 *) ac_try_echo
=$ac_try;;
45501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45502 (eval "$ac_compile") 2>conftest.er1
45504 grep -v '^ *+' conftest.er1
>conftest.err
45506 cat conftest.err
>&5
45507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45508 (exit $ac_status); } && {
45509 test -z "$ac_c_werror_flag" ||
45510 test ! -s conftest.err
45511 } && test -s conftest.
$ac_objext; then
45512 { echo "$as_me:$LINENO: result: no" >&5
45513 echo "${ECHO_T}no" >&6; }
45515 echo "$as_me: failed program was:" >&5
45516 sed 's/^/| /' conftest.
$ac_ext >&5
45518 { echo "$as_me:$LINENO: result: yes" >&5
45519 echo "${ECHO_T}yes" >&6; }
45520 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45524 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45525 if test "$wxUSE_OLE" = "yes" ; then
45526 cat >>confdefs.h
<<\_ACEOF
45527 #define wxUSE_OLE 1
45530 cat >>confdefs.h
<<\_ACEOF
45531 #define wxUSE_OLE_AUTOMATION 1
45534 cat >>confdefs.h
<<\_ACEOF
45535 #define wxUSE_ACTIVEX 1
45538 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45542 if test "$wxUSE_DATAOBJ" = "yes" ; then
45543 cat >>confdefs.h
<<\_ACEOF
45544 #define wxUSE_DATAOBJ 1
45549 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45550 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45553 wxUSE_DRAG_AND_DROP
=no
45558 if test "$wxUSE_METAFILE" = "yes"; then
45559 cat >>confdefs.h
<<\_ACEOF
45560 #define wxUSE_METAFILE 1
45564 cat >>confdefs.h
<<\_ACEOF
45565 #define wxUSE_ENH_METAFILE 1
45571 if test "$wxUSE_IPC" = "yes"; then
45572 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45573 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45574 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45578 if test "$wxUSE_IPC" = "yes"; then
45579 cat >>confdefs.h
<<\_ACEOF
45580 #define wxUSE_IPC 1
45583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45587 if test "$wxUSE_DATAOBJ" = "yes"; then
45588 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45589 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45590 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45593 cat >>confdefs.h
<<\_ACEOF
45594 #define wxUSE_DATAOBJ 1
45599 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45600 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45602 wxUSE_DRAG_AND_DROP
=no
45605 if test "$wxUSE_CLIPBOARD" = "yes"; then
45606 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45607 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45608 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45612 if test "$wxUSE_CLIPBOARD" = "yes"; then
45613 cat >>confdefs.h
<<\_ACEOF
45614 #define wxUSE_CLIPBOARD 1
45620 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45621 if test "$wxUSE_GTK" = 1; then
45622 if test "$WXGTK12" != 1; then
45623 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45624 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45625 wxUSE_DRAG_AND_DROP
=no
45629 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45630 "$wxUSE_DFB" = 1; then
45631 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45632 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45633 wxUSE_DRAG_AND_DROP
=no
45636 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45637 cat >>confdefs.h
<<\_ACEOF
45638 #define wxUSE_DRAG_AND_DROP 1
45645 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45649 if test "$wxUSE_CLIPBOARD" = "yes"; then
45650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
45653 if test "$wxUSE_SPLINES" = "yes" ; then
45654 cat >>confdefs.h
<<\_ACEOF
45655 #define wxUSE_SPLINES 1
45660 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45661 cat >>confdefs.h
<<\_ACEOF
45662 #define wxUSE_MOUSEWHEEL 1
45669 if test "$wxUSE_CONTROLS" = "yes"; then
45673 if test "$wxUSE_ACCEL" = "yes"; then
45674 cat >>confdefs.h
<<\_ACEOF
45675 #define wxUSE_ACCEL 1
45681 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45682 cat >>confdefs.h
<<\_ACEOF
45683 #define wxUSE_ANIMATIONCTRL 1
45687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45690 if test "$wxUSE_BUTTON" = "yes"; then
45691 cat >>confdefs.h
<<\_ACEOF
45692 #define wxUSE_BUTTON 1
45698 if test "$wxUSE_BMPBUTTON" = "yes"; then
45699 cat >>confdefs.h
<<\_ACEOF
45700 #define wxUSE_BMPBUTTON 1
45706 if test "$wxUSE_CALCTRL" = "yes"; then
45707 cat >>confdefs.h
<<\_ACEOF
45708 #define wxUSE_CALENDARCTRL 1
45712 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45715 if test "$wxUSE_CARET" = "yes"; then
45716 cat >>confdefs.h
<<\_ACEOF
45717 #define wxUSE_CARET 1
45721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45724 if test "$wxUSE_COLLPANE" = "yes"; then
45725 cat >>confdefs.h
<<\_ACEOF
45726 #define wxUSE_COLLPANE 1
45730 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45733 if test "$wxUSE_COMBOBOX" = "yes"; then
45734 cat >>confdefs.h
<<\_ACEOF
45735 #define wxUSE_COMBOBOX 1
45741 if test "$wxUSE_COMBOCTRL" = "yes"; then
45742 cat >>confdefs.h
<<\_ACEOF
45743 #define wxUSE_COMBOCTRL 1
45749 if test "$wxUSE_CHOICE" = "yes"; then
45750 cat >>confdefs.h
<<\_ACEOF
45751 #define wxUSE_CHOICE 1
45757 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45758 cat >>confdefs.h
<<\_ACEOF
45759 #define wxUSE_CHOICEBOOK 1
45765 if test "$wxUSE_CHECKBOX" = "yes"; then
45766 cat >>confdefs.h
<<\_ACEOF
45767 #define wxUSE_CHECKBOX 1
45773 if test "$wxUSE_CHECKLST" = "yes"; then
45774 cat >>confdefs.h
<<\_ACEOF
45775 #define wxUSE_CHECKLISTBOX 1
45781 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45782 cat >>confdefs.h
<<\_ACEOF
45783 #define wxUSE_COLOURPICKERCTRL 1
45789 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45790 cat >>confdefs.h
<<\_ACEOF
45791 #define wxUSE_DATEPICKCTRL 1
45797 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45798 cat >>confdefs.h
<<\_ACEOF
45799 #define wxUSE_DIRPICKERCTRL 1
45805 if test "$wxUSE_FILECTRL" = "yes"; then
45806 cat >>confdefs.h
<<\_ACEOF
45807 #define wxUSE_FILECTRL 1
45813 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45814 cat >>confdefs.h
<<\_ACEOF
45815 #define wxUSE_FILEPICKERCTRL 1
45821 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45822 cat >>confdefs.h
<<\_ACEOF
45823 #define wxUSE_FONTPICKERCTRL 1
45829 if test "$wxUSE_DISPLAY" = "yes"; then
45830 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45831 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45832 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45835 cat >>confdefs.h
<<\_ACEOF
45836 #define wxUSE_DISPLAY 1
45839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45843 if test "$wxUSE_DETECT_SM" = "yes"; then
45844 cat >>confdefs.h
<<\_ACEOF
45845 #define wxUSE_DETECT_SM 1
45850 if test "$wxUSE_GAUGE" = "yes"; then
45851 cat >>confdefs.h
<<\_ACEOF
45852 #define wxUSE_GAUGE 1
45858 if test "$wxUSE_GRID" = "yes"; then
45859 cat >>confdefs.h
<<\_ACEOF
45860 #define wxUSE_GRID 1
45864 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45867 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45868 cat >>confdefs.h
<<\_ACEOF
45869 #define wxUSE_HYPERLINKCTRL 1
45875 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45876 cat >>confdefs.h
<<\_ACEOF
45877 #define wxUSE_BITMAPCOMBOBOX 1
45883 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45884 cat >>confdefs.h
<<\_ACEOF
45885 #define wxUSE_DATAVIEWCTRL 1
45889 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45892 if test "$wxUSE_IMAGLIST" = "yes"; then
45893 cat >>confdefs.h
<<\_ACEOF
45894 #define wxUSE_IMAGLIST 1
45899 if test "$wxUSE_LISTBOOK" = "yes"; then
45900 cat >>confdefs.h
<<\_ACEOF
45901 #define wxUSE_LISTBOOK 1
45907 if test "$wxUSE_LISTBOX" = "yes"; then
45908 cat >>confdefs.h
<<\_ACEOF
45909 #define wxUSE_LISTBOX 1
45915 if test "$wxUSE_LISTCTRL" = "yes"; then
45916 if test "$wxUSE_IMAGLIST" = "yes"; then
45917 cat >>confdefs.h
<<\_ACEOF
45918 #define wxUSE_LISTCTRL 1
45922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45924 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45925 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45929 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45930 cat >>confdefs.h
<<\_ACEOF
45931 #define wxUSE_EDITABLELISTBOX 1
45935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45938 if test "$wxUSE_NOTEBOOK" = "yes"; then
45939 cat >>confdefs.h
<<\_ACEOF
45940 #define wxUSE_NOTEBOOK 1
45944 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45947 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45948 cat >>confdefs.h
<<\_ACEOF
45949 #define wxUSE_NOTIFICATION_MESSAGE 1
45954 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45955 cat >>confdefs.h
<<\_ACEOF
45956 #define wxUSE_ODCOMBOBOX 1
45960 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45963 if test "$wxUSE_RADIOBOX" = "yes"; then
45964 cat >>confdefs.h
<<\_ACEOF
45965 #define wxUSE_RADIOBOX 1
45971 if test "$wxUSE_RADIOBTN" = "yes"; then
45972 cat >>confdefs.h
<<\_ACEOF
45973 #define wxUSE_RADIOBTN 1
45979 if test "$wxUSE_SASH" = "yes"; then
45980 cat >>confdefs.h
<<\_ACEOF
45981 #define wxUSE_SASH 1
45984 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45987 if test "$wxUSE_SCROLLBAR" = "yes"; then
45988 cat >>confdefs.h
<<\_ACEOF
45989 #define wxUSE_SCROLLBAR 1
45993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
45996 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45997 cat >>confdefs.h
<<\_ACEOF
45998 #define wxUSE_SEARCHCTRL 1
46004 if test "$wxUSE_SLIDER" = "yes"; then
46005 cat >>confdefs.h
<<\_ACEOF
46006 #define wxUSE_SLIDER 1
46012 if test "$wxUSE_SPINBTN" = "yes"; then
46013 cat >>confdefs.h
<<\_ACEOF
46014 #define wxUSE_SPINBTN 1
46020 if test "$wxUSE_SPINCTRL" = "yes"; then
46021 cat >>confdefs.h
<<\_ACEOF
46022 #define wxUSE_SPINCTRL 1
46028 if test "$wxUSE_SPLITTER" = "yes"; then
46029 cat >>confdefs.h
<<\_ACEOF
46030 #define wxUSE_SPLITTER 1
46033 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46036 if test "$wxUSE_STATBMP" = "yes"; then
46037 cat >>confdefs.h
<<\_ACEOF
46038 #define wxUSE_STATBMP 1
46044 if test "$wxUSE_STATBOX" = "yes"; then
46045 cat >>confdefs.h
<<\_ACEOF
46046 #define wxUSE_STATBOX 1
46052 if test "$wxUSE_STATTEXT" = "yes"; then
46053 cat >>confdefs.h
<<\_ACEOF
46054 #define wxUSE_STATTEXT 1
46060 if test "$wxUSE_STATLINE" = "yes"; then
46061 cat >>confdefs.h
<<\_ACEOF
46062 #define wxUSE_STATLINE 1
46068 if test "$wxUSE_STATUSBAR" = "yes"; then
46069 cat >>confdefs.h
<<\_ACEOF
46070 #define wxUSE_NATIVE_STATUSBAR 1
46073 cat >>confdefs.h
<<\_ACEOF
46074 #define wxUSE_STATUSBAR 1
46079 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46082 if test "$wxUSE_TEXTCTRL" = "yes"; then
46083 cat >>confdefs.h
<<\_ACEOF
46084 #define wxUSE_TEXTCTRL 1
46088 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46090 cat >>confdefs.h
<<\_ACEOF
46091 #define wxUSE_RICHEDIT 1
46094 cat >>confdefs.h
<<\_ACEOF
46095 #define wxUSE_RICHEDIT2 1
46100 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46101 if test "$wxUSE_COCOA" = 1 ; then
46102 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46103 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46107 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46108 cat >>confdefs.h
<<\_ACEOF
46109 #define wxUSE_TOGGLEBTN 1
46116 if test "$wxUSE_TOOLBAR" = "yes"; then
46117 cat >>confdefs.h
<<\_ACEOF
46118 #define wxUSE_TOOLBAR 1
46123 if test "$wxUSE_UNIVERSAL" = "yes"; then
46124 wxUSE_TOOLBAR_NATIVE
="no"
46126 wxUSE_TOOLBAR_NATIVE
="yes"
46127 cat >>confdefs.h
<<\_ACEOF
46128 #define wxUSE_TOOLBAR_NATIVE 1
46133 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46136 if test "$wxUSE_TOOLTIPS" = "yes"; then
46137 if test "$wxUSE_MOTIF" = 1; then
46138 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46139 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46141 if test "$wxUSE_UNIVERSAL" = "yes"; then
46142 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46143 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46145 cat >>confdefs.h
<<\_ACEOF
46146 #define wxUSE_TOOLTIPS 1
46153 if test "$wxUSE_TREEBOOK" = "yes"; then
46154 cat >>confdefs.h
<<\_ACEOF
46155 #define wxUSE_TREEBOOK 1
46161 if test "$wxUSE_TOOLBOOK" = "yes"; then
46162 cat >>confdefs.h
<<\_ACEOF
46163 #define wxUSE_TOOLBOOK 1
46169 if test "$wxUSE_TREECTRL" = "yes"; then
46170 if test "$wxUSE_IMAGLIST" = "yes"; then
46171 cat >>confdefs.h
<<\_ACEOF
46172 #define wxUSE_TREECTRL 1
46176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46178 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46179 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46183 if test "$wxUSE_POPUPWIN" = "yes"; then
46184 if test "$wxUSE_COCOA" = 1 ; then
46185 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46186 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46188 if test "$wxUSE_PM" = 1; then
46189 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46190 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46192 cat >>confdefs.h
<<\_ACEOF
46193 #define wxUSE_POPUPWIN 1
46196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46203 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46204 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46205 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46206 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46208 cat >>confdefs.h
<<\_ACEOF
46209 #define wxUSE_DIALUP_MANAGER 1
46212 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46216 if test "$wxUSE_TIPWINDOW" = "yes"; then
46217 if test "$wxUSE_PM" = 1; then
46218 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46219 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46221 cat >>confdefs.h
<<\_ACEOF
46222 #define wxUSE_TIPWINDOW 1
46228 if test "$USES_CONTROLS" = 1; then
46229 cat >>confdefs.h
<<\_ACEOF
46230 #define wxUSE_CONTROLS 1
46236 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46237 cat >>confdefs.h
<<\_ACEOF
46238 #define wxUSE_ACCESSIBILITY 1
46241 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46244 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46245 cat >>confdefs.h
<<\_ACEOF
46246 #define wxUSE_DRAGIMAGE 1
46249 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46252 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46253 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46254 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46255 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46257 cat >>confdefs.h
<<\_ACEOF
46258 #define wxUSE_EXCEPTIONS 1
46261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46266 if test "$wxUSE_HTML" = "yes"; then
46267 cat >>confdefs.h
<<\_ACEOF
46268 #define wxUSE_HTML 1
46272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46274 if test "$wxUSE_WEBKIT" = "yes"; then
46275 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46276 old_CPPFLAGS
="$CPPFLAGS"
46277 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46278 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46279 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46280 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46281 echo $ECHO_N "(cached) $ECHO_C" >&6
46283 cat >conftest.
$ac_ext <<_ACEOF
46286 cat confdefs.h
>>conftest.
$ac_ext
46287 cat >>conftest.
$ac_ext <<_ACEOF
46288 /* end confdefs.h. */
46290 #include <Carbon/Carbon.h>
46291 #include <WebKit/WebKit.h>
46294 #include <WebKit/HIWebView.h>
46296 rm -f conftest.
$ac_objext
46297 if { (ac_try
="$ac_compile"
46298 case "(($ac_try" in
46299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46300 *) ac_try_echo=$ac_try;;
46302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46303 (eval "$ac_compile") 2>conftest.er1
46305 grep -v '^ *+' conftest.er1 >conftest.err
46307 cat conftest.err >&5
46308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46309 (exit $ac_status); } && {
46310 test -z "$ac_c_werror_flag" ||
46311 test ! -s conftest.err
46312 } && test -s conftest.$ac_objext; then
46313 ac_cv_header_WebKit_HIWebView_h=yes
46315 echo "$as_me: failed program was:" >&5
46316 sed 's/^/| /' conftest.$ac_ext >&5
46318 ac_cv_header_WebKit_HIWebView_h=no
46321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46323 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46324 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46325 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46327 cat >>confdefs.h <<\_ACEOF
46328 #define wxUSE_WEBKIT 1
46331 WEBKIT_LINK="-framework WebKit"
46335 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46336 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46342 CPPFLAGS="$old_CPPFLAGS"
46343 elif test "$wxUSE_COCOA" = 1; then
46344 cat >>confdefs.h <<\_ACEOF
46345 #define wxUSE_WEBKIT 1
46351 if test "$wxUSE_WEBKIT" = "yes"; then
46352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46357 if test "$wxUSE_XRC" = "yes"; then
46358 if test "$wxUSE_XML" != "yes"; then
46359 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46360 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46363 cat >>confdefs.h <<\_ACEOF
46364 #define wxUSE_XRC 1
46368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46373 if test "$wxUSE_AUI" = "yes"; then
46374 cat >>confdefs.h <<\_ACEOF
46375 #define wxUSE_AUI 1
46379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46383 if test "$wxUSE_PROPGRID" = "yes"; then
46384 cat >>confdefs.h <<\_ACEOF
46385 #define wxUSE_PROPGRID 1
46389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46393 if test "$wxUSE_STC" = "yes"; then
46394 cat >>confdefs.h <<\_ACEOF
46395 #define wxUSE_STC 1
46399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46402 if test "$wxUSE_MENUS" = "yes"; then
46403 cat >>confdefs.h <<\_ACEOF
46404 #define wxUSE_MENUS 1
46407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46410 if test "$wxUSE_METAFILE" = "yes"; then
46411 cat >>confdefs.h <<\_ACEOF
46412 #define wxUSE_METAFILE 1
46417 if test "$wxUSE_MIMETYPE" = "yes"; then
46418 cat >>confdefs.h <<\_ACEOF
46419 #define wxUSE_MIMETYPE 1
46424 if test "$wxUSE_MINIFRAME" = "yes"; then
46425 cat >>confdefs.h <<\_ACEOF
46426 #define wxUSE_MINIFRAME 1
46431 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46432 cat >>confdefs.h <<\_ACEOF
46433 #define wxUSE_SYSTEM_OPTIONS 1
46438 if test "$wxUSE_TASKBARICON" = "yes"; then
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_TASKBARICON 1
46443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46447 if test "$wxUSE_VALIDATORS" = "yes"; then
46448 cat >>confdefs.h <<\_ACEOF
46449 #define wxUSE_VALIDATORS 1
46452 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46455 if test "$wxUSE_PALETTE" = "yes" ; then
46456 if test "$wxUSE_DFB" = 1; then
46457 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46458 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46461 cat >>confdefs.h <<\_ACEOF
46462 #define wxUSE_PALETTE 1
46468 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46469 LIBS=" -lunicows $LIBS"
46473 if test "$wxUSE_RICHTEXT" = "yes"; then
46474 cat >>confdefs.h <<\_ACEOF
46475 #define wxUSE_RICHTEXT 1
46479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46483 if test "$wxUSE_IMAGE" = "yes" ; then
46484 cat >>confdefs.h <<\_ACEOF
46485 #define wxUSE_IMAGE 1
46489 if test "$wxUSE_GIF" = "yes" ; then
46490 cat >>confdefs.h <<\_ACEOF
46491 #define wxUSE_GIF 1
46496 if test "$wxUSE_PCX" = "yes" ; then
46497 cat >>confdefs.h <<\_ACEOF
46498 #define wxUSE_PCX 1
46503 if test "$wxUSE_TGA" = "yes" ; then
46504 cat >>confdefs.h <<\_ACEOF
46505 #define wxUSE_TGA 1
46510 if test "$wxUSE_IFF" = "yes" ; then
46511 cat >>confdefs.h <<\_ACEOF
46512 #define wxUSE_IFF 1
46517 if test "$wxUSE_PNM" = "yes" ; then
46518 cat >>confdefs.h <<\_ACEOF
46519 #define wxUSE_PNM 1
46524 if test "$wxUSE_XPM" = "yes" ; then
46525 cat >>confdefs.h <<\_ACEOF
46526 #define wxUSE_XPM 1
46531 if test "$wxUSE_ICO_CUR" = "yes" ; then
46532 cat >>confdefs.h <<\_ACEOF
46533 #define wxUSE_ICO_CUR 1
46540 if test "$wxUSE_ABOUTDLG" = "yes"; then
46541 cat >>confdefs.h <<\_ACEOF
46542 #define wxUSE_ABOUTDLG 1
46547 if test "$wxUSE_CHOICEDLG" = "yes"; then
46548 cat >>confdefs.h <<\_ACEOF
46549 #define wxUSE_CHOICEDLG 1
46554 if test "$wxUSE_COLOURDLG" = "yes"; then
46555 cat >>confdefs.h <<\_ACEOF
46556 #define wxUSE_COLOURDLG 1
46561 if test "$wxUSE_FILEDLG" = "yes"; then
46562 cat >>confdefs.h <<\_ACEOF
46563 #define wxUSE_FILEDLG 1
46568 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46569 cat >>confdefs.h <<\_ACEOF
46570 #define wxUSE_FINDREPLDLG 1
46575 if test "$wxUSE_FONTDLG" = "yes"; then
46576 cat >>confdefs.h <<\_ACEOF
46577 #define wxUSE_FONTDLG 1
46582 if test "$wxUSE_DIRDLG" = "yes"; then
46583 if test "$wxUSE_TREECTRL" != "yes"; then
46584 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46585 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46587 cat >>confdefs.h <<\_ACEOF
46588 #define wxUSE_DIRDLG 1
46594 if test "$wxUSE_MSGDLG" = "yes"; then
46595 cat >>confdefs.h <<\_ACEOF
46596 #define wxUSE_MSGDLG 1
46601 if test "$wxUSE_NUMBERDLG" = "yes"; then
46602 cat >>confdefs.h <<\_ACEOF
46603 #define wxUSE_NUMBERDLG 1
46608 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46609 cat >>confdefs.h <<\_ACEOF
46610 #define wxUSE_PROGRESSDLG 1
46615 if test "$wxUSE_SPLASH" = "yes"; then
46616 cat >>confdefs.h <<\_ACEOF
46617 #define wxUSE_SPLASH 1
46620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46623 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46624 cat >>confdefs.h <<\_ACEOF
46625 #define wxUSE_STARTUP_TIPS 1
46630 if test "$wxUSE_TEXTDLG" = "yes"; then
46631 cat >>confdefs.h <<\_ACEOF
46632 #define wxUSE_TEXTDLG 1
46637 if test "$wxUSE_WIZARDDLG" = "yes"; then
46638 cat >>confdefs.h <<\_ACEOF
46639 #define wxUSE_WIZARDDLG 1
46642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46646 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46647 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46648 cat >>confdefs.h <<\_ACEOF
46649 #define wxUSE_OWNER_DRAWN 1
46656 if test "$wxUSE_MSW" = 1 ; then
46658 if test "$wxUSE_DC_CACHEING" = "yes"; then
46659 cat >>confdefs.h <<\_ACEOF
46660 #define wxUSE_DC_CACHEING 1
46665 if test "$wxUSE_DIB" = "yes"; then
46666 cat >>confdefs.h <<\_ACEOF
46667 #define wxUSE_WXDIB 1
46672 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46673 cat >>confdefs.h <<\_ACEOF
46674 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46679 if test "$wxUSE_UXTHEME" = "yes"; then
46680 cat >>confdefs.h <<\_ACEOF
46681 #define wxUSE_UXTHEME 1
46688 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46689 cat >>confdefs.h <<\_ACEOF
46690 #define wxUSE_AUTOID_MANAGEMENT 1
46695 if test "$USE_WIN32" = 1 ; then
46696 if test "$wxUSE_INICONF" = "yes"; then
46697 cat >>confdefs.h <<\_ACEOF
46698 #define wxUSE_INICONF 1
46703 if test "$wxUSE_REGKEY" = "yes"; then
46704 cat >>confdefs.h <<\_ACEOF
46705 #define wxUSE_REGKEY 1
46712 if test "$wxUSE_MAC" = 1; then
46713 wxUSE_GRAPHICS_CONTEXT="yes"
46716 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46717 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46718 cat >>confdefs.h <<\_ACEOF
46719 #define wxUSE_GRAPHICS_CONTEXT 1
46722 elif test "$wxUSE_GTK" != 1; then
46723 cat >>confdefs.h <<\_ACEOF
46724 #define wxUSE_GRAPHICS_CONTEXT 1
46730 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46731 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46733 if test -n "$PKG_CONFIG"; then
46734 if test -n "$CAIRO_CFLAGS"; then
46735 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46737 if test -n "$PKG_CONFIG" && \
46738 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46739 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46742 (exit $ac_status); }; then
46743 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46751 if test -n "$PKG_CONFIG"; then
46752 if test -n "$CAIRO_LIBS"; then
46753 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46755 if test -n "$PKG_CONFIG" && \
46756 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46757 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46760 (exit $ac_status); }; then
46761 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46772 if test $pkg_failed = yes; then
46774 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46775 _pkg_short_errors_supported=yes
46777 _pkg_short_errors_supported=no
46779 if test $_pkg_short_errors_supported = yes; then
46780 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46782 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46784 # Put the nasty error message in config.log where it belongs
46785 echo "$CAIRO_PKG_ERRORS" >&5
46787 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46788 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46790 elif test $pkg_failed = untried; then
46791 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46792 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46795 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46796 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46797 { echo "$as_me:$LINENO: result: yes" >&5
46798 echo "${ECHO_T}yes" >&6; }
46799 cat >>confdefs.h <<\_ACEOF
46800 #define wxUSE_GRAPHICS_CONTEXT 1
46810 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46813 if test "$wxUSE_GTK" = 1; then
46814 wxUSE_GSTREAMER="no"
46816 GST_VERSION_MAJOR=0
46817 GST_VERSION_MINOR=10
46818 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46820 if test "$wxUSE_GSTREAMER8" = "no"; then
46823 { echo "$as_me:$LINENO: checking for GST" >&5
46824 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46826 if test -n "$PKG_CONFIG"; then
46827 if test -n "$GST_CFLAGS"; then
46828 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46830 if test -n "$PKG_CONFIG" && \
46831 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46832 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46835 (exit $ac_status); }; then
46836 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46844 if test -n "$PKG_CONFIG"; then
46845 if test -n "$GST_LIBS"; then
46846 pkg_cv_GST_LIBS="$GST_LIBS"
46848 if test -n "$PKG_CONFIG" && \
46849 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46850 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46853 (exit $ac_status); }; then
46854 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46865 if test $pkg_failed = yes; then
46867 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46868 _pkg_short_errors_supported=yes
46870 _pkg_short_errors_supported=no
46872 if test $_pkg_short_errors_supported = yes; then
46873 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46875 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46877 # Put the nasty error message in config.log where it belongs
46878 echo "$GST_PKG_ERRORS" >&5
46881 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46882 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46883 GST_VERSION_MINOR=8
46886 elif test $pkg_failed = untried; then
46888 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46889 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46890 GST_VERSION_MINOR=8
46894 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46895 GST_LIBS=$pkg_cv_GST_LIBS
46896 { echo "$as_me:$LINENO: result: yes" >&5
46897 echo "${ECHO_T}yes" >&6; }
46899 wxUSE_GSTREAMER="yes"
46900 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46904 GST_VERSION_MINOR=8
46907 if test $GST_VERSION_MINOR = "8"; then
46908 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46911 { echo "$as_me:$LINENO: checking for GST" >&5
46912 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46914 if test -n "$PKG_CONFIG"; then
46915 if test -n "$GST_CFLAGS"; then
46916 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46918 if test -n "$PKG_CONFIG" && \
46919 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46920 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46923 (exit $ac_status); }; then
46924 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46932 if test -n "$PKG_CONFIG"; then
46933 if test -n "$GST_LIBS"; then
46934 pkg_cv_GST_LIBS="$GST_LIBS"
46936 if test -n "$PKG_CONFIG" && \
46937 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46938 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46941 (exit $ac_status); }; then
46942 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46953 if test $pkg_failed = yes; then
46955 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46956 _pkg_short_errors_supported=yes
46958 _pkg_short_errors_supported=no
46960 if test $_pkg_short_errors_supported = yes; then
46961 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46963 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46965 # Put the nasty error message in config.log where it belongs
46966 echo "$GST_PKG_ERRORS" >&5
46969 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46970 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46972 elif test $pkg_failed = untried; then
46974 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46975 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46978 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46979 GST_LIBS=$pkg_cv_GST_LIBS
46980 { echo "$as_me:$LINENO: result: yes" >&5
46981 echo "${ECHO_T}yes" >&6; }
46982 wxUSE_GSTREAMER="yes"
46987 if test "$wxUSE_GSTREAMER" = "yes"; then
46988 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46989 EXTRALIBS_MEDIA="$GST_LIBS"
46991 cat >>confdefs.h <<\_ACEOF
46992 #define wxUSE_GSTREAMER 1
47000 if test $USE_MEDIA = 1; then
47001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47002 cat >>confdefs.h <<\_ACEOF
47003 #define wxUSE_MEDIACTRL 1
47007 if test "$wxUSE_MEDIACTRL" = "yes"; then
47008 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47009 echo "$as_me: error: GStreamer not available" >&2;}
47010 { (exit 1); exit 1; }; }
47012 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47013 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47019 if test "$cross_compiling" = "yes"; then
47022 OSINFO=`uname
-s -r -m`
47023 OSINFO="\"$OSINFO\""
47026 cat >>confdefs.h <<_ACEOF
47027 #define WXWIN_OS_DESCRIPTION $OSINFO
47032 if test "x$prefix" != "xNONE"; then
47035 wxPREFIX=$ac_default_prefix
47038 cat >>confdefs.h <<_ACEOF
47039 #define wxINSTALL_PREFIX "$wxPREFIX"
47045 STD_BASE_LIBS="base"
47047 BUILT_WX_LIBS="base"
47048 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47050 if test "$wxUSE_SOCKETS" = "yes" ; then
47051 STD_BASE_LIBS="net $STD_BASE_LIBS"
47052 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47054 if test "$wxUSE_XML" = "yes" ; then
47055 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47056 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47059 if test "$wxUSE_GUI" = "yes"; then
47060 STD_GUI_LIBS="adv core"
47061 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47063 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47064 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47065 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47067 if test "$wxUSE_HTML" = "yes" ; then
47068 STD_GUI_LIBS="html $STD_GUI_LIBS"
47069 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47071 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47072 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47074 if test "$wxUSE_OPENGL" = "yes" ; then
47075 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47077 if test "$wxUSE_AUI" = "yes" ; then
47078 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47080 if test "$wxUSE_PROPGRID" = "yes" ; then
47081 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47083 if test "$wxUSE_RICHTEXT" = "yes" ; then
47084 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47086 if test "$wxUSE_STC" = "yes" ; then
47087 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47089 if test "$wxUSE_XRC" = "yes" ; then
47090 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47091 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47102 if test "$wxUSE_MAC" = 1 ; then
47103 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47104 if test "$USE_DARWIN" = 1; then
47105 LDFLAGS="$LDFLAGS -framework QuickTime"
47108 if test "$USE_DARWIN" = 1; then
47109 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47112 if test "$wxUSE_COCOA" = 1 ; then
47113 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47114 if test "$wxUSE_MEDIACTRL" = "yes"; then
47115 LDFLAGS="$LDFLAGS -framework QuickTime"
47118 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47119 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47122 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47124 if test "$wxUSE_GUI" = "yes"; then
47127 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47128 erase event exec font image minimal mobile \
47129 mobile/wxedit mobile/styles render \
47130 shaped svg taborder vscroll widgets"
47132 if test "$wxUSE_MONOLITHIC" != "yes"; then
47133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47135 if test "$TOOLKIT" = "MSW"; then
47136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47137 if test "$wxUSE_UNIVERSAL" != "yes"; then
47138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47141 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47145 SAMPLES_SUBDIRS="console"
47146 if test "$wxUSE_SOCKETS" = "yes" ; then
47147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47149 if test "$wxUSE_IPC" = "yes" ; then
47150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47155 if test "x$INTELCC" = "xyes" ; then
47156 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47157 elif test "$GCC" = yes ; then
47158 CWARNINGS="-Wall -Wundef"
47161 if test "x$INTELCXX" = "xyes" ; then
47162 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47163 elif test "$GXX" = yes ; then
47164 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47165 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47166 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47167 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47168 echo $ECHO_N "(cached) $ECHO_C" >&6
47170 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47173 ac_cpp='$CXXCPP $CPPFLAGS'
47174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47178 ac_save_CXXFLAGS="$CXXFLAGS"
47179 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47180 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47181 cat >conftest.$ac_ext <<_ACEOF
47184 cat confdefs.h >>conftest.$ac_ext
47185 cat >>conftest.$ac_ext <<_ACEOF
47186 /* end confdefs.h. */
47196 rm -f conftest.$ac_objext
47197 if { (ac_try="$ac_compile"
47198 case "(($ac_try" in
47199 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47200 *) ac_try_echo
=$ac_try;;
47202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47203 (eval "$ac_compile") 2>conftest.er1
47205 grep -v '^ *+' conftest.er1
>conftest.err
47207 cat conftest.err
>&5
47208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47209 (exit $ac_status); } && {
47210 test -z "$ac_cxx_werror_flag" ||
47211 test ! -s conftest.err
47212 } && test -s conftest.
$ac_objext; then
47213 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47215 echo "$as_me: failed program was:" >&5
47216 sed 's/^/| /' conftest.
$ac_ext >&5
47221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47223 CXXFLAGS
="$ac_save_CXXFLAGS"
47225 ac_cpp
='$CPP $CPPFLAGS'
47226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47232 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47233 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47234 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47238 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
47239 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47240 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47243 (exit $ac_status); }
47244 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47245 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47248 (exit $ac_status); }
47249 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47257 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47258 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47261 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47262 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47263 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47266 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47267 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47268 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47269 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47270 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47272 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47275 if test "x$MWCC" = "xyes"; then
47277 CC
="$CC -cwd source -I-"
47278 CXX
="$CXX -cwd source -I-"
47283 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47284 EXTRALIBS_XML
="$EXPAT_LINK"
47285 EXTRALIBS_HTML
="$MSPACK_LINK"
47286 EXTRALIBS_MEDIA
="$GST_LIBS"
47287 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47288 if test "$wxUSE_GUI" = "yes"; then
47289 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47291 if test "$wxUSE_OPENGL" = "yes"; then
47292 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47295 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47297 WXCONFIG_LIBS
="$LIBS"
47299 if test "$wxUSE_REGEX" = "builtin" ; then
47300 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47302 if test "$wxUSE_EXPAT" = "builtin" ; then
47303 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47305 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47306 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47308 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47309 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47311 if test "$wxUSE_LIBPNG" = "builtin" ; then
47312 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47314 if test "$wxUSE_ZLIB" = "builtin" ; then
47315 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47318 for i
in $wxconfig_3rdparty ; do
47319 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47323 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47326 case "$wxUNIV_THEMES" in
47328 cat >>confdefs.h
<<\_ACEOF
47329 #define wxUSE_ALL_THEMES 1
47335 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47336 cat >>confdefs.h
<<_ACEOF
47337 #define wxUSE_THEME_$t 1
47353 if test $wxUSE_MONOLITHIC = "yes" ; then
47359 if test $wxUSE_PLUGINS = "yes" ; then
47365 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47371 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47404 TOOLKIT_LOWERCASE
=xxx
47405 if test "$TOOLKIT" = "MAC"; then
47406 TOOLKIT_LOWERCASE
=osx_carbon
47408 if test "$TOOLKIT" = "OSX_CARBON"; then
47409 TOOLKIT_LOWERCASE
=osx_carbon
47411 if test "$TOOLKIT" = "OSX_COCOA"; then
47412 TOOLKIT_LOWERCASE
=osx_cocoa
47414 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47415 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47428 TOOLKIT_DESC
="GTK+"
47429 if test "$WXGTK2" = 1; then
47430 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47431 if test "$wxUSE_GTKPRINT" = "yes" ; then
47432 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
47434 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47435 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47437 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47438 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47440 if test "$wxUSE_LIBHILDON" = "yes"; then
47441 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47444 if test "$TOOLKIT_EXTRA" != ""; then
47445 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47451 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47455 TOOLKIT_DESC
="base only"
47459 if test "$wxUSE_WINE" = "yes"; then
47460 BAKEFILE_FORCE_PLATFORM
=win32
47463 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47465 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47466 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47467 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47468 echo $ECHO_N "(cached) $ECHO_C" >&6
47471 echo '#include <stdio.h>
47472 const wchar_t test_var[] = L"awidetest";' > conftest.h
47474 echo '#include "conftest.h"
47477 printf("%ls", test_var);
47481 wx_cv_gcc_pch_bug
="pch not supported"
47483 if $CXX conftest.h
>/dev
/null
2>&1
47487 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47489 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47490 grep awidetest
>/dev
/null
47492 wx_cv_gcc_pch_bug
=no
47494 wx_cv_gcc_pch_bug
=yes
47499 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47502 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47503 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47505 if test "$wx_cv_gcc_pch_bug" = yes; then
47516 if test "x$BAKEFILE_HOST" = "x"; then
47517 if test "x${host}" = "x" ; then
47518 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47519 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47520 { (exit 1); exit 1; }; }
47523 BAKEFILE_HOST
="${host}"
47526 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47528 if test -n "$ac_tool_prefix"; then
47529 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47530 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47533 if test "${ac_cv_prog_RANLIB+set}" = set; then
47534 echo $ECHO_N "(cached) $ECHO_C" >&6
47536 if test -n "$RANLIB"; then
47537 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47540 for as_dir
in $PATH
47543 test -z "$as_dir" && as_dir
=.
47544 for ac_exec_ext
in '' $ac_executable_extensions; do
47545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47546 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47556 RANLIB
=$ac_cv_prog_RANLIB
47557 if test -n "$RANLIB"; then
47558 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47559 echo "${ECHO_T}$RANLIB" >&6; }
47561 { echo "$as_me:$LINENO: result: no" >&5
47562 echo "${ECHO_T}no" >&6; }
47567 if test -z "$ac_cv_prog_RANLIB"; then
47568 ac_ct_RANLIB
=$RANLIB
47569 # Extract the first word of "ranlib", so it can be a program name with args.
47570 set dummy ranlib
; ac_word
=$2
47571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47573 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47574 echo $ECHO_N "(cached) $ECHO_C" >&6
47576 if test -n "$ac_ct_RANLIB"; then
47577 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47580 for as_dir
in $PATH
47583 test -z "$as_dir" && as_dir
=.
47584 for ac_exec_ext
in '' $ac_executable_extensions; do
47585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47586 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47596 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47597 if test -n "$ac_ct_RANLIB"; then
47598 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47599 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47601 { echo "$as_me:$LINENO: result: no" >&5
47602 echo "${ECHO_T}no" >&6; }
47605 if test "x$ac_ct_RANLIB" = x
; then
47608 case $cross_compiling:$ac_tool_warned in
47610 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47611 whose name does not start with the host triplet. If you think this
47612 configuration is useful to you, please write to autoconf@gnu.org." >&5
47613 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47614 whose name does not start with the host triplet. If you think this
47615 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47616 ac_tool_warned
=yes ;;
47618 RANLIB
=$ac_ct_RANLIB
47621 RANLIB
="$ac_cv_prog_RANLIB"
47624 # Find a good install program. We prefer a C program (faster),
47625 # so one script is as good as another. But avoid the broken or
47626 # incompatible versions:
47627 # SysV /etc/install, /usr/sbin/install
47628 # SunOS /usr/etc/install
47629 # IRIX /sbin/install
47631 # AmigaOS /C/install, which installs bootblocks on floppy discs
47632 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47633 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47634 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47635 # OS/2's system install, which has a completely different semantic
47636 # ./install, which can be erroneously created by make from ./install.sh.
47637 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47638 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47639 if test -z "$INSTALL"; then
47640 if test "${ac_cv_path_install+set}" = set; then
47641 echo $ECHO_N "(cached) $ECHO_C" >&6
47643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47644 for as_dir
in $PATH
47647 test -z "$as_dir" && as_dir
=.
47648 # Account for people who put trailing slashes in PATH elements.
47650 .
/ | .
// | /cC
/* | \
47651 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47652 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47655 # OSF1 and SCO ODT 3.0 have their own names for install.
47656 # Don't use installbsd from OSF since it installs stuff as root
47658 for ac_prog
in ginstall scoinst
install; do
47659 for ac_exec_ext
in '' $ac_executable_extensions; do
47660 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47661 if test $ac_prog = install &&
47662 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47663 # AIX install. It has an incompatible calling convention.
47665 elif test $ac_prog = install &&
47666 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47667 # program-specific install script used by HP pwplus--don't use.
47670 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47683 if test "${ac_cv_path_install+set}" = set; then
47684 INSTALL
=$ac_cv_path_install
47686 # As a last resort, use the slow shell script. Don't cache a
47687 # value for INSTALL within a source directory, because that will
47688 # break other packages using the cache if that directory is
47689 # removed, or if the value is a relative name.
47690 INSTALL
=$ac_install_sh
47693 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47694 echo "${ECHO_T}$INSTALL" >&6; }
47696 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47697 # It thinks the first close brace ends the variable substitution.
47698 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47700 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47702 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47704 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47705 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47707 if test "$LN_S" = "ln -s"; then
47708 { echo "$as_me:$LINENO: result: yes" >&5
47709 echo "${ECHO_T}yes" >&6; }
47711 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47712 echo "${ECHO_T}no, using $LN_S" >&6; }
47716 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47717 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47718 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47719 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
47720 echo $ECHO_N "(cached) $ECHO_C" >&6
47722 cat >conftest.
make <<\_ACEOF
47725 @
echo '@@@%%%=$(MAKE)=@@@%%%'
47727 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47728 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47729 *@@@
%%%=?
*=@@@
%%%*)
47730 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
47732 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
47734 rm -f conftest.
make
47736 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
47737 { echo "$as_me:$LINENO: result: yes" >&5
47738 echo "${ECHO_T}yes" >&6; }
47741 { echo "$as_me:$LINENO: result: no" >&5
47742 echo "${ECHO_T}no" >&6; }
47743 SET_MAKE
="MAKE=${MAKE-make}"
47748 if test "x$SUNCXX" = "xyes"; then
47750 AROPTIONS
="-xar -o"
47752 elif test "x$SGICC" = "xyes"; then
47757 if test -n "$ac_tool_prefix"; then
47758 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47759 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47762 if test "${ac_cv_prog_AR+set}" = set; then
47763 echo $ECHO_N "(cached) $ECHO_C" >&6
47765 if test -n "$AR"; then
47766 ac_cv_prog_AR
="$AR" # Let the user override the test.
47768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47769 for as_dir
in $PATH
47772 test -z "$as_dir" && as_dir
=.
47773 for ac_exec_ext
in '' $ac_executable_extensions; do
47774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47775 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47786 if test -n "$AR"; then
47787 { echo "$as_me:$LINENO: result: $AR" >&5
47788 echo "${ECHO_T}$AR" >&6; }
47790 { echo "$as_me:$LINENO: result: no" >&5
47791 echo "${ECHO_T}no" >&6; }
47796 if test -z "$ac_cv_prog_AR"; then
47798 # Extract the first word of "ar", so it can be a program name with args.
47799 set dummy
ar; ac_word
=$2
47800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47802 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47803 echo $ECHO_N "(cached) $ECHO_C" >&6
47805 if test -n "$ac_ct_AR"; then
47806 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47809 for as_dir
in $PATH
47812 test -z "$as_dir" && as_dir
=.
47813 for ac_exec_ext
in '' $ac_executable_extensions; do
47814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47815 ac_cv_prog_ac_ct_AR
="ar"
47816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47825 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47826 if test -n "$ac_ct_AR"; then
47827 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47828 echo "${ECHO_T}$ac_ct_AR" >&6; }
47830 { echo "$as_me:$LINENO: result: no" >&5
47831 echo "${ECHO_T}no" >&6; }
47834 if test "x$ac_ct_AR" = x
; then
47837 case $cross_compiling:$ac_tool_warned in
47839 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47840 whose name does not start with the host triplet. If you think this
47841 configuration is useful to you, please write to autoconf@gnu.org." >&5
47842 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47843 whose name does not start with the host triplet. If you think this
47844 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47845 ac_tool_warned
=yes ;;
47850 AR
="$ac_cv_prog_AR"
47857 if test -n "$ac_tool_prefix"; then
47858 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47859 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47860 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47862 if test "${ac_cv_prog_STRIP+set}" = set; then
47863 echo $ECHO_N "(cached) $ECHO_C" >&6
47865 if test -n "$STRIP"; then
47866 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47869 for as_dir
in $PATH
47872 test -z "$as_dir" && as_dir
=.
47873 for ac_exec_ext
in '' $ac_executable_extensions; do
47874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47875 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47885 STRIP
=$ac_cv_prog_STRIP
47886 if test -n "$STRIP"; then
47887 { echo "$as_me:$LINENO: result: $STRIP" >&5
47888 echo "${ECHO_T}$STRIP" >&6; }
47890 { echo "$as_me:$LINENO: result: no" >&5
47891 echo "${ECHO_T}no" >&6; }
47896 if test -z "$ac_cv_prog_STRIP"; then
47898 # Extract the first word of "strip", so it can be a program name with args.
47899 set dummy strip
; ac_word
=$2
47900 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47902 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47903 echo $ECHO_N "(cached) $ECHO_C" >&6
47905 if test -n "$ac_ct_STRIP"; then
47906 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47909 for as_dir
in $PATH
47912 test -z "$as_dir" && as_dir
=.
47913 for ac_exec_ext
in '' $ac_executable_extensions; do
47914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47915 ac_cv_prog_ac_ct_STRIP
="strip"
47916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47925 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47926 if test -n "$ac_ct_STRIP"; then
47927 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47928 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47930 { echo "$as_me:$LINENO: result: no" >&5
47931 echo "${ECHO_T}no" >&6; }
47934 if test "x$ac_ct_STRIP" = x
; then
47937 case $cross_compiling:$ac_tool_warned in
47939 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47940 whose name does not start with the host triplet. If you think this
47941 configuration is useful to you, please write to autoconf@gnu.org." >&5
47942 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47943 whose name does not start with the host triplet. If you think this
47944 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47945 ac_tool_warned
=yes ;;
47950 STRIP
="$ac_cv_prog_STRIP"
47953 if test -n "$ac_tool_prefix"; then
47954 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47955 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47958 if test "${ac_cv_prog_NM+set}" = set; then
47959 echo $ECHO_N "(cached) $ECHO_C" >&6
47961 if test -n "$NM"; then
47962 ac_cv_prog_NM
="$NM" # Let the user override the test.
47964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47965 for as_dir
in $PATH
47968 test -z "$as_dir" && as_dir
=.
47969 for ac_exec_ext
in '' $ac_executable_extensions; do
47970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47971 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47982 if test -n "$NM"; then
47983 { echo "$as_me:$LINENO: result: $NM" >&5
47984 echo "${ECHO_T}$NM" >&6; }
47986 { echo "$as_me:$LINENO: result: no" >&5
47987 echo "${ECHO_T}no" >&6; }
47992 if test -z "$ac_cv_prog_NM"; then
47994 # Extract the first word of "nm", so it can be a program name with args.
47995 set dummy nm
; ac_word
=$2
47996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47998 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47999 echo $ECHO_N "(cached) $ECHO_C" >&6
48001 if test -n "$ac_ct_NM"; then
48002 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
48004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48005 for as_dir
in $PATH
48008 test -z "$as_dir" && as_dir
=.
48009 for ac_exec_ext
in '' $ac_executable_extensions; do
48010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48011 ac_cv_prog_ac_ct_NM
="nm"
48012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48021 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
48022 if test -n "$ac_ct_NM"; then
48023 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48024 echo "${ECHO_T}$ac_ct_NM" >&6; }
48026 { echo "$as_me:$LINENO: result: no" >&5
48027 echo "${ECHO_T}no" >&6; }
48030 if test "x$ac_ct_NM" = x
; then
48033 case $cross_compiling:$ac_tool_warned in
48035 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48036 whose name does not start with the host triplet. If you think this
48037 configuration is useful to you, please write to autoconf@gnu.org." >&5
48038 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48039 whose name does not start with the host triplet. If you think this
48040 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48041 ac_tool_warned
=yes ;;
48046 NM
="$ac_cv_prog_NM"
48050 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48051 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48052 INSTALL_TEST_DIR
=acbftest$$
48053 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
48054 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
48055 rmdir $INSTALL_TEST_DIR
48056 INSTALL_DIR
='$(INSTALL) -d'
48057 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48058 echo "${ECHO_T}$INSTALL -d" >&6; }
48060 INSTALL_DIR
="mkdir -p"
48061 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48062 echo "${ECHO_T}mkdir -p" >&6; }
48067 case ${BAKEFILE_HOST} in
48068 *-*-cygwin* | *-*-mingw32* )
48069 LDFLAGS_GUI
="-mwindows"
48075 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48076 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48077 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48078 echo $ECHO_N "(cached) $ECHO_C" >&6
48081 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
48082 egrep -s GNU
> /dev
/null
); then
48083 bakefile_cv_prog_makeisgnu
="yes"
48085 bakefile_cv_prog_makeisgnu
="no"
48089 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48090 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48092 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48109 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48110 case "${BAKEFILE_HOST}" in
48117 *-pc-os2_emx | *-pc-os2-emx )
48127 powerpc
-apple-macos* )
48136 case "$BAKEFILE_FORCE_PLATFORM" in
48171 # Check whether --enable-omf was given.
48172 if test "${enable_omf+set}" = set; then
48173 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
48177 case "${BAKEFILE_HOST}" in
48179 if test "x$GCC" = "xyes"; then
48180 CFLAGS
="$CFLAGS -fno-common"
48181 CXXFLAGS
="$CXXFLAGS -fno-common"
48183 if test "x$XLCC" = "xyes"; then
48184 CFLAGS
="$CFLAGS -qnocommon"
48185 CXXFLAGS
="$CXXFLAGS -qnocommon"
48189 *-pc-os2_emx | *-pc-os2-emx )
48190 if test "x$bk_os2_use_omf" = "xyes" ; then
48193 LDFLAGS
="-Zomf $LDFLAGS"
48194 CFLAGS
="-Zomf $CFLAGS"
48195 CXXFLAGS
="-Zomf $CXXFLAGS"
48203 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48209 SO_SUFFIX_MODULE
="so"
48214 DLLPREFIX_MODULE
=""
48218 case "${BAKEFILE_HOST}" in
48223 SO_SUFFIX_MODULE
="sl"
48227 SO_SUFFIX_MODULE
="a"
48231 SO_SUFFIX_MODULE
="dll"
48232 DLLIMP_SUFFIX
="dll.a"
48239 SO_SUFFIX_MODULE
="dll"
48240 DLLIMP_SUFFIX
="dll.a"
48250 *-pc-os2_emx | *-pc-os2-emx )
48252 SO_SUFFIX_MODULE
="dll"
48253 DLLIMP_SUFFIX
=$OS2_LIBEXT
48257 LIBEXT
=".$OS2_LIBEXT"
48262 SO_SUFFIX_MODULE
="bundle"
48266 if test "x$DLLIMP_SUFFIX" = "x" ; then
48267 DLLIMP_SUFFIX
="$SO_SUFFIX"
48282 if test "x$GCC" = "xyes"; then
48286 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48287 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48290 case "${BAKEFILE_HOST}" in
48292 if test "x$GCC" != "xyes"; then
48293 LDFLAGS
="$LDFLAGS -L/usr/lib"
48295 SHARED_LD_CC
="${CC} -b -o"
48296 SHARED_LD_CXX
="${CXX} -b -o"
48302 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48304 elif test "x$SUNCXX" = "xyes"; then
48305 SHARED_LD_CC
="${CC} -G -o"
48306 SHARED_LD_CXX
="${CXX} -G -o"
48312 if test "x$SUNCXX" = xyes
; then
48313 SHARED_LD_CC
="${CC} -G -o"
48314 SHARED_LD_CXX
="${CXX} -G -o"
48322 cat <<EOF >shared-ld-sh
48324 #-----------------------------------------------------------------------------
48325 #-- Name: distrib/mac/shared-ld-sh
48326 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48327 #-- Author: Gilles Depeyrot
48328 #-- Copyright: (c) 2002 Gilles Depeyrot
48329 #-- Licence: any use permitted
48330 #-----------------------------------------------------------------------------
48335 linking_flag="-dynamiclib"
48336 ldargs="-r -keep_private_externs -nostdlib"
48338 if test "x${D}CXX" = "x"; then
48342 while test ${D}# -gt 0; do
48349 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48350 # collect these options and values
48351 args="${D}{args} ${D}1 ${D}2"
48356 # collect these options and values
48357 ldargs="${D}{ldargs} ${D}1 ${D}2"
48362 # collect these load args
48363 ldargs="${D}{ldargs} ${D}1"
48366 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48367 # collect these options
48368 args="${D}{args} ${D}1"
48371 -dynamiclib|-bundle)
48372 linking_flag="${D}1"
48376 echo "shared-ld: unhandled option '${D}1'"
48380 *.o | *.a | *.dylib)
48381 # collect object files
48382 objects="${D}{objects} ${D}1"
48386 echo "shared-ld: unhandled argument '${D}1'"
48397 # Link one module containing all the others
48399 if test ${D}{verbose} = 1; then
48400 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48402 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48406 # Link the shared library from the single module created, but only if the
48407 # previous command didn't fail:
48409 if test ${D}{status} = 0; then
48410 if test ${D}{verbose} = 1; then
48411 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48413 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48418 # Remove intermediate module
48420 rm -f master.${D}${D}.o
48425 chmod +x shared
-ld-sh
48427 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48428 SHARED_LD_MODULE_CXX
="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48431 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48432 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48433 if test "${bakefile_cv_gcc31+set}" = set; then
48434 echo $ECHO_N "(cached) $ECHO_C" >&6
48437 cat >conftest.
$ac_ext <<_ACEOF
48440 cat confdefs.h
>>conftest.
$ac_ext
48441 cat >>conftest.
$ac_ext <<_ACEOF
48442 /* end confdefs.h. */
48448 #if (__GNUC__ < 3) || \
48449 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48457 rm -f conftest.
$ac_objext
48458 if { (ac_try
="$ac_compile"
48459 case "(($ac_try" in
48460 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48461 *) ac_try_echo=$ac_try;;
48463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48464 (eval "$ac_compile") 2>conftest.er1
48466 grep -v '^ *+' conftest.er1 >conftest.err
48468 cat conftest.err >&5
48469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48470 (exit $ac_status); } && {
48471 test -z "$ac_c_werror_flag" ||
48472 test ! -s conftest.err
48473 } && test -s conftest.$ac_objext; then
48475 bakefile_cv_gcc31=yes
48478 echo "$as_me: failed program was:" >&5
48479 sed 's/^/| /' conftest.$ac_ext >&5
48482 bakefile_cv_gcc31=no
48487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48490 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48491 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48492 if test "$bakefile_cv_gcc31" = "no"; then
48493 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48494 SHARED_LD_CXX="$SHARED_LD_CC"
48496 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48497 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48500 if test "x$GCC" == "xyes"; then
48501 PIC_FLAG="-dynamic -fPIC"
48503 if test "x$XLCC" = "xyes"; then
48504 PIC_FLAG="-dynamic -DPIC"
48509 if test "x$GCC" = "xyes"; then
48512 case "${BAKEFILE_HOST}" in
48514 LD_EXPFULL="-Wl,-bexpfull"
48518 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48519 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48521 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48522 set dummy makeC++SharedLib; ac_word=$2
48523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48525 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48526 echo $ECHO_N "(cached) $ECHO_C" >&6
48528 if test -n "$AIX_CXX_LD"; then
48529 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48532 for as_dir in $PATH
48535 test -z "$as_dir" && as_dir=.
48536 for ac_exec_ext in '' $ac_executable_extensions; do
48537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48538 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48546 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48549 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48550 if test -n "$AIX_CXX_LD"; then
48551 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48552 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48554 { echo "$as_me:$LINENO: result: no" >&5
48555 echo "${ECHO_T}no" >&6; }
48559 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48560 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48565 SHARED_LD_CC="${LD} -nostart -o"
48566 SHARED_LD_CXX="${LD} -nostart -o"
48570 if test "x$GCC" != "xyes"; then
48575 *-*-cygwin* | *-*-mingw32* )
48577 SHARED_LD_CC="\$(CC) -shared -o"
48578 SHARED_LD_CXX="\$(CXX) -shared -o"
48582 *-pc-os2_emx | *-pc-os2-emx )
48583 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48584 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48588 cat <<EOF >dllar.sh
48591 # dllar - a tool to build both a .dll and an .a file
48592 # from a set of object (.o) files for EMX/OS2.
48594 # Written by Andrew Zabolotny, bit@freya.etu.ru
48595 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48597 # This script will accept a set of files on the command line.
48598 # All the public symbols from the .o files will be exported into
48599 # a .DEF file, then linker will be run (through gcc) against them to
48600 # build a shared library consisting of all given .o files. All libraries
48601 # (.a) will be first decompressed into component .o files then act as
48602 # described above. You can optionally give a description (-d "description")
48603 # which will be put into .DLL. To see the list of accepted options (as well
48604 # as command-line format) simply run this program without options. The .DLL
48605 # is built to be imported by name (there is no guarantee that new versions
48606 # of the library you build will have same ordinals for same symbols).
48608 # dllar is free software; you can redistribute it and/or modify
48609 # it under the terms of the GNU General Public License as published by
48610 # the Free Software Foundation; either version 2, or (at your option)
48611 # any later version.
48613 # dllar is distributed in the hope that it will be useful,
48614 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48615 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48616 # GNU General Public License for more details.
48618 # You should have received a copy of the GNU General Public License
48619 # along with dllar; see the file COPYING. If not, write to the Free
48620 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48623 # To successfuly run this program you will need:
48624 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48625 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48627 # (used to build the .dll)
48629 # (used to create .def file from .o files)
48631 # (used to create .a file from .def file)
48632 # - GNU text utilites (cat, sort, uniq)
48633 # used to process emxexp output
48634 # - GNU file utilities (mv, rm)
48636 # - lxlite (optional, see flag below)
48637 # (used for general .dll cleanup)
48644 # basnam, variant of basename, which does _not_ remove the path, _iff_
48645 # second argument (suffix to remove) is given
48649 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48652 echo ${D}1 | sed 's/'${D}2'${D}//'
48655 echo "error in basnam ${D}*"
48661 # Cleanup temporary files and output
48664 for i in ${D}inputFiles ; do
48667 rm -rf \`basnam
${D}i
!\
`
48674 # Kill result in case of failure as there is just to many stupid make/nmake
48675 # things out there which doesn't do this.
48676 if [ ${D}# -eq 0 ]; then
48677 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48681 # Print usage and exit script with rc=1.
48683 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48684 echo ' [-name-mangler-script script.sh]'
48685 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48686 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48687 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48688 echo ' [*.o] [*.a]'
48689 echo '*> "output_file" should have no extension.'
48690 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48691 echo ' The import library name is derived from this and is set to "name".a,'
48692 echo ' unless overridden by -import'
48693 echo '*> "importlib_name" should have no extension.'
48694 echo ' If it has the .o, or .a extension, it is automatically removed.'
48695 echo ' This name is used as the import library name and may be longer and'
48696 echo ' more descriptive than the DLL name which has to follow the old '
48697 echo ' 8.3 convention of FAT.'
48698 echo '*> "script.sh may be given to override the output_file name by a'
48699 echo ' different name. It is mainly useful if the regular make process'
48700 echo ' of some package does not take into account OS/2 restriction of'
48701 echo ' DLL name lengths. It takes the importlib name as input and is'
48702 echo ' supposed to procude a shorter name as output. The script should'
48703 echo ' expect to get importlib_name without extension and should produce'
48704 echo ' a (max.) 8 letter name without extension.'
48705 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48706 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48707 echo ' These flags will be put at the start of GCC command line.'
48708 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48709 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48710 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48711 echo ' If the last character of a symbol is "*", all symbols beginning'
48712 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48713 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48714 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48715 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48716 echo ' C runtime DLLs.'
48717 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48718 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48719 echo ' unchanged to GCC at the end of command line.'
48720 echo '*> If you create a DLL from a library and you do not specify -o,'
48721 echo ' the basename for DLL and import library will be set to library name,'
48722 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48723 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48724 echo ' library will be renamed into gcc_s.a.'
48727 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48728 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48733 # Execute a command.
48734 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48735 # @Uses Whatever CleanUp() uses.
48741 if [ ${D}rcCmd -ne 0 ]; then
48742 echo "command failed, exit code="${D}rcCmd
48757 CFLAGS="-s -Zcrtdll"
48759 EXPORT_BY_ORDINALS=0
48764 case ${D}curDirS in
48768 curDirS=${D}{curDirS}"/"
48771 # Parse commandline
48774 while [ ${D}1 ]; do
48777 EXPORT_BY_ORDINALS=1;
48787 -name-mangler-script)
48808 exclude_symbols=${D}{exclude_symbols}${D}1" "
48812 library_flags=${D}{library_flags}${D}1" "
48831 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48834 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
48835 if [ ${D}omfLinking -eq 1 ]; then
48836 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48838 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48843 if [ ${D}libsToLink -ne 0 ]; then
48844 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48846 for file in ${D}1 ; do
48847 if [ -f ${D}file ]; then
48848 inputFiles="${D}{inputFiles} ${D}file"
48852 if [ ${D}found -eq 0 ]; then
48853 echo "ERROR: No file(s) found: "${D}1
48860 done # iterate cmdline words
48863 if [ -z "${D}inputFiles" ]; then
48864 echo "dllar: no input files"
48868 # Now extract all .o files from .a files
48870 for file in ${D}inputFiles ; do
48881 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48886 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
48888 if [ ${D}? -ne 0 ]; then
48889 echo "Failed to create subdirectory ./${D}dirname"
48893 # Append '!' to indicate archive
48894 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48895 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48898 for subfile in ${D}dirname/*.o* ; do
48899 if [ -f ${D}subfile ]; then
48901 if [ -s ${D}subfile ]; then
48902 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48903 newInputFiles="${D}newInputFiles ${D}subfile"
48907 if [ ${D}found -eq 0 ]; then
48908 echo "WARNING: there are no files in archive \\'${D}file\\'"
48912 newInputFiles="${D}{newInputFiles} ${D}file"
48916 inputFiles="${D}newInputFiles"
48918 # Output filename(s).
48920 if [ -z ${D}outFile ]; then
48922 set outFile ${D}inputFiles; outFile=${D}2
48925 # If it is an archive, remove the '!' and the '_%' suffixes
48926 case ${D}outFile in
48928 outFile=\`basnam
${D}outFile _
%!\
`
48933 case ${D}outFile in
48935 outFile=\`basnam
${D}outFile .dll\
`
48938 outFile=\`basnam
${D}outFile .DLL\
`
48941 outFile=\`basnam
${D}outFile .o\
`
48944 outFile=\`basnam
${D}outFile .obj\
`
48947 outFile=\`basnam
${D}outFile .a\
`
48950 outFile=\`basnam
${D}outFile .lib\
`
48955 case ${D}outimpFile in
48957 outimpFile=\`basnam
${D}outimpFile .a\
`
48960 outimpFile=\`basnam
${D}outimpFile .lib\
`
48965 if [ -z ${D}outimpFile ]; then
48966 outimpFile=${D}outFile
48968 defFile="${D}{outFile}.def"
48969 arcFile="${D}{outimpFile}.a"
48970 arcFile2="${D}{outimpFile}.lib"
48972 #create ${D}dllFile as something matching 8.3 restrictions,
48973 if [ -z ${D}renameScript ] ; then
48974 dllFile="${D}outFile"
48976 dllFile=\`${D}renameScript
${D}outimpFile\
`
48979 if [ ${D}do_backup -ne 0 ] ; then
48980 if [ -f ${D}arcFile ] ; then
48981 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48983 if [ -f ${D}arcFile2 ] ; then
48984 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48988 # Extract public symbols from all the object files.
48989 tmpdefFile=${D}{defFile}_%
48990 rm -f ${D}tmpdefFile
48991 for file in ${D}inputFiles ; do
48996 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49001 # Create the def file.
49003 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
49004 dllFile="${D}{dllFile}.dll"
49005 if [ ! -z ${D}description ]; then
49006 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49008 echo "EXPORTS" >> ${D}defFile
49010 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49011 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49013 # Checks if the export is ok or not.
49014 for word in ${D}exclude_symbols; do
49015 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49016 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49020 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49021 sed "=" < ${D}tmpdefFile | \\
49025 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49027 ' > ${D}{tmpdefFile}%
49028 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49030 rm -f ${D}{tmpdefFile}%
49032 cat ${D}tmpdefFile >> ${D}defFile
49033 rm -f ${D}tmpdefFile
49035 # Do linking, create implib, and apply lxlite.
49037 for file in ${D}inputFiles ; do
49042 gccCmdl="${D}gccCmdl ${D}file"
49046 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49047 touch "${D}{outFile}.dll"
49049 doCommand "emximp -o ${D}arcFile ${D}defFile"
49050 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49052 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49055 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49057 doCommand "emxomf -s -l ${D}arcFile"
49067 powerpc-apple-macos* | \
49068 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49078 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49079 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49080 { (exit 1); exit 1; }; }
49083 if test "x$PIC_FLAG" != "x" ; then
49084 PIC_FLAG="$PIC_FLAG -DPIC"
49087 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49088 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49090 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49091 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49110 case "${BAKEFILE_HOST}" in
49111 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49112 *-*-k*bsd*-gnu | *-*-mirbsd* )
49113 if test "x$SUNCXX" = "xyes"; then
49116 SONAME_FLAG="-Wl,-soname,"
49151 # Check whether --enable-dependency-tracking was given.
49152 if test "${enable_dependency_tracking+set}" = set; then
49153 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49157 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49158 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49161 if test "x$bk_use_trackdeps" = "xno" ; then
49163 { echo "$as_me:$LINENO: result: disabled" >&5
49164 echo "${ECHO_T}disabled" >&6; }
49168 if test "x$GCC" = "xyes"; then
49170 case "${BAKEFILE_HOST}" in
49172 DEPSFLAG="-no-cpp-precomp -MMD"
49178 { echo "$as_me:$LINENO: result: gcc" >&5
49179 echo "${ECHO_T}gcc" >&6; }
49180 elif test "x$MWCC" = "xyes"; then
49183 { echo "$as_me:$LINENO: result: mwcc" >&5
49184 echo "${ECHO_T}mwcc" >&6; }
49185 elif test "x$SUNCC" = "xyes"; then
49188 { echo "$as_me:$LINENO: result: Sun cc" >&5
49189 echo "${ECHO_T}Sun cc" >&6; }
49190 elif test "x$SGICC" = "xyes"; then
49193 { echo "$as_me:$LINENO: result: SGI cc" >&5
49194 echo "${ECHO_T}SGI cc" >&6; }
49195 elif test "x$HPCC" = "xyes"; then
49198 { echo "$as_me:$LINENO: result: HP cc" >&5
49199 echo "${ECHO_T}HP cc" >&6; }
49200 elif test "x$COMPAQCC" = "xyes"; then
49203 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49204 echo "${ECHO_T}Compaq cc" >&6; }
49207 { echo "$as_me:$LINENO: result: none" >&5
49208 echo "${ECHO_T}none" >&6; }
49211 if test $DEPS_TRACKING = 1 ; then
49217 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49218 # script. It is used to track C/C++ files dependencies in portable way.
49220 # Permission is given to use this file in any way.
49222 DEPSMODE=${DEPSMODE}
49223 DEPSFLAG="${DEPSFLAG}"
49226 if test ${D}DEPSMODE = gcc ; then
49227 ${D}* ${D}{DEPSFLAG}
49230 # determine location of created files:
49231 while test ${D}# -gt 0; do
49245 objfilebase=\`basename ${D}objfile\
`
49246 builddir=\`dirname ${D}objfile\
`
49247 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
49248 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
49249 depsdir=${D}builddir/${D}DEPSDIRBASE
49250 mkdir -p ${D}depsdir
49252 # if the compiler failed, we're done:
49253 if test ${D}{status} != 0 ; then
49258 # move created file to the location we want it in:
49259 if test -f ${D}depfile ; then
49260 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49263 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49264 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
49265 if test ! -f ${D}depfile ; then
49266 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49267 depfile="${D}objfile.d"
49269 if test -f ${D}depfile ; then
49270 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49276 elif test ${D}DEPSMODE = mwcc ; then
49277 ${D}* || exit ${D}?
49278 # Run mwcc again with -MM and redirect into the dep file we want
49279 # NOTE: We can't use shift here because we need ${D}* to be valid
49281 for arg in ${D}* ; do
49282 if test "${D}prevarg" = "-o"; then
49296 objfilebase=\`basename ${D}objfile\
`
49297 builddir=\`dirname ${D}objfile\
`
49298 depsdir=${D}builddir/${D}DEPSDIRBASE
49299 mkdir -p ${D}depsdir
49301 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49304 elif test ${D}DEPSMODE = unixcc; then
49305 ${D}* || exit ${D}?
49306 # Run compiler again with deps flag and redirect into the dep file.
49307 # It doesn't work if the '-o FILE' option is used, but without it the
49308 # dependency file will contain the wrong name for the object. So it is
49309 # removed from the command line, and the dep file is fixed with sed.
49311 while test ${D}# -gt 0; do
49318 eval arg${D}#=\\${D}1
49319 cmd="${D}cmd \\${D}arg${D}#"
49325 objfilebase=\`basename ${D}objfile\
`
49326 builddir=\`dirname ${D}objfile\
`
49327 depsdir=${D}builddir/${D}DEPSDIRBASE
49328 mkdir -p ${D}depsdir
49330 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49340 BK_DEPS="`pwd`/bk-deps"
49348 case ${BAKEFILE_HOST} in
49349 *-*-cygwin* | *-*-mingw32* )
49350 if test -n "$ac_tool_prefix"; then
49351 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49352 set dummy ${ac_tool_prefix}windres; ac_word=$2
49353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49355 if test "${ac_cv_prog_WINDRES+set}" = set; then
49356 echo $ECHO_N "(cached) $ECHO_C" >&6
49358 if test -n "$WINDRES"; then
49359 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49362 for as_dir in $PATH
49365 test -z "$as_dir" && as_dir=.
49366 for ac_exec_ext in '' $ac_executable_extensions; do
49367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49368 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49378 WINDRES=$ac_cv_prog_WINDRES
49379 if test -n "$WINDRES"; then
49380 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49381 echo "${ECHO_T}$WINDRES" >&6; }
49383 { echo "$as_me:$LINENO: result: no" >&5
49384 echo "${ECHO_T}no" >&6; }
49389 if test -z "$ac_cv_prog_WINDRES"; then
49390 ac_ct_WINDRES=$WINDRES
49391 # Extract the first word of "windres", so it can be a program name with args.
49392 set dummy windres; ac_word=$2
49393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49395 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49396 echo $ECHO_N "(cached) $ECHO_C" >&6
49398 if test -n "$ac_ct_WINDRES"; then
49399 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49402 for as_dir in $PATH
49405 test -z "$as_dir" && as_dir=.
49406 for ac_exec_ext in '' $ac_executable_extensions; do
49407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49408 ac_cv_prog_ac_ct_WINDRES="windres"
49409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49418 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49419 if test -n "$ac_ct_WINDRES"; then
49420 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49421 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49423 { echo "$as_me:$LINENO: result: no" >&5
49424 echo "${ECHO_T}no" >&6; }
49427 if test "x$ac_ct_WINDRES" = x; then
49430 case $cross_compiling:$ac_tool_warned in
49432 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49433 whose name does not start with the host triplet. If you think this
49434 configuration is useful to you, please write to autoconf@gnu.org." >&5
49435 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49436 whose name does not start with the host triplet. If you think this
49437 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49438 ac_tool_warned=yes ;;
49440 WINDRES=$ac_ct_WINDRES
49443 WINDRES="$ac_cv_prog_WINDRES"
49448 *-*-darwin* | powerpc-apple-macos* )
49449 # Extract the first word of "Rez", so it can be a program name with args.
49450 set dummy Rez; ac_word=$2
49451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49453 if test "${ac_cv_prog_REZ+set}" = set; then
49454 echo $ECHO_N "(cached) $ECHO_C" >&6
49456 if test -n "$REZ"; then
49457 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49460 for as_dir in $PATH
49463 test -z "$as_dir" && as_dir=.
49464 for ac_exec_ext in '' $ac_executable_extensions; do
49465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49466 ac_cv_prog_REZ="Rez"
49467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49474 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49477 REZ=$ac_cv_prog_REZ
49478 if test -n "$REZ"; then
49479 { echo "$as_me:$LINENO: result: $REZ" >&5
49480 echo "${ECHO_T}$REZ" >&6; }
49482 { echo "$as_me:$LINENO: result: no" >&5
49483 echo "${ECHO_T}no" >&6; }
49487 # Extract the first word of "SetFile", so it can be a program name with args.
49488 set dummy SetFile; ac_word=$2
49489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49491 if test "${ac_cv_prog_SETFILE+set}" = set; then
49492 echo $ECHO_N "(cached) $ECHO_C" >&6
49494 if test -n "$SETFILE"; then
49495 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49498 for as_dir in $PATH
49501 test -z "$as_dir" && as_dir=.
49502 for ac_exec_ext in '' $ac_executable_extensions; do
49503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49504 ac_cv_prog_SETFILE="SetFile"
49505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49512 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49515 SETFILE=$ac_cv_prog_SETFILE
49516 if test -n "$SETFILE"; then
49517 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49518 echo "${ECHO_T}$SETFILE" >&6; }
49520 { echo "$as_me:$LINENO: result: no" >&5
49521 echo "${ECHO_T}no" >&6; }
49536 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49539 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49543 # Check whether --enable-precomp-headers was given.
49544 if test "${enable_precomp_headers+set}" = set; then
49545 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49554 case ${BAKEFILE_HOST} in
49560 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49561 if test "x$GCC" = "xyes"; then
49562 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49563 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49564 cat >conftest.$ac_ext <<_ACEOF
49567 cat confdefs.h >>conftest.$ac_ext
49568 cat >>conftest.$ac_ext <<_ACEOF
49569 /* end confdefs.h. */
49575 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49576 There is no PCH support
49579 There is no PCH support
49581 #if (__GNUC__ == 3) && \
49582 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49583 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49584 ( defined(__INTEL_COMPILER) )
49585 There is no PCH support
49592 rm -f conftest.$ac_objext
49593 if { (ac_try="$ac_compile"
49594 case "(($ac_try" in
49595 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49596 *) ac_try_echo
=$ac_try;;
49598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49599 (eval "$ac_compile") 2>conftest.er1
49601 grep -v '^ *+' conftest.er1
>conftest.err
49603 cat conftest.err
>&5
49604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49605 (exit $ac_status); } && {
49606 test -z "$ac_c_werror_flag" ||
49607 test ! -s conftest.err
49608 } && test -s conftest.
$ac_objext; then
49610 { echo "$as_me:$LINENO: result: yes" >&5
49611 echo "${ECHO_T}yes" >&6; }
49615 echo "$as_me: failed program was:" >&5
49616 sed 's/^/| /' conftest.
$ac_ext >&5
49619 if test "$INTELCXX8" = "yes"; then
49620 { echo "$as_me:$LINENO: result: yes" >&5
49621 echo "${ECHO_T}yes" >&6; }
49623 if test "$INTELCXX10" = "yes"; then
49624 ICC_PCH_CREATE_SWITCH
="-pch-create"
49625 ICC_PCH_USE_SWITCH
="-pch-use"
49627 ICC_PCH_CREATE_SWITCH
="-create-pch"
49628 ICC_PCH_USE_SWITCH
="-use-pch"
49631 { echo "$as_me:$LINENO: result: no" >&5
49632 echo "${ECHO_T}no" >&6; }
49637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49638 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49642 cat <<EOF >bk-make-pch
49645 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49646 # script. It is used to generated precompiled headers.
49648 # Permission is given to use this file in any way.
49655 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49660 while test ${D}{#} -gt 0; do
49664 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49665 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49666 headerfile="${D}{incdir}/${D}{header}"
49669 -use-pch|-use_pch|-pch-use )
49674 if test ${D}add_to_cmdline = 1 ; then
49675 compiler="${D}{compiler} ${D}{1}"
49680 if test "x${D}{headerfile}" = "x" ; then
49681 echo "error: can't find header ${D}{header} in include paths" >&2
49683 if test -f ${D}{outfile} ; then
49684 rm -f ${D}{outfile}
49686 mkdir -p \`dirname ${D}{outfile}\`
49688 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49689 mkdir -p ${D}{builddir}/.deps
49690 if test "x${GCC_PCH}" = "x1" ; then
49691 # can do this because gcc is >= 3.4:
49692 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49693 elif test "x${ICC_PCH}" = "x1" ; then
49694 filename=pch_gen-${D}${D}
49695 file=${D}{filename}.c
49696 dfile=${D}{filename}.d
49697 cat > ${D}file <<EOT
49698 #include "${D}header"
49700 # using -MF icc complains about differing command lines in creation/use
49701 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49702 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49703 rm -f ${D}file ${D}dfile ${D}{filename}.o
49709 chmod +x bk
-make-pch
49710 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49721 COND_BUILD_DEBUG
="#"
49722 if test "x$BUILD" = "xdebug" ; then
49723 COND_BUILD_DEBUG
=""
49726 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49727 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49728 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49731 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49732 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49733 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49736 COND_BUILD_DEBUG_UNICODE_0
="#"
49737 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49738 COND_BUILD_DEBUG_UNICODE_0
=""
49741 COND_BUILD_DEBUG_UNICODE_1
="#"
49742 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49743 COND_BUILD_DEBUG_UNICODE_1
=""
49746 COND_BUILD_RELEASE
="#"
49747 if test "x$BUILD" = "xrelease" ; then
49748 COND_BUILD_RELEASE
=""
49751 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49752 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49753 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49756 COND_BUILD_RELEASE_UNICODE_0
="#"
49757 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49758 COND_BUILD_RELEASE_UNICODE_0
=""
49761 COND_BUILD_RELEASE_UNICODE_1
="#"
49762 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49763 COND_BUILD_RELEASE_UNICODE_1
=""
49766 COND_BUILD_debug
="#"
49767 if test "x$BUILD" = "xdebug" ; then
49768 COND_BUILD_debug
=""
49771 COND_BUILD_debug_DEBUG_FLAG_default
="#"
49772 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49773 COND_BUILD_debug_DEBUG_FLAG_default
=""
49776 COND_BUILD_debug_DEBUG_INFO_default
="#"
49777 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49778 COND_BUILD_debug_DEBUG_INFO_default
=""
49781 COND_BUILD_debug_UNICODE_0
="#"
49782 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49783 COND_BUILD_debug_UNICODE_0
=""
49786 COND_BUILD_debug_UNICODE_1
="#"
49787 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49788 COND_BUILD_debug_UNICODE_1
=""
49791 COND_BUILD_release
="#"
49792 if test "x$BUILD" = "xrelease" ; then
49793 COND_BUILD_release
=""
49796 COND_BUILD_release_DEBUG_INFO_default
="#"
49797 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49798 COND_BUILD_release_DEBUG_INFO_default
=""
49801 COND_BUILD_release_UNICODE_0
="#"
49802 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49803 COND_BUILD_release_UNICODE_0
=""
49806 COND_BUILD_release_UNICODE_1
="#"
49807 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49808 COND_BUILD_release_UNICODE_1
=""
49811 COND_DEBUG_FLAG_1
="#"
49812 if test "x$DEBUG_FLAG" = "x1" ; then
49813 COND_DEBUG_FLAG_1
=""
49816 COND_DEBUG_INFO_0
="#"
49817 if test "x$DEBUG_INFO" = "x0" ; then
49818 COND_DEBUG_INFO_0
=""
49821 COND_DEBUG_INFO_1
="#"
49822 if test "x$DEBUG_INFO" = "x1" ; then
49823 COND_DEBUG_INFO_1
=""
49826 COND_DEPS_TRACKING_0
="#"
49827 if test "x$DEPS_TRACKING" = "x0" ; then
49828 COND_DEPS_TRACKING_0
=""
49831 COND_DEPS_TRACKING_1
="#"
49832 if test "x$DEPS_TRACKING" = "x1" ; then
49833 COND_DEPS_TRACKING_1
=""
49837 if test "x$GCC_PCH" = "x1" ; then
49842 if test "x$ICC_PCH" = "x1" ; then
49846 COND_MONOLITHIC_0
="#"
49847 if test "x$MONOLITHIC" = "x0" ; then
49848 COND_MONOLITHIC_0
=""
49851 COND_MONOLITHIC_0_SHARED_0
="#"
49852 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49853 COND_MONOLITHIC_0_SHARED_0
=""
49856 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49857 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49858 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49861 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49862 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49863 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49866 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49867 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49868 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49871 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49872 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49873 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49876 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49877 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49878 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49881 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
49882 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49883 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
49886 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49887 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49888 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49891 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49892 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49893 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49896 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49897 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49898 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49901 COND_MONOLITHIC_0_SHARED_1
="#"
49902 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49903 COND_MONOLITHIC_0_SHARED_1
=""
49906 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49907 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49908 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49911 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49912 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49913 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49916 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49917 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49918 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49921 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49922 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49923 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49926 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49927 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49928 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49931 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
49932 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49933 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
49936 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49937 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49938 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49941 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49942 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49943 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49946 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49947 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49948 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49951 COND_MONOLITHIC_0_USE_AUI_1
="#"
49952 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49953 COND_MONOLITHIC_0_USE_AUI_1
=""
49956 COND_MONOLITHIC_0_USE_GUI_1
="#"
49957 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49958 COND_MONOLITHIC_0_USE_GUI_1
=""
49961 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49962 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49963 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49966 COND_MONOLITHIC_0_USE_HTML_1
="#"
49967 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49968 COND_MONOLITHIC_0_USE_HTML_1
=""
49971 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49972 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49973 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49976 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
49977 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49978 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
49981 COND_MONOLITHIC_0_USE_QA_1
="#"
49982 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49983 COND_MONOLITHIC_0_USE_QA_1
=""
49986 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49987 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49988 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49991 COND_MONOLITHIC_0_USE_STC_1
="#"
49992 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49993 COND_MONOLITHIC_0_USE_STC_1
=""
49996 COND_MONOLITHIC_0_USE_XRC_1
="#"
49997 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49998 COND_MONOLITHIC_0_USE_XRC_1
=""
50001 COND_MONOLITHIC_1
="#"
50002 if test "x$MONOLITHIC" = "x1" ; then
50003 COND_MONOLITHIC_1
=""
50006 COND_MONOLITHIC_1_SHARED_0
="#"
50007 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50008 COND_MONOLITHIC_1_SHARED_0
=""
50011 COND_MONOLITHIC_1_SHARED_1
="#"
50012 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50013 COND_MONOLITHIC_1_SHARED_1
=""
50016 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
50017 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50018 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
50021 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
50022 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50023 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
50026 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
50027 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50028 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
50031 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
50032 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50033 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
50036 COND_PLATFORM_MACOSX_1
="#"
50037 if test "x$PLATFORM_MACOSX" = "x1" ; then
50038 COND_PLATFORM_MACOSX_1
=""
50041 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
50042 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50043 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
50046 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50047 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50048 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50051 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50052 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50053 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50056 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50057 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50058 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50061 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50062 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50063 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50066 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
50067 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50068 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
50071 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
50072 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50073 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
50076 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
50077 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50078 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
50081 COND_PLATFORM_MACOS_1
="#"
50082 if test "x$PLATFORM_MACOS" = "x1" ; then
50083 COND_PLATFORM_MACOS_1
=""
50086 COND_PLATFORM_MAC_0
="#"
50087 if test "x$PLATFORM_MAC" = "x0" ; then
50088 COND_PLATFORM_MAC_0
=""
50091 COND_PLATFORM_MAC_1
="#"
50092 if test "x$PLATFORM_MAC" = "x1" ; then
50093 COND_PLATFORM_MAC_1
=""
50096 COND_PLATFORM_MSDOS_0
="#"
50097 if test "x$PLATFORM_MSDOS" = "x0" ; then
50098 COND_PLATFORM_MSDOS_0
=""
50101 COND_PLATFORM_MSDOS_1
="#"
50102 if test "x$PLATFORM_MSDOS" = "x1" ; then
50103 COND_PLATFORM_MSDOS_1
=""
50106 COND_PLATFORM_OS2_1
="#"
50107 if test "x$PLATFORM_OS2" = "x1" ; then
50108 COND_PLATFORM_OS2_1
=""
50111 COND_PLATFORM_UNIX_0
="#"
50112 if test "x$PLATFORM_UNIX" = "x0" ; then
50113 COND_PLATFORM_UNIX_0
=""
50116 COND_PLATFORM_UNIX_1
="#"
50117 if test "x$PLATFORM_UNIX" = "x1" ; then
50118 COND_PLATFORM_UNIX_1
=""
50121 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
50122 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50123 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
50126 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
50127 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50128 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
50131 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50132 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50133 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50136 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50137 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50138 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50141 COND_PLATFORM_WIN32_0
="#"
50142 if test "x$PLATFORM_WIN32" = "x0" ; then
50143 COND_PLATFORM_WIN32_0
=""
50146 COND_PLATFORM_WIN32_1
="#"
50147 if test "x$PLATFORM_WIN32" = "x1" ; then
50148 COND_PLATFORM_WIN32_1
=""
50152 if test "x$SHARED" = "x0" ; then
50156 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50157 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50158 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50161 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50162 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50163 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50166 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50167 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50168 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50171 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50172 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50173 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50176 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50177 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50178 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50181 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50182 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50183 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50186 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50187 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50188 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50191 COND_SHARED_0_USE_STC_1
="#"
50192 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50193 COND_SHARED_0_USE_STC_1
=""
50196 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
50197 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50198 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
50201 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
50202 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50203 COND_SHARED_0_wxUSE_REGEX_builtin
=""
50206 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
50207 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50208 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
50212 if test "x$SHARED" = "x1" ; then
50216 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50217 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50218 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50222 if test "x$TOOLKIT" = "x" ; then
50226 COND_TOOLKIT_COCOA
="#"
50227 if test "x$TOOLKIT" = "xCOCOA" ; then
50228 COND_TOOLKIT_COCOA
=""
50231 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50232 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50233 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50236 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50237 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50238 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50241 COND_TOOLKIT_DFB
="#"
50242 if test "x$TOOLKIT" = "xDFB" ; then
50243 COND_TOOLKIT_DFB
=""
50246 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50247 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50248 COND_TOOLKIT_DFB_USE_GUI_1
=""
50251 COND_TOOLKIT_GTK
="#"
50252 if test "x$TOOLKIT" = "xGTK" ; then
50253 COND_TOOLKIT_GTK
=""
50256 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50257 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50258 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50261 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50262 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50263 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50266 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50267 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50268 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50271 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50272 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50273 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50276 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50277 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50278 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50281 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50282 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50283 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50286 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50287 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50288 COND_TOOLKIT_GTK_USE_GUI_1
=""
50291 COND_TOOLKIT_MAC
="#"
50292 if test "x$TOOLKIT" = "xMAC" ; then
50293 COND_TOOLKIT_MAC
=""
50296 COND_TOOLKIT_MGL
="#"
50297 if test "x$TOOLKIT" = "xMGL" ; then
50298 COND_TOOLKIT_MGL
=""
50301 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50302 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50303 COND_TOOLKIT_MGL_USE_GUI_1
=""
50306 COND_TOOLKIT_MOTIF
="#"
50307 if test "x$TOOLKIT" = "xMOTIF" ; then
50308 COND_TOOLKIT_MOTIF
=""
50311 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50312 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50313 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50316 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50317 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50318 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50321 COND_TOOLKIT_MSW
="#"
50322 if test "x$TOOLKIT" = "xMSW" ; then
50323 COND_TOOLKIT_MSW
=""
50326 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50327 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50328 COND_TOOLKIT_MSW_USE_GUI_1
=""
50331 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50332 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50333 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50336 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50337 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50338 COND_TOOLKIT_MSW_WXUNIV_0
=""
50341 COND_TOOLKIT_OSX_CARBON
="#"
50342 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50343 COND_TOOLKIT_OSX_CARBON
=""
50346 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50347 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50348 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50351 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50352 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50353 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50356 COND_TOOLKIT_OSX_COCOA
="#"
50357 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50358 COND_TOOLKIT_OSX_COCOA
=""
50361 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50362 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50363 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50366 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50367 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50368 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50371 COND_TOOLKIT_OSX_IPHONE
="#"
50372 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50373 COND_TOOLKIT_OSX_IPHONE
=""
50376 COND_TOOLKIT_PM
="#"
50377 if test "x$TOOLKIT" = "xPM" ; then
50381 COND_TOOLKIT_PM_USE_GUI_1
="#"
50382 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50383 COND_TOOLKIT_PM_USE_GUI_1
=""
50386 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50387 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50388 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50391 COND_TOOLKIT_WINCE
="#"
50392 if test "x$TOOLKIT" = "xWINCE" ; then
50393 COND_TOOLKIT_WINCE
=""
50396 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50397 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50398 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50401 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50402 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50403 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50406 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50407 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50408 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50411 COND_TOOLKIT_X11
="#"
50412 if test "x$TOOLKIT" = "xX11" ; then
50413 COND_TOOLKIT_X11
=""
50416 COND_TOOLKIT_X11_USE_GUI_1
="#"
50417 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50418 COND_TOOLKIT_X11_USE_GUI_1
=""
50422 if test "x$UNICODE" = "x1" ; then
50426 COND_USE_EXCEPTIONS_0
="#"
50427 if test "x$USE_EXCEPTIONS" = "x0" ; then
50428 COND_USE_EXCEPTIONS_0
=""
50431 COND_USE_EXCEPTIONS_1
="#"
50432 if test "x$USE_EXCEPTIONS" = "x1" ; then
50433 COND_USE_EXCEPTIONS_1
=""
50437 if test "x$USE_GUI" = "x0" ; then
50442 if test "x$USE_GUI" = "x1" ; then
50446 COND_USE_GUI_1_USE_OPENGL_1
="#"
50447 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50448 COND_USE_GUI_1_USE_OPENGL_1
=""
50451 COND_USE_GUI_1_WXUNIV_0
="#"
50452 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50453 COND_USE_GUI_1_WXUNIV_0
=""
50456 COND_USE_GUI_1_WXUNIV_1
="#"
50457 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50458 COND_USE_GUI_1_WXUNIV_1
=""
50461 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50462 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50463 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50466 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50467 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50468 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50471 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50472 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50473 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50476 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50477 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50478 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50481 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50482 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50483 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50486 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50487 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50488 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50491 COND_USE_OPENGL_1
="#"
50492 if test "x$USE_OPENGL" = "x1" ; then
50493 COND_USE_OPENGL_1
=""
50497 if test "x$USE_PCH" = "x1" ; then
50501 COND_USE_PLUGINS_0
="#"
50502 if test "x$USE_PLUGINS" = "x0" ; then
50503 COND_USE_PLUGINS_0
=""
50506 COND_USE_RTTI_0
="#"
50507 if test "x$USE_RTTI" = "x0" ; then
50511 COND_USE_RTTI_1
="#"
50512 if test "x$USE_RTTI" = "x1" ; then
50516 COND_USE_SOSYMLINKS_1
="#"
50517 if test "x$USE_SOSYMLINKS" = "x1" ; then
50518 COND_USE_SOSYMLINKS_1
=""
50521 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50522 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50523 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50526 COND_USE_SOVERLINUX_1
="#"
50527 if test "x$USE_SOVERLINUX" = "x1" ; then
50528 COND_USE_SOVERLINUX_1
=""
50531 COND_USE_SOVERSION_0
="#"
50532 if test "x$USE_SOVERSION" = "x0" ; then
50533 COND_USE_SOVERSION_0
=""
50536 COND_USE_SOVERSOLARIS_1
="#"
50537 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50538 COND_USE_SOVERSOLARIS_1
=""
50542 if test "x$USE_STC" = "x1" ; then
50546 COND_USE_THREADS_0
="#"
50547 if test "x$USE_THREADS" = "x0" ; then
50548 COND_USE_THREADS_0
=""
50551 COND_USE_THREADS_1
="#"
50552 if test "x$USE_THREADS" = "x1" ; then
50553 COND_USE_THREADS_1
=""
50557 if test "x$USE_XRC" = "x1" ; then
50561 COND_WINDOWS_IMPLIB_1
="#"
50562 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50563 COND_WINDOWS_IMPLIB_1
=""
50566 COND_WITH_PLUGIN_SDL_1
="#"
50567 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50568 COND_WITH_PLUGIN_SDL_1
=""
50572 if test "x$WXUNIV" = "x0" ; then
50577 if test "x$WXUNIV" = "x1" ; then
50581 COND_WXUSE_EXPAT_BUILTIN
="#"
50582 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50583 COND_WXUSE_EXPAT_BUILTIN
=""
50586 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50587 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50588 COND_WXUSE_LIBJPEG_BUILTIN
=""
50591 COND_WXUSE_LIBPNG_BUILTIN
="#"
50592 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50593 COND_WXUSE_LIBPNG_BUILTIN
=""
50596 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50597 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50598 COND_WXUSE_LIBTIFF_BUILTIN
=""
50601 COND_WXUSE_REGEX_BUILTIN
="#"
50602 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50603 COND_WXUSE_REGEX_BUILTIN
=""
50606 COND_WXUSE_ZLIB_BUILTIN
="#"
50607 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50608 COND_WXUSE_ZLIB_BUILTIN
=""
50611 COND_wxUSE_EXPAT_builtin
="#"
50612 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50613 COND_wxUSE_EXPAT_builtin
=""
50616 COND_wxUSE_LIBJPEG_builtin
="#"
50617 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50618 COND_wxUSE_LIBJPEG_builtin
=""
50621 COND_wxUSE_LIBPNG_builtin
="#"
50622 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50623 COND_wxUSE_LIBPNG_builtin
=""
50626 COND_wxUSE_LIBTIFF_builtin
="#"
50627 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50628 COND_wxUSE_LIBTIFF_builtin
=""
50631 COND_wxUSE_REGEX_builtin
="#"
50632 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50633 COND_wxUSE_REGEX_builtin
=""
50636 COND_wxUSE_ZLIB_builtin
="#"
50637 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50638 COND_wxUSE_ZLIB_builtin
=""
50643 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50644 { { 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
50645 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;}
50646 { (exit 1); exit 1; }; }
50649 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50650 { { 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
50651 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;}
50652 { (exit 1); exit 1; }; }
50659 ?
:* ) # Drive letter, considered as absolute.
50662 INSTALL
=`pwd`/${INSTALL} ;;
50665 if test "$wxUSE_GUI" = "yes"; then
50667 if test "$wxUSE_MSW" = 1 ; then
50668 if test "x$WINDRES" = "x"; then
50669 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50670 echo "$as_me: error: Required windres program not found" >&2;}
50671 { (exit 1); exit 1; }; }
50677 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50678 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50679 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50681 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50683 # Extract the first word of "DeRez", so it can be a program name with args.
50684 set dummy DeRez
; ac_word
=$2
50685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50687 if test "${ac_cv_prog_DEREZ+set}" = set; then
50688 echo $ECHO_N "(cached) $ECHO_C" >&6
50690 if test -n "$DEREZ"; then
50691 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50694 for as_dir
in $PATH
50697 test -z "$as_dir" && as_dir
=.
50698 for ac_exec_ext
in '' $ac_executable_extensions; do
50699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50700 ac_cv_prog_DEREZ
="DeRez"
50701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50708 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50711 DEREZ
=$ac_cv_prog_DEREZ
50712 if test -n "$DEREZ"; then
50713 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50714 echo "${ECHO_T}$DEREZ" >&6; }
50716 { echo "$as_me:$LINENO: result: no" >&5
50717 echo "${ECHO_T}no" >&6; }
50722 MACSETFILE
="\$(SETFILE)"
50724 if test "$wxUSE_OSX_CARBON" = 1; then
50725 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50727 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50729 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50730 RESCOMP
="cat /dev/null \| $REZ"
50731 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50737 if test "$wxUSE_PM" = 1; then
50739 WXCONFIG_RESFLAGS
="-ep"
50741 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50743 POSTLINK_COMMAND
="@true"
50750 if test $GCC_PCH = 1
50752 if test "$wx_cv_gcc_pch_bug" = yes; then
50753 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50754 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50755 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50756 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50757 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50758 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50761 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50762 # the headers that benefit from precompilation are mostly C++ headers.
50763 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50764 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50765 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50769 if test "$wxUSE_MAC" = 1 ; then
50770 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50771 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50777 if test "$wxUSE_SHARED" = "yes"; then
50779 *-pc-os2_emx | *-pc-os2-emx )
50780 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50781 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50782 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50783 cp -p ${srcdir}/src
/os
2/dllar.sh .
50787 if test "$wxUSE_OMF" = "yes"; then
50789 *-pc-os2_emx | *-pc-os2-emx )
50790 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50791 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50792 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50797 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50802 if test "$GCC" = yes; then
50803 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50804 LIBS
=`echo $LIBS | sed 's/-mt//'`
50805 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50810 if test "x$SUNCXX" = xyes
; then
50811 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50812 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50813 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50818 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50819 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50820 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
50821 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50823 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50884 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50885 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50886 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50887 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50888 echo $ECHO_N "(cached) $ECHO_C" >&6
50890 cat >conftest.
make <<\_ACEOF
50893 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50895 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50896 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50897 *@@@
%%%=?
*=@@@
%%%*)
50898 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50900 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50902 rm -f conftest.
make
50904 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50905 { echo "$as_me:$LINENO: result: yes" >&5
50906 echo "${ECHO_T}yes" >&6; }
50909 { echo "$as_me:$LINENO: result: no" >&5
50910 echo "${ECHO_T}no" >&6; }
50911 SET_MAKE
="MAKE=${MAKE-make}"
50916 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50919 if test "$USE_WIN32" = 1; then
50920 ac_config_commands
="$ac_config_commands
50926 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50929 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50932 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50935 if test "$wx_cv_version_script" = "yes"; then
50936 ac_config_files
="$ac_config_files version-script"
50939 ac_config_files
="$ac_config_files Makefile"
50942 ac_config_commands
="$ac_config_commands wx-config"
50946 if test "$wxWITH_SUBDIRS" != "no"; then
50947 if test "$wxUSE_GUI" = "yes"; then
50948 SUBDIRS
="samples demos utils"
50950 SUBDIRS
="samples utils"
50955 # Check whether --with-cppunit-prefix was given.
50956 if test "${with_cppunit_prefix+set}" = set; then
50957 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50959 cppunit_config_prefix
=""
50963 # Check whether --with-cppunit-exec-prefix was given.
50964 if test "${with_cppunit_exec_prefix+set}" = set; then
50965 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50967 cppunit_config_exec_prefix
=""
50971 if test x
$cppunit_config_exec_prefix != x
; then
50972 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50973 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50974 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50977 if test x
$cppunit_config_prefix != x
; then
50978 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50979 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50980 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50984 # Extract the first word of "cppunit-config", so it can be a program name with args.
50985 set dummy cppunit
-config; ac_word
=$2
50986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50988 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50989 echo $ECHO_N "(cached) $ECHO_C" >&6
50991 case $CPPUNIT_CONFIG in
50993 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50997 for as_dir
in $PATH
51000 test -z "$as_dir" && as_dir
=.
51001 for ac_exec_ext
in '' $ac_executable_extensions; do
51002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51003 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
51004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51011 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
51015 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
51016 if test -n "$CPPUNIT_CONFIG"; then
51017 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51018 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51020 { echo "$as_me:$LINENO: result: no" >&5
51021 echo "${ECHO_T}no" >&6; }
51025 cppunit_version_min
=1.8.0
51027 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51028 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51030 if test "$CPPUNIT_CONFIG" = "no" ; then
51031 { echo "$as_me:$LINENO: result: no" >&5
51032 echo "${ECHO_T}no" >&6; }
51035 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
51036 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
51037 cppunit_version
=`$CPPUNIT_CONFIG --version`
51039 cppunit_major_version
=`echo $cppunit_version | \
51040 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51041 cppunit_minor_version
=`echo $cppunit_version | \
51042 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51043 cppunit_micro_version
=`echo $cppunit_version | \
51044 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51046 cppunit_major_min
=`echo $cppunit_version_min | \
51047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51048 cppunit_minor_min
=`echo $cppunit_version_min | \
51049 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51050 cppunit_micro_min
=`echo $cppunit_version_min | \
51051 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51053 cppunit_version_proper
=`expr \
51054 $cppunit_major_version \> $cppunit_major_min \| \
51055 $cppunit_major_version \= $cppunit_major_min \& \
51056 $cppunit_minor_version \> $cppunit_minor_min \| \
51057 $cppunit_major_version \= $cppunit_major_min \& \
51058 $cppunit_minor_version \= $cppunit_minor_min \& \
51059 $cppunit_micro_version \>= $cppunit_micro_min `
51061 if test "$cppunit_version_proper" = "1" ; then
51062 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51063 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51065 { echo "$as_me:$LINENO: result: no" >&5
51066 echo "${ECHO_T}no" >&6; }
51071 if test "x$no_cppunit" = x
; then
51072 SUBDIRS
="$SUBDIRS tests"
51083 for subdir
in $SUBDIRS; do
51084 if test -d ${srcdir}/${subdir} ; then
51085 if test "$wxUSE_GUI" = "yes"; then
51086 if test ${subdir} = "samples"; then
51087 makefiles
="samples/Makefile.in $makefiles"
51088 for sample
in $SAMPLES_SUBDIRS; do
51089 if test -d $srcdir/samples
/$sample; then
51090 makefiles
="samples/$sample/Makefile.in $makefiles"
51094 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
51095 eval "disabled=\$$disabled_var"
51096 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
51097 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51100 if test ${subdir} = "samples"; then
51101 makefiles
="samples/Makefile.in $makefiles"
51102 for sample
in `echo $SAMPLES_SUBDIRS`; do
51103 if test -d $srcdir/samples
/$sample; then
51104 makefiles
="samples/$sample/Makefile.in $makefiles"
51107 elif test ${subdir} = "utils"; then
51109 for util
in ifacecheck
; do
51110 if test -d $srcdir/utils
/$util ; then
51111 makefiles
="utils/$util/src/Makefile.in \
51116 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51120 for mkin
in $makefiles ; do
51121 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51122 ac_config_files
="$ac_config_files $mk"
51128 cat >confcache
<<\_ACEOF
51129 # This file is a shell script that caches the results of configure
51130 # tests run on this system so they can be shared between configure
51131 # scripts and configure runs, see configure's option --config-cache.
51132 # It is not useful on other systems. If it contains results you don't
51133 # want to keep, you may remove or edit it.
51135 # config.status only pays attention to the cache file if you give it
51136 # the --recheck option to rerun configure.
51138 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51139 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51140 # following values.
51144 # The following way of writing the cache mishandles newlines in values,
51145 # but we know of no workaround that is simple, portable, and efficient.
51146 # So, we kill variables containing newlines.
51147 # Ultrix sh set writes to stderr and can't be redirected directly,
51148 # and sets the high bit in the cache file unless we assign to the vars.
51150 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51151 eval ac_val
=\$
$ac_var
51155 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51156 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51159 _
| IFS
| as_nl
) ;; #(
51160 *) $as_unset $ac_var ;;
51166 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51167 *${as_nl}ac_space
=\
*)
51168 # `set' does not quote correctly, so add quotes (double-quote
51169 # substitution turns \\\\ into \\, and sed turns \\ into \).
51172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51175 # `set' quotes correctly as required by POSIX, so do not add quotes.
51176 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51185 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51187 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51189 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51190 if test -w "$cache_file"; then
51191 test "x$cache_file" != "x/dev/null" &&
51192 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51193 echo "$as_me: updating cache $cache_file" >&6;}
51194 cat confcache
>$cache_file
51196 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51197 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51202 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51203 # Let make expand exec_prefix.
51204 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51206 DEFS
=-DHAVE_CONFIG_H
51210 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51211 # 1. Remove the extension, and $U if already installed.
51212 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51213 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51214 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51215 # will be set to the directory where LIBOBJS objects are built.
51216 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51217 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51219 LIBOBJS
=$ac_libobjs
51221 LTLIBOBJS
=$ac_ltlibobjs
51225 : ${CONFIG_STATUS=./config.status}
51226 ac_clean_files_save
=$ac_clean_files
51227 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51228 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51229 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51230 cat >$CONFIG_STATUS <<_ACEOF
51232 # Generated by $as_me.
51233 # Run this file to recreate the current configuration.
51234 # Compiler output produced by configure, useful for debugging
51235 # configure, is in config.log if it exists.
51238 ac_cs_recheck=false
51240 SHELL=\${CONFIG_SHELL-$SHELL}
51243 cat >>$CONFIG_STATUS <<\_ACEOF
51244 ## --------------------- ##
51245 ## M4sh Initialization. ##
51246 ## --------------------- ##
51248 # Be more Bourne compatible
51249 DUALCASE
=1; export DUALCASE
# for MKS sh
51250 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51253 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51254 # is contrary to our usage. Disable this feature.
51255 alias -g '${1+"$@"}'='"$@"'
51256 setopt NO_GLOB_SUBST
51258 case `(set -o) 2>/dev/null` in
51259 *posix
*) set -o posix
;;
51268 # Avoid depending upon Character Ranges.
51269 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51270 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51271 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51272 as_cr_digits
='0123456789'
51273 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51275 # The user is always right.
51276 if test "${PATH_SEPARATOR+set}" != set; then
51277 echo "#! /bin/sh" >conf$$.sh
51278 echo "exit 0" >>conf$$.sh
51280 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51288 # Support unset when possible.
51289 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51297 # We need space, tab and new line, in precisely that order. Quoting is
51298 # there to prevent editors from complaining about space-tab.
51299 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51300 # splitting by setting IFS to empty value.)
51305 # Find who we are. Look in the path if we contain no directory separator.
51307 *[\\/]* ) as_myself
=$0 ;;
51308 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51309 for as_dir
in $PATH
51312 test -z "$as_dir" && as_dir
=.
51313 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51319 # We did not find ourselves, most probably we were run as `sh COMMAND'
51320 # in which case we are not to be found in the path.
51321 if test "x$as_myself" = x
; then
51324 if test ! -f "$as_myself"; then
51325 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51326 { (exit 1); exit 1; }
51329 # Work around bugs in pre-3.0 UWIN ksh.
51330 for as_var
in ENV MAIL MAILPATH
51331 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51339 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51340 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51341 LC_TELEPHONE LC_TIME
51343 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51344 eval $as_var=C
; export $as_var
51346 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51350 # Required to use basename.
51351 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51352 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51358 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51359 as_basename
=basename
51365 # Name of the executable.
51366 as_me
=`$as_basename -- "$0" ||
51367 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51368 X"$0" : 'X\(//\)$' \| \
51369 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51371 sed '/^.*\/\([^/][^/]*\)\/*$/{
51390 as_lineno_1
=$LINENO
51391 as_lineno_2
=$LINENO
51392 test "x$as_lineno_1" != "x$as_lineno_2" &&
51393 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51395 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51396 # uniformly replaced by the line number. The first 'sed' inserts a
51397 # line-number line after each line using $LINENO; the second 'sed'
51398 # does the real work. The second script uses 'N' to pair each
51399 # line-number line with the line containing $LINENO, and appends
51400 # trailing '-' during substitution so that $LINENO is not a special
51401 # case at line end.
51402 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51403 # scripts with optimization help from Paolo Bonzini. Blame Lee
51404 # E. McMahon (1931-1989) for sed's syntax. :-)
51416 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51419 ' >$as_me.lineno
&&
51420 chmod +x
"$as_me.lineno" ||
51421 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51422 { (exit 1); exit 1; }; }
51424 # Don't try to exec as it changes $[0], causing all sort of problems
51425 # (the dirname of $[0] is not the place where we might find the
51426 # original and so on. Autoconf is especially sensitive to this).
51427 .
"./$as_me.lineno"
51428 # Exit status is that of the last command.
51433 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51439 ECHO_C
= ECHO_N
= ECHO_T
=
51440 case `echo -n x` in
51442 case `echo 'x\c'` in
51443 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51450 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51451 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51457 rm -f conf$$ conf$$.exe conf$$.
file
51458 if test -d conf$$.dir
; then
51459 rm -f conf$$.dir
/conf$$.
file
51465 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51467 # ... but there are two gotchas:
51468 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51469 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51470 # In both cases, we have to default to `cp -p'.
51471 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51473 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51478 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51479 rmdir conf$$.dir
2>/dev
/null
51481 if mkdir -p .
2>/dev
/null
; then
51484 test -d .
/-p && rmdir .
/-p
51488 if test -x / >/dev
/null
2>&1; then
51489 as_test_x
='test -x'
51491 if ls -dL / >/dev
/null
2>&1; then
51498 if test -d "$1"; then
51504 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51505 ???[sx]*):;;*)false;;esac;fi
51509 as_executable_p
=$as_test_x
51511 # Sed expression to map a string onto a valid CPP name.
51512 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51514 # Sed expression to map a string onto a valid variable name.
51515 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51520 # Save the log message, to keep $[0] and so on meaningful, and to
51521 # report actual input values of CONFIG_FILES etc. instead of their
51522 # values after options handling.
51524 This file was extended by wxWidgets $as_me 2.9.0, which was
51525 generated by GNU Autoconf 2.61. Invocation command line was
51527 CONFIG_FILES = $CONFIG_FILES
51528 CONFIG_HEADERS = $CONFIG_HEADERS
51529 CONFIG_LINKS = $CONFIG_LINKS
51530 CONFIG_COMMANDS = $CONFIG_COMMANDS
51533 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51538 cat >>$CONFIG_STATUS <<_ACEOF
51539 # Files that config.status was made for.
51540 config_files="$ac_config_files"
51541 config_headers="$ac_config_headers"
51542 config_commands="$ac_config_commands"
51546 cat >>$CONFIG_STATUS <<\_ACEOF
51548 \`$as_me' instantiates files from templates according to the
51549 current configuration.
51551 Usage: $0 [OPTIONS] [FILE]...
51553 -h, --help print this help, then exit
51554 -V, --version print version number and configuration settings, then exit
51555 -q, --quiet do not print progress messages
51556 -d, --debug don't remove temporary files
51557 --recheck update $as_me by reconfiguring in the same conditions
51558 --file=FILE[:TEMPLATE]
51559 instantiate the configuration file FILE
51560 --header=FILE[:TEMPLATE]
51561 instantiate the configuration header FILE
51563 Configuration files:
51566 Configuration headers:
51569 Configuration commands:
51572 Report bugs to <bug-autoconf@gnu.org>."
51575 cat >>$CONFIG_STATUS <<_ACEOF
51577 wxWidgets config.status 2.9.0
51578 configured by $0, generated by GNU Autoconf 2.61,
51579 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51581 Copyright (C) 2006 Free Software Foundation, Inc.
51582 This config.status script is free software; the Free Software Foundation
51583 gives unlimited permission to copy, distribute and modify it."
51590 cat >>$CONFIG_STATUS <<\_ACEOF
51591 # If no file are specified by the user, then we need to provide default
51592 # value. By we need to know if files were specified by the user.
51598 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51599 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51610 # Handling of the options.
51611 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51613 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51614 echo "$ac_cs_version"; exit ;;
51615 --debug | --debu | --deb | --de | --d | -d )
51617 --file | --fil | --fi | --f )
51619 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51620 ac_need_defaults
=false
;;
51621 --header | --heade | --head | --hea )
51623 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51624 ac_need_defaults
=false
;;
51626 # Conflict between --help and --header
51627 { echo "$as_me: error: ambiguous option: $1
51628 Try \`$0 --help' for more information." >&2
51629 { (exit 1); exit 1; }; };;
51630 --help | --hel | -h )
51631 echo "$ac_cs_usage"; exit ;;
51632 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51633 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51636 # This is an error.
51637 -*) { echo "$as_me: error: unrecognized option: $1
51638 Try \`$0 --help' for more information." >&2
51639 { (exit 1); exit 1; }; } ;;
51641 *) ac_config_targets
="$ac_config_targets $1"
51642 ac_need_defaults
=false
;;
51648 ac_configure_extra_args
=
51650 if $ac_cs_silent; then
51652 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51656 cat >>$CONFIG_STATUS <<_ACEOF
51657 if \$ac_cs_recheck; then
51658 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51659 CONFIG_SHELL=$SHELL
51660 export CONFIG_SHELL
51661 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51665 cat >>$CONFIG_STATUS <<\_ACEOF
51669 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51670 ## Running $as_me. ##
51676 cat >>$CONFIG_STATUS <<_ACEOF
51682 infile="$srcdir/include/wx/msw/genrcdefs.h"
51683 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51686 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51687 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51688 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51694 cat >>$CONFIG_STATUS <<\_ACEOF
51696 # Handling of arguments.
51697 for ac_config_target
in $ac_config_targets
51699 case $ac_config_target in
51700 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51701 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51702 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51703 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51704 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51705 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51706 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51707 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51708 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51710 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51711 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51712 { (exit 1); exit 1; }; };;
51717 # If the user did not use the arguments to specify the items to instantiate,
51718 # then the envvar interface is used. Set only those that are not.
51719 # We use the long form for the default assignment because of an extremely
51720 # bizarre bug on SunOS 4.1.3.
51721 if $ac_need_defaults; then
51722 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51723 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51724 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51727 # Have a temporary directory for convenience. Make it in the build tree
51728 # simply because there is no reason against having it here, and in addition,
51729 # creating and moving files from /tmp can sometimes cause problems.
51730 # Hook for its removal unless debugging.
51731 # Note that there is a small window in which the directory will not be cleaned:
51732 # after its creation but before its name has been assigned to `$tmp'.
51736 trap 'exit_status=$?
51737 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51739 trap '{ (exit 1); exit 1; }' 1 2 13 15
51741 # Create a (secure) tmp directory for tmp files.
51744 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51745 test -n "$tmp" && test -d "$tmp"
51748 tmp
=.
/conf$$
-$RANDOM
51749 (umask 077 && mkdir "$tmp")
51752 echo "$me: cannot create a temporary directory in ." >&2
51753 { (exit 1); exit 1; }
51757 # Set up the sed scripts for CONFIG_FILES section.
51760 # No need to generate the scripts if there are no CONFIG_FILES.
51761 # This happens for instance when ./config.status config.h
51762 if test -n "$CONFIG_FILES"; then
51769 for ac_last_try
in false false false false false
:; do
51770 cat >conf$
$subs.
sed <<_ACEOF
51771 SHELL!$SHELL$ac_delim
51772 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51773 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51774 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51775 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51776 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51777 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51778 exec_prefix!$exec_prefix$ac_delim
51779 prefix!$prefix$ac_delim
51780 program_transform_name!$program_transform_name$ac_delim
51781 bindir!$bindir$ac_delim
51782 sbindir!$sbindir$ac_delim
51783 libexecdir!$libexecdir$ac_delim
51784 datarootdir!$datarootdir$ac_delim
51785 datadir!$datadir$ac_delim
51786 sysconfdir!$sysconfdir$ac_delim
51787 sharedstatedir!$sharedstatedir$ac_delim
51788 localstatedir!$localstatedir$ac_delim
51789 includedir!$includedir$ac_delim
51790 oldincludedir!$oldincludedir$ac_delim
51791 docdir!$docdir$ac_delim
51792 infodir!$infodir$ac_delim
51793 htmldir!$htmldir$ac_delim
51794 dvidir!$dvidir$ac_delim
51795 pdfdir!$pdfdir$ac_delim
51796 psdir!$psdir$ac_delim
51797 libdir!$libdir$ac_delim
51798 localedir!$localedir$ac_delim
51799 mandir!$mandir$ac_delim
51800 DEFS!$DEFS$ac_delim
51801 ECHO_C!$ECHO_C$ac_delim
51802 ECHO_N!$ECHO_N$ac_delim
51803 ECHO_T!$ECHO_T$ac_delim
51804 LIBS!$LIBS$ac_delim
51805 build_alias!$build_alias$ac_delim
51806 host_alias!$host_alias$ac_delim
51807 target_alias!$target_alias$ac_delim
51808 build!$build$ac_delim
51809 build_cpu!$build_cpu$ac_delim
51810 build_vendor!$build_vendor$ac_delim
51811 build_os!$build_os$ac_delim
51812 host!$host$ac_delim
51813 host_cpu!$host_cpu$ac_delim
51814 host_vendor!$host_vendor$ac_delim
51815 host_os!$host_os$ac_delim
51816 target!$target$ac_delim
51817 target_cpu!$target_cpu$ac_delim
51818 target_vendor!$target_vendor$ac_delim
51819 target_os!$target_os$ac_delim
51820 wx_top_builddir!$wx_top_builddir$ac_delim
51822 CFLAGS!$CFLAGS$ac_delim
51823 LDFLAGS!$LDFLAGS$ac_delim
51824 CPPFLAGS!$CPPFLAGS$ac_delim
51825 ac_ct_CC!$ac_ct_CC$ac_delim
51826 EXEEXT!$EXEEXT$ac_delim
51827 OBJEXT!$OBJEXT$ac_delim
51829 GREP!$GREP$ac_delim
51830 EGREP!$EGREP$ac_delim
51832 CXXFLAGS!$CXXFLAGS$ac_delim
51833 ac_ct_CXX!$ac_ct_CXX$ac_delim
51835 subdirs!$subdirs$ac_delim
51836 PKG_CONFIG!$PKG_CONFIG$ac_delim
51837 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51838 GTK_LIBS!$GTK_LIBS$ac_delim
51839 GTK_CONFIG!$GTK_CONFIG$ac_delim
51840 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51841 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51842 XMKMF!$XMKMF$ac_delim
51843 X_CFLAGS!$X_CFLAGS$ac_delim
51844 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51845 X_LIBS!$X_LIBS$ac_delim
51846 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51847 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51848 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51849 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51850 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51851 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51852 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51853 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51854 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51855 LIBICONV!$LIBICONV$ac_delim
51856 GXX_VERSION!$GXX_VERSION$ac_delim
51857 SDL_CONFIG!$SDL_CONFIG$ac_delim
51858 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51859 SDL_LIBS!$SDL_LIBS$ac_delim
51860 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51861 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51862 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51863 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51864 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51865 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51866 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51867 HILDON_LIBS!$HILDON_LIBS$ac_delim
51870 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51872 elif $ac_last_try; then
51873 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51874 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51875 { (exit 1); exit 1; }; }
51877 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51881 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51882 if test -n "$ac_eof"; then
51883 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51884 ac_eof
=`expr $ac_eof + 1`
51887 cat >>$CONFIG_STATUS <<_ACEOF
51888 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51889 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51892 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51893 s/^/s,@/; s/!/@,|#_!!_#|/
51896 s/'"$ac_delim"'$/,g/; t
51898 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51899 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51900 rm -f conf$
$subs.
sed
51901 cat >>$CONFIG_STATUS <<_ACEOF
51907 for ac_last_try
in false false false false false
:; do
51908 cat >conf$
$subs.
sed <<_ACEOF
51909 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51910 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51911 GST_CFLAGS!$GST_CFLAGS$ac_delim
51912 GST_LIBS!$GST_LIBS$ac_delim
51913 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51914 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51915 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51916 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51917 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51918 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51919 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51920 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51921 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51922 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51923 VENDOR!$VENDOR$ac_delim
51924 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51925 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51926 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51927 WXUNIV!$WXUNIV$ac_delim
51928 MONOLITHIC!$MONOLITHIC$ac_delim
51929 USE_PLUGINS!$USE_PLUGINS$ac_delim
51930 CXXWARNINGS!$CXXWARNINGS$ac_delim
51931 EXTRALIBS!$EXTRALIBS$ac_delim
51932 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51933 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51934 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51935 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51936 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51937 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51938 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51939 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51940 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51941 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51942 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51943 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51944 UNICODE!$UNICODE$ac_delim
51945 BUILD!$BUILD$ac_delim
51946 DEBUG_INFO!$DEBUG_INFO$ac_delim
51947 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51948 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51949 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51950 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51951 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51952 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51953 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51954 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51955 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51956 RANLIB!$RANLIB$ac_delim
51957 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51958 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51959 INSTALL_DATA!$INSTALL_DATA$ac_delim
51960 LN_S!$LN_S$ac_delim
51961 SET_MAKE!$SET_MAKE$ac_delim
51962 MAKE_SET!$MAKE_SET$ac_delim
51963 AROPTIONS!$AROPTIONS$ac_delim
51964 STRIP!$STRIP$ac_delim
51966 INSTALL_DIR!$INSTALL_DIR$ac_delim
51967 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51968 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51969 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51970 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51971 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51972 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51973 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51974 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51975 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51976 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51977 SO_SUFFIX!$SO_SUFFIX$ac_delim
51978 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51979 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51980 LIBPREFIX!$LIBPREFIX$ac_delim
51981 LIBEXT!$LIBEXT$ac_delim
51982 DLLPREFIX!$DLLPREFIX$ac_delim
51983 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51984 dlldir!$dlldir$ac_delim
51985 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51986 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51987 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51988 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51989 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51990 PIC_FLAG!$PIC_FLAG$ac_delim
51991 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51992 USE_SOVERSION!$USE_SOVERSION$ac_delim
51993 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51994 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51995 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51996 USE_MACVERSION!$USE_MACVERSION$ac_delim
51997 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51998 SONAME_FLAG!$SONAME_FLAG$ac_delim
51999 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52000 BK_DEPS!$BK_DEPS$ac_delim
52001 WINDRES!$WINDRES$ac_delim
52003 SETFILE!$SETFILE$ac_delim
52004 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52005 GCC_PCH!$GCC_PCH$ac_delim
52008 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52010 elif $ac_last_try; then
52011 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52012 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52013 { (exit 1); exit 1; }; }
52015 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52019 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52020 if test -n "$ac_eof"; then
52021 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52022 ac_eof
=`expr $ac_eof + 1`
52025 cat >>$CONFIG_STATUS <<_ACEOF
52026 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52027 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52030 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52031 s/^/s,@/; s/!/@,|#_!!_#|/
52034 s/'"$ac_delim"'$/,g/; t
52036 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52037 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52038 rm -f conf$
$subs.
sed
52039 cat >>$CONFIG_STATUS <<_ACEOF
52045 for ac_last_try
in false false false false false
:; do
52046 cat >conf$
$subs.
sed <<_ACEOF
52047 ICC_PCH!$ICC_PCH$ac_delim
52048 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52049 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52050 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52051 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52052 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52053 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52054 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52055 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52056 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52057 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52058 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52059 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52060 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52061 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52062 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52063 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52064 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52065 COND_BUILD_release!$COND_BUILD_release$ac_delim
52066 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52067 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52068 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52069 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52070 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52071 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52072 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52073 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52074 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52075 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52076 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52077 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52078 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52079 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52080 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52081 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52082 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52083 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52084 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52085 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52086 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52087 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52088 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52089 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52090 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52091 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52092 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52093 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52094 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52095 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52096 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52097 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52098 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52099 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52100 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52101 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52102 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52103 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52104 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52105 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52106 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52107 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52108 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52109 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52110 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52111 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52112 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52113 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52114 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52115 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52116 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52117 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
52118 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52119 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
52120 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52121 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52122 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52123 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52124 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52125 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52126 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52127 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52128 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52129 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52130 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52131 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52132 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52133 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52134 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52135 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52136 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52137 COND_SHARED_0!$COND_SHARED_0$ac_delim
52138 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52139 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52140 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52141 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52142 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52143 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52146 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52148 elif $ac_last_try; then
52149 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52150 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52151 { (exit 1); exit 1; }; }
52153 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52157 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52158 if test -n "$ac_eof"; then
52159 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52160 ac_eof
=`expr $ac_eof + 1`
52163 cat >>$CONFIG_STATUS <<_ACEOF
52164 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52165 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52168 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52169 s/^/s,@/; s/!/@,|#_!!_#|/
52172 s/'"$ac_delim"'$/,g/; t
52174 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52175 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52176 rm -f conf$
$subs.
sed
52177 cat >>$CONFIG_STATUS <<_ACEOF
52183 for ac_last_try
in false false false false false
:; do
52184 cat >conf$
$subs.
sed <<_ACEOF
52185 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52186 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52187 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52188 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52189 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52190 COND_SHARED_1!$COND_SHARED_1$ac_delim
52191 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52192 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52193 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52194 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52195 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52196 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52197 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52198 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52199 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52200 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52201 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52202 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52203 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52204 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52205 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52206 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52207 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52208 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52209 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52210 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52211 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52212 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52213 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52214 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52215 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52216 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52217 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52218 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52219 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52220 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52221 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52222 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52223 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52224 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52225 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52226 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52227 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52228 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52229 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52230 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52231 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52232 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52233 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52234 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52235 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52236 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52237 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52238 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52239 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52240 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52241 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52242 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52243 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52244 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52245 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52246 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52247 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52248 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52249 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52250 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52251 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52252 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52253 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52254 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52255 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52256 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52257 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52258 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52259 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52260 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52261 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52262 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52263 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52264 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52265 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52266 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52267 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52268 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52269 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52270 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52271 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52272 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52273 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52274 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52275 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52276 DEREZ!$DEREZ$ac_delim
52277 SHARED!$SHARED$ac_delim
52278 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52279 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52280 USE_GUI!$USE_GUI$ac_delim
52281 AFMINSTALL!$AFMINSTALL$ac_delim
52284 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52286 elif $ac_last_try; then
52287 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52288 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52289 { (exit 1); exit 1; }; }
52291 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52295 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52296 if test -n "$ac_eof"; then
52297 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52298 ac_eof
=`expr $ac_eof + 1`
52301 cat >>$CONFIG_STATUS <<_ACEOF
52302 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52303 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52306 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52307 s/^/s,@/; s/!/@,|#_!!_#|/
52310 s/'"$ac_delim"'$/,g/; t
52312 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52313 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52314 rm -f conf$
$subs.
sed
52315 cat >>$CONFIG_STATUS <<_ACEOF
52321 for ac_last_try
in false false false false false
:; do
52322 cat >conf$
$subs.
sed <<_ACEOF
52323 WIN32INSTALL!$WIN32INSTALL$ac_delim
52324 TOOLKIT!$TOOLKIT$ac_delim
52325 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52326 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52327 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52328 cross_compiling!$cross_compiling$ac_delim
52329 WIDGET_SET!$WIDGET_SET$ac_delim
52330 WX_RELEASE!$WX_RELEASE$ac_delim
52331 WX_VERSION!$WX_VERSION$ac_delim
52332 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52333 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52334 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52335 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52336 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52337 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52338 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52339 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52340 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52341 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52342 GUIDIST!$GUIDIST$ac_delim
52343 DISTDIR!$DISTDIR$ac_delim
52344 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52345 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52346 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52347 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52348 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52349 RESCOMP!$RESCOMP$ac_delim
52350 RESFLAGS!$RESFLAGS$ac_delim
52351 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52352 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52353 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52354 LIBWXMACRES!$LIBWXMACRES$ac_delim
52355 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52356 MACSETFILE!$MACSETFILE$ac_delim
52358 DLLTOOL!$DLLTOOL$ac_delim
52359 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52360 LIBOBJS!$LIBOBJS$ac_delim
52361 LTLIBOBJS!$LTLIBOBJS$ac_delim
52364 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 39; then
52366 elif $ac_last_try; then
52367 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52368 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52369 { (exit 1); exit 1; }; }
52371 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52375 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52376 if test -n "$ac_eof"; then
52377 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52378 ac_eof
=`expr $ac_eof + 1`
52381 cat >>$CONFIG_STATUS <<_ACEOF
52382 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52383 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52386 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52387 s/^/s,@/; s/!/@,|#_!!_#|/
52390 s/'"$ac_delim"'$/,g/; t
52392 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52393 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52394 rm -f conf$
$subs.
sed
52395 cat >>$CONFIG_STATUS <<_ACEOF
52402 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52403 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52404 # trailing colons and then remove the whole line if VPATH becomes empty
52405 # (actually we leave an empty line to preserve line numbers).
52406 if test "x$srcdir" = x.
; then
52407 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52408 s/:*\$(srcdir):*/:/
52409 s/:*\${srcdir}:*/:/
52411 s/^\([^=]*=[ ]*\):*/\1/
52417 cat >>$CONFIG_STATUS <<\_ACEOF
52418 fi # test -n "$CONFIG_FILES"
52421 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52424 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52426 case $ac_mode$ac_tag in
52428 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52429 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52430 { (exit 1); exit 1; }; };;
52431 :[FH
]-) ac_tag
=-:-;;
52432 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52449 -) ac_f
="$tmp/stdin";;
52450 *) # Look for the file first in the build tree, then in the source tree
52451 # (if the path is not absolute). The absolute path cannot be DOS-style,
52452 # because $ac_f cannot contain `:'.
52456 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52458 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52459 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52460 { (exit 1); exit 1; }; };;
52462 ac_file_inputs
="$ac_file_inputs $ac_f"
52465 # Let's still pretend it is `configure' which instantiates (i.e., don't
52466 # use $as_me), people would be surprised to read:
52467 # /* config.h. Generated by config.status. */
52468 configure_input
="Generated from "`IFS=:
52469 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52470 if test x
"$ac_file" != x
-; then
52471 configure_input
="$ac_file. $configure_input"
52472 { echo "$as_me:$LINENO: creating $ac_file" >&5
52473 echo "$as_me: creating $ac_file" >&6;}
52477 *:-:* | *:-) cat >"$tmp/stdin";;
52482 ac_dir
=`$as_dirname -- "$ac_file" ||
52483 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52484 X"$ac_file" : 'X\(//\)[^/]' \| \
52485 X"$ac_file" : 'X\(//\)$' \| \
52486 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52492 /^X\(\/\/\)[^/].*/{
52507 -*) as_dir
=.
/$as_dir;;
52509 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52513 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52514 *) as_qdir
=$as_dir;;
52516 as_dirs
="'$as_qdir' $as_dirs"
52517 as_dir
=`$as_dirname -- "$as_dir" ||
52518 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52519 X"$as_dir" : 'X\(//\)[^/]' \| \
52520 X"$as_dir" : 'X\(//\)$' \| \
52521 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52527 /^X\(\/\/\)[^/].*/{
52540 test -d "$as_dir" && break
52542 test -z "$as_dirs" || eval "mkdir $as_dirs"
52543 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52544 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52545 { (exit 1); exit 1; }; }; }
52549 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52551 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52552 # A ".." for each directory in $ac_dir_suffix.
52553 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52554 case $ac_top_builddir_sub in
52555 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52556 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52559 ac_abs_top_builddir
=$ac_pwd
52560 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52561 # for backward compatibility:
52562 ac_top_builddir
=$ac_top_build_prefix
52565 .
) # We are building in place.
52567 ac_top_srcdir
=$ac_top_builddir_sub
52568 ac_abs_top_srcdir
=$ac_pwd ;;
52569 [\\/]* | ?
:[\\/]* ) # Absolute name.
52570 ac_srcdir
=$srcdir$ac_dir_suffix;
52571 ac_top_srcdir
=$srcdir
52572 ac_abs_top_srcdir
=$srcdir ;;
52573 *) # Relative name.
52574 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52575 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52576 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52578 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52588 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52589 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52593 cat >>$CONFIG_STATUS <<\_ACEOF
52594 # If the template does not know about datarootdir, expand it.
52595 # FIXME: This hack should be removed a few years after 2.60.
52596 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52598 case `sed -n '/datarootdir/ {
52607 ' $ac_file_inputs` in
52608 *datarootdir
*) ac_datarootdir_seen
=yes;;
52609 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52610 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52611 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52613 cat >>$CONFIG_STATUS <<_ACEOF
52614 ac_datarootdir_hack='
52615 s&@datadir@&$datadir&g
52616 s&@docdir@&$docdir&g
52617 s&@infodir@&$infodir&g
52618 s&@localedir@&$localedir&g
52619 s&@mandir@&$mandir&g
52620 s&\\\${datarootdir}&$datarootdir&g' ;;
52624 # Neutralize VPATH when `$srcdir' = `.'.
52625 # Shell code in configure.ac might set extrasub.
52626 # FIXME: do we really want to maintain this feature?
52627 cat >>$CONFIG_STATUS <<_ACEOF
52631 cat >>$CONFIG_STATUS <<\_ACEOF
52633 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52634 s
&@configure_input@
&$configure_input&;t t
52635 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52636 s
&@srcdir@
&$ac_srcdir&;t t
52637 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52638 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52639 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52640 s
&@builddir@
&$ac_builddir&;t t
52641 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52642 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52643 s
&@INSTALL@
&$ac_INSTALL&;t t
52644 $ac_datarootdir_hack
52645 " $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
52647 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52648 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52649 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52650 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52651 which seems to be undefined. Please make sure it is defined." >&5
52652 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52653 which seems to be undefined. Please make sure it is defined." >&2;}
52657 -) cat "$tmp/out"; rm -f "$tmp/out";;
52658 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52667 # Transform confdefs.h into a sed script `conftest.defines', that
52668 # substitutes the proper values into config.h.in to produce config.h.
52669 rm -f conftest.defines conftest.
tail
52670 # First, append a space to every undef/define line, to ease matching.
52671 echo 's/$/ /' >conftest.defines
52672 # Then, protect against being on the right side of a sed subst, or in
52673 # an unquoted here document, in config.status. If some macros were
52674 # called several times there might be several #defines for the same
52675 # symbol, which is useless. But do not sort them, since the last
52676 # AC_DEFINE must be honored.
52677 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52678 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52679 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52680 # PARAMS is the parameter list in the macro definition--in most cases, it's
52681 # just an empty string.
52682 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52683 ac_dB
='\\)[ (].*,\\1define\\2'
52691 s/^[ ]*#[ ]*define[ ][ ]*//
52696 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52697 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52698 ' >>conftest.defines
52700 # Remove the space that was appended to ease matching.
52701 # Then replace #undef with comments. This is necessary, for
52702 # example, in the case of _POSIX_SOURCE, which is predefined and required
52703 # on some systems where configure will not decide to define it.
52704 # (The regexp can be short, since the line contains either #define or #undef.)
52706 s,^[ #]*u.*,/* & */,' >>conftest.defines
52708 # Break up conftest.defines:
52709 ac_max_sed_lines
=50
52711 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52712 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52713 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52715 ac_in
='$ac_file_inputs'
52716 ac_out
='"$tmp/out1"'
52717 ac_nxt
='"$tmp/out2"'
52721 # Write a here document:
52722 cat >>$CONFIG_STATUS <<_ACEOF
52723 # First, check the format of the line:
52724 cat >"\$tmp/defines.sed" <<\\CEOF
52725 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52726 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52730 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52732 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52733 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52734 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52735 grep . conftest.
tail >/dev
/null
|| break
52736 rm -f conftest.defines
52737 mv conftest.
tail conftest.defines
52739 rm -f conftest.defines conftest.
tail
52741 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52742 cat >>$CONFIG_STATUS <<\_ACEOF
52743 if test x
"$ac_file" != x
-; then
52744 echo "/* $configure_input */" >"$tmp/config.h"
52745 cat "$ac_result" >>"$tmp/config.h"
52746 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52747 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52748 echo "$as_me: $ac_file is unchanged" >&6;}
52751 mv "$tmp/config.h" $ac_file
52754 echo "/* $configure_input */"
52760 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52761 echo "$as_me: executing $ac_file commands" >&6;}
52766 case $ac_file$ac_mode in
52768 mkdir -p $outdir &&
52769 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52771 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52772 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52773 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52774 "wx-config":C
) rm -f wx
-config
52775 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52782 { (exit 0); exit 0; }
52784 chmod +x
$CONFIG_STATUS
52785 ac_clean_files
=$ac_clean_files_save
52788 # configure is writing to config.log, and then calls config.status.
52789 # config.status does its own redirection, appending to config.log.
52790 # Unfortunately, on DOS this fails, as config.log is still kept open
52791 # by configure, so config.status won't be able to write to it; its
52792 # output is simply discarded. So we exec the FD to /dev/null,
52793 # effectively closing config.log, so it can be properly (re)opened and
52794 # appended to by config.status. When coming back to configure, we
52795 # need to make the FD available again.
52796 if test "$no_create" != yes; then
52798 ac_config_status_args
=
52799 test "$silent" = yes &&
52800 ac_config_status_args
="$ac_config_status_args --quiet"
52802 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52804 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52805 # would make configure fail if this is the last instruction.
52806 $ac_cs_success || { (exit 1); exit 1; }
52810 # CONFIG_SUBDIRS section.
52812 if test "$no_recursion" != yes; then
52814 # Remove --cache-file and --srcdir arguments so they do not pile up.
52815 ac_sub_configure_args
=
52817 eval "set x $ac_configure_args"
52821 if test -n "$ac_prev"; then
52826 -cache-file | --cache-file | --cache-fil | --cache-fi \
52827 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52828 ac_prev
=cache_file
;;
52829 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52830 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52833 --config-cache | -C)
52835 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52837 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52839 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52841 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52845 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52847 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52851 # Always prepend --prefix to ensure using the same prefix
52852 # in subdir configurations.
52853 ac_arg
="--prefix=$prefix"
52855 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52857 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52860 if test "$silent" = yes; then
52861 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52865 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52867 # Do not complain, so a configure script can configure whichever
52868 # parts of a large source tree are present.
52869 test -d "$srcdir/$ac_dir" || continue
52871 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52872 echo "$as_me:$LINENO: $ac_msg" >&5
52876 -*) as_dir
=.
/$as_dir;;
52878 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52882 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52883 *) as_qdir
=$as_dir;;
52885 as_dirs
="'$as_qdir' $as_dirs"
52886 as_dir
=`$as_dirname -- "$as_dir" ||
52887 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52888 X"$as_dir" : 'X\(//\)[^/]' \| \
52889 X"$as_dir" : 'X\(//\)$' \| \
52890 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52896 /^X\(\/\/\)[^/].*/{
52909 test -d "$as_dir" && break
52911 test -z "$as_dirs" || eval "mkdir $as_dirs"
52912 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52913 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52914 { (exit 1); exit 1; }; }; }
52918 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52920 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52921 # A ".." for each directory in $ac_dir_suffix.
52922 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52923 case $ac_top_builddir_sub in
52924 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52925 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52928 ac_abs_top_builddir
=$ac_pwd
52929 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52930 # for backward compatibility:
52931 ac_top_builddir
=$ac_top_build_prefix
52934 .
) # We are building in place.
52936 ac_top_srcdir
=$ac_top_builddir_sub
52937 ac_abs_top_srcdir
=$ac_pwd ;;
52938 [\\/]* | ?
:[\\/]* ) # Absolute name.
52939 ac_srcdir
=$srcdir$ac_dir_suffix;
52940 ac_top_srcdir
=$srcdir
52941 ac_abs_top_srcdir
=$srcdir ;;
52942 *) # Relative name.
52943 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52944 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52945 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52947 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52952 # Check for guested configure; otherwise get Cygnus style configure.
52953 if test -f "$ac_srcdir/configure.gnu"; then
52954 ac_sub_configure
=$ac_srcdir/configure.gnu
52955 elif test -f "$ac_srcdir/configure"; then
52956 ac_sub_configure
=$ac_srcdir/configure
52957 elif test -f "$ac_srcdir/configure.in"; then
52958 # This should be Cygnus configure.
52959 ac_sub_configure
=$ac_aux_dir/configure
52961 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52962 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52966 # The recursion is here.
52967 if test -n "$ac_sub_configure"; then
52968 # Make the cache file name correct relative to the subdirectory.
52969 case $cache_file in
52970 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52971 *) # Relative name.
52972 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
52975 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52976 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52977 # The eval makes quoting arguments work.
52978 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52979 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52980 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52981 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52982 { (exit 1); exit 1; }; }
52991 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52993 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52994 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52996 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52997 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52998 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52999 if test "$wxUSE_UNICODE" = "yes"; then
53000 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53001 echo " (using UTF-8)"
53003 echo " (using wchar_t)"
53009 echo " What level of wxWidgets compatibility should be enabled?"
53010 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53011 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53013 echo " Which libraries should wxWidgets use?"
53014 echo " STL ${wxUSE_STL}"
53015 echo " jpeg ${wxUSE_LIBJPEG-none}"
53016 echo " png ${wxUSE_LIBPNG-none}"
53017 echo " regex ${wxUSE_REGEX}"
53018 echo " tiff ${wxUSE_LIBTIFF-none}"
53019 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53020 echo " xpm ${wxUSE_LIBXPM-none}"
53022 echo " zlib ${wxUSE_ZLIB}"
53023 echo " expat ${wxUSE_EXPAT}"
53024 echo " libmspack ${wxUSE_LIBMSPACK}"
53025 echo " sdl ${wxUSE_LIBSDL}"