2 # From configure.in Id: configure.in 58985 2009-02-18 11:05:38Z 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
706 LIBGNOMEPRINTUI_CFLAGS
754 SAMPLES_RPATH_POSTLINK
810 ICC_PCH_CREATE_SWITCH
814 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
815 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
816 COND_BUILD_DEBUG_UNICODE_0
817 COND_BUILD_DEBUG_UNICODE_1
819 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
820 COND_BUILD_RELEASE_UNICODE_0
821 COND_BUILD_RELEASE_UNICODE_1
823 COND_BUILD_debug_DEBUG_FLAG_default
824 COND_BUILD_debug_DEBUG_INFO_default
825 COND_BUILD_debug_UNICODE_0
826 COND_BUILD_debug_UNICODE_1
828 COND_BUILD_release_DEBUG_INFO_default
829 COND_BUILD_release_UNICODE_0
830 COND_BUILD_release_UNICODE_1
839 COND_MONOLITHIC_0_SHARED_0
840 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
845 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
846 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
847 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
848 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
849 COND_MONOLITHIC_0_SHARED_1
850 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
852 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
853 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
855 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
856 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
858 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
859 COND_MONOLITHIC_0_USE_AUI_1
860 COND_MONOLITHIC_0_USE_GUI_1
861 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_USE_HTML_1
863 COND_MONOLITHIC_0_USE_MEDIA_1
864 COND_MONOLITHIC_0_USE_PROPGRID_1
865 COND_MONOLITHIC_0_USE_QA_1
866 COND_MONOLITHIC_0_USE_RICHTEXT_1
867 COND_MONOLITHIC_0_USE_STC_1
868 COND_MONOLITHIC_0_USE_XRC_1
870 COND_MONOLITHIC_1_SHARED_0
871 COND_MONOLITHIC_1_SHARED_1
872 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
873 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
874 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
875 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
876 COND_PLATFORM_MACOSX_1
877 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
878 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
879 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
882 COND_PLATFORM_MACOSX_1_USE_GUI_1
883 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
884 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
885 COND_PLATFORM_MACOS_1
888 COND_PLATFORM_MSDOS_0
889 COND_PLATFORM_MSDOS_1
893 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
894 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
895 COND_PLATFORM_UNIX_1_USE_GUI_1
896 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
897 COND_PLATFORM_WIN32_0
898 COND_PLATFORM_WIN32_1
900 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
901 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
902 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
903 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
904 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
905 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
906 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
907 COND_SHARED_0_USE_STC_1
908 COND_SHARED_0_wxUSE_EXPAT_builtin
909 COND_SHARED_0_wxUSE_REGEX_builtin
910 COND_SHARED_0_wxUSE_ZLIB_builtin
912 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
915 COND_TOOLKIT_COCOA_USE_GUI_1
916 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
918 COND_TOOLKIT_DFB_USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
922 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_GTK_USE_GUI_1
929 COND_TOOLKIT_MGL_USE_GUI_1
931 COND_TOOLKIT_MOTIF_USE_GUI_1
932 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_MSW_USE_GUI_1
935 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW_WXUNIV_0
937 COND_TOOLKIT_OSX_CARBON
938 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
939 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_OSX_COCOA
941 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
942 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_OSX_IPHONE
945 COND_TOOLKIT_PM_USE_GUI_1
946 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
948 COND_TOOLKIT_WINCE_USE_GUI_1
949 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_WINCE_WXUNIV_0
952 COND_TOOLKIT_X11_USE_GUI_1
954 COND_USE_EXCEPTIONS_0
955 COND_USE_EXCEPTIONS_1
958 COND_USE_GUI_1_USE_OPENGL_1
959 COND_USE_GUI_1_WXUNIV_0
960 COND_USE_GUI_1_WXUNIV_1
961 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
962 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
964 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
965 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
966 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
972 COND_USE_SOSYMLINKS_1
973 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
974 COND_USE_SOVERLINUX_1
976 COND_USE_SOVERSOLARIS_1
981 COND_WINDOWS_IMPLIB_1
982 COND_WITH_PLUGIN_SDL_1
985 COND_WXUSE_EXPAT_BUILTIN
986 COND_WXUSE_LIBJPEG_BUILTIN
987 COND_WXUSE_LIBPNG_BUILTIN
988 COND_WXUSE_LIBTIFF_BUILTIN
989 COND_WXUSE_REGEX_BUILTIN
990 COND_WXUSE_ZLIB_BUILTIN
991 COND_wxUSE_EXPAT_builtin
992 COND_wxUSE_LIBJPEG_builtin
993 COND_wxUSE_LIBPNG_builtin
994 COND_wxUSE_LIBTIFF_builtin
995 COND_wxUSE_REGEX_builtin
996 COND_wxUSE_ZLIB_builtin
999 WX_LIBRARY_BASENAME_NOGUI
1000 WX_LIBRARY_BASENAME_GUI
1020 WXCONFIG_LDFLAGS_GUI
1032 WX_RESOURCES_MACOSX_ASCII
1033 WX_RESOURCES_MACOSX_DATA
1043 ac_precious_vars
='build_alias
1067 LIBGNOMEPRINTUI_CFLAGS
1068 LIBGNOMEPRINTUI_LIBS
1077 ac_subdirs_all
='src/tiff
1080 # Initialize some variables set by options.
1082 ac_init_version
=false
1083 # The variables have the same names as the options, with
1084 # dashes changed to underlines.
1085 cache_file
=/dev
/null
1092 program_transform_name
=s
,x
,x
,
1100 # Installation directory options.
1101 # These are left unexpanded so users can "make install exec_prefix=/foo"
1102 # and all the variables that are supposed to be based on exec_prefix
1103 # by default will actually change.
1104 # Use braces instead of parens because sh, perl, etc. also accept them.
1105 # (The list follows the same order as the GNU Coding Standards.)
1106 bindir
='${exec_prefix}/bin'
1107 sbindir
='${exec_prefix}/sbin'
1108 libexecdir
='${exec_prefix}/libexec'
1109 datarootdir
='${prefix}/share'
1110 datadir
='${datarootdir}'
1111 sysconfdir
='${prefix}/etc'
1112 sharedstatedir
='${prefix}/com'
1113 localstatedir
='${prefix}/var'
1114 includedir
='${prefix}/include'
1115 oldincludedir
='/usr/include'
1116 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1117 infodir
='${datarootdir}/info'
1122 libdir
='${exec_prefix}/lib'
1123 localedir
='${datarootdir}/locale'
1124 mandir
='${datarootdir}/man'
1130 # If the previous option needs an argument, assign it.
1131 if test -n "$ac_prev"; then
1132 eval $ac_prev=\
$ac_option
1138 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1142 # Accept the important Cygnus configure options, so we can diagnose typos.
1144 case $ac_dashdash$ac_option in
1148 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1150 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1151 bindir
=$ac_optarg ;;
1153 -build | --build | --buil | --bui | --bu)
1154 ac_prev
=build_alias
;;
1155 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1156 build_alias
=$ac_optarg ;;
1158 -cache-file | --cache-file | --cache-fil | --cache-fi \
1159 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1160 ac_prev
=cache_file
;;
1161 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1162 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1163 cache_file
=$ac_optarg ;;
1165 --config-cache | -C)
1166 cache_file
=config.cache
;;
1168 -datadir | --datadir | --datadi | --datad)
1170 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1171 datadir
=$ac_optarg ;;
1173 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1174 | --dataroo | --dataro | --datar)
1175 ac_prev
=datarootdir
;;
1176 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1177 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1178 datarootdir
=$ac_optarg ;;
1180 -disable-* | --disable-*)
1181 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1184 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1185 { (exit 1); exit 1; }; }
1186 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1187 eval enable_
$ac_feature=no
;;
1189 -docdir | --docdir | --docdi | --doc | --do)
1191 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1192 docdir
=$ac_optarg ;;
1194 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1196 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1197 dvidir
=$ac_optarg ;;
1199 -enable-* | --enable-*)
1200 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_
$ac_feature=\
$ac_optarg ;;
1208 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1209 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1210 | --exec | --exe | --ex)
1211 ac_prev
=exec_prefix
;;
1212 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1213 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1214 | --exec=* | --exe=* | --ex=*)
1215 exec_prefix
=$ac_optarg ;;
1217 -gas | --gas | --ga | --g)
1218 # Obsolete; use --with-gas.
1221 -help | --help | --hel | --he | -h)
1222 ac_init_help
=long
;;
1223 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1224 ac_init_help
=recursive
;;
1225 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1226 ac_init_help
=short
;;
1228 -host | --host | --hos | --ho)
1229 ac_prev
=host_alias
;;
1230 -host=* | --host=* | --hos=* | --ho=*)
1231 host_alias
=$ac_optarg ;;
1233 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1235 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1237 htmldir
=$ac_optarg ;;
1239 -includedir | --includedir | --includedi | --included | --include \
1240 | --includ | --inclu | --incl | --inc)
1241 ac_prev
=includedir
;;
1242 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1243 | --includ=* | --inclu=* | --incl=* | --inc=*)
1244 includedir
=$ac_optarg ;;
1246 -infodir | --infodir | --infodi | --infod | --info | --inf)
1248 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1249 infodir
=$ac_optarg ;;
1251 -libdir | --libdir | --libdi | --libd)
1253 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1254 libdir
=$ac_optarg ;;
1256 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1257 | --libexe | --libex | --libe)
1258 ac_prev
=libexecdir
;;
1259 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1260 | --libexe=* | --libex=* | --libe=*)
1261 libexecdir
=$ac_optarg ;;
1263 -localedir | --localedir | --localedi | --localed | --locale)
1264 ac_prev
=localedir
;;
1265 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1266 localedir
=$ac_optarg ;;
1268 -localstatedir | --localstatedir | --localstatedi | --localstated \
1269 | --localstate | --localstat | --localsta | --localst | --locals)
1270 ac_prev
=localstatedir
;;
1271 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1272 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1273 localstatedir
=$ac_optarg ;;
1275 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1277 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1278 mandir
=$ac_optarg ;;
1280 -nfp | --nfp | --nf)
1281 # Obsolete; use --without-fp.
1284 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1285 | --no-cr | --no-c | -n)
1288 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1289 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1292 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1293 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1294 | --oldin | --oldi | --old | --ol | --o)
1295 ac_prev
=oldincludedir
;;
1296 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1297 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1298 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1299 oldincludedir
=$ac_optarg ;;
1301 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1303 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1304 prefix
=$ac_optarg ;;
1306 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1307 | --program-pre | --program-pr | --program-p)
1308 ac_prev
=program_prefix
;;
1309 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1310 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1311 program_prefix
=$ac_optarg ;;
1313 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1314 | --program-suf | --program-su | --program-s)
1315 ac_prev
=program_suffix
;;
1316 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1317 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1318 program_suffix
=$ac_optarg ;;
1320 -program-transform-name | --program-transform-name \
1321 | --program-transform-nam | --program-transform-na \
1322 | --program-transform-n | --program-transform- \
1323 | --program-transform | --program-transfor \
1324 | --program-transfo | --program-transf \
1325 | --program-trans | --program-tran \
1326 | --progr-tra | --program-tr | --program-t)
1327 ac_prev
=program_transform_name
;;
1328 -program-transform-name=* | --program-transform-name=* \
1329 | --program-transform-nam=* | --program-transform-na=* \
1330 | --program-transform-n=* | --program-transform-=* \
1331 | --program-transform=* | --program-transfor=* \
1332 | --program-transfo=* | --program-transf=* \
1333 | --program-trans=* | --program-tran=* \
1334 | --progr-tra=* | --program-tr=* | --program-t=*)
1335 program_transform_name
=$ac_optarg ;;
1337 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1339 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1340 pdfdir
=$ac_optarg ;;
1342 -psdir | --psdir | --psdi | --psd | --ps)
1344 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1347 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1348 | -silent | --silent | --silen | --sile | --sil)
1351 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1353 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1355 sbindir
=$ac_optarg ;;
1357 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1358 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1359 | --sharedst | --shareds | --shared | --share | --shar \
1361 ac_prev
=sharedstatedir
;;
1362 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1363 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1364 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1366 sharedstatedir
=$ac_optarg ;;
1368 -site | --site | --sit)
1370 -site=* | --site=* | --sit=*)
1373 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1375 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1376 srcdir
=$ac_optarg ;;
1378 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1379 | --syscon | --sysco | --sysc | --sys | --sy)
1380 ac_prev
=sysconfdir
;;
1381 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1382 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1383 sysconfdir
=$ac_optarg ;;
1385 -target | --target | --targe | --targ | --tar | --ta | --t)
1386 ac_prev
=target_alias
;;
1387 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1388 target_alias
=$ac_optarg ;;
1390 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1393 -version | --version | --versio | --versi | --vers | -V)
1394 ac_init_version
=: ;;
1397 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1398 # Reject names that are not valid shell variable names.
1399 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1400 { echo "$as_me: error: invalid package name: $ac_package" >&2
1401 { (exit 1); exit 1; }; }
1402 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1403 eval with_
$ac_package=\
$ac_optarg ;;
1405 -without-* | --without-*)
1406 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1407 # Reject names that are not valid shell variable names.
1408 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1409 { echo "$as_me: error: invalid package name: $ac_package" >&2
1410 { (exit 1); exit 1; }; }
1411 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1412 eval with_
$ac_package=no
;;
1415 # Obsolete; use --with-x.
1418 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1419 | --x-incl | --x-inc | --x-in | --x-i)
1420 ac_prev
=x_includes
;;
1421 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1422 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1423 x_includes
=$ac_optarg ;;
1425 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1426 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1427 ac_prev
=x_libraries
;;
1428 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1429 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1430 x_libraries
=$ac_optarg ;;
1432 -*) { echo "$as_me: error: unrecognized option: $ac_option
1433 Try \`$0 --help' for more information." >&2
1434 { (exit 1); exit 1; }; }
1438 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1439 # Reject names that are not valid shell variable names.
1440 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1441 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1442 { (exit 1); exit 1; }; }
1443 eval $ac_envvar=\
$ac_optarg
1444 export $ac_envvar ;;
1447 # FIXME: should be removed in autoconf 3.0.
1448 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1449 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1450 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1451 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1457 if test -n "$ac_prev"; then
1458 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1459 { echo "$as_me: error: missing argument to $ac_option" >&2
1460 { (exit 1); exit 1; }; }
1463 # Be sure to have absolute directory names.
1464 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1465 datadir sysconfdir sharedstatedir localstatedir includedir \
1466 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1467 libdir localedir mandir
1469 eval ac_val
=\$
$ac_var
1471 [\\/$
]* | ?
:[\\/]* ) continue;;
1472 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1474 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1475 { (exit 1); exit 1; }; }
1478 # There might be people who depend on the old broken behavior: `$host'
1479 # used to hold the argument of --host etc.
1480 # FIXME: To remove some day.
1483 target
=$target_alias
1485 # FIXME: To remove some day.
1486 if test "x$host_alias" != x
; then
1487 if test "x$build_alias" = x
; then
1488 cross_compiling
=maybe
1489 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1490 If a cross compiler is detected then cross compile mode will be used." >&2
1491 elif test "x$build_alias" != "x$host_alias"; then
1497 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1499 test "$silent" = yes && exec 6>/dev
/null
1502 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1503 ac_ls_di
=`ls -di .` &&
1504 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1505 { echo "$as_me: error: Working directory cannot be determined" >&2
1506 { (exit 1); exit 1; }; }
1507 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1508 { echo "$as_me: error: pwd does not report name of working directory" >&2
1509 { (exit 1); exit 1; }; }
1512 # Find the source files, if location was not specified.
1513 if test -z "$srcdir"; then
1514 ac_srcdir_defaulted
=yes
1515 # Try the directory containing this script, then the parent directory.
1516 ac_confdir
=`$as_dirname -- "$0" ||
1517 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1518 X"$0" : 'X\(//\)[^/]' \| \
1519 X"$0" : 'X\(//\)$' \| \
1520 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1540 if test ! -r "$srcdir/$ac_unique_file"; then
1544 ac_srcdir_defaulted
=no
1546 if test ! -r "$srcdir/$ac_unique_file"; then
1547 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1548 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1549 { (exit 1); exit 1; }; }
1551 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1553 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1554 { (exit 1); exit 1; }; }
1556 # When building in place, set srcdir=.
1557 if test "$ac_abs_confdir" = "$ac_pwd"; then
1560 # Remove unnecessary trailing slashes from srcdir.
1561 # Double slashes in file names in object file debugging info
1562 # mess up M-x gdb in Emacs.
1564 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1566 for ac_var
in $ac_precious_vars; do
1567 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1568 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1569 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1570 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1574 # Report the --help message.
1576 if test "$ac_init_help" = "long"; then
1577 # Omit some internal or obsolete options to make the list less imposing.
1578 # This message is too long to be a string in the A/UX 3.1 sh.
1580 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1582 Usage: $0 [OPTION]... [VAR=VALUE]...
1584 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1585 VAR=VALUE. See below for descriptions of some of the useful variables.
1587 Defaults for the options are specified in brackets.
1590 -h, --help display this help and exit
1591 --help=short display options specific to this package
1592 --help=recursive display the short help of all the included packages
1593 -V, --version display version information and exit
1594 -q, --quiet, --silent do not print \`checking...' messages
1595 --cache-file=FILE cache test results in FILE [disabled]
1596 -C, --config-cache alias for \`--cache-file=config.cache'
1597 -n, --no-create do not create output files
1598 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1600 Installation directories:
1601 --prefix=PREFIX install architecture-independent files in PREFIX
1602 [$ac_default_prefix]
1603 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1606 By default, \`make install' will install all the files in
1607 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1608 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1609 for instance \`--prefix=\$HOME'.
1611 For better control, use the options below.
1613 Fine tuning of the installation directories:
1614 --bindir=DIR user executables [EPREFIX/bin]
1615 --sbindir=DIR system admin executables [EPREFIX/sbin]
1616 --libexecdir=DIR program executables [EPREFIX/libexec]
1617 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1618 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1619 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1620 --libdir=DIR object code libraries [EPREFIX/lib]
1621 --includedir=DIR C header files [PREFIX/include]
1622 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1623 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1624 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1625 --infodir=DIR info documentation [DATAROOTDIR/info]
1626 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1627 --mandir=DIR man documentation [DATAROOTDIR/man]
1628 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1629 --htmldir=DIR html documentation [DOCDIR]
1630 --dvidir=DIR dvi documentation [DOCDIR]
1631 --pdfdir=DIR pdf documentation [DOCDIR]
1632 --psdir=DIR ps documentation [DOCDIR]
1638 --x-includes=DIR X include files are
in DIR
1639 --x-libraries=DIR X library files are
in DIR
1642 --build=BUILD configure
for building on BUILD
[guessed
]
1643 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1647 if test -n "$ac_init_help"; then
1648 case $ac_init_help in
1649 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1654 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1655 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1656 --disable-gui don
't build GUI parts of the library
1657 --enable-monolithic build wxWidgets as single library
1658 --enable-plugins build parts of wxWidgets as loadable components
1659 --enable-official_build official build of wxWidgets (win32 DLL only)
1660 --enable-vendor=VENDOR vendor name (win32 DLL only)
1661 --disable-all-features disable all optional features to build minimal library
1662 --enable-universal use wxWidgets GUI controls instead of native ones
1663 --enable-nanox use NanoX
1664 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1665 --enable-gpe use GNOME PDA Environment features if possible
1666 --disable-shared create static library instead of shared
1667 --enable-debug same as debug_flag and debug_info
1668 --enable-stl use STL for containers
1669 --enable-std_iostreams use standard C++ stream classes
1670 --enable-std_string use standard C++ string classes
1671 --disable-unicode compile without Unicode support
1672 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1673 --enable-utf8 use UTF-8 representation for strings (Unix only)
1674 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1675 --enable-extended_rtti use extended RTTI (XTI)
1676 --enable-omf use OMF object format
1677 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1678 --enable-debug_info create code with debugging information
1679 --disable-optimise compile without optimisations
1680 --enable-debug_gdb create code with extra GDB debugging information
1681 --enable-debug_cntxt use wxDebugContext
1682 --enable-mem_tracing create code with memory tracing
1683 --enable-profile create code with profiling information
1684 --enable-no_rtti create code without RTTI information
1685 --enable-no_exceptions create code without C++ exceptions handling
1686 --enable-permissive compile code disregarding strict ANSI
1687 --enable-no_deps create code without dependency information
1688 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1689 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1690 --enable-compat26 enable wxWidgets
2.6 compatibility
1691 --disable-compat28 disable wxWidgets
2.8 compatibility
1692 --disable-rpath disable use of rpath
for uninstalled builds
1693 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1694 --disable-visibility disable use of ELF symbols visibility even
if supported
1695 --enable-intl use internationalization system
1696 --enable-xlocale use x
-locale support
(requires wxLocale
)
1697 --enable-config use wxConfig
(and derived
) classes
1698 --enable-protocols use wxProtocol and derived classes
1699 --enable-ftp use wxFTP
(requires wxProtocol
1700 --enable-http use wxHTTP
(requires wxProtocol
1701 --enable-fileproto use wxFileProto class
(requires wxProtocol
1702 --enable-sockets use socket
/network classes
1703 --enable-ipv6 enable IPv6 support
in wxSocket
1704 --enable-ole use OLE classes
(Win32 only
)
1705 --enable-dataobj use data object classes
1706 --enable-ipc use interprocess communication
(wxSocket etc.
)
1707 --enable-baseevtloop use event loop
in console programs too
1708 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1709 --enable-selectloop use wxSelectDispatcher class
1710 --enable-apple_ieee use the Apple IEEE codec
1711 --enable-arcstream use wxArchive streams
1712 --enable-base64 use base64 encoding
/decoding functions
1713 --enable-backtrace use wxStackWalker class
for getting backtraces
1714 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1715 --enable-cmdline use wxCmdLineParser class
1716 --enable-datetime use wxDateTime class
1717 --enable-debugreport use wxDebugReport class
1718 --enable-dialupman use dialup network classes
1719 --enable-dynlib use wxLibrary class
for DLL loading
1720 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1721 --enable-exceptions build exception
-safe library
1722 --enable-ffile use wxFFile class
1723 --enable-file use wxFile class
1724 --enable-filesystem use virtual
file systems classes
1725 --enable-fontenum use wxFontEnumerator class
1726 --enable-fontmap use font encodings conversion classes
1727 --enable-fs_archive use virtual archive filesystems
1728 --enable-fs_inet use virtual HTTP
/FTP filesystems
1729 --enable-fs_zip now replaced by fs_archive
1730 --enable-geometry use geometry class
1731 --enable-log use logging system
1732 --enable-longlong use wxLongLong class
1733 --enable-mimetype use wxMimeTypesManager
1734 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1735 --enable-snglinst use wxSingleInstanceChecker class
1736 --enable-sound use wxSound class
1737 --enable-stdpaths use wxStandardPaths class
1738 --enable-stopwatch use wxStopWatch class
1739 --enable-streams use wxStream etc classes
1740 --enable-sysoptions use wxSystemOptions
1741 --enable-tarstream use wxTar streams
1742 --enable-textbuf use wxTextBuffer class
1743 --enable-textfile use wxTextFile class
1744 --enable-timer use wxTimer class
1745 --enable-variant use wxVariant class
1746 --enable-zipstream use wxZip streams
1747 --enable-url use wxURL class
1748 --enable-protocol use wxProtocol class
1749 --enable-protocol-http HTTP support
in wxProtocol
1750 --enable-protocol-ftp FTP support
in wxProtocol
1751 --enable-protocol-file FILE support
in wxProtocol
1752 --enable-threads use threads
1753 --enable-iniconf use wxIniConfig
(Win32 only
)
1754 --enable-regkey use wxRegKey class
(Win32 only
)
1755 --enable-docview use document view architecture
1756 --enable-help use
help subsystem
1757 --enable-mshtmlhelp use MS HTML Help
(win32
)
1758 --enable-html use wxHTML sub
-library
1759 --enable-htmlhelp use wxHTML
-based help
1760 --enable-xrc use XRC resources sub
-library
1761 --enable-aui use AUI docking library
1762 --enable-propgrid use wxPropertyGrid library
1763 --enable-stc use wxStyledTextCtrl library
1764 --enable-constraints use layout
-constraints system
1765 --enable-loggui use standard GUI logger
1766 --enable-logwin use wxLogWindow
1767 --enable-logdialog use wxLogDialog
1768 --enable-mdi use multiple document interface architecture
1769 --enable-mdidoc use docview architecture with MDI
1770 --enable-mediactrl use wxMediaCtrl class
1771 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1772 --enable-webkit use wxWebKitCtrl
(Mac
)
1773 --enable-richtext use wxRichTextCtrl
1774 --enable-graphics_ctx use graphics context
2D drawing API
1775 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1776 --enable-printarch use printing architecture
1777 --enable-svg use wxSVGFileDC device context
1778 --enable-clipboard use wxClipboard class
1779 --enable-dnd use Drag
'n'Drop classes
1780 --enable-metafile use win32 metafiles
1781 --disable-controls disable compilation of all standard controls
1782 --enable-accel use accelerators
1783 --enable-animatectrl use wxAnimationCtrl class
1784 --enable-bmpbutton use wxBitmapButton class
1785 --enable-bmpcombobox use wxBitmapComboBox class
1786 --enable-button use wxButton class
1787 --enable-calendar use wxCalendarCtrl class
1788 --enable-caret use wxCaret class
1789 --enable-checkbox use wxCheckBox class
1790 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1791 --enable-choice use wxChoice class
1792 --enable-choicebook use wxChoicebook class
1793 --enable-collpane use wxCollapsiblePane class
1794 --enable-colourpicker use wxColourPickerCtrl class
1795 --enable-combobox use wxComboBox class
1796 --enable-comboctrl use wxComboCtrl class
1797 --enable-dataviewctrl use wxDataViewCtrl class
1798 --enable-datepick use wxDatePickerCtrl class
1799 --enable-detect_sm use code to detect X11 session manager
1800 --enable-dirpicker use wxDirPickerCtrl class
1801 --enable-display use wxDisplay class
1802 --enable-editablebox use wxEditableListBox class
1803 --enable-filectrl use wxFileCtrl class
1804 --enable-filepicker use wxFilePickerCtrl class
1805 --enable-fontpicker use wxFontPickerCtrl class
1806 --enable-gauge use wxGauge class
1807 --enable-grid use wxGrid class
1808 --enable-headerctrl use wxHeaderCtrl class
1809 --enable-hyperlink use wxHyperlinkCtrl class
1810 --enable-imaglist use wxImageList class
1811 --enable-listbook use wxListbook class
1812 --enable-listbox use wxListBox class
1813 --enable-listctrl use wxListCtrl class
1814 --enable-notebook use wxNotebook class
1815 --enable-notifmsg use wxNotificationMessage class
1816 --enable-odcombobox use wxOwnerDrawnComboBox class
1817 --enable-popupwin use wxPopUpWindow class
1818 --enable-radiobox use wxRadioBox class
1819 --enable-radiobtn use wxRadioButton class
1820 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1821 --enable-sash use wxSashWindow class
1822 --enable-scrollbar use wxScrollBar class and scrollable windows
1823 --enable-searchctrl use wxSearchCtrl class
1824 --enable-slider use wxSlider class
1825 --enable-spinbtn use wxSpinButton class
1826 --enable-spinctrl use wxSpinCtrl class
1827 --enable-splitter use wxSplitterWindow class
1828 --enable-statbmp use wxStaticBitmap class
1829 --enable-statbox use wxStaticBox class
1830 --enable-statline use wxStaticLine class
1831 --enable-stattext use wxStaticText class
1832 --enable-statusbar use wxStatusBar class
1833 --enable-taskbaricon use wxTaskBarIcon class
1834 --enable-tbarnative use native wxToolBar class
1835 --enable-textctrl use wxTextCtrl class
1836 --enable-tipwindow use wxTipWindow class
1837 --enable-togglebtn use wxToggleButton class
1838 --enable-toolbar use wxToolBar class
1839 --enable-toolbook use wxToolbook class
1840 --enable-treebook use wxTreebook class
1841 --enable-treectrl use wxTreeCtrl class
1842 --enable-commondlg use all common dialogs
1843 --enable-aboutdlg use wxAboutBox
1844 --enable-choicedlg use wxChoiceDialog
1845 --enable-coldlg use wxColourDialog
1846 --enable-filedlg use wxFileDialog
1847 --enable-finddlg use wxFindReplaceDialog
1848 --enable-fontdlg use wxFontDialog
1849 --enable-dirdlg use wxDirDialog
1850 --enable-msgdlg use wxMessageDialog
1851 --enable-numberdlg use wxNumberEntryDialog
1852 --enable-splash use wxSplashScreen
1853 --enable-textdlg use wxTextDialog
1854 --enable-tipdlg use startup tips
1855 --enable-progressdlg use wxProgressDialog
1856 --enable-wizarddlg use wxWizard
1857 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1858 --enable-miniframe use wxMiniFrame class
1859 --enable-tooltips use wxToolTip class
1860 --enable-splines use spline drawing code
1861 --enable-mousewheel use mousewheel
1862 --enable-validators use wxValidator and derived classes
1863 --enable-busyinfo use wxBusyInfo
1864 --enable-joystick use wxJoystick
1865 --enable-metafiles use wxMetaFile
(Win32 only
)
1866 --enable-dragimage use wxDragImage
1867 --enable-accessibility enable accessibility support
1868 --enable-palette use wxPalette class
1869 --enable-image use wxImage class
1870 --enable-gif use gif images
(GIF
file format
)
1871 --enable-pcx use pcx images
(PCX
file format
)
1872 --enable-tga use tga images
(TGA
file format
)
1873 --enable-iff use iff images
(IFF
file format
)
1874 --enable-pnm use pnm images
(PNM
file format
)
1875 --enable-xpm use xpm images
(XPM
file format
)
1876 --enable-ico_cur use Windows ICO and CUR formats
1877 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1878 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1879 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1880 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1881 --enable-wxdib use wxDIB class
(Win32 only
)
1882 --enable-autoidman use automatic ids management
1883 --disable-largefile omit support
for large files
1884 --disable-gtktest do not try to compile and run a
test GTK
+ program
1885 --disable-gtktest Do not try to compile and run a
test GTK program
1886 --disable-sdltest Do not try to compile and run a
test SDL program
1887 --enable-omf use OMF object format
(OS
/2)
1888 --disable-dependency-tracking
1889 don
't use dependency tracking even if the compiler
1891 --disable-precomp-headers
1892 don't use precompiled headers even
if compiler can
1895 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1896 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1897 --without-subdirs don
't generate makefiles for samples/demos/...
1898 --with-flavour=NAME specify a name to identify this build
1899 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1900 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1901 --with-motif use Motif/Lesstif
1902 --with-osx_carbon use Mac OS X (Carbon)
1903 --with-osx_cocoa use Mac OS X (Cocoa)
1904 --with-mac use Mac OS X (Default)
1905 --with-cocoa use Cocoa
1906 --with-wine use Wine
1907 --with-msw use MS-Windows
1908 --with-pm use OS/2 Presentation Manager
1909 --with-mgl use SciTech MGL
1910 --with-directfb use DirectFB
1911 --with-microwin use MicroWindows
1913 --with-libpng use libpng (PNG image format)
1914 --with-libjpeg use libjpeg (JPEG file format)
1915 --with-libtiff use libtiff (TIFF file format)
1916 --with-libxpm use libxpm (XPM file format)
1917 --with-libiconv use libiconv (character conversion)
1918 --with-libmspack use libmspack (CHM help files loading)
1919 --without-gtkprint don't use GTK printing support
1920 --without-gnomeprint don
't use GNOME printing libraries
1921 --with-gnomevfs use GNOME VFS for associating MIME types
1922 --with-hildon use Hildon framework for Nokia 770
1923 --with-opengl use OpenGL (or Mesa)
1924 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1925 --with-sdl use SDL for audio on Unix
1926 --with-regex enable support for wxRegEx class
1927 --with-zlib use zlib for LZW compression
1928 --with-expat enable XML support using expat parser
1929 --with-macosx-sdk=PATH use an OS X SDK at PATH
1930 --with-macosx-version-min=VER build binaries which require at least this OS X version
1931 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1932 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1933 --with-x use the X Window System
1934 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1935 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1936 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1937 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1938 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1940 Some influential environment variables:
1941 CC C compiler command
1942 CFLAGS C compiler flags
1943 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1944 nonstandard directory <lib dir>
1945 LIBS libraries to pass to the linker, e.g. -l<library>
1946 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1947 you have headers in a nonstandard directory <include dir>
1949 CXX C++ compiler command
1950 CXXFLAGS C++ compiler flags
1951 PKG_CONFIG path to pkg-config utility
1953 C compiler flags for DIRECTFB, overriding pkg-config
1955 linker flags for DIRECTFB, overriding pkg-config
1956 XMKMF Path to xmkmf, Makefile generator for X Window System
1958 C compiler flags for PANGOX, overriding pkg-config
1959 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1961 C compiler flags for PANGOFT2, overriding pkg-config
1963 linker flags for PANGOFT2, overriding pkg-config
1965 C compiler flags for PANGOXFT, overriding pkg-config
1967 linker flags for PANGOXFT, overriding pkg-config
1969 C compiler flags for GTKPRINT, overriding pkg-config
1971 linker flags for GTKPRINT, overriding pkg-config
1972 LIBGNOMEPRINTUI_CFLAGS
1973 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1974 LIBGNOMEPRINTUI_LIBS
1975 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1977 C compiler flags for GNOMEVFS, overriding pkg-config
1979 linker flags for GNOMEVFS, overriding pkg-config
1981 C compiler flags for HILDON, overriding pkg-config
1982 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1984 C compiler flags for CAIRO, overriding pkg-config
1985 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1986 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1987 GST_LIBS linker flags for GST, overriding pkg-config
1989 Use these variables to override the choices made by `configure' or to
help
1990 it to
find libraries and programs with nonstandard names
/locations.
1992 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1997 if test "$ac_init_help" = "recursive"; then
1998 # If there are subdirs, report their specific --help.
1999 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2000 test -d "$ac_dir" || continue
2004 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2006 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2007 # A ".." for each directory in $ac_dir_suffix.
2008 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2009 case $ac_top_builddir_sub in
2010 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2011 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2014 ac_abs_top_builddir
=$ac_pwd
2015 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2016 # for backward compatibility:
2017 ac_top_builddir
=$ac_top_build_prefix
2020 .
) # We are building in place.
2022 ac_top_srcdir
=$ac_top_builddir_sub
2023 ac_abs_top_srcdir
=$ac_pwd ;;
2024 [\\/]* | ?
:[\\/]* ) # Absolute name.
2025 ac_srcdir
=$srcdir$ac_dir_suffix;
2026 ac_top_srcdir
=$srcdir
2027 ac_abs_top_srcdir
=$srcdir ;;
2029 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2030 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2031 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2033 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2035 cd "$ac_dir" || { ac_status
=$?
; continue; }
2036 # Check for guested configure.
2037 if test -f "$ac_srcdir/configure.gnu"; then
2039 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2040 elif test -f "$ac_srcdir/configure"; then
2042 $SHELL "$ac_srcdir/configure" --help=recursive
2044 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2046 cd "$ac_pwd" || { ac_status
=$?
; break; }
2050 test -n "$ac_init_help" && exit $ac_status
2051 if $ac_init_version; then
2053 wxWidgets configure
2.9.0
2054 generated by GNU Autoconf
2.61
2056 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2057 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2058 This configure
script is free software
; the Free Software Foundation
2059 gives unlimited permission to copy
, distribute and modify it.
2063 cat >config.log
<<_ACEOF
2064 This file contains any messages produced by compilers while
2065 running configure, to aid debugging if configure makes a mistake.
2067 It was created by wxWidgets $as_me 2.9.0, which was
2068 generated by GNU Autoconf 2.61. Invocation command line was
2080 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2081 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2082 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2083 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2084 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2086 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2087 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2089 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2090 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2091 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2092 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2093 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2094 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2095 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2103 test -z "$as_dir" && as_dir
=.
2104 echo "PATH: $as_dir"
2120 # Keep a trace of the command line.
2121 # Strip out --no-create and --no-recursion so they do not pile up.
2122 # Strip out --silent because we don't want to record it for future runs.
2123 # Also quote any args containing shell meta-characters.
2124 # Make two passes to allow for proper duplicate-argument suppression.
2128 ac_must_keep_next
=false
2134 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2136 | -silent | --silent | --silen | --sile | --sil)
2139 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2142 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2144 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2145 if test $ac_must_keep_next = true
; then
2146 ac_must_keep_next
=false
# Got value, back to normal.
2149 *=* | --config-cache | -C | -disable-* | --disable-* \
2150 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2151 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2152 | -with-* | --with-* | -without-* | --without-* | --x)
2153 case "$ac_configure_args0 " in
2154 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2157 -* ) ac_must_keep_next
=true
;;
2160 ac_configure_args
="$ac_configure_args '$ac_arg'"
2165 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2166 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2168 # When interrupted or exit'd, cleanup temporary files, and complete
2169 # config.log. We remove comments because anyway the quotes in there
2170 # would cause problems or look ugly.
2171 # WARNING: Use '\'' to represent an apostrophe within the trap.
2172 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2173 trap 'exit_status=$?
2174 # Save into config.log some information that might help in debugging.
2179 ## ---------------- ##
2180 ## Cache variables. ##
2181 ## ---------------- ##
2184 # The following way of writing the cache mishandles newlines in values,
2186 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2187 eval ac_val=\$$ac_var
2191 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2192 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2195 _ | IFS | as_nl) ;; #(
2196 *) $as_unset $ac_var ;;
2201 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2202 *${as_nl}ac_space=\ *)
2204 "s/'\''/'\''\\\\'\'''\''/g;
2205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2208 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2216 ## ----------------- ##
2217 ## Output variables. ##
2218 ## ----------------- ##
2221 for ac_var in $ac_subst_vars
2223 eval ac_val=\$$ac_var
2225 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2227 echo "$ac_var='\''$ac_val'\''"
2231 if test -n "$ac_subst_files"; then
2233 ## ------------------- ##
2234 ## File substitutions. ##
2235 ## ------------------- ##
2238 for ac_var
in $ac_subst_files
2240 eval ac_val
=\$
$ac_var
2242 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2244 echo "$ac_var='\''$ac_val'\''"
2249 if test -s confdefs.h; then
2259 test "$ac_signal" != 0 &&
2260 echo "$as_me: caught signal $ac_signal"
2261 echo "$as_me: exit $exit_status"
2263 rm -f core *.core core.conftest.* &&
2264 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2267 for ac_signal
in 1 2 13 15; do
2268 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2272 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2273 rm -f -r conftest
* confdefs.h
2275 # Predefined preprocessor variables.
2277 cat >>confdefs.h
<<_ACEOF
2278 #define PACKAGE_NAME "$PACKAGE_NAME"
2282 cat >>confdefs.h
<<_ACEOF
2283 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2287 cat >>confdefs.h
<<_ACEOF
2288 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2292 cat >>confdefs.h
<<_ACEOF
2293 #define PACKAGE_STRING "$PACKAGE_STRING"
2297 cat >>confdefs.h
<<_ACEOF
2298 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2302 # Let the site file select an alternate cache file if it wants to.
2303 # Prefer explicitly selected file to automatically selected ones.
2304 if test -n "$CONFIG_SITE"; then
2305 set x
"$CONFIG_SITE"
2306 elif test "x$prefix" != xNONE
; then
2307 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2309 set x
"$ac_default_prefix/share/config.site" \
2310 "$ac_default_prefix/etc/config.site"
2315 if test -r "$ac_site_file"; then
2316 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2317 echo "$as_me: loading site script $ac_site_file" >&6;}
2318 sed 's/^/| /' "$ac_site_file" >&5
2323 if test -r "$cache_file"; then
2324 # Some versions of bash will fail to source /dev/null (special
2325 # files actually), so we avoid doing that.
2326 if test -f "$cache_file"; then
2327 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2328 echo "$as_me: loading cache $cache_file" >&6;}
2330 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2331 *) .
"./$cache_file";;
2335 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2336 echo "$as_me: creating cache $cache_file" >&6;}
2340 # Check that the precious variables saved in the cache have kept the same
2342 ac_cache_corrupted
=false
2343 for ac_var
in $ac_precious_vars; do
2344 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2345 eval ac_new_set
=\
$ac_env_${ac_var}_set
2346 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2347 eval ac_new_val
=\
$ac_env_${ac_var}_value
2348 case $ac_old_set,$ac_new_set in
2350 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2351 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2352 ac_cache_corrupted
=: ;;
2354 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2355 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2356 ac_cache_corrupted
=: ;;
2359 if test "x$ac_old_val" != "x$ac_new_val"; then
2360 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2361 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2362 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2363 echo "$as_me: former value: $ac_old_val" >&2;}
2364 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2365 echo "$as_me: current value: $ac_new_val" >&2;}
2366 ac_cache_corrupted
=:
2369 # Pass precious variables to config.status.
2370 if test "$ac_new_set" = set; then
2372 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2373 *) ac_arg
=$ac_var=$ac_new_val ;;
2375 case " $ac_configure_args " in
2376 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2377 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2381 if $ac_cache_corrupted; then
2382 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2383 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2384 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2385 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2386 { (exit 1); exit 1; }; }
2414 ac_cpp
='$CPP $CPPFLAGS'
2415 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2416 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2417 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2424 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2425 if test -f "$ac_dir/install-sh"; then
2427 ac_install_sh
="$ac_aux_dir/install-sh -c"
2429 elif test -f "$ac_dir/install.sh"; then
2431 ac_install_sh
="$ac_aux_dir/install.sh -c"
2433 elif test -f "$ac_dir/shtool"; then
2435 ac_install_sh
="$ac_aux_dir/shtool install -c"
2439 if test -z "$ac_aux_dir"; then
2440 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2441 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2442 { (exit 1); exit 1; }; }
2445 # These three variables are undocumented and unsupported,
2446 # and are intended to be withdrawn in a future Autoconf release.
2447 # They can cause serious problems if a builder's source tree is in a directory
2448 # whose full name contains unusual characters.
2449 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2450 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2451 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2454 # Make sure we can run config.sub.
2455 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2456 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2457 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2458 { (exit 1); exit 1; }; }
2460 { echo "$as_me:$LINENO: checking build system type" >&5
2461 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2462 if test "${ac_cv_build+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2465 ac_build_alias
=$build_alias
2466 test "x$ac_build_alias" = x
&&
2467 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2468 test "x$ac_build_alias" = x
&&
2469 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2470 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2471 { (exit 1); exit 1; }; }
2472 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2473 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2474 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2475 { (exit 1); exit 1; }; }
2478 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2479 echo "${ECHO_T}$ac_cv_build" >&6; }
2480 case $ac_cv_build in
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2483 echo "$as_me: error: invalid value of canonical build" >&2;}
2484 { (exit 1); exit 1; }; };;
2487 ac_save_IFS
=$IFS; IFS
='-'
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2497 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2500 { echo "$as_me:$LINENO: checking host system type" >&5
2501 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_host+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 if test "x$host_alias" = x
; then
2506 ac_cv_host
=$ac_cv_build
2508 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2515 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2516 echo "${ECHO_T}$ac_cv_host" >&6; }
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2520 echo "$as_me: error: invalid value of canonical host" >&2;}
2521 { (exit 1); exit 1; }; };;
2524 ac_save_IFS
=$IFS; IFS
='-'
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2534 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2538 HOST_PREFIX
="${host_alias}-"
2539 HOST_SUFFIX
="-$host_alias"
2542 wx_major_version_number
=2
2543 wx_minor_version_number
=9
2545 wx_subrelease_number
=0
2547 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2548 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2549 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2551 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2554 wx_top_builddir
="`pwd`"
2567 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2573 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2579 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2581 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2583 DEFAULT_wxUSE_COCOA
=0
2585 DEFAULT_wxUSE_OSX_CARBON
=0
2586 DEFAULT_wxUSE_OSX_COCOA
=0
2588 DEFAULT_wxUSE_MICROWIN
=0
2589 DEFAULT_wxUSE_MOTIF
=0
2595 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2596 DEFAULT_DEFAULT_wxUSE_GTK
=0
2597 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2598 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2599 DEFAULT_DEFAULT_wxUSE_MGL
=0
2600 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2601 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2602 DEFAULT_DEFAULT_wxUSE_MSW
=0
2603 DEFAULT_DEFAULT_wxUSE_PM
=0
2604 DEFAULT_DEFAULT_wxUSE_X11
=0
2605 DEFAULT_DEFAULT_wxUSE_DFB
=0
2609 SAMPLES_RPATH_POSTLINK
=
2611 DEFAULT_STD_FLAG
=yes
2616 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2617 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2618 cat >>confdefs.h
<<\_ACEOF
2623 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2627 cat >>confdefs.h
<<\_ACEOF
2632 if test "x$TMP" = "xalpha"; then
2634 cat >>confdefs.h
<<\_ACEOF
2639 DEFAULT_DEFAULT_wxUSE_GTK
=1
2641 *-*-gnu* | *-*-k*bsd
*-gnu )
2644 if test "x$TMP" = "xalpha"; then
2646 cat >>confdefs.h
<<\_ACEOF
2651 DEFAULT_DEFAULT_wxUSE_GTK
=1
2653 *-*-irix5* | *-*-irix6* )
2656 cat >>confdefs.h
<<\_ACEOF
2660 cat >>confdefs.h
<<\_ACEOF
2664 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2670 cat >>confdefs.h
<<\_ACEOF
2674 cat >>confdefs.h
<<\_ACEOF
2675 #define __SOLARIS__ 1
2678 cat >>confdefs.h
<<\_ACEOF
2682 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2683 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2689 cat >>confdefs.h
<<\_ACEOF
2693 cat >>confdefs.h
<<\_ACEOF
2697 cat >>confdefs.h
<<\_ACEOF
2701 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2706 cat >>confdefs.h
<<\_ACEOF
2707 #define __FREEBSD__ 1
2710 cat >>confdefs.h
<<\_ACEOF
2714 DEFAULT_DEFAULT_wxUSE_GTK
=1
2716 *-*-openbsd*|*-*-mirbsd*)
2719 cat >>confdefs.h
<<\_ACEOF
2720 #define __OPENBSD__ 1
2723 cat >>confdefs.h
<<\_ACEOF
2727 DEFAULT_DEFAULT_wxUSE_GTK
=1
2732 cat >>confdefs.h
<<\_ACEOF
2733 #define __NETBSD__ 1
2736 cat >>confdefs.h
<<\_ACEOF
2740 DEFAULT_DEFAULT_wxUSE_GTK
=1
2741 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2743 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2748 cat >>confdefs.h
<<\_ACEOF
2752 cat >>confdefs.h
<<\_ACEOF
2756 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2757 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2762 cat >>confdefs.h
<<\_ACEOF
2766 cat >>confdefs.h
<<\_ACEOF
2770 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2775 cat >>confdefs.h
<<\_ACEOF
2779 cat >>confdefs.h
<<\_ACEOF
2783 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2789 cat >>confdefs.h
<<\_ACEOF
2793 cat >>confdefs.h
<<\_ACEOF
2797 cat >>confdefs.h
<<\_ACEOF
2801 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2808 cat >>confdefs.h
<<\_ACEOF
2809 #define __UNIXWARE__ 1
2814 *-*-cygwin* | *-*-mingw32* )
2816 DEFAULT_DEFAULT_wxUSE_MSW
=1
2822 cat >>confdefs.h
<<\_ACEOF
2827 DEFAULT_DEFAULT_wxUSE_MGL
=1
2830 *-pc-os2_emx | *-pc-os2-emx )
2831 cat >>confdefs.h
<<\_ACEOF
2836 cat >>confdefs.h
<<\_ACEOF
2841 DEFAULT_DEFAULT_wxUSE_PM
=1
2843 LDFLAGS
="$LDFLAGS -Zcrtdll"
2844 ac_executable_extensions
=".exe"
2845 export ac_executable_extensions
2849 for ac_dir
in $PATH; do
2851 if test -z "$ac_TEMP_PATH"; then
2852 ac_TEMP_PATH
="$ac_dir"
2854 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2857 export PATH
="$ac_TEMP_PATH"
2865 cat >>confdefs.h
<<\_ACEOF
2869 cat >>confdefs.h
<<\_ACEOF
2870 #define __DARWIN__ 1
2873 cat >>confdefs.h
<<\_ACEOF
2874 #define TARGET_CARBON 1
2877 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2880 powerpc
-apple-macos* )
2882 ac_cv_c_bigendian
=yes
2883 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2889 cat >>confdefs.h
<<\_ACEOF
2896 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2897 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2898 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2899 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2901 DEFAULT_DEFAULT_wxUSE_X11
=1
2902 DEFAULT_wxUSE_SHARED
=no
2907 DEFAULT_wxUSE_ALL_FEATURES
=yes
2909 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2910 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2912 DEFAULT_wxUSE_DMALLOC
=no
2913 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2914 DEFAULT_wxUSE_LIBHILDON
=no
2915 DEFAULT_wxUSE_LIBMSPACK
=no
2916 DEFAULT_wxUSE_LIBSDL
=no
2918 DEFAULT_wxUSE_ACCESSIBILITY
=no
2919 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2920 DEFAULT_wxUSE_IPV6
=no
2921 DEFAULT_wxUSE_GSTREAMER8
=no
2923 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2924 DEFAULT_wxUSE_OPENGL
=auto
2925 DEFAULT_wxUSE_MEDIACTRL
=auto
2927 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2929 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2931 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2933 DEFAULT_wxUSE_GTK2
=yes
2935 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2941 enablestring
=disable
2943 if test -z "$defaultval"; then
2944 if test x
"$enablestring" = xdisable
; then
2951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2952 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2953 # Check whether --enable-gui was given.
2954 if test "${enable_gui+set}" = set; then
2955 enableval
=$enable_gui;
2956 if test "$enableval" = yes; then
2957 wx_cv_use_gui
='wxUSE_GUI=yes'
2959 wx_cv_use_gui
='wxUSE_GUI=no'
2964 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2969 eval "$wx_cv_use_gui"
2971 if test x"$enablestring" = xdisable; then
2972 if test $wxUSE_GUI = yes; then
2981 { echo "$as_me:$LINENO: result: $result" >&5
2982 echo "${ECHO_T}$result" >&6; }
2987 if test -z "$defaultval"; then
2988 if test x"$enablestring" = xdisable; then
2995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2996 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
2997 # Check whether --enable-monolithic was given.
2998 if test "${enable_monolithic+set}" = set; then
2999 enableval=$enable_monolithic;
3000 if test "$enableval" = yes; then
3001 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3003 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3008 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3013 eval "$wx_cv_use_monolithic"
3015 if test x"$enablestring" = xdisable; then
3016 if test $wxUSE_MONOLITHIC = yes; then
3022 result=$wxUSE_MONOLITHIC
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}-plugins" >&5
3040 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3041 # Check whether --enable-plugins was given.
3042 if test "${enable_plugins+set}" = set; then
3043 enableval=$enable_plugins;
3044 if test "$enableval" = yes; then
3045 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3047 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3052 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3057 eval "$wx_cv_use_plugins"
3059 if test x
"$enablestring" = xdisable
; then
3060 if test $wxUSE_PLUGINS = yes; then
3066 result
=$wxUSE_PLUGINS
3069 { echo "$as_me:$LINENO: result: $result" >&5
3070 echo "${ECHO_T}$result" >&6; }
3074 defaultval
=$wxUSE_ALL_FEATURES
3075 if test -z "$defaultval"; then
3076 if test x
"$withstring" = xwithout
; then
3082 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3083 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3085 # Check whether --with-subdirs was given.
3086 if test "${with_subdirs+set}" = set; then
3087 withval
=$with_subdirs;
3088 if test "$withval" = yes; then
3089 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3091 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3096 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3101 eval "$wx_cv_use_subdirs"
3103 if test x"$withstring" = xwithout; then
3104 if test $wxWITH_SUBDIRS = yes; then
3110 result=$wxWITH_SUBDIRS
3113 { echo "$as_me:$LINENO: result: $result" >&5
3114 echo "${ECHO_T}$result" >&6; }
3117 # Check whether --with-flavour was given.
3118 if test "${with_flavour+set}" = set; then
3119 withval=$with_flavour; WX_FLAVOUR="$withval"
3125 if test -z "$defaultval"; then
3126 if test x"$enablestring" = xdisable; then
3133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3134 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3135 # Check whether --enable-official_build was given.
3136 if test "${enable_official_build+set}" = set; then
3137 enableval=$enable_official_build;
3138 if test "$enableval" = yes; then
3139 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3141 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3146 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3151 eval "$wx_cv_use_official_build"
3153 if test x"$enablestring" = xdisable; then
3154 if test $wxUSE_OFFICIAL_BUILD = yes; then
3160 result=$wxUSE_OFFICIAL_BUILD
3163 { echo "$as_me:$LINENO: result
: $result" >&5
3164 echo "${ECHO_T}$result" >&6; }
3166 # Check whether --enable-vendor was given.
3167 if test "${enable_vendor+set}" = set; then
3168 enableval=$enable_vendor; VENDOR="$enableval"
3171 if test "x
$VENDOR" = "x
"; then
3176 enablestring=disable
3178 if test -z "$defaultval"; then
3179 if test x"$enablestring" = xdisable; then
3186 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3187 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3188 # Check whether --enable-all-features was given.
3189 if test "${enable_all_features+set}" = set; then
3190 enableval=$enable_all_features;
3191 if test "$enableval" = yes; then
3192 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3194 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3199 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3204 eval "$wx_cv_use_all_features"
3206 if test x
"$enablestring" = xdisable
; then
3207 if test $wxUSE_ALL_FEATURES = yes; then
3213 result
=$wxUSE_ALL_FEATURES
3216 { echo "$as_me:$LINENO: result: $result" >&5
3217 echo "${ECHO_T}$result" >&6; }
3220 if test "$wxUSE_ALL_FEATURES" = "no"; then
3221 DEFAULT_wxUSE_MEDIACTRL
=no
3225 if test "$wxUSE_GUI" = "yes"; then
3230 if test -z "$defaultval"; then
3231 if test x
"$enablestring" = xdisable
; then
3238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3239 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3240 # Check whether --enable-universal was given.
3241 if test "${enable_universal+set}" = set; then
3242 enableval
=$enable_universal;
3243 if test "$enableval" = yes; then
3244 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3246 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3251 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3256 eval "$wx_cv_use_universal"
3258 if test x"$enablestring" = xdisable; then
3259 if test $wxUSE_UNIVERSAL = yes; then
3265 result=$wxUSE_UNIVERSAL
3268 { echo "$as_me:$LINENO: result: $result" >&5
3269 echo "${ECHO_T}$result" >&6; }
3271 if test "$wxUSE_UNIVERSAL" = "yes"; then
3273 # Check whether --with-themes was given.
3274 if test "${with_themes+set}" = set; then
3275 withval=$with_themes; wxUNIV_THEMES="$withval"
3281 # Check whether --with-gtk was given.
3282 if test "${with_gtk+set}" = set; then
3283 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3287 # Check whether --with-motif was given.
3288 if test "${with_motif+set}" = set; then
3289 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3293 # Check whether --with-osx_carbon was given.
3294 if test "${with_osx_carbon+set}" = set; then
3295 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3299 # Check whether --with-osx_cocoa was given.
3300 if test "${with_osx_cocoa+set}" = set; then
3301 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3305 # Check whether --with-mac was given.
3306 if test "${with_mac+set}" = set; then
3307 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3311 # Check whether --with-cocoa was given.
3312 if test "${with_cocoa+set}" = set; then
3313 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3317 # Check whether --with-wine was given.
3318 if test "${with_wine+set}" = set; then
3319 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3323 # Check whether --with-msw was given.
3324 if test "${with_msw+set}" = set; then
3325 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3329 # Check whether --with-pm was given.
3330 if test "${with_pm+set}" = set; then
3331 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3335 # Check whether --with-mgl was given.
3336 if test "${with_mgl+set}" = set; then
3337 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3341 # Check whether --with-directfb was given.
3342 if test "${with_directfb+set}" = set; then
3343 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3347 # Check whether --with-microwin was given.
3348 if test "${with_microwin+set}" = set; then
3349 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3353 # Check whether --with-x11 was given.
3354 if test "${with_x11+set}" = set; then
3355 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3361 if test -z "$defaultval"; then
3362 if test x"$enablestring" = xdisable; then
3369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3370 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3371 # Check whether --enable-nanox was given.
3372 if test "${enable_nanox+set}" = set; then
3373 enableval=$enable_nanox;
3374 if test "$enableval" = yes; then
3375 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3377 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3382 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3387 eval "$wx_cv_use_nanox"
3389 if test x"$enablestring" = xdisable; then
3390 if test $wxUSE_NANOX = yes; then
3399 { echo "$as_me:$LINENO: result
: $result" >&5
3400 echo "${ECHO_T}$result" >&6; }
3403 # Check whether --enable-gtk2 was given.
3404 if test "${enable_gtk2+set}" = set; then
3405 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3411 if test -z "$defaultval"; then
3412 if test x"$enablestring" = xdisable; then
3419 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3420 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3421 # Check whether --enable-gpe was given.
3422 if test "${enable_gpe+set}" = set; then
3423 enableval=$enable_gpe;
3424 if test "$enableval" = yes; then
3425 wx_cv_use_gpe='wxUSE_GPE=yes'
3427 wx_cv_use_gpe='wxUSE_GPE=no'
3432 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3437 eval "$wx_cv_use_gpe"
3439 if test x
"$enablestring" = xdisable
; then
3440 if test $wxUSE_GPE = yes; then
3449 { echo "$as_me:$LINENO: result: $result" >&5
3450 echo "${ECHO_T}$result" >&6; }
3454 { echo "$as_me:$LINENO: checking for toolkit" >&5
3455 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3459 # In Wine, we need to default to MSW, not GTK or MOTIF
3460 if test "$wxUSE_WINE" = "yes"; then
3461 DEFAULT_DEFAULT_wxUSE_GTK
=0
3462 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3463 DEFAULT_DEFAULT_wxUSE_MSW
=1
3470 if test "$wxUSE_GUI" = "yes"; then
3472 if test "$USE_BEOS" = 1; then
3473 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3474 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3475 { (exit 1); exit 1; }; }
3478 if test "$TOOLKIT_GIVEN" = 1; then
3479 for toolkit
in $ALL_TOOLKITS; do
3481 eval "value=\$${var}"
3482 if test "x$value" = "xno"; then
3484 elif test "x$value" != "x"; then
3488 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3489 eval "wx${toolkit}_VERSION=$value"
3493 for toolkit
in $ALL_TOOLKITS; do
3494 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3495 eval "wxUSE_$toolkit=\$${var}"
3499 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3500 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3501 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3504 *-pc-os2_emx | *-pc-os2-emx )
3505 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3508 case "$NUM_TOOLKITS" in
3512 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3513 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3514 { (exit 1); exit 1; }; }
3517 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3518 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3519 { (exit 1); exit 1; }; }
3522 # to be removed when --disable-gtk2 isn't needed
3523 if test "x$wxUSE_GTK2" = "xyes"; then
3525 elif test "x$wxUSE_GTK2" = "xno"; then
3529 for toolkit
in $ALL_TOOLKITS; do
3531 eval "value=\$${var}"
3532 if test "$value" = 1; then
3533 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3534 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3535 echo "${ECHO_T}$toolkit_echo" >&6; }
3539 if test "x$host_alias" != "x"; then
3540 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3541 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3543 { echo "$as_me:$LINENO: result: base only" >&5
3544 echo "${ECHO_T}base only" >&6; }
3549 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3555 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3556 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3558 # Check whether --with-libpng was given.
3559 if test "${with_libpng+set}" = set; then
3560 withval
=$with_libpng;
3561 if test "$withval" = yes; then
3562 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3563 elif test "$withval" = no
; then
3564 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3565 elif test "$withval" = sys
; then
3566 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3567 elif test "$withval" = builtin; then
3568 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3570 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3571 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3572 { (exit 1); exit 1; }; }
3577 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3582 eval "$wx_cv_use_libpng"
3584 if test "$wxUSE_LIBPNG" = yes; then
3585 { echo "$as_me:$LINENO: result: yes" >&5
3586 echo "${ECHO_T}yes" >&6; }
3587 elif test "$wxUSE_LIBPNG" = no; then
3588 { echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6; }
3590 elif test "$wxUSE_LIBPNG" = sys; then
3591 { echo "$as_me:$LINENO: result: system version" >&5
3592 echo "${ECHO_T}system version" >&6; }
3593 elif test "$wxUSE_LIBPNG" = builtin; then
3594 { echo "$as_me:$LINENO: result: builtin version" >&5
3595 echo "${ECHO_T}builtin version" >&6; }
3597 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3598 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3599 { (exit 1); exit 1; }; }
3603 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3604 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3606 # Check whether --with-libjpeg was given.
3607 if test "${with_libjpeg+set}" = set; then
3608 withval=$with_libjpeg;
3609 if test "$withval" = yes; then
3610 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3611 elif test "$withval" = no; then
3612 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3613 elif test "$withval" = sys; then
3614 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3615 elif test "$withval" = builtin; then
3616 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3618 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3619 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3620 { (exit 1); exit 1; }; }
3625 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3630 eval "$wx_cv_use_libjpeg"
3632 if test "$wxUSE_LIBJPEG" = yes; then
3633 { echo "$as_me:$LINENO: result
: yes" >&5
3634 echo "${ECHO_T}yes" >&6; }
3635 elif test "$wxUSE_LIBJPEG" = no; then
3636 { echo "$as_me:$LINENO: result
: no
" >&5
3637 echo "${ECHO_T}no
" >&6; }
3638 elif test "$wxUSE_LIBJPEG" = sys; then
3639 { echo "$as_me:$LINENO: result
: system version
" >&5
3640 echo "${ECHO_T}system version
" >&6; }
3641 elif test "$wxUSE_LIBJPEG" = builtin; then
3642 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3643 echo "${ECHO_T}builtin version
" >&6; }
3645 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3646 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3647 { (exit 1); exit 1; }; }
3651 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3652 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3654 # Check whether --with-libtiff was given.
3655 if test "${with_libtiff+set}" = set; then
3656 withval=$with_libtiff;
3657 if test "$withval" = yes; then
3658 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3659 elif test "$withval" = no; then
3660 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3661 elif test "$withval" = sys; then
3662 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3663 elif test "$withval" = builtin; then
3664 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3666 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3667 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3673 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3678 eval "$wx_cv_use_libtiff"
3680 if test "$wxUSE_LIBTIFF" = yes; then
3681 { echo "$as_me:$LINENO: result: yes" >&5
3682 echo "${ECHO_T}yes" >&6; }
3683 elif test "$wxUSE_LIBTIFF" = no
; then
3684 { echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6; }
3686 elif test "$wxUSE_LIBTIFF" = sys
; then
3687 { echo "$as_me:$LINENO: result: system version" >&5
3688 echo "${ECHO_T}system version" >&6; }
3689 elif test "$wxUSE_LIBTIFF" = builtin; then
3690 { echo "$as_me:$LINENO: result: builtin version" >&5
3691 echo "${ECHO_T}builtin version" >&6; }
3693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3694 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3695 { (exit 1); exit 1; }; }
3699 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3700 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3702 # Check whether --with-libxpm was given.
3703 if test "${with_libxpm+set}" = set; then
3704 withval
=$with_libxpm;
3705 if test "$withval" = yes; then
3706 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3707 elif test "$withval" = no
; then
3708 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3709 elif test "$withval" = sys
; then
3710 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3711 elif test "$withval" = builtin; then
3712 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3714 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3715 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3716 { (exit 1); exit 1; }; }
3721 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3726 eval "$wx_cv_use_libxpm"
3728 if test "$wxUSE_LIBXPM" = yes; then
3729 { echo "$as_me:$LINENO: result: yes" >&5
3730 echo "${ECHO_T}yes" >&6; }
3731 elif test "$wxUSE_LIBXPM" = no; then
3732 { echo "$as_me:$LINENO: result: no" >&5
3733 echo "${ECHO_T}no" >&6; }
3734 elif test "$wxUSE_LIBXPM" = sys; then
3735 { echo "$as_me:$LINENO: result: system version" >&5
3736 echo "${ECHO_T}system version" >&6; }
3737 elif test "$wxUSE_LIBXPM" = builtin; then
3738 { echo "$as_me:$LINENO: result: builtin version" >&5
3739 echo "${ECHO_T}builtin version" >&6; }
3741 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3742 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3743 { (exit 1); exit 1; }; }
3748 defaultval=$wxUSE_ALL_FEATURES
3749 if test -z "$defaultval"; then
3750 if test x"$withstring" = xwithout; then
3756 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3757 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3759 # Check whether --with-libiconv was given.
3760 if test "${with_libiconv+set}" = set; then
3761 withval=$with_libiconv;
3762 if test "$withval" = yes; then
3763 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3765 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3770 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3775 eval "$wx_cv_use_libiconv"
3777 if test x"$withstring" = xwithout; then
3778 if test $wxUSE_LIBICONV = yes; then
3784 result=$wxUSE_LIBICONV
3787 { echo "$as_me:$LINENO: result
: $result" >&5
3788 echo "${ECHO_T}$result" >&6; }
3792 defaultval=$wxUSE_ALL_FEATURES
3793 if test -z "$defaultval"; then
3794 if test x"$withstring" = xwithout; then
3800 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3801 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3803 # Check whether --with-libmspack was given.
3804 if test "${with_libmspack+set}" = set; then
3805 withval=$with_libmspack;
3806 if test "$withval" = yes; then
3807 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3809 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3814 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3819 eval "$wx_cv_use_libmspack"
3821 if test x
"$withstring" = xwithout
; then
3822 if test $wxUSE_LIBMSPACK = yes; then
3828 result
=$wxUSE_LIBMSPACK
3831 { echo "$as_me:$LINENO: result: $result" >&5
3832 echo "${ECHO_T}$result" >&6; }
3836 defaultval
=$wxUSE_ALL_FEATURES
3837 if test -z "$defaultval"; then
3838 if test x
"$withstring" = xwithout
; then
3844 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3845 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3847 # Check whether --with-gtkprint was given.
3848 if test "${with_gtkprint+set}" = set; then
3849 withval
=$with_gtkprint;
3850 if test "$withval" = yes; then
3851 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3853 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3858 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3863 eval "$wx_cv_use_gtkprint"
3865 if test x"$withstring" = xwithout; then
3866 if test $wxUSE_GTKPRINT = yes; then
3872 result=$wxUSE_GTKPRINT
3875 { echo "$as_me:$LINENO: result: $result" >&5
3876 echo "${ECHO_T}$result" >&6; }
3880 defaultval=$wxUSE_ALL_FEATURES
3881 if test -z "$defaultval"; then
3882 if test x"$withstring" = xwithout; then
3888 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3889 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3891 # Check whether --with-gnomeprint was given.
3892 if test "${with_gnomeprint+set}" = set; then
3893 withval=$with_gnomeprint;
3894 if test "$withval" = yes; then
3895 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3897 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3902 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3907 eval "$wx_cv_use_gnomeprint"
3909 if test x"$withstring" = xwithout; then
3910 if test $wxUSE_LIBGNOMEPRINT = yes; then
3916 result=$wxUSE_LIBGNOMEPRINT
3919 { echo "$as_me:$LINENO: result
: $result" >&5
3920 echo "${ECHO_T}$result" >&6; }
3924 defaultval=$wxUSE_ALL_FEATURES
3925 if test -z "$defaultval"; then
3926 if test x"$withstring" = xwithout; then
3932 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3933 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3935 # Check whether --with-gnomevfs was given.
3936 if test "${with_gnomevfs+set}" = set; then
3937 withval=$with_gnomevfs;
3938 if test "$withval" = yes; then
3939 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3941 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3946 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3951 eval "$wx_cv_use_gnomevfs"
3953 if test x
"$withstring" = xwithout
; then
3954 if test $wxUSE_LIBGNOMEVFS = yes; then
3960 result
=$wxUSE_LIBGNOMEVFS
3963 { echo "$as_me:$LINENO: result: $result" >&5
3964 echo "${ECHO_T}$result" >&6; }
3968 defaultval
=$wxUSE_ALL_FEATURES
3969 if test -z "$defaultval"; then
3970 if test x
"$withstring" = xwithout
; then
3976 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3977 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3979 # Check whether --with-hildon was given.
3980 if test "${with_hildon+set}" = set; then
3981 withval
=$with_hildon;
3982 if test "$withval" = yes; then
3983 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3985 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
3990 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3995 eval "$wx_cv_use_hildon"
3997 if test x"$withstring" = xwithout; then
3998 if test $wxUSE_LIBHILDON = yes; then
4004 result=$wxUSE_LIBHILDON
4007 { echo "$as_me:$LINENO: result: $result" >&5
4008 echo "${ECHO_T}$result" >&6; }
4012 defaultval=$wxUSE_ALL_FEATURES
4013 if test -z "$defaultval"; then
4014 if test x"$withstring" = xwithout; then
4020 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4021 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4023 # Check whether --with-opengl was given.
4024 if test "${with_opengl+set}" = set; then
4025 withval=$with_opengl;
4026 if test "$withval" = yes; then
4027 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4029 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4034 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4039 eval "$wx_cv_use_opengl"
4041 if test x"$withstring" = xwithout; then
4042 if test $wxUSE_OPENGL = yes; then
4048 result=$wxUSE_OPENGL
4051 { echo "$as_me:$LINENO: result
: $result" >&5
4052 echo "${ECHO_T}$result" >&6; }
4059 defaultval=$wxUSE_ALL_FEATURES
4060 if test -z "$defaultval"; then
4061 if test x"$withstring" = xwithout; then
4067 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4068 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4070 # Check whether --with-dmalloc was given.
4071 if test "${with_dmalloc+set}" = set; then
4072 withval=$with_dmalloc;
4073 if test "$withval" = yes; then
4074 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4076 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4081 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4086 eval "$wx_cv_use_dmalloc"
4088 if test x
"$withstring" = xwithout
; then
4089 if test $wxUSE_DMALLOC = yes; then
4095 result
=$wxUSE_DMALLOC
4098 { echo "$as_me:$LINENO: result: $result" >&5
4099 echo "${ECHO_T}$result" >&6; }
4103 defaultval
=$wxUSE_ALL_FEATURES
4104 if test -z "$defaultval"; then
4105 if test x
"$withstring" = xwithout
; then
4111 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4112 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4114 # Check whether --with-sdl was given.
4115 if test "${with_sdl+set}" = set; then
4117 if test "$withval" = yes; then
4118 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4120 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4125 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4130 eval "$wx_cv_use_sdl"
4132 if test x"$withstring" = xwithout; then
4133 if test $wxUSE_LIBSDL = yes; then
4139 result=$wxUSE_LIBSDL
4142 { echo "$as_me:$LINENO: result: $result" >&5
4143 echo "${ECHO_T}$result" >&6; }
4146 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4147 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4149 # Check whether --with-regex was given.
4150 if test "${with_regex+set}" = set; then
4151 withval=$with_regex;
4152 if test "$withval" = yes; then
4153 wx_cv_use_regex='wxUSE_REGEX
=yes'
4154 elif test "$withval" = no; then
4155 wx_cv_use_regex='wxUSE_REGEX
=no
'
4156 elif test "$withval" = sys; then
4157 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4158 elif test "$withval" = builtin; then
4159 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4161 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4162 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4163 { (exit 1); exit 1; }; }
4168 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4173 eval "$wx_cv_use_regex"
4175 if test "$wxUSE_REGEX" = yes; then
4176 { echo "$as_me:$LINENO: result
: yes" >&5
4177 echo "${ECHO_T}yes" >&6; }
4178 elif test "$wxUSE_REGEX" = no; then
4179 { echo "$as_me:$LINENO: result
: no
" >&5
4180 echo "${ECHO_T}no
" >&6; }
4181 elif test "$wxUSE_REGEX" = sys; then
4182 { echo "$as_me:$LINENO: result
: system version
" >&5
4183 echo "${ECHO_T}system version
" >&6; }
4184 elif test "$wxUSE_REGEX" = builtin; then
4185 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4186 echo "${ECHO_T}builtin version
" >&6; }
4188 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4189 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4190 { (exit 1); exit 1; }; }
4194 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4195 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4197 # Check whether --with-zlib was given.
4198 if test "${with_zlib+set}" = set; then
4200 if test "$withval" = yes; then
4201 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4202 elif test "$withval" = no; then
4203 wx_cv_use_zlib='wxUSE_ZLIB=no'
4204 elif test "$withval" = sys; then
4205 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4206 elif test "$withval" = builtin; then
4207 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4209 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4210 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4211 { (exit 1); exit 1; }; }
4216 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4221 eval "$wx_cv_use_zlib"
4223 if test "$wxUSE_ZLIB" = yes; then
4224 { echo "$as_me:$LINENO: result: yes" >&5
4225 echo "${ECHO_T}yes" >&6; }
4226 elif test "$wxUSE_ZLIB" = no
; then
4227 { echo "$as_me:$LINENO: result: no" >&5
4228 echo "${ECHO_T}no" >&6; }
4229 elif test "$wxUSE_ZLIB" = sys
; then
4230 { echo "$as_me:$LINENO: result: system version" >&5
4231 echo "${ECHO_T}system version" >&6; }
4232 elif test "$wxUSE_ZLIB" = builtin; then
4233 { echo "$as_me:$LINENO: result: builtin version" >&5
4234 echo "${ECHO_T}builtin version" >&6; }
4236 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4237 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4238 { (exit 1); exit 1; }; }
4242 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4243 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4245 # Check whether --with-expat was given.
4246 if test "${with_expat+set}" = set; then
4247 withval
=$with_expat;
4248 if test "$withval" = yes; then
4249 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4250 elif test "$withval" = no
; then
4251 wx_cv_use_expat
='wxUSE_EXPAT=no'
4252 elif test "$withval" = sys
; then
4253 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4254 elif test "$withval" = builtin; then
4255 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4257 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4258 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4259 { (exit 1); exit 1; }; }
4264 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4269 eval "$wx_cv_use_expat"
4271 if test "$wxUSE_EXPAT" = yes; then
4272 { echo "$as_me:$LINENO: result: yes" >&5
4273 echo "${ECHO_T}yes" >&6; }
4274 elif test "$wxUSE_EXPAT" = no; then
4275 { echo "$as_me:$LINENO: result: no" >&5
4276 echo "${ECHO_T}no" >&6; }
4277 elif test "$wxUSE_EXPAT" = sys; then
4278 { echo "$as_me:$LINENO: result: system version" >&5
4279 echo "${ECHO_T}system version" >&6; }
4280 elif test "$wxUSE_EXPAT" = builtin; then
4281 { echo "$as_me:$LINENO: result: builtin version" >&5
4282 echo "${ECHO_T}builtin version" >&6; }
4284 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4285 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4286 { (exit 1); exit 1; }; }
4290 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4291 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4293 # Check whether --with-macosx-sdk was given.
4294 if test "${with_macosx_sdk+set}" = set; then
4295 withval=$with_macosx_sdk;
4296 wxUSE_MACOSX_SDK=$withval
4297 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4301 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4302 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4304 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4305 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4307 # Check whether --with-macosx-version-min was given.
4308 if test "${with_macosx_version_min+set}" = set; then
4309 withval=$with_macosx_version_min;
4310 wxUSE_MACOSX_VERSION_MIN=$withval
4311 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4315 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4316 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4320 enablestring=disable
4322 if test -z "$defaultval"; then
4323 if test x"$enablestring" = xdisable; then
4330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4331 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4332 # Check whether --enable-shared was given.
4333 if test "${enable_shared+set}" = set; then
4334 enableval=$enable_shared;
4335 if test "$enableval" = yes; then
4336 wx_cv_use_shared='wxUSE_SHARED
=yes'
4338 wx_cv_use_shared='wxUSE_SHARED
=no
'
4343 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4348 eval "$wx_cv_use_shared"
4350 if test x"$enablestring" = xdisable; then
4351 if test $wxUSE_SHARED = yes; then
4357 result=$wxUSE_SHARED
4360 { echo "$as_me:$LINENO: result
: $result" >&5
4361 echo "${ECHO_T}$result" >&6; }
4366 if test -z "$defaultval"; then
4367 if test x"$enablestring" = xdisable; then
4374 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4375 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4376 # Check whether --enable-debug was given.
4377 if test "${enable_debug+set}" = set; then
4378 enableval=$enable_debug;
4379 if test "$enableval" = yes; then
4380 wx_cv_use_debug='wxUSE_DEBUG=yes'
4382 wx_cv_use_debug='wxUSE_DEBUG=no'
4387 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4392 eval "$wx_cv_use_debug"
4394 if test x
"$enablestring" = xdisable
; then
4395 if test $wxUSE_DEBUG = yes; then
4404 { echo "$as_me:$LINENO: result: $result" >&5
4405 echo "${ECHO_T}$result" >&6; }
4410 if test -z "$defaultval"; then
4411 if test x
"$enablestring" = xdisable
; then
4418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4419 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4420 # Check whether --enable-stl was given.
4421 if test "${enable_stl+set}" = set; then
4422 enableval
=$enable_stl;
4423 if test "$enableval" = yes; then
4424 wx_cv_use_stl
='wxUSE_STL=yes'
4426 wx_cv_use_stl
='wxUSE_STL=no'
4431 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4436 eval "$wx_cv_use_stl"
4438 if test x"$enablestring" = xdisable; then
4439 if test $wxUSE_STL = yes; then
4448 { echo "$as_me:$LINENO: result: $result" >&5
4449 echo "${ECHO_T}$result" >&6; }
4454 if test -z "$defaultval"; then
4455 if test x"$enablestring" = xdisable; then
4462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4463 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4464 # Check whether --enable-std_iostreams was given.
4465 if test "${enable_std_iostreams+set}" = set; then
4466 enableval=$enable_std_iostreams;
4467 if test "$enableval" = yes; then
4468 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4470 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4475 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4480 eval "$wx_cv_use_std_iostreams"
4482 if test x"$enablestring" = xdisable; then
4483 if test $wxUSE_STD_IOSTREAM = yes; then
4489 result=$wxUSE_STD_IOSTREAM
4492 { echo "$as_me:$LINENO: result
: $result" >&5
4493 echo "${ECHO_T}$result" >&6; }
4498 if test -z "$defaultval"; then
4499 if test x"$enablestring" = xdisable; then
4506 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4507 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4508 # Check whether --enable-std_string was given.
4509 if test "${enable_std_string+set}" = set; then
4510 enableval=$enable_std_string;
4511 if test "$enableval" = yes; then
4512 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4514 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4519 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4524 eval "$wx_cv_use_std_string"
4526 if test x
"$enablestring" = xdisable
; then
4527 if test $wxUSE_STD_STRING = yes; then
4533 result
=$wxUSE_STD_STRING
4536 { echo "$as_me:$LINENO: result: $result" >&5
4537 echo "${ECHO_T}$result" >&6; }
4540 enablestring
=disable
4542 if test -z "$defaultval"; then
4543 if test x
"$enablestring" = xdisable
; then
4550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4551 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4552 # Check whether --enable-unicode was given.
4553 if test "${enable_unicode+set}" = set; then
4554 enableval
=$enable_unicode;
4555 if test "$enableval" = yes; then
4556 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4558 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4563 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4568 eval "$wx_cv_use_unicode"
4570 if test x"$enablestring" = xdisable; then
4571 if test $wxUSE_UNICODE = yes; then
4577 result=$wxUSE_UNICODE
4580 { echo "$as_me:$LINENO: result: $result" >&5
4581 echo "${ECHO_T}$result" >&6; }
4586 if test -z "$defaultval"; then
4587 if test x"$enablestring" = xdisable; then
4594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4595 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4596 # Check whether --enable-mslu was given.
4597 if test "${enable_mslu+set}" = set; then
4598 enableval=$enable_mslu;
4599 if test "$enableval" = yes; then
4600 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4602 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4607 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4612 eval "$wx_cv_use_mslu"
4614 if test x"$enablestring" = xdisable; then
4615 if test $wxUSE_UNICODE_MSLU = yes; then
4621 result=$wxUSE_UNICODE_MSLU
4624 { echo "$as_me:$LINENO: result
: $result" >&5
4625 echo "${ECHO_T}$result" >&6; }
4629 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4630 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4631 # Check whether --enable-utf8 was given.
4632 if test "${enable_utf8+set}" = set; then
4633 enableval=$enable_utf8;
4634 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4638 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4643 eval "$wx_cv_use_utf8"
4645 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4646 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4651 if test -z "$defaultval"; then
4652 if test x"$enablestring" = xdisable; then
4659 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4660 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4661 # Check whether --enable-utf8only was given.
4662 if test "${enable_utf8only+set}" = set; then
4663 enableval=$enable_utf8only;
4664 if test "$enableval" = yes; then
4665 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4667 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4672 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4677 eval "$wx_cv_use_utf8only"
4679 if test x
"$enablestring" = xdisable
; then
4680 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4686 result
=$wxUSE_UNICODE_UTF8_LOCALE
4689 { echo "$as_me:$LINENO: result: $result" >&5
4690 echo "${ECHO_T}$result" >&6; }
4695 if test -z "$defaultval"; then
4696 if test x
"$enablestring" = xdisable
; then
4703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4704 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4705 # Check whether --enable-extended_rtti was given.
4706 if test "${enable_extended_rtti+set}" = set; then
4707 enableval
=$enable_extended_rtti;
4708 if test "$enableval" = yes; then
4709 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4711 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4716 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4721 eval "$wx_cv_use_extended_rtti"
4723 if test x"$enablestring" = xdisable; then
4724 if test $wxUSE_EXTENDED_RTTI = yes; then
4730 result=$wxUSE_EXTENDED_RTTI
4733 { echo "$as_me:$LINENO: result: $result" >&5
4734 echo "${ECHO_T}$result" >&6; }
4736 if test "$USE_OS2" = 1; then
4737 DEFAULT_wxUSE_OMF=no
4741 if test -z "$defaultval"; then
4742 if test x"$enablestring" = xdisable; then
4749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4750 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4751 # Check whether --enable-omf was given.
4752 if test "${enable_omf+set}" = set; then
4753 enableval=$enable_omf;
4754 if test "$enableval" = yes; then
4755 wx_cv_use_omf='wxUSE_OMF
=yes'
4757 wx_cv_use_omf='wxUSE_OMF
=no
'
4762 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4767 eval "$wx_cv_use_omf"
4769 if test x"$enablestring" = xdisable; then
4770 if test $wxUSE_OMF = yes; then
4779 { echo "$as_me:$LINENO: result
: $result" >&5
4780 echo "${ECHO_T}$result" >&6; }
4784 if test "$wxUSE_DEBUG" = "yes"; then
4785 DEFAULT_wxUSE_DEBUG_FLAG=yes
4786 DEFAULT_wxUSE_DEBUG_INFO=yes
4788 elif test "$wxUSE_DEBUG" = "no
"; then
4789 DEFAULT_wxUSE_DEBUG_FLAG=no
4790 DEFAULT_wxUSE_DEBUG_INFO=no
4797 if test -z "$defaultval"; then
4798 if test x"$enablestring" = xdisable; then
4805 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4806 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4807 # Check whether --enable-debug_flag was given.
4808 if test "${enable_debug_flag+set}" = set; then
4809 enableval=$enable_debug_flag;
4810 if test "$enableval" = yes; then
4811 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4813 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4818 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4823 eval "$wx_cv_use_debug_flag"
4825 if test x
"$enablestring" = xdisable
; then
4826 if test $wxUSE_DEBUG_FLAG = yes; then
4832 result
=$wxUSE_DEBUG_FLAG
4835 { echo "$as_me:$LINENO: result: $result" >&5
4836 echo "${ECHO_T}$result" >&6; }
4841 if test -z "$defaultval"; then
4842 if test x
"$enablestring" = xdisable
; then
4849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4850 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4851 # Check whether --enable-debug_info was given.
4852 if test "${enable_debug_info+set}" = set; then
4853 enableval
=$enable_debug_info;
4854 if test "$enableval" = yes; then
4855 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4857 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4862 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4867 eval "$wx_cv_use_debug_info"
4869 if test x"$enablestring" = xdisable; then
4870 if test $wxUSE_DEBUG_INFO = yes; then
4876 result=$wxUSE_DEBUG_INFO
4879 { echo "$as_me:$LINENO: result: $result" >&5
4880 echo "${ECHO_T}$result" >&6; }
4883 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4888 if test "$wxUSE_DEBUG" = "yes"; then
4889 DEFAULT_wxUSE_OPTIMISE=no
4893 enablestring=disable
4895 if test -z "$defaultval"; then
4896 if test x"$enablestring" = xdisable; then
4903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4904 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4905 # Check whether --enable-optimise was given.
4906 if test "${enable_optimise+set}" = set; then
4907 enableval=$enable_optimise;
4908 if test "$enableval" = yes; then
4909 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4911 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4916 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4921 eval "$wx_cv_use_optimise"
4923 if test x"$enablestring" = xdisable; then
4924 if test $wxUSE_OPTIMISE = yes; then
4930 result=$wxUSE_OPTIMISE
4933 { echo "$as_me:$LINENO: result
: $result" >&5
4934 echo "${ECHO_T}$result" >&6; }
4940 if test -z "$defaultval"; then
4941 if test x"$enablestring" = xdisable; then
4948 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4949 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4950 # Check whether --enable-debug_gdb was given.
4951 if test "${enable_debug_gdb+set}" = set; then
4952 enableval=$enable_debug_gdb;
4953 if test "$enableval" = yes; then
4954 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4956 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4961 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4966 eval "$wx_cv_use_debug_gdb"
4968 if test x
"$enablestring" = xdisable
; then
4969 if test $wxUSE_DEBUG_GDB = yes; then
4975 result
=$wxUSE_DEBUG_GDB
4978 { echo "$as_me:$LINENO: result: $result" >&5
4979 echo "${ECHO_T}$result" >&6; }
4984 if test -z "$defaultval"; then
4985 if test x
"$enablestring" = xdisable
; then
4992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4993 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4994 # Check whether --enable-debug_cntxt was given.
4995 if test "${enable_debug_cntxt+set}" = set; then
4996 enableval
=$enable_debug_cntxt;
4997 if test "$enableval" = yes; then
4998 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
5000 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
5005 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5010 eval "$wx_cv_use_debug_cntxt"
5012 if test x"$enablestring" = xdisable; then
5013 if test $wxUSE_DEBUG_CONTEXT = yes; then
5019 result=$wxUSE_DEBUG_CONTEXT
5022 { echo "$as_me:$LINENO: result: $result" >&5
5023 echo "${ECHO_T}$result" >&6; }
5028 if test -z "$defaultval"; then
5029 if test x"$enablestring" = xdisable; then
5036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5038 # Check whether --enable-mem_tracing was given.
5039 if test "${enable_mem_tracing+set}" = set; then
5040 enableval=$enable_mem_tracing;
5041 if test "$enableval" = yes; then
5042 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5044 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5049 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5054 eval "$wx_cv_use_mem_tracing"
5056 if test x"$enablestring" = xdisable; then
5057 if test $wxUSE_MEM_TRACING = yes; then
5063 result=$wxUSE_MEM_TRACING
5066 { echo "$as_me:$LINENO: result
: $result" >&5
5067 echo "${ECHO_T}$result" >&6; }
5072 if test -z "$defaultval"; then
5073 if test x"$enablestring" = xdisable; then
5080 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5081 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5082 # Check whether --enable-profile was given.
5083 if test "${enable_profile+set}" = set; then
5084 enableval=$enable_profile;
5085 if test "$enableval" = yes; then
5086 wx_cv_use_profile='wxUSE_PROFILE=yes'
5088 wx_cv_use_profile='wxUSE_PROFILE=no'
5093 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5098 eval "$wx_cv_use_profile"
5100 if test x
"$enablestring" = xdisable
; then
5101 if test $wxUSE_PROFILE = yes; then
5107 result
=$wxUSE_PROFILE
5110 { echo "$as_me:$LINENO: result: $result" >&5
5111 echo "${ECHO_T}$result" >&6; }
5116 if test -z "$defaultval"; then
5117 if test x
"$enablestring" = xdisable
; then
5124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5125 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5126 # Check whether --enable-no_rtti was given.
5127 if test "${enable_no_rtti+set}" = set; then
5128 enableval
=$enable_no_rtti;
5129 if test "$enableval" = yes; then
5130 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5132 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5137 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5142 eval "$wx_cv_use_no_rtti"
5144 if test x"$enablestring" = xdisable; then
5145 if test $wxUSE_NO_RTTI = yes; then
5151 result=$wxUSE_NO_RTTI
5154 { echo "$as_me:$LINENO: result: $result" >&5
5155 echo "${ECHO_T}$result" >&6; }
5160 if test -z "$defaultval"; then
5161 if test x"$enablestring" = xdisable; then
5168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5169 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5170 # Check whether --enable-no_exceptions was given.
5171 if test "${enable_no_exceptions+set}" = set; then
5172 enableval=$enable_no_exceptions;
5173 if test "$enableval" = yes; then
5174 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5176 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5181 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5186 eval "$wx_cv_use_no_exceptions"
5188 if test x"$enablestring" = xdisable; then
5189 if test $wxUSE_NO_EXCEPTIONS = yes; then
5195 result=$wxUSE_NO_EXCEPTIONS
5198 { echo "$as_me:$LINENO: result
: $result" >&5
5199 echo "${ECHO_T}$result" >&6; }
5204 if test -z "$defaultval"; then
5205 if test x"$enablestring" = xdisable; then
5212 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5213 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5214 # Check whether --enable-permissive was given.
5215 if test "${enable_permissive+set}" = set; then
5216 enableval=$enable_permissive;
5217 if test "$enableval" = yes; then
5218 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5220 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5225 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5230 eval "$wx_cv_use_permissive"
5232 if test x
"$enablestring" = xdisable
; then
5233 if test $wxUSE_PERMISSIVE = yes; then
5239 result
=$wxUSE_PERMISSIVE
5242 { echo "$as_me:$LINENO: result: $result" >&5
5243 echo "${ECHO_T}$result" >&6; }
5248 if test -z "$defaultval"; then
5249 if test x
"$enablestring" = xdisable
; then
5256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5257 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5258 # Check whether --enable-no_deps was given.
5259 if test "${enable_no_deps+set}" = set; then
5260 enableval
=$enable_no_deps;
5261 if test "$enableval" = yes; then
5262 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5264 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5269 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5274 eval "$wx_cv_use_no_deps"
5276 if test x"$enablestring" = xdisable; then
5277 if test $wxUSE_NO_DEPS = yes; then
5283 result=$wxUSE_NO_DEPS
5286 { echo "$as_me:$LINENO: result: $result" >&5
5287 echo "${ECHO_T}$result" >&6; }
5290 enablestring=disable
5292 if test -z "$defaultval"; then
5293 if test x"$enablestring" = xdisable; then
5300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5301 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5302 # Check whether --enable-vararg_macros was given.
5303 if test "${enable_vararg_macros+set}" = set; then
5304 enableval=$enable_vararg_macros;
5305 if test "$enableval" = yes; then
5306 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5308 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5313 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5318 eval "$wx_cv_use_vararg_macros"
5320 if test x"$enablestring" = xdisable; then
5321 if test $wxUSE_VARARG_MACROS = yes; then
5327 result=$wxUSE_VARARG_MACROS
5330 { echo "$as_me:$LINENO: result
: $result" >&5
5331 echo "${ECHO_T}$result" >&6; }
5335 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5336 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5337 # Check whether --enable-universal_binary was given.
5338 if test "${enable_universal_binary+set}" = set; then
5339 enableval=$enable_universal_binary;
5340 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5344 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5349 eval "$wx_cv_use_universal_binary"
5351 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5352 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5358 if test -z "$defaultval"; then
5359 if test x"$enablestring" = xdisable; then
5366 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5367 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5368 # Check whether --enable-compat26 was given.
5369 if test "${enable_compat26+set}" = set; then
5370 enableval=$enable_compat26;
5371 if test "$enableval" = yes; then
5372 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5374 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5379 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5384 eval "$wx_cv_use_compat26"
5386 if test x
"$enablestring" = xdisable
; then
5387 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5393 result
=$WXWIN_COMPATIBILITY_2_6
5396 { echo "$as_me:$LINENO: result: $result" >&5
5397 echo "${ECHO_T}$result" >&6; }
5400 enablestring
=disable
5402 if test -z "$defaultval"; then
5403 if test x
"$enablestring" = xdisable
; then
5410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5411 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5412 # Check whether --enable-compat28 was given.
5413 if test "${enable_compat28+set}" = set; then
5414 enableval
=$enable_compat28;
5415 if test "$enableval" = yes; then
5416 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5418 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5423 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5428 eval "$wx_cv_use_compat28"
5430 if test x"$enablestring" = xdisable; then
5431 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5437 result=$WXWIN_COMPATIBILITY_2_8
5440 { echo "$as_me:$LINENO: result: $result" >&5
5441 echo "${ECHO_T}$result" >&6; }
5444 cat >>confdefs.h <<\_ACEOF
5445 #define wxEVENTS_COMPATIBILITY_2_8 0
5450 enablestring=disable
5452 if test -z "$defaultval"; then
5453 if test x"$enablestring" = xdisable; then
5460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5461 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5462 # Check whether --enable-rpath was given.
5463 if test "${enable_rpath+set}" = set; then
5464 enableval=$enable_rpath;
5465 if test "$enableval" = yes; then
5466 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5468 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5473 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5478 eval "$wx_cv_use_rpath"
5480 if test x"$enablestring" = xdisable; then
5481 if test $wxUSE_RPATH = yes; then
5490 { echo "$as_me:$LINENO: result
: $result" >&5
5491 echo "${ECHO_T}$result" >&6; }
5497 if test -z "$defaultval"; then
5498 if test x"$enablestring" = xdisable; then
5505 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5506 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5507 # Check whether --enable-objc_uniquifying was given.
5508 if test "${enable_objc_uniquifying+set}" = set; then
5509 enableval=$enable_objc_uniquifying;
5510 if test "$enableval" = yes; then
5511 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5513 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5518 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5523 eval "$wx_cv_use_objc_uniquifying"
5525 if test x
"$enablestring" = xdisable
; then
5526 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5532 result
=$wxUSE_OBJC_UNIQUIFYING
5535 { echo "$as_me:$LINENO: result: $result" >&5
5536 echo "${ECHO_T}$result" >&6; }
5540 enablestring
=disable
5542 if test -z "$defaultval"; then
5543 if test x
"$enablestring" = xdisable
; then
5550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5551 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5552 # Check whether --enable-visibility was given.
5553 if test "${enable_visibility+set}" = set; then
5554 enableval
=$enable_visibility;
5555 if test "$enableval" = yes; then
5556 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5558 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5563 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5568 eval "$wx_cv_use_visibility"
5570 if test x"$enablestring" = xdisable; then
5571 if test $wxUSE_VISIBILITY = yes; then
5577 result=$wxUSE_VISIBILITY
5580 { echo "$as_me:$LINENO: result: $result" >&5
5581 echo "${ECHO_T}$result" >&6; }
5587 defaultval=$wxUSE_ALL_FEATURES
5588 if test -z "$defaultval"; then
5589 if test x"$enablestring" = xdisable; then
5596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5597 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5598 # Check whether --enable-intl was given.
5599 if test "${enable_intl+set}" = set; then
5600 enableval=$enable_intl;
5601 if test "$enableval" = yes; then
5602 wx_cv_use_intl='wxUSE_INTL
=yes'
5604 wx_cv_use_intl='wxUSE_INTL
=no
'
5609 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5614 eval "$wx_cv_use_intl"
5616 if test x"$enablestring" = xdisable; then
5617 if test $wxUSE_INTL = yes; then
5626 { echo "$as_me:$LINENO: result
: $result" >&5
5627 echo "${ECHO_T}$result" >&6; }
5631 defaultval=$wxUSE_ALL_FEATURES
5632 if test -z "$defaultval"; then
5633 if test x"$enablestring" = xdisable; then
5640 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5641 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5642 # Check whether --enable-xlocale was given.
5643 if test "${enable_xlocale+set}" = set; then
5644 enableval=$enable_xlocale;
5645 if test "$enableval" = yes; then
5646 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5648 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5653 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5658 eval "$wx_cv_use_xlocale"
5660 if test x
"$enablestring" = xdisable
; then
5661 if test $wxUSE_XLOCALE = yes; then
5667 result
=$wxUSE_XLOCALE
5670 { echo "$as_me:$LINENO: result: $result" >&5
5671 echo "${ECHO_T}$result" >&6; }
5675 defaultval
=$wxUSE_ALL_FEATURES
5676 if test -z "$defaultval"; then
5677 if test x
"$enablestring" = xdisable
; then
5684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5685 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5686 # Check whether --enable-config was given.
5687 if test "${enable_config+set}" = set; then
5688 enableval
=$enable_config;
5689 if test "$enableval" = yes; then
5690 wx_cv_use_config
='wxUSE_CONFIG=yes'
5692 wx_cv_use_config
='wxUSE_CONFIG=no'
5697 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5702 eval "$wx_cv_use_config"
5704 if test x"$enablestring" = xdisable; then
5705 if test $wxUSE_CONFIG = yes; then
5711 result=$wxUSE_CONFIG
5714 { echo "$as_me:$LINENO: result: $result" >&5
5715 echo "${ECHO_T}$result" >&6; }
5720 defaultval=$wxUSE_ALL_FEATURES
5721 if test -z "$defaultval"; then
5722 if test x"$enablestring" = xdisable; then
5729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5730 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5731 # Check whether --enable-protocols was given.
5732 if test "${enable_protocols+set}" = set; then
5733 enableval=$enable_protocols;
5734 if test "$enableval" = yes; then
5735 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5737 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5742 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5747 eval "$wx_cv_use_protocols"
5749 if test x"$enablestring" = xdisable; then
5750 if test $wxUSE_PROTOCOL = yes; then
5756 result=$wxUSE_PROTOCOL
5759 { echo "$as_me:$LINENO: result
: $result" >&5
5760 echo "${ECHO_T}$result" >&6; }
5764 defaultval=$wxUSE_ALL_FEATURES
5765 if test -z "$defaultval"; then
5766 if test x"$enablestring" = xdisable; then
5773 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5774 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5775 # Check whether --enable-ftp was given.
5776 if test "${enable_ftp+set}" = set; then
5777 enableval=$enable_ftp;
5778 if test "$enableval" = yes; then
5779 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5781 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5786 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5791 eval "$wx_cv_use_ftp"
5793 if test x
"$enablestring" = xdisable
; then
5794 if test $wxUSE_PROTOCOL_FTP = yes; then
5800 result
=$wxUSE_PROTOCOL_FTP
5803 { echo "$as_me:$LINENO: result: $result" >&5
5804 echo "${ECHO_T}$result" >&6; }
5808 defaultval
=$wxUSE_ALL_FEATURES
5809 if test -z "$defaultval"; then
5810 if test x
"$enablestring" = xdisable
; then
5817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5818 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5819 # Check whether --enable-http was given.
5820 if test "${enable_http+set}" = set; then
5821 enableval
=$enable_http;
5822 if test "$enableval" = yes; then
5823 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5825 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5830 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5835 eval "$wx_cv_use_http"
5837 if test x"$enablestring" = xdisable; then
5838 if test $wxUSE_PROTOCOL_HTTP = yes; then
5844 result=$wxUSE_PROTOCOL_HTTP
5847 { echo "$as_me:$LINENO: result: $result" >&5
5848 echo "${ECHO_T}$result" >&6; }
5852 defaultval=$wxUSE_ALL_FEATURES
5853 if test -z "$defaultval"; then
5854 if test x"$enablestring" = xdisable; then
5861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5862 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5863 # Check whether --enable-fileproto was given.
5864 if test "${enable_fileproto+set}" = set; then
5865 enableval=$enable_fileproto;
5866 if test "$enableval" = yes; then
5867 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5869 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5874 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5879 eval "$wx_cv_use_fileproto"
5881 if test x"$enablestring" = xdisable; then
5882 if test $wxUSE_PROTOCOL_FILE = yes; then
5888 result=$wxUSE_PROTOCOL_FILE
5891 { echo "$as_me:$LINENO: result
: $result" >&5
5892 echo "${ECHO_T}$result" >&6; }
5896 defaultval=$wxUSE_ALL_FEATURES
5897 if test -z "$defaultval"; then
5898 if test x"$enablestring" = xdisable; then
5905 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5906 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5907 # Check whether --enable-sockets was given.
5908 if test "${enable_sockets+set}" = set; then
5909 enableval=$enable_sockets;
5910 if test "$enableval" = yes; then
5911 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5913 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5918 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5923 eval "$wx_cv_use_sockets"
5925 if test x
"$enablestring" = xdisable
; then
5926 if test $wxUSE_SOCKETS = yes; then
5932 result
=$wxUSE_SOCKETS
5935 { echo "$as_me:$LINENO: result: $result" >&5
5936 echo "${ECHO_T}$result" >&6; }
5940 defaultval
=$wxUSE_ALL_FEATURES
5941 if test -z "$defaultval"; then
5942 if test x
"$enablestring" = xdisable
; then
5949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5951 # Check whether --enable-ipv6 was given.
5952 if test "${enable_ipv6+set}" = set; then
5953 enableval
=$enable_ipv6;
5954 if test "$enableval" = yes; then
5955 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5957 wx_cv_use_ipv6
='wxUSE_IPV6=no'
5962 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5967 eval "$wx_cv_use_ipv6"
5969 if test x"$enablestring" = xdisable; then
5970 if test $wxUSE_IPV6 = yes; then
5979 { echo "$as_me:$LINENO: result: $result" >&5
5980 echo "${ECHO_T}$result" >&6; }
5984 defaultval=$wxUSE_ALL_FEATURES
5985 if test -z "$defaultval"; then
5986 if test x"$enablestring" = xdisable; then
5993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5994 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5995 # Check whether --enable-ole was given.
5996 if test "${enable_ole+set}" = set; then
5997 enableval=$enable_ole;
5998 if test "$enableval" = yes; then
5999 wx_cv_use_ole='wxUSE_OLE
=yes'
6001 wx_cv_use_ole='wxUSE_OLE
=no
'
6006 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6011 eval "$wx_cv_use_ole"
6013 if test x"$enablestring" = xdisable; then
6014 if test $wxUSE_OLE = yes; then
6023 { echo "$as_me:$LINENO: result
: $result" >&5
6024 echo "${ECHO_T}$result" >&6; }
6028 defaultval=$wxUSE_ALL_FEATURES
6029 if test -z "$defaultval"; then
6030 if test x"$enablestring" = xdisable; then
6037 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6038 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6039 # Check whether --enable-dataobj was given.
6040 if test "${enable_dataobj+set}" = set; then
6041 enableval=$enable_dataobj;
6042 if test "$enableval" = yes; then
6043 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6045 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6050 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6055 eval "$wx_cv_use_dataobj"
6057 if test x
"$enablestring" = xdisable
; then
6058 if test $wxUSE_DATAOBJ = yes; then
6064 result
=$wxUSE_DATAOBJ
6067 { echo "$as_me:$LINENO: result: $result" >&5
6068 echo "${ECHO_T}$result" >&6; }
6073 defaultval
=$wxUSE_ALL_FEATURES
6074 if test -z "$defaultval"; then
6075 if test x
"$enablestring" = xdisable
; then
6082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6083 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6084 # Check whether --enable-ipc was given.
6085 if test "${enable_ipc+set}" = set; then
6086 enableval
=$enable_ipc;
6087 if test "$enableval" = yes; then
6088 wx_cv_use_ipc
='wxUSE_IPC=yes'
6090 wx_cv_use_ipc
='wxUSE_IPC=no'
6095 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6100 eval "$wx_cv_use_ipc"
6102 if test x"$enablestring" = xdisable; then
6103 if test $wxUSE_IPC = yes; then
6112 { echo "$as_me:$LINENO: result: $result" >&5
6113 echo "${ECHO_T}$result" >&6; }
6118 defaultval=$wxUSE_ALL_FEATURES
6119 if test -z "$defaultval"; then
6120 if test x"$enablestring" = xdisable; then
6127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6128 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6129 # Check whether --enable-baseevtloop was given.
6130 if test "${enable_baseevtloop+set}" = set; then
6131 enableval=$enable_baseevtloop;
6132 if test "$enableval" = yes; then
6133 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6135 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6140 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6145 eval "$wx_cv_use_baseevtloop"
6147 if test x"$enablestring" = xdisable; then
6148 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6154 result=$wxUSE_CONSOLE_EVENTLOOP
6157 { echo "$as_me:$LINENO: result
: $result" >&5
6158 echo "${ECHO_T}$result" >&6; }
6162 defaultval=$wxUSE_ALL_FEATURES
6163 if test -z "$defaultval"; then
6164 if test x"$enablestring" = xdisable; then
6171 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6172 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6173 # Check whether --enable-epollloop was given.
6174 if test "${enable_epollloop+set}" = set; then
6175 enableval=$enable_epollloop;
6176 if test "$enableval" = yes; then
6177 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6179 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6184 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6189 eval "$wx_cv_use_epollloop"
6191 if test x
"$enablestring" = xdisable
; then
6192 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6198 result
=$wxUSE_EPOLL_DISPATCHER
6201 { echo "$as_me:$LINENO: result: $result" >&5
6202 echo "${ECHO_T}$result" >&6; }
6206 defaultval
=$wxUSE_ALL_FEATURES
6207 if test -z "$defaultval"; then
6208 if test x
"$enablestring" = xdisable
; then
6215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6216 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6217 # Check whether --enable-selectloop was given.
6218 if test "${enable_selectloop+set}" = set; then
6219 enableval
=$enable_selectloop;
6220 if test "$enableval" = yes; then
6221 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6223 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6228 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6233 eval "$wx_cv_use_selectloop"
6235 if test x"$enablestring" = xdisable; then
6236 if test $wxUSE_SELECT_DISPATCHER = yes; then
6242 result=$wxUSE_SELECT_DISPATCHER
6245 { echo "$as_me:$LINENO: result: $result" >&5
6246 echo "${ECHO_T}$result" >&6; }
6251 defaultval=$wxUSE_ALL_FEATURES
6252 if test -z "$defaultval"; then
6253 if test x"$enablestring" = xdisable; then
6260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6261 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6262 # Check whether --enable-apple_ieee was given.
6263 if test "${enable_apple_ieee+set}" = set; then
6264 enableval=$enable_apple_ieee;
6265 if test "$enableval" = yes; then
6266 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6268 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6273 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6278 eval "$wx_cv_use_apple_ieee"
6280 if test x"$enablestring" = xdisable; then
6281 if test $wxUSE_APPLE_IEEE = yes; then
6287 result=$wxUSE_APPLE_IEEE
6290 { echo "$as_me:$LINENO: result
: $result" >&5
6291 echo "${ECHO_T}$result" >&6; }
6295 defaultval=$wxUSE_ALL_FEATURES
6296 if test -z "$defaultval"; then
6297 if test x"$enablestring" = xdisable; then
6304 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6305 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6306 # Check whether --enable-arcstream was given.
6307 if test "${enable_arcstream+set}" = set; then
6308 enableval=$enable_arcstream;
6309 if test "$enableval" = yes; then
6310 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6312 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6317 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6322 eval "$wx_cv_use_arcstream"
6324 if test x
"$enablestring" = xdisable
; then
6325 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6331 result
=$wxUSE_ARCHIVE_STREAMS
6334 { echo "$as_me:$LINENO: result: $result" >&5
6335 echo "${ECHO_T}$result" >&6; }
6339 defaultval
=$wxUSE_ALL_FEATURES
6340 if test -z "$defaultval"; then
6341 if test x
"$enablestring" = xdisable
; then
6348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6349 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6350 # Check whether --enable-base64 was given.
6351 if test "${enable_base64+set}" = set; then
6352 enableval
=$enable_base64;
6353 if test "$enableval" = yes; then
6354 wx_cv_use_base64
='wxUSE_BASE64=yes'
6356 wx_cv_use_base64
='wxUSE_BASE64=no'
6361 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6366 eval "$wx_cv_use_base64"
6368 if test x"$enablestring" = xdisable; then
6369 if test $wxUSE_BASE64 = yes; then
6375 result=$wxUSE_BASE64
6378 { echo "$as_me:$LINENO: result: $result" >&5
6379 echo "${ECHO_T}$result" >&6; }
6383 defaultval=$wxUSE_ALL_FEATURES
6384 if test -z "$defaultval"; then
6385 if test x"$enablestring" = xdisable; then
6392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6393 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6394 # Check whether --enable-backtrace was given.
6395 if test "${enable_backtrace+set}" = set; then
6396 enableval=$enable_backtrace;
6397 if test "$enableval" = yes; then
6398 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6400 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6405 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6410 eval "$wx_cv_use_backtrace"
6412 if test x"$enablestring" = xdisable; then
6413 if test $wxUSE_STACKWALKER = yes; then
6419 result=$wxUSE_STACKWALKER
6422 { echo "$as_me:$LINENO: result
: $result" >&5
6423 echo "${ECHO_T}$result" >&6; }
6427 defaultval=$wxUSE_ALL_FEATURES
6428 if test -z "$defaultval"; then
6429 if test x"$enablestring" = xdisable; then
6436 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6437 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6438 # Check whether --enable-catch_segvs was given.
6439 if test "${enable_catch_segvs+set}" = set; then
6440 enableval=$enable_catch_segvs;
6441 if test "$enableval" = yes; then
6442 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6444 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6449 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6454 eval "$wx_cv_use_catch_segvs"
6456 if test x
"$enablestring" = xdisable
; then
6457 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6463 result
=$wxUSE_ON_FATAL_EXCEPTION
6466 { echo "$as_me:$LINENO: result: $result" >&5
6467 echo "${ECHO_T}$result" >&6; }
6471 defaultval
=$wxUSE_ALL_FEATURES
6472 if test -z "$defaultval"; then
6473 if test x
"$enablestring" = xdisable
; then
6480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6481 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6482 # Check whether --enable-cmdline was given.
6483 if test "${enable_cmdline+set}" = set; then
6484 enableval
=$enable_cmdline;
6485 if test "$enableval" = yes; then
6486 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6488 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6493 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6498 eval "$wx_cv_use_cmdline"
6500 if test x"$enablestring" = xdisable; then
6501 if test $wxUSE_CMDLINE_PARSER = yes; then
6507 result=$wxUSE_CMDLINE_PARSER
6510 { echo "$as_me:$LINENO: result: $result" >&5
6511 echo "${ECHO_T}$result" >&6; }
6515 defaultval=$wxUSE_ALL_FEATURES
6516 if test -z "$defaultval"; then
6517 if test x"$enablestring" = xdisable; then
6524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6525 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6526 # Check whether --enable-datetime was given.
6527 if test "${enable_datetime+set}" = set; then
6528 enableval=$enable_datetime;
6529 if test "$enableval" = yes; then
6530 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6532 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6537 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6542 eval "$wx_cv_use_datetime"
6544 if test x"$enablestring" = xdisable; then
6545 if test $wxUSE_DATETIME = yes; then
6551 result=$wxUSE_DATETIME
6554 { echo "$as_me:$LINENO: result
: $result" >&5
6555 echo "${ECHO_T}$result" >&6; }
6559 defaultval=$wxUSE_ALL_FEATURES
6560 if test -z "$defaultval"; then
6561 if test x"$enablestring" = xdisable; then
6568 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6569 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6570 # Check whether --enable-debugreport was given.
6571 if test "${enable_debugreport+set}" = set; then
6572 enableval=$enable_debugreport;
6573 if test "$enableval" = yes; then
6574 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6576 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6581 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6586 eval "$wx_cv_use_debugreport"
6588 if test x
"$enablestring" = xdisable
; then
6589 if test $wxUSE_DEBUGREPORT = yes; then
6595 result
=$wxUSE_DEBUGREPORT
6598 { echo "$as_me:$LINENO: result: $result" >&5
6599 echo "${ECHO_T}$result" >&6; }
6603 defaultval
=$wxUSE_ALL_FEATURES
6604 if test -z "$defaultval"; then
6605 if test x
"$enablestring" = xdisable
; then
6612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6613 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6614 # Check whether --enable-dialupman was given.
6615 if test "${enable_dialupman+set}" = set; then
6616 enableval
=$enable_dialupman;
6617 if test "$enableval" = yes; then
6618 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6620 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6625 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6630 eval "$wx_cv_use_dialupman"
6632 if test x"$enablestring" = xdisable; then
6633 if test $wxUSE_DIALUP_MANAGER = yes; then
6639 result=$wxUSE_DIALUP_MANAGER
6642 { echo "$as_me:$LINENO: result: $result" >&5
6643 echo "${ECHO_T}$result" >&6; }
6647 defaultval=$wxUSE_ALL_FEATURES
6648 if test -z "$defaultval"; then
6649 if test x"$enablestring" = xdisable; then
6656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6657 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6658 # Check whether --enable-dynlib was given.
6659 if test "${enable_dynlib+set}" = set; then
6660 enableval=$enable_dynlib;
6661 if test "$enableval" = yes; then
6662 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6664 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6669 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6674 eval "$wx_cv_use_dynlib"
6676 if test x"$enablestring" = xdisable; then
6677 if test $wxUSE_DYNLIB_CLASS = yes; then
6683 result=$wxUSE_DYNLIB_CLASS
6686 { echo "$as_me:$LINENO: result
: $result" >&5
6687 echo "${ECHO_T}$result" >&6; }
6691 defaultval=$wxUSE_ALL_FEATURES
6692 if test -z "$defaultval"; then
6693 if test x"$enablestring" = xdisable; then
6700 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6701 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6702 # Check whether --enable-dynamicloader was given.
6703 if test "${enable_dynamicloader+set}" = set; then
6704 enableval=$enable_dynamicloader;
6705 if test "$enableval" = yes; then
6706 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6708 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6713 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6718 eval "$wx_cv_use_dynamicloader"
6720 if test x
"$enablestring" = xdisable
; then
6721 if test $wxUSE_DYNAMIC_LOADER = yes; then
6727 result
=$wxUSE_DYNAMIC_LOADER
6730 { echo "$as_me:$LINENO: result: $result" >&5
6731 echo "${ECHO_T}$result" >&6; }
6735 defaultval
=$wxUSE_ALL_FEATURES
6736 if test -z "$defaultval"; then
6737 if test x
"$enablestring" = xdisable
; then
6744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6745 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6746 # Check whether --enable-exceptions was given.
6747 if test "${enable_exceptions+set}" = set; then
6748 enableval
=$enable_exceptions;
6749 if test "$enableval" = yes; then
6750 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6752 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6757 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6762 eval "$wx_cv_use_exceptions"
6764 if test x"$enablestring" = xdisable; then
6765 if test $wxUSE_EXCEPTIONS = yes; then
6771 result=$wxUSE_EXCEPTIONS
6774 { echo "$as_me:$LINENO: result: $result" >&5
6775 echo "${ECHO_T}$result" >&6; }
6779 defaultval=$wxUSE_ALL_FEATURES
6780 if test -z "$defaultval"; then
6781 if test x"$enablestring" = xdisable; then
6788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6789 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6790 # Check whether --enable-ffile was given.
6791 if test "${enable_ffile+set}" = set; then
6792 enableval=$enable_ffile;
6793 if test "$enableval" = yes; then
6794 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6796 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6801 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6806 eval "$wx_cv_use_ffile"
6808 if test x"$enablestring" = xdisable; then
6809 if test $wxUSE_FFILE = yes; then
6818 { echo "$as_me:$LINENO: result
: $result" >&5
6819 echo "${ECHO_T}$result" >&6; }
6823 defaultval=$wxUSE_ALL_FEATURES
6824 if test -z "$defaultval"; then
6825 if test x"$enablestring" = xdisable; then
6832 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6833 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
6834 # Check whether --enable-file was given.
6835 if test "${enable_file+set}" = set; then
6836 enableval=$enable_file;
6837 if test "$enableval" = yes; then
6838 wx_cv_use_file='wxUSE_FILE=yes'
6840 wx_cv_use_file='wxUSE_FILE=no'
6845 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6850 eval "$wx_cv_use_file"
6852 if test x
"$enablestring" = xdisable
; then
6853 if test $wxUSE_FILE = yes; then
6862 { echo "$as_me:$LINENO: result: $result" >&5
6863 echo "${ECHO_T}$result" >&6; }
6867 defaultval
=$wxUSE_ALL_FEATURES
6868 if test -z "$defaultval"; then
6869 if test x
"$enablestring" = xdisable
; then
6876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6877 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6878 # Check whether --enable-filesystem was given.
6879 if test "${enable_filesystem+set}" = set; then
6880 enableval
=$enable_filesystem;
6881 if test "$enableval" = yes; then
6882 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6884 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6889 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6894 eval "$wx_cv_use_filesystem"
6896 if test x"$enablestring" = xdisable; then
6897 if test $wxUSE_FILESYSTEM = yes; then
6903 result=$wxUSE_FILESYSTEM
6906 { echo "$as_me:$LINENO: result: $result" >&5
6907 echo "${ECHO_T}$result" >&6; }
6911 defaultval=$wxUSE_ALL_FEATURES
6912 if test -z "$defaultval"; then
6913 if test x"$enablestring" = xdisable; then
6920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6921 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6922 # Check whether --enable-fontenum was given.
6923 if test "${enable_fontenum+set}" = set; then
6924 enableval=$enable_fontenum;
6925 if test "$enableval" = yes; then
6926 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
6928 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
6933 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6938 eval "$wx_cv_use_fontenum"
6940 if test x"$enablestring" = xdisable; then
6941 if test $wxUSE_FONTENUM = yes; then
6947 result=$wxUSE_FONTENUM
6950 { echo "$as_me:$LINENO: result
: $result" >&5
6951 echo "${ECHO_T}$result" >&6; }
6955 defaultval=$wxUSE_ALL_FEATURES
6956 if test -z "$defaultval"; then
6957 if test x"$enablestring" = xdisable; then
6964 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
6965 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
6966 # Check whether --enable-fontmap was given.
6967 if test "${enable_fontmap+set}" = set; then
6968 enableval=$enable_fontmap;
6969 if test "$enableval" = yes; then
6970 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6972 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6977 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6982 eval "$wx_cv_use_fontmap"
6984 if test x
"$enablestring" = xdisable
; then
6985 if test $wxUSE_FONTMAP = yes; then
6991 result
=$wxUSE_FONTMAP
6994 { echo "$as_me:$LINENO: result: $result" >&5
6995 echo "${ECHO_T}$result" >&6; }
6999 defaultval
=$wxUSE_ALL_FEATURES
7000 if test -z "$defaultval"; then
7001 if test x
"$enablestring" = xdisable
; then
7008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7009 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7010 # Check whether --enable-fs_archive was given.
7011 if test "${enable_fs_archive+set}" = set; then
7012 enableval
=$enable_fs_archive;
7013 if test "$enableval" = yes; then
7014 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7016 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7021 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7026 eval "$wx_cv_use_fs_archive"
7028 if test x"$enablestring" = xdisable; then
7029 if test $wxUSE_FS_ARCHIVE = yes; then
7035 result=$wxUSE_FS_ARCHIVE
7038 { echo "$as_me:$LINENO: result: $result" >&5
7039 echo "${ECHO_T}$result" >&6; }
7043 defaultval=$wxUSE_ALL_FEATURES
7044 if test -z "$defaultval"; then
7045 if test x"$enablestring" = xdisable; then
7052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7053 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7054 # Check whether --enable-fs_inet was given.
7055 if test "${enable_fs_inet+set}" = set; then
7056 enableval=$enable_fs_inet;
7057 if test "$enableval" = yes; then
7058 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7060 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7065 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7070 eval "$wx_cv_use_fs_inet"
7072 if test x"$enablestring" = xdisable; then
7073 if test $wxUSE_FS_INET = yes; then
7079 result=$wxUSE_FS_INET
7082 { echo "$as_me:$LINENO: result
: $result" >&5
7083 echo "${ECHO_T}$result" >&6; }
7087 defaultval=$wxUSE_ALL_FEATURES
7088 if test -z "$defaultval"; then
7089 if test x"$enablestring" = xdisable; then
7096 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7097 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7098 # Check whether --enable-fs_zip was given.
7099 if test "${enable_fs_zip+set}" = set; then
7100 enableval=$enable_fs_zip;
7101 if test "$enableval" = yes; then
7102 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7104 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7109 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7114 eval "$wx_cv_use_fs_zip"
7116 if test x
"$enablestring" = xdisable
; then
7117 if test $wxUSE_FS_ZIP = yes; then
7123 result
=$wxUSE_FS_ZIP
7126 { echo "$as_me:$LINENO: result: $result" >&5
7127 echo "${ECHO_T}$result" >&6; }
7131 defaultval
=$wxUSE_ALL_FEATURES
7132 if test -z "$defaultval"; then
7133 if test x
"$enablestring" = xdisable
; then
7140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7141 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7142 # Check whether --enable-geometry was given.
7143 if test "${enable_geometry+set}" = set; then
7144 enableval
=$enable_geometry;
7145 if test "$enableval" = yes; then
7146 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7148 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7153 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7158 eval "$wx_cv_use_geometry"
7160 if test x"$enablestring" = xdisable; then
7161 if test $wxUSE_GEOMETRY = yes; then
7167 result=$wxUSE_GEOMETRY
7170 { echo "$as_me:$LINENO: result: $result" >&5
7171 echo "${ECHO_T}$result" >&6; }
7175 defaultval=$wxUSE_ALL_FEATURES
7176 if test -z "$defaultval"; then
7177 if test x"$enablestring" = xdisable; then
7184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7185 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7186 # Check whether --enable-log was given.
7187 if test "${enable_log+set}" = set; then
7188 enableval=$enable_log;
7189 if test "$enableval" = yes; then
7190 wx_cv_use_log='wxUSE_LOG
=yes'
7192 wx_cv_use_log='wxUSE_LOG
=no
'
7197 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7202 eval "$wx_cv_use_log"
7204 if test x"$enablestring" = xdisable; then
7205 if test $wxUSE_LOG = yes; then
7214 { echo "$as_me:$LINENO: result
: $result" >&5
7215 echo "${ECHO_T}$result" >&6; }
7219 defaultval=$wxUSE_ALL_FEATURES
7220 if test -z "$defaultval"; then
7221 if test x"$enablestring" = xdisable; then
7228 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7229 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7230 # Check whether --enable-longlong was given.
7231 if test "${enable_longlong+set}" = set; then
7232 enableval=$enable_longlong;
7233 if test "$enableval" = yes; then
7234 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7236 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7241 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7246 eval "$wx_cv_use_longlong"
7248 if test x
"$enablestring" = xdisable
; then
7249 if test $wxUSE_LONGLONG = yes; then
7255 result
=$wxUSE_LONGLONG
7258 { echo "$as_me:$LINENO: result: $result" >&5
7259 echo "${ECHO_T}$result" >&6; }
7263 defaultval
=$wxUSE_ALL_FEATURES
7264 if test -z "$defaultval"; then
7265 if test x
"$enablestring" = xdisable
; then
7272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7273 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7274 # Check whether --enable-mimetype was given.
7275 if test "${enable_mimetype+set}" = set; then
7276 enableval
=$enable_mimetype;
7277 if test "$enableval" = yes; then
7278 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7280 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7285 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7290 eval "$wx_cv_use_mimetype"
7292 if test x"$enablestring" = xdisable; then
7293 if test $wxUSE_MIMETYPE = yes; then
7299 result=$wxUSE_MIMETYPE
7302 { echo "$as_me:$LINENO: result: $result" >&5
7303 echo "${ECHO_T}$result" >&6; }
7307 defaultval=$wxUSE_ALL_FEATURES
7308 if test -z "$defaultval"; then
7309 if test x"$enablestring" = xdisable; then
7316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7317 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7318 # Check whether --enable-printfposparam was given.
7319 if test "${enable_printfposparam+set}" = set; then
7320 enableval=$enable_printfposparam;
7321 if test "$enableval" = yes; then
7322 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7324 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7329 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7334 eval "$wx_cv_use_printfposparam"
7336 if test x"$enablestring" = xdisable; then
7337 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7343 result=$wxUSE_PRINTF_POS_PARAMS
7346 { echo "$as_me:$LINENO: result
: $result" >&5
7347 echo "${ECHO_T}$result" >&6; }
7351 defaultval=$wxUSE_ALL_FEATURES
7352 if test -z "$defaultval"; then
7353 if test x"$enablestring" = xdisable; then
7360 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7361 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7362 # Check whether --enable-snglinst was given.
7363 if test "${enable_snglinst+set}" = set; then
7364 enableval=$enable_snglinst;
7365 if test "$enableval" = yes; then
7366 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7368 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7373 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7378 eval "$wx_cv_use_snglinst"
7380 if test x
"$enablestring" = xdisable
; then
7381 if test $wxUSE_SNGLINST_CHECKER = yes; then
7387 result
=$wxUSE_SNGLINST_CHECKER
7390 { echo "$as_me:$LINENO: result: $result" >&5
7391 echo "${ECHO_T}$result" >&6; }
7395 defaultval
=$wxUSE_ALL_FEATURES
7396 if test -z "$defaultval"; then
7397 if test x
"$enablestring" = xdisable
; then
7404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7405 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7406 # Check whether --enable-sound was given.
7407 if test "${enable_sound+set}" = set; then
7408 enableval
=$enable_sound;
7409 if test "$enableval" = yes; then
7410 wx_cv_use_sound
='wxUSE_SOUND=yes'
7412 wx_cv_use_sound
='wxUSE_SOUND=no'
7417 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7422 eval "$wx_cv_use_sound"
7424 if test x"$enablestring" = xdisable; then
7425 if test $wxUSE_SOUND = yes; then
7434 { echo "$as_me:$LINENO: result: $result" >&5
7435 echo "${ECHO_T}$result" >&6; }
7439 defaultval=$wxUSE_ALL_FEATURES
7440 if test -z "$defaultval"; then
7441 if test x"$enablestring" = xdisable; then
7448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7449 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7450 # Check whether --enable-stdpaths was given.
7451 if test "${enable_stdpaths+set}" = set; then
7452 enableval=$enable_stdpaths;
7453 if test "$enableval" = yes; then
7454 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7456 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7461 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7466 eval "$wx_cv_use_stdpaths"
7468 if test x"$enablestring" = xdisable; then
7469 if test $wxUSE_STDPATHS = yes; then
7475 result=$wxUSE_STDPATHS
7478 { echo "$as_me:$LINENO: result
: $result" >&5
7479 echo "${ECHO_T}$result" >&6; }
7483 defaultval=$wxUSE_ALL_FEATURES
7484 if test -z "$defaultval"; then
7485 if test x"$enablestring" = xdisable; then
7492 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7493 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7494 # Check whether --enable-stopwatch was given.
7495 if test "${enable_stopwatch+set}" = set; then
7496 enableval=$enable_stopwatch;
7497 if test "$enableval" = yes; then
7498 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7500 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7505 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7510 eval "$wx_cv_use_stopwatch"
7512 if test x
"$enablestring" = xdisable
; then
7513 if test $wxUSE_STOPWATCH = yes; then
7519 result
=$wxUSE_STOPWATCH
7522 { echo "$as_me:$LINENO: result: $result" >&5
7523 echo "${ECHO_T}$result" >&6; }
7527 defaultval
=$wxUSE_ALL_FEATURES
7528 if test -z "$defaultval"; then
7529 if test x
"$enablestring" = xdisable
; then
7536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7537 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7538 # Check whether --enable-streams was given.
7539 if test "${enable_streams+set}" = set; then
7540 enableval
=$enable_streams;
7541 if test "$enableval" = yes; then
7542 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7544 wx_cv_use_streams
='wxUSE_STREAMS=no'
7549 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7554 eval "$wx_cv_use_streams"
7556 if test x"$enablestring" = xdisable; then
7557 if test $wxUSE_STREAMS = yes; then
7563 result=$wxUSE_STREAMS
7566 { echo "$as_me:$LINENO: result: $result" >&5
7567 echo "${ECHO_T}$result" >&6; }
7571 defaultval=$wxUSE_ALL_FEATURES
7572 if test -z "$defaultval"; then
7573 if test x"$enablestring" = xdisable; then
7580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7581 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7582 # Check whether --enable-system_options was given.
7583 if test "${enable_system_options+set}" = set; then
7584 enableval=$enable_system_options;
7585 if test "$enableval" = yes; then
7586 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7588 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7593 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7598 eval "$wx_cv_use_system_options"
7600 if test x"$enablestring" = xdisable; then
7601 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7607 result=$wxUSE_SYSTEM_OPTIONS
7610 { echo "$as_me:$LINENO: result
: $result" >&5
7611 echo "${ECHO_T}$result" >&6; }
7615 defaultval=$wxUSE_ALL_FEATURES
7616 if test -z "$defaultval"; then
7617 if test x"$enablestring" = xdisable; then
7624 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7625 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7626 # Check whether --enable-tarstream was given.
7627 if test "${enable_tarstream+set}" = set; then
7628 enableval=$enable_tarstream;
7629 if test "$enableval" = yes; then
7630 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7632 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7637 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7642 eval "$wx_cv_use_tarstream"
7644 if test x
"$enablestring" = xdisable
; then
7645 if test $wxUSE_TARSTREAM = yes; then
7651 result
=$wxUSE_TARSTREAM
7654 { echo "$as_me:$LINENO: result: $result" >&5
7655 echo "${ECHO_T}$result" >&6; }
7659 defaultval
=$wxUSE_ALL_FEATURES
7660 if test -z "$defaultval"; then
7661 if test x
"$enablestring" = xdisable
; then
7668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7669 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7670 # Check whether --enable-textbuf was given.
7671 if test "${enable_textbuf+set}" = set; then
7672 enableval
=$enable_textbuf;
7673 if test "$enableval" = yes; then
7674 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7676 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7681 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7686 eval "$wx_cv_use_textbuf"
7688 if test x"$enablestring" = xdisable; then
7689 if test $wxUSE_TEXTBUFFER = yes; then
7695 result=$wxUSE_TEXTBUFFER
7698 { echo "$as_me:$LINENO: result: $result" >&5
7699 echo "${ECHO_T}$result" >&6; }
7703 defaultval=$wxUSE_ALL_FEATURES
7704 if test -z "$defaultval"; then
7705 if test x"$enablestring" = xdisable; then
7712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7713 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7714 # Check whether --enable-textfile was given.
7715 if test "${enable_textfile+set}" = set; then
7716 enableval=$enable_textfile;
7717 if test "$enableval" = yes; then
7718 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7720 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7725 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7730 eval "$wx_cv_use_textfile"
7732 if test x"$enablestring" = xdisable; then
7733 if test $wxUSE_TEXTFILE = yes; then
7739 result=$wxUSE_TEXTFILE
7742 { echo "$as_me:$LINENO: result
: $result" >&5
7743 echo "${ECHO_T}$result" >&6; }
7747 defaultval=$wxUSE_ALL_FEATURES
7748 if test -z "$defaultval"; then
7749 if test x"$enablestring" = xdisable; then
7756 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7757 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7758 # Check whether --enable-timer was given.
7759 if test "${enable_timer+set}" = set; then
7760 enableval=$enable_timer;
7761 if test "$enableval" = yes; then
7762 wx_cv_use_timer='wxUSE_TIMER=yes'
7764 wx_cv_use_timer='wxUSE_TIMER=no'
7769 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7774 eval "$wx_cv_use_timer"
7776 if test x
"$enablestring" = xdisable
; then
7777 if test $wxUSE_TIMER = yes; then
7786 { echo "$as_me:$LINENO: result: $result" >&5
7787 echo "${ECHO_T}$result" >&6; }
7791 defaultval
=$wxUSE_ALL_FEATURES
7792 if test -z "$defaultval"; then
7793 if test x
"$enablestring" = xdisable
; then
7800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7801 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7802 # Check whether --enable-variant was given.
7803 if test "${enable_variant+set}" = set; then
7804 enableval
=$enable_variant;
7805 if test "$enableval" = yes; then
7806 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7808 wx_cv_use_variant
='wxUSE_VARIANT=no'
7813 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7818 eval "$wx_cv_use_variant"
7820 if test x"$enablestring" = xdisable; then
7821 if test $wxUSE_VARIANT = yes; then
7827 result=$wxUSE_VARIANT
7830 { echo "$as_me:$LINENO: result: $result" >&5
7831 echo "${ECHO_T}$result" >&6; }
7835 defaultval=$wxUSE_ALL_FEATURES
7836 if test -z "$defaultval"; then
7837 if test x"$enablestring" = xdisable; then
7844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7845 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7846 # Check whether --enable-zipstream was given.
7847 if test "${enable_zipstream+set}" = set; then
7848 enableval=$enable_zipstream;
7849 if test "$enableval" = yes; then
7850 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7852 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7857 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7862 eval "$wx_cv_use_zipstream"
7864 if test x"$enablestring" = xdisable; then
7865 if test $wxUSE_ZIPSTREAM = yes; then
7871 result=$wxUSE_ZIPSTREAM
7874 { echo "$as_me:$LINENO: result
: $result" >&5
7875 echo "${ECHO_T}$result" >&6; }
7880 defaultval=$wxUSE_ALL_FEATURES
7881 if test -z "$defaultval"; then
7882 if test x"$enablestring" = xdisable; then
7889 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7890 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7891 # Check whether --enable-url was given.
7892 if test "${enable_url+set}" = set; then
7893 enableval=$enable_url;
7894 if test "$enableval" = yes; then
7895 wx_cv_use_url='wxUSE_URL=yes'
7897 wx_cv_use_url='wxUSE_URL=no'
7902 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7907 eval "$wx_cv_use_url"
7909 if test x
"$enablestring" = xdisable
; then
7910 if test $wxUSE_URL = yes; then
7919 { echo "$as_me:$LINENO: result: $result" >&5
7920 echo "${ECHO_T}$result" >&6; }
7924 defaultval
=$wxUSE_ALL_FEATURES
7925 if test -z "$defaultval"; then
7926 if test x
"$enablestring" = xdisable
; then
7933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7934 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7935 # Check whether --enable-protocol was given.
7936 if test "${enable_protocol+set}" = set; then
7937 enableval
=$enable_protocol;
7938 if test "$enableval" = yes; then
7939 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7941 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7946 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7951 eval "$wx_cv_use_protocol"
7953 if test x"$enablestring" = xdisable; then
7954 if test $wxUSE_PROTOCOL = yes; then
7960 result=$wxUSE_PROTOCOL
7963 { echo "$as_me:$LINENO: result: $result" >&5
7964 echo "${ECHO_T}$result" >&6; }
7968 defaultval=$wxUSE_ALL_FEATURES
7969 if test -z "$defaultval"; then
7970 if test x"$enablestring" = xdisable; then
7977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7978 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7979 # Check whether --enable-protocol_http was given.
7980 if test "${enable_protocol_http+set}" = set; then
7981 enableval=$enable_protocol_http;
7982 if test "$enableval" = yes; then
7983 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
7985 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
7990 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7995 eval "$wx_cv_use_protocol_http"
7997 if test x"$enablestring" = xdisable; then
7998 if test $wxUSE_PROTOCOL_HTTP = yes; then
8004 result=$wxUSE_PROTOCOL_HTTP
8007 { echo "$as_me:$LINENO: result
: $result" >&5
8008 echo "${ECHO_T}$result" >&6; }
8012 defaultval=$wxUSE_ALL_FEATURES
8013 if test -z "$defaultval"; then
8014 if test x"$enablestring" = xdisable; then
8021 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8022 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8023 # Check whether --enable-protocol_ftp was given.
8024 if test "${enable_protocol_ftp+set}" = set; then
8025 enableval=$enable_protocol_ftp;
8026 if test "$enableval" = yes; then
8027 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8029 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8034 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8039 eval "$wx_cv_use_protocol_ftp"
8041 if test x
"$enablestring" = xdisable
; then
8042 if test $wxUSE_PROTOCOL_FTP = yes; then
8048 result
=$wxUSE_PROTOCOL_FTP
8051 { echo "$as_me:$LINENO: result: $result" >&5
8052 echo "${ECHO_T}$result" >&6; }
8056 defaultval
=$wxUSE_ALL_FEATURES
8057 if test -z "$defaultval"; then
8058 if test x
"$enablestring" = xdisable
; then
8065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8066 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8067 # Check whether --enable-protocol_file was given.
8068 if test "${enable_protocol_file+set}" = set; then
8069 enableval
=$enable_protocol_file;
8070 if test "$enableval" = yes; then
8071 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8073 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8078 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8083 eval "$wx_cv_use_protocol_file"
8085 if test x"$enablestring" = xdisable; then
8086 if test $wxUSE_PROTOCOL_FILE = yes; then
8092 result=$wxUSE_PROTOCOL_FILE
8095 { echo "$as_me:$LINENO: result: $result" >&5
8096 echo "${ECHO_T}$result" >&6; }
8101 defaultval=$wxUSE_ALL_FEATURES
8102 if test -z "$defaultval"; then
8103 if test x"$enablestring" = xdisable; then
8110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8111 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8112 # Check whether --enable-threads was given.
8113 if test "${enable_threads+set}" = set; then
8114 enableval=$enable_threads;
8115 if test "$enableval" = yes; then
8116 wx_cv_use_threads='wxUSE_THREADS
=yes'
8118 wx_cv_use_threads='wxUSE_THREADS
=no
'
8123 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8128 eval "$wx_cv_use_threads"
8130 if test x"$enablestring" = xdisable; then
8131 if test $wxUSE_THREADS = yes; then
8137 result=$wxUSE_THREADS
8140 { echo "$as_me:$LINENO: result
: $result" >&5
8141 echo "${ECHO_T}$result" >&6; }
8147 if test -z "$defaultval"; then
8148 if test x"$enablestring" = xdisable; then
8155 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8156 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8157 # Check whether --enable-iniconf was given.
8158 if test "${enable_iniconf+set}" = set; then
8159 enableval=$enable_iniconf;
8160 if test "$enableval" = yes; then
8161 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8163 wx_cv_use_iniconf='wxUSE_INICONF=no'
8168 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8173 eval "$wx_cv_use_iniconf"
8175 if test x
"$enablestring" = xdisable
; then
8176 if test $wxUSE_INICONF = yes; then
8182 result
=$wxUSE_INICONF
8185 { echo "$as_me:$LINENO: result: $result" >&5
8186 echo "${ECHO_T}$result" >&6; }
8190 defaultval
=$wxUSE_ALL_FEATURES
8191 if test -z "$defaultval"; then
8192 if test x
"$enablestring" = xdisable
; then
8199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8200 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8201 # Check whether --enable-regkey was given.
8202 if test "${enable_regkey+set}" = set; then
8203 enableval
=$enable_regkey;
8204 if test "$enableval" = yes; then
8205 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8207 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8212 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8217 eval "$wx_cv_use_regkey"
8219 if test x"$enablestring" = xdisable; then
8220 if test $wxUSE_REGKEY = yes; then
8226 result=$wxUSE_REGKEY
8229 { echo "$as_me:$LINENO: result: $result" >&5
8230 echo "${ECHO_T}$result" >&6; }
8233 if test "$wxUSE_GUI" = "yes"; then
8238 defaultval=$wxUSE_ALL_FEATURES
8239 if test -z "$defaultval"; then
8240 if test x"$enablestring" = xdisable; then
8247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8248 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8249 # Check whether --enable-docview was given.
8250 if test "${enable_docview+set}" = set; then
8251 enableval=$enable_docview;
8252 if test "$enableval" = yes; then
8253 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8255 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8260 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8265 eval "$wx_cv_use_docview"
8267 if test x"$enablestring" = xdisable; then
8268 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8274 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8277 { echo "$as_me:$LINENO: result
: $result" >&5
8278 echo "${ECHO_T}$result" >&6; }
8282 defaultval=$wxUSE_ALL_FEATURES
8283 if test -z "$defaultval"; then
8284 if test x"$enablestring" = xdisable; then
8291 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8292 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8293 # Check whether --enable-help was given.
8294 if test "${enable_help+set}" = set; then
8295 enableval=$enable_help;
8296 if test "$enableval" = yes; then
8297 wx_cv_use_help='wxUSE_HELP=yes'
8299 wx_cv_use_help='wxUSE_HELP=no'
8304 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8309 eval "$wx_cv_use_help"
8311 if test x
"$enablestring" = xdisable
; then
8312 if test $wxUSE_HELP = yes; then
8321 { echo "$as_me:$LINENO: result: $result" >&5
8322 echo "${ECHO_T}$result" >&6; }
8326 defaultval
=$wxUSE_ALL_FEATURES
8327 if test -z "$defaultval"; then
8328 if test x
"$enablestring" = xdisable
; then
8335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8336 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8337 # Check whether --enable-mshtmlhelp was given.
8338 if test "${enable_mshtmlhelp+set}" = set; then
8339 enableval
=$enable_mshtmlhelp;
8340 if test "$enableval" = yes; then
8341 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8343 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8348 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8353 eval "$wx_cv_use_mshtmlhelp"
8355 if test x"$enablestring" = xdisable; then
8356 if test $wxUSE_MS_HTML_HELP = yes; then
8362 result=$wxUSE_MS_HTML_HELP
8365 { echo "$as_me:$LINENO: result: $result" >&5
8366 echo "${ECHO_T}$result" >&6; }
8370 defaultval=$wxUSE_ALL_FEATURES
8371 if test -z "$defaultval"; then
8372 if test x"$enablestring" = xdisable; then
8379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8380 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8381 # Check whether --enable-html was given.
8382 if test "${enable_html+set}" = set; then
8383 enableval=$enable_html;
8384 if test "$enableval" = yes; then
8385 wx_cv_use_html='wxUSE_HTML
=yes'
8387 wx_cv_use_html='wxUSE_HTML
=no
'
8392 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8397 eval "$wx_cv_use_html"
8399 if test x"$enablestring" = xdisable; then
8400 if test $wxUSE_HTML = yes; then
8409 { echo "$as_me:$LINENO: result
: $result" >&5
8410 echo "${ECHO_T}$result" >&6; }
8414 defaultval=$wxUSE_ALL_FEATURES
8415 if test -z "$defaultval"; then
8416 if test x"$enablestring" = xdisable; then
8423 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8424 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8425 # Check whether --enable-htmlhelp was given.
8426 if test "${enable_htmlhelp+set}" = set; then
8427 enableval=$enable_htmlhelp;
8428 if test "$enableval" = yes; then
8429 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8431 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8436 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8441 eval "$wx_cv_use_htmlhelp"
8443 if test x
"$enablestring" = xdisable
; then
8444 if test $wxUSE_WXHTML_HELP = yes; then
8450 result
=$wxUSE_WXHTML_HELP
8453 { echo "$as_me:$LINENO: result: $result" >&5
8454 echo "${ECHO_T}$result" >&6; }
8458 defaultval
=$wxUSE_ALL_FEATURES
8459 if test -z "$defaultval"; then
8460 if test x
"$enablestring" = xdisable
; then
8467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8468 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8469 # Check whether --enable-xrc was given.
8470 if test "${enable_xrc+set}" = set; then
8471 enableval
=$enable_xrc;
8472 if test "$enableval" = yes; then
8473 wx_cv_use_xrc
='wxUSE_XRC=yes'
8475 wx_cv_use_xrc
='wxUSE_XRC=no'
8480 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8485 eval "$wx_cv_use_xrc"
8487 if test x"$enablestring" = xdisable; then
8488 if test $wxUSE_XRC = yes; then
8497 { echo "$as_me:$LINENO: result: $result" >&5
8498 echo "${ECHO_T}$result" >&6; }
8502 defaultval=$wxUSE_ALL_FEATURES
8503 if test -z "$defaultval"; then
8504 if test x"$enablestring" = xdisable; then
8511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8512 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8513 # Check whether --enable-aui was given.
8514 if test "${enable_aui+set}" = set; then
8515 enableval=$enable_aui;
8516 if test "$enableval" = yes; then
8517 wx_cv_use_aui='wxUSE_AUI
=yes'
8519 wx_cv_use_aui='wxUSE_AUI
=no
'
8524 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8529 eval "$wx_cv_use_aui"
8531 if test x"$enablestring" = xdisable; then
8532 if test $wxUSE_AUI = yes; then
8541 { echo "$as_me:$LINENO: result
: $result" >&5
8542 echo "${ECHO_T}$result" >&6; }
8546 defaultval=$wxUSE_ALL_FEATURES
8547 if test -z "$defaultval"; then
8548 if test x"$enablestring" = xdisable; then
8555 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8556 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8557 # Check whether --enable-propgrid was given.
8558 if test "${enable_propgrid+set}" = set; then
8559 enableval=$enable_propgrid;
8560 if test "$enableval" = yes; then
8561 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8563 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8568 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8573 eval "$wx_cv_use_propgrid"
8575 if test x
"$enablestring" = xdisable
; then
8576 if test $wxUSE_PROPGRID = yes; then
8582 result
=$wxUSE_PROPGRID
8585 { echo "$as_me:$LINENO: result: $result" >&5
8586 echo "${ECHO_T}$result" >&6; }
8590 defaultval
=$wxUSE_ALL_FEATURES
8591 if test -z "$defaultval"; then
8592 if test x
"$enablestring" = xdisable
; then
8599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8600 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8601 # Check whether --enable-stc was given.
8602 if test "${enable_stc+set}" = set; then
8603 enableval
=$enable_stc;
8604 if test "$enableval" = yes; then
8605 wx_cv_use_stc
='wxUSE_STC=yes'
8607 wx_cv_use_stc
='wxUSE_STC=no'
8612 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8617 eval "$wx_cv_use_stc"
8619 if test x"$enablestring" = xdisable; then
8620 if test $wxUSE_STC = yes; then
8629 { echo "$as_me:$LINENO: result: $result" >&5
8630 echo "${ECHO_T}$result" >&6; }
8634 defaultval=$wxUSE_ALL_FEATURES
8635 if test -z "$defaultval"; then
8636 if test x"$enablestring" = xdisable; then
8643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8644 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8645 # Check whether --enable-constraints was given.
8646 if test "${enable_constraints+set}" = set; then
8647 enableval=$enable_constraints;
8648 if test "$enableval" = yes; then
8649 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8651 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8656 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8661 eval "$wx_cv_use_constraints"
8663 if test x"$enablestring" = xdisable; then
8664 if test $wxUSE_CONSTRAINTS = yes; then
8670 result=$wxUSE_CONSTRAINTS
8673 { echo "$as_me:$LINENO: result
: $result" >&5
8674 echo "${ECHO_T}$result" >&6; }
8678 defaultval=$wxUSE_ALL_FEATURES
8679 if test -z "$defaultval"; then
8680 if test x"$enablestring" = xdisable; then
8687 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8688 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8689 # Check whether --enable-loggui was given.
8690 if test "${enable_loggui+set}" = set; then
8691 enableval=$enable_loggui;
8692 if test "$enableval" = yes; then
8693 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8695 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8700 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8705 eval "$wx_cv_use_loggui"
8707 if test x
"$enablestring" = xdisable
; then
8708 if test $wxUSE_LOGGUI = yes; then
8714 result
=$wxUSE_LOGGUI
8717 { echo "$as_me:$LINENO: result: $result" >&5
8718 echo "${ECHO_T}$result" >&6; }
8722 defaultval
=$wxUSE_ALL_FEATURES
8723 if test -z "$defaultval"; then
8724 if test x
"$enablestring" = xdisable
; then
8731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8732 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8733 # Check whether --enable-logwin was given.
8734 if test "${enable_logwin+set}" = set; then
8735 enableval
=$enable_logwin;
8736 if test "$enableval" = yes; then
8737 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8739 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8744 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8749 eval "$wx_cv_use_logwin"
8751 if test x"$enablestring" = xdisable; then
8752 if test $wxUSE_LOGWINDOW = yes; then
8758 result=$wxUSE_LOGWINDOW
8761 { echo "$as_me:$LINENO: result: $result" >&5
8762 echo "${ECHO_T}$result" >&6; }
8766 defaultval=$wxUSE_ALL_FEATURES
8767 if test -z "$defaultval"; then
8768 if test x"$enablestring" = xdisable; then
8775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8776 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8777 # Check whether --enable-logdialog was given.
8778 if test "${enable_logdialog+set}" = set; then
8779 enableval=$enable_logdialog;
8780 if test "$enableval" = yes; then
8781 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8783 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8788 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8793 eval "$wx_cv_use_logdialog"
8795 if test x"$enablestring" = xdisable; then
8796 if test $wxUSE_LOGDIALOG = yes; then
8802 result=$wxUSE_LOGDIALOG
8805 { echo "$as_me:$LINENO: result
: $result" >&5
8806 echo "${ECHO_T}$result" >&6; }
8810 defaultval=$wxUSE_ALL_FEATURES
8811 if test -z "$defaultval"; then
8812 if test x"$enablestring" = xdisable; then
8819 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8820 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8821 # Check whether --enable-mdi was given.
8822 if test "${enable_mdi+set}" = set; then
8823 enableval=$enable_mdi;
8824 if test "$enableval" = yes; then
8825 wx_cv_use_mdi='wxUSE_MDI=yes'
8827 wx_cv_use_mdi='wxUSE_MDI=no'
8832 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8837 eval "$wx_cv_use_mdi"
8839 if test x
"$enablestring" = xdisable
; then
8840 if test $wxUSE_MDI = yes; then
8849 { echo "$as_me:$LINENO: result: $result" >&5
8850 echo "${ECHO_T}$result" >&6; }
8854 defaultval
=$wxUSE_ALL_FEATURES
8855 if test -z "$defaultval"; then
8856 if test x
"$enablestring" = xdisable
; then
8863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8864 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8865 # Check whether --enable-mdidoc was given.
8866 if test "${enable_mdidoc+set}" = set; then
8867 enableval
=$enable_mdidoc;
8868 if test "$enableval" = yes; then
8869 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8871 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8876 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8881 eval "$wx_cv_use_mdidoc"
8883 if test x"$enablestring" = xdisable; then
8884 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8890 result=$wxUSE_MDI_ARCHITECTURE
8893 { echo "$as_me:$LINENO: result: $result" >&5
8894 echo "${ECHO_T}$result" >&6; }
8898 defaultval=$wxUSE_ALL_FEATURES
8899 if test -z "$defaultval"; then
8900 if test x"$enablestring" = xdisable; then
8907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8908 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8909 # Check whether --enable-mediactrl was given.
8910 if test "${enable_mediactrl+set}" = set; then
8911 enableval=$enable_mediactrl;
8912 if test "$enableval" = yes; then
8913 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
8915 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
8920 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8925 eval "$wx_cv_use_mediactrl"
8927 if test x"$enablestring" = xdisable; then
8928 if test $wxUSE_MEDIACTRL = yes; then
8934 result=$wxUSE_MEDIACTRL
8937 { echo "$as_me:$LINENO: result
: $result" >&5
8938 echo "${ECHO_T}$result" >&6; }
8942 defaultval=$wxUSE_ALL_FEATURES
8943 if test -z "$defaultval"; then
8944 if test x"$enablestring" = xdisable; then
8951 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
8952 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
8953 # Check whether --enable-gstreamer8 was given.
8954 if test "${enable_gstreamer8+set}" = set; then
8955 enableval=$enable_gstreamer8;
8956 if test "$enableval" = yes; then
8957 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8959 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8964 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8969 eval "$wx_cv_use_gstreamer8"
8971 if test x
"$enablestring" = xdisable
; then
8972 if test $wxUSE_GSTREAMER8 = yes; then
8978 result
=$wxUSE_GSTREAMER8
8981 { echo "$as_me:$LINENO: result: $result" >&5
8982 echo "${ECHO_T}$result" >&6; }
8986 defaultval
=$wxUSE_ALL_FEATURES
8987 if test -z "$defaultval"; then
8988 if test x
"$enablestring" = xdisable
; then
8995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8996 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8997 # Check whether --enable-webkit was given.
8998 if test "${enable_webkit+set}" = set; then
8999 enableval
=$enable_webkit;
9000 if test "$enableval" = yes; then
9001 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9003 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9008 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9013 eval "$wx_cv_use_webkit"
9015 if test x"$enablestring" = xdisable; then
9016 if test $wxUSE_WEBKIT = yes; then
9022 result=$wxUSE_WEBKIT
9025 { echo "$as_me:$LINENO: result: $result" >&5
9026 echo "${ECHO_T}$result" >&6; }
9030 defaultval=$wxUSE_ALL_FEATURES
9031 if test -z "$defaultval"; then
9032 if test x"$enablestring" = xdisable; then
9039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9040 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9041 # Check whether --enable-richtext was given.
9042 if test "${enable_richtext+set}" = set; then
9043 enableval=$enable_richtext;
9044 if test "$enableval" = yes; then
9045 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9047 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9052 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9057 eval "$wx_cv_use_richtext"
9059 if test x"$enablestring" = xdisable; then
9060 if test $wxUSE_RICHTEXT = yes; then
9066 result=$wxUSE_RICHTEXT
9069 { echo "$as_me:$LINENO: result
: $result" >&5
9070 echo "${ECHO_T}$result" >&6; }
9074 defaultval=$wxUSE_ALL_FEATURES
9075 if test -z "$defaultval"; then
9076 if test x"$enablestring" = xdisable; then
9083 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9084 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9085 # Check whether --enable-graphics_ctx was given.
9086 if test "${enable_graphics_ctx+set}" = set; then
9087 enableval=$enable_graphics_ctx;
9088 if test "$enableval" = yes; then
9089 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9091 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9096 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9101 eval "$wx_cv_use_graphics_ctx"
9103 if test x
"$enablestring" = xdisable
; then
9104 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9110 result
=$wxUSE_GRAPHICS_CONTEXT
9113 { echo "$as_me:$LINENO: result: $result" >&5
9114 echo "${ECHO_T}$result" >&6; }
9118 defaultval
=$wxUSE_ALL_FEATURES
9119 if test -z "$defaultval"; then
9120 if test x
"$enablestring" = xdisable
; then
9127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9128 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9129 # Check whether --enable-postscript was given.
9130 if test "${enable_postscript+set}" = set; then
9131 enableval
=$enable_postscript;
9132 if test "$enableval" = yes; then
9133 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9135 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9140 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9145 eval "$wx_cv_use_postscript"
9147 if test x"$enablestring" = xdisable; then
9148 if test $wxUSE_POSTSCRIPT = yes; then
9154 result=$wxUSE_POSTSCRIPT
9157 { echo "$as_me:$LINENO: result: $result" >&5
9158 echo "${ECHO_T}$result" >&6; }
9162 defaultval=$wxUSE_ALL_FEATURES
9163 if test -z "$defaultval"; then
9164 if test x"$enablestring" = xdisable; then
9171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9172 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9173 # Check whether --enable-printarch was given.
9174 if test "${enable_printarch+set}" = set; then
9175 enableval=$enable_printarch;
9176 if test "$enableval" = yes; then
9177 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9179 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9184 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9189 eval "$wx_cv_use_printarch"
9191 if test x"$enablestring" = xdisable; then
9192 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9198 result=$wxUSE_PRINTING_ARCHITECTURE
9201 { echo "$as_me:$LINENO: result
: $result" >&5
9202 echo "${ECHO_T}$result" >&6; }
9206 defaultval=$wxUSE_ALL_FEATURES
9207 if test -z "$defaultval"; then
9208 if test x"$enablestring" = xdisable; then
9215 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9216 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9217 # Check whether --enable-svg was given.
9218 if test "${enable_svg+set}" = set; then
9219 enableval=$enable_svg;
9220 if test "$enableval" = yes; then
9221 wx_cv_use_svg='wxUSE_SVG=yes'
9223 wx_cv_use_svg='wxUSE_SVG=no'
9228 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9233 eval "$wx_cv_use_svg"
9235 if test x
"$enablestring" = xdisable
; then
9236 if test $wxUSE_SVG = yes; then
9245 { echo "$as_me:$LINENO: result: $result" >&5
9246 echo "${ECHO_T}$result" >&6; }
9252 defaultval
=$wxUSE_ALL_FEATURES
9253 if test -z "$defaultval"; then
9254 if test x
"$enablestring" = xdisable
; then
9261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9262 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9263 # Check whether --enable-clipboard was given.
9264 if test "${enable_clipboard+set}" = set; then
9265 enableval
=$enable_clipboard;
9266 if test "$enableval" = yes; then
9267 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9269 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9274 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9279 eval "$wx_cv_use_clipboard"
9281 if test x"$enablestring" = xdisable; then
9282 if test $wxUSE_CLIPBOARD = yes; then
9288 result=$wxUSE_CLIPBOARD
9291 { echo "$as_me:$LINENO: result: $result" >&5
9292 echo "${ECHO_T}$result" >&6; }
9296 defaultval=$wxUSE_ALL_FEATURES
9297 if test -z "$defaultval"; then
9298 if test x"$enablestring" = xdisable; then
9305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9306 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9307 # Check whether --enable-dnd was given.
9308 if test "${enable_dnd+set}" = set; then
9309 enableval=$enable_dnd;
9310 if test "$enableval" = yes; then
9311 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9313 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9318 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9323 eval "$wx_cv_use_dnd"
9325 if test x"$enablestring" = xdisable; then
9326 if test $wxUSE_DRAG_AND_DROP = yes; then
9332 result=$wxUSE_DRAG_AND_DROP
9335 { echo "$as_me:$LINENO: result
: $result" >&5
9336 echo "${ECHO_T}$result" >&6; }
9340 defaultval=$wxUSE_ALL_FEATURES
9341 if test -z "$defaultval"; then
9342 if test x"$enablestring" = xdisable; then
9349 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9350 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9351 # Check whether --enable-metafile was given.
9352 if test "${enable_metafile+set}" = set; then
9353 enableval=$enable_metafile;
9354 if test "$enableval" = yes; then
9355 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9357 wx_cv_use_metafile='wxUSE_METAFILE=no'
9362 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9367 eval "$wx_cv_use_metafile"
9369 if test x
"$enablestring" = xdisable
; then
9370 if test $wxUSE_METAFILE = yes; then
9376 result
=$wxUSE_METAFILE
9379 { echo "$as_me:$LINENO: result: $result" >&5
9380 echo "${ECHO_T}$result" >&6; }
9384 DEFAULT_wxUSE_CONTROLS
=none
9386 enablestring
=disable
9388 if test -z "$defaultval"; then
9389 if test x
"$enablestring" = xdisable
; then
9396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9397 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9398 # Check whether --enable-controls was given.
9399 if test "${enable_controls+set}" = set; then
9400 enableval
=$enable_controls;
9401 if test "$enableval" = yes; then
9402 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9404 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9409 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9414 eval "$wx_cv_use_controls"
9416 if test x"$enablestring" = xdisable; then
9417 if test $wxUSE_CONTROLS = yes; then
9423 result=$wxUSE_CONTROLS
9426 { echo "$as_me:$LINENO: result: $result" >&5
9427 echo "${ECHO_T}$result" >&6; }
9430 if test "$wxUSE_CONTROLS" = "no"; then
9431 DEFAULT_wxUSE_ACCEL=no
9432 DEFAULT_wxUSE_ANIMATIONCTRL=no
9433 DEFAULT_wxUSE_BMPBUTTON=no
9434 DEFAULT_wxUSE_BUTTON=no
9435 DEFAULT_wxUSE_CALCTRL=no
9436 DEFAULT_wxUSE_CARET=no
9437 DEFAULT_wxUSE_CHECKBOX=no
9438 DEFAULT_wxUSE_CHECKLISTBOX=no
9439 DEFAULT_wxUSE_CHOICE=no
9440 DEFAULT_wxUSE_CHOICEBOOK=no
9441 DEFAULT_wxUSE_COLLPANE=no
9442 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9443 DEFAULT_wxUSE_COMBOBOX=no
9444 DEFAULT_wxUSE_COMBOBOX=no
9445 DEFAULT_wxUSE_DATAVIEWCTRL=no
9446 DEFAULT_wxUSE_DATEPICKCTRL=no
9447 DEFAULT_wxUSE_DETECT_SM=no
9448 DEFAULT_wxUSE_DIRPICKERCTRL=no
9449 DEFAULT_wxUSE_DISPLAY=no
9450 DEFAULT_wxUSE_FILECTRL=no
9451 DEFAULT_wxUSE_FILEPICKERCTRL=no
9452 DEFAULT_wxUSE_FONTPICKERCTRL=no
9453 DEFAULT_wxUSE_GAUGE=no
9454 DEFAULT_wxUSE_GRID=no
9455 DEFAULT_wxUSE_HEADERCTRL=no
9456 DEFAULT_wxUSE_HYPERLINKCTRL=no
9457 DEFAULT_wxUSE_IMAGLIST=no
9458 DEFAULT_wxUSE_LISTBOOK=no
9459 DEFAULT_wxUSE_LISTBOX=no
9460 DEFAULT_wxUSE_LISTCTRL=no
9461 DEFAULT_wxUSE_NOTEBOOK=no
9462 DEFAULT_wxUSE_POPUPWIN=no
9463 DEFAULT_wxUSE_RADIOBOX=no
9464 DEFAULT_wxUSE_RADIOBTN=no
9465 DEFAULT_wxUSE_REARRANGECTRL=no
9466 DEFAULT_wxUSE_SASH=no
9467 DEFAULT_wxUSE_SCROLLBAR=no
9468 DEFAULT_wxUSE_SEARCHCTRL=no
9469 DEFAULT_wxUSE_SLIDER=no
9470 DEFAULT_wxUSE_SPINBTN=no
9471 DEFAULT_wxUSE_SPINCTRL=no
9472 DEFAULT_wxUSE_SPLITTER=no
9473 DEFAULT_wxUSE_STATBMP=no
9474 DEFAULT_wxUSE_STATBOX=no
9475 DEFAULT_wxUSE_STATLINE=no
9476 DEFAULT_wxUSE_STATUSBAR=no
9477 DEFAULT_wxUSE_TIPWINDOW=no
9478 DEFAULT_wxUSE_TOGGLEBTN=no
9479 DEFAULT_wxUSE_TOOLBAR=no
9480 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9481 DEFAULT_wxUSE_TOOLBOOK=no
9482 DEFAULT_wxUSE_TOOLTIPS=no
9483 DEFAULT_wxUSE_TREEBOOK=no
9484 DEFAULT_wxUSE_TREECTRL=no
9489 defaultval=$wxUSE_ALL_FEATURES
9490 if test -z "$defaultval"; then
9491 if test x"$enablestring" = xdisable; then
9498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9499 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9500 # Check whether --enable-accel was given.
9501 if test "${enable_accel+set}" = set; then
9502 enableval=$enable_accel;
9503 if test "$enableval" = yes; then
9504 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9506 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9511 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9516 eval "$wx_cv_use_accel"
9518 if test x"$enablestring" = xdisable; then
9519 if test $wxUSE_ACCEL = yes; then
9528 { echo "$as_me:$LINENO: result
: $result" >&5
9529 echo "${ECHO_T}$result" >&6; }
9533 defaultval=$wxUSE_ALL_FEATURES
9534 if test -z "$defaultval"; then
9535 if test x"$enablestring" = xdisable; then
9542 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9543 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9544 # Check whether --enable-animatectrl was given.
9545 if test "${enable_animatectrl+set}" = set; then
9546 enableval=$enable_animatectrl;
9547 if test "$enableval" = yes; then
9548 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9550 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9555 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9560 eval "$wx_cv_use_animatectrl"
9562 if test x
"$enablestring" = xdisable
; then
9563 if test $wxUSE_ANIMATIONCTRL = yes; then
9569 result
=$wxUSE_ANIMATIONCTRL
9572 { echo "$as_me:$LINENO: result: $result" >&5
9573 echo "${ECHO_T}$result" >&6; }
9577 defaultval
=$wxUSE_ALL_FEATURES
9578 if test -z "$defaultval"; then
9579 if test x
"$enablestring" = xdisable
; then
9586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9587 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9588 # Check whether --enable-bmpbutton was given.
9589 if test "${enable_bmpbutton+set}" = set; then
9590 enableval
=$enable_bmpbutton;
9591 if test "$enableval" = yes; then
9592 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
9594 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
9599 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9604 eval "$wx_cv_use_bmpbutton"
9606 if test x"$enablestring" = xdisable; then
9607 if test $wxUSE_BMPBUTTON = yes; then
9613 result=$wxUSE_BMPBUTTON
9616 { echo "$as_me:$LINENO: result: $result" >&5
9617 echo "${ECHO_T}$result" >&6; }
9621 defaultval=$wxUSE_ALL_FEATURES
9622 if test -z "$defaultval"; then
9623 if test x"$enablestring" = xdisable; then
9630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9631 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9632 # Check whether --enable-bmpcombobox was given.
9633 if test "${enable_bmpcombobox+set}" = set; then
9634 enableval=$enable_bmpcombobox;
9635 if test "$enableval" = yes; then
9636 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
9638 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
9643 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9648 eval "$wx_cv_use_bmpcombobox"
9650 if test x"$enablestring" = xdisable; then
9651 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9657 result=$wxUSE_BITMAPCOMBOBOX
9660 { echo "$as_me:$LINENO: result
: $result" >&5
9661 echo "${ECHO_T}$result" >&6; }
9665 defaultval=$wxUSE_ALL_FEATURES
9666 if test -z "$defaultval"; then
9667 if test x"$enablestring" = xdisable; then
9674 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
9675 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
9676 # Check whether --enable-button was given.
9677 if test "${enable_button+set}" = set; then
9678 enableval=$enable_button;
9679 if test "$enableval" = yes; then
9680 wx_cv_use_button='wxUSE_BUTTON=yes'
9682 wx_cv_use_button='wxUSE_BUTTON=no'
9687 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9692 eval "$wx_cv_use_button"
9694 if test x
"$enablestring" = xdisable
; then
9695 if test $wxUSE_BUTTON = yes; then
9701 result
=$wxUSE_BUTTON
9704 { echo "$as_me:$LINENO: result: $result" >&5
9705 echo "${ECHO_T}$result" >&6; }
9709 defaultval
=$wxUSE_ALL_FEATURES
9710 if test -z "$defaultval"; then
9711 if test x
"$enablestring" = xdisable
; then
9718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9719 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9720 # Check whether --enable-calendar was given.
9721 if test "${enable_calendar+set}" = set; then
9722 enableval
=$enable_calendar;
9723 if test "$enableval" = yes; then
9724 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9726 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9731 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9736 eval "$wx_cv_use_calendar"
9738 if test x"$enablestring" = xdisable; then
9739 if test $wxUSE_CALCTRL = yes; then
9745 result=$wxUSE_CALCTRL
9748 { echo "$as_me:$LINENO: result: $result" >&5
9749 echo "${ECHO_T}$result" >&6; }
9753 defaultval=$wxUSE_ALL_FEATURES
9754 if test -z "$defaultval"; then
9755 if test x"$enablestring" = xdisable; then
9762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9764 # Check whether --enable-caret was given.
9765 if test "${enable_caret+set}" = set; then
9766 enableval=$enable_caret;
9767 if test "$enableval" = yes; then
9768 wx_cv_use_caret='wxUSE_CARET
=yes'
9770 wx_cv_use_caret='wxUSE_CARET
=no
'
9775 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9780 eval "$wx_cv_use_caret"
9782 if test x"$enablestring" = xdisable; then
9783 if test $wxUSE_CARET = yes; then
9792 { echo "$as_me:$LINENO: result
: $result" >&5
9793 echo "${ECHO_T}$result" >&6; }
9797 defaultval=$wxUSE_ALL_FEATURES
9798 if test -z "$defaultval"; then
9799 if test x"$enablestring" = xdisable; then
9806 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9807 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9808 # Check whether --enable-checkbox was given.
9809 if test "${enable_checkbox+set}" = set; then
9810 enableval=$enable_checkbox;
9811 if test "$enableval" = yes; then
9812 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9814 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9819 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9824 eval "$wx_cv_use_checkbox"
9826 if test x
"$enablestring" = xdisable
; then
9827 if test $wxUSE_CHECKBOX = yes; then
9833 result
=$wxUSE_CHECKBOX
9836 { echo "$as_me:$LINENO: result: $result" >&5
9837 echo "${ECHO_T}$result" >&6; }
9841 defaultval
=$wxUSE_ALL_FEATURES
9842 if test -z "$defaultval"; then
9843 if test x
"$enablestring" = xdisable
; then
9850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9851 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9852 # Check whether --enable-checklst was given.
9853 if test "${enable_checklst+set}" = set; then
9854 enableval
=$enable_checklst;
9855 if test "$enableval" = yes; then
9856 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9858 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9863 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9868 eval "$wx_cv_use_checklst"
9870 if test x"$enablestring" = xdisable; then
9871 if test $wxUSE_CHECKLST = yes; then
9877 result=$wxUSE_CHECKLST
9880 { echo "$as_me:$LINENO: result: $result" >&5
9881 echo "${ECHO_T}$result" >&6; }
9885 defaultval=$wxUSE_ALL_FEATURES
9886 if test -z "$defaultval"; then
9887 if test x"$enablestring" = xdisable; then
9894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9895 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9896 # Check whether --enable-choice was given.
9897 if test "${enable_choice+set}" = set; then
9898 enableval=$enable_choice;
9899 if test "$enableval" = yes; then
9900 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9902 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9907 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9912 eval "$wx_cv_use_choice"
9914 if test x"$enablestring" = xdisable; then
9915 if test $wxUSE_CHOICE = yes; then
9921 result=$wxUSE_CHOICE
9924 { echo "$as_me:$LINENO: result
: $result" >&5
9925 echo "${ECHO_T}$result" >&6; }
9929 defaultval=$wxUSE_ALL_FEATURES
9930 if test -z "$defaultval"; then
9931 if test x"$enablestring" = xdisable; then
9938 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
9939 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
9940 # Check whether --enable-choicebook was given.
9941 if test "${enable_choicebook+set}" = set; then
9942 enableval=$enable_choicebook;
9943 if test "$enableval" = yes; then
9944 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9946 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9951 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9956 eval "$wx_cv_use_choicebook"
9958 if test x
"$enablestring" = xdisable
; then
9959 if test $wxUSE_CHOICEBOOK = yes; then
9965 result
=$wxUSE_CHOICEBOOK
9968 { echo "$as_me:$LINENO: result: $result" >&5
9969 echo "${ECHO_T}$result" >&6; }
9973 defaultval
=$wxUSE_ALL_FEATURES
9974 if test -z "$defaultval"; then
9975 if test x
"$enablestring" = xdisable
; then
9982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9983 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9984 # Check whether --enable-collpane was given.
9985 if test "${enable_collpane+set}" = set; then
9986 enableval
=$enable_collpane;
9987 if test "$enableval" = yes; then
9988 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
9990 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
9995 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10000 eval "$wx_cv_use_collpane"
10002 if test x"$enablestring" = xdisable; then
10003 if test $wxUSE_COLLPANE = yes; then
10009 result=$wxUSE_COLLPANE
10012 { echo "$as_me:$LINENO: result: $result" >&5
10013 echo "${ECHO_T}$result" >&6; }
10017 defaultval=$wxUSE_ALL_FEATURES
10018 if test -z "$defaultval"; then
10019 if test x"$enablestring" = xdisable; then
10026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10027 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10028 # Check whether --enable-colourpicker was given.
10029 if test "${enable_colourpicker+set}" = set; then
10030 enableval=$enable_colourpicker;
10031 if test "$enableval" = yes; then
10032 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10034 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10039 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10044 eval "$wx_cv_use_colourpicker"
10046 if test x"$enablestring" = xdisable; then
10047 if test $wxUSE_COLOURPICKERCTRL = yes; then
10053 result=$wxUSE_COLOURPICKERCTRL
10056 { echo "$as_me:$LINENO: result
: $result" >&5
10057 echo "${ECHO_T}$result" >&6; }
10061 defaultval=$wxUSE_ALL_FEATURES
10062 if test -z "$defaultval"; then
10063 if test x"$enablestring" = xdisable; then
10070 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10071 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10072 # Check whether --enable-combobox was given.
10073 if test "${enable_combobox+set}" = set; then
10074 enableval=$enable_combobox;
10075 if test "$enableval" = yes; then
10076 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10078 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10083 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10088 eval "$wx_cv_use_combobox"
10090 if test x
"$enablestring" = xdisable
; then
10091 if test $wxUSE_COMBOBOX = yes; then
10097 result
=$wxUSE_COMBOBOX
10100 { echo "$as_me:$LINENO: result: $result" >&5
10101 echo "${ECHO_T}$result" >&6; }
10105 defaultval
=$wxUSE_ALL_FEATURES
10106 if test -z "$defaultval"; then
10107 if test x
"$enablestring" = xdisable
; then
10114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10116 # Check whether --enable-comboctrl was given.
10117 if test "${enable_comboctrl+set}" = set; then
10118 enableval
=$enable_comboctrl;
10119 if test "$enableval" = yes; then
10120 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10122 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10127 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10132 eval "$wx_cv_use_comboctrl"
10134 if test x"$enablestring" = xdisable; then
10135 if test $wxUSE_COMBOCTRL = yes; then
10141 result=$wxUSE_COMBOCTRL
10144 { echo "$as_me:$LINENO: result: $result" >&5
10145 echo "${ECHO_T}$result" >&6; }
10149 defaultval=$wxUSE_ALL_FEATURES
10150 if test -z "$defaultval"; then
10151 if test x"$enablestring" = xdisable; then
10158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10159 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10160 # Check whether --enable-dataviewctrl was given.
10161 if test "${enable_dataviewctrl+set}" = set; then
10162 enableval=$enable_dataviewctrl;
10163 if test "$enableval" = yes; then
10164 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
10166 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
10171 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10176 eval "$wx_cv_use_dataviewctrl"
10178 if test x"$enablestring" = xdisable; then
10179 if test $wxUSE_DATAVIEWCTRL = yes; then
10185 result=$wxUSE_DATAVIEWCTRL
10188 { echo "$as_me:$LINENO: result
: $result" >&5
10189 echo "${ECHO_T}$result" >&6; }
10193 defaultval=$wxUSE_ALL_FEATURES
10194 if test -z "$defaultval"; then
10195 if test x"$enablestring" = xdisable; then
10202 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datepick" >&5
10203 echo $ECHO_N "checking
for --${enablestring:-enable}-datepick...
$ECHO_C" >&6; }
10204 # Check whether --enable-datepick was given.
10205 if test "${enable_datepick+set}" = set; then
10206 enableval=$enable_datepick;
10207 if test "$enableval" = yes; then
10208 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10210 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10215 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10220 eval "$wx_cv_use_datepick"
10222 if test x
"$enablestring" = xdisable
; then
10223 if test $wxUSE_DATEPICKCTRL = yes; then
10229 result
=$wxUSE_DATEPICKCTRL
10232 { echo "$as_me:$LINENO: result: $result" >&5
10233 echo "${ECHO_T}$result" >&6; }
10237 defaultval
=$wxUSE_ALL_FEATURES
10238 if test -z "$defaultval"; then
10239 if test x
"$enablestring" = xdisable
; then
10246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10248 # Check whether --enable-detect_sm was given.
10249 if test "${enable_detect_sm+set}" = set; then
10250 enableval
=$enable_detect_sm;
10251 if test "$enableval" = yes; then
10252 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
10254 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
10259 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10264 eval "$wx_cv_use_detect_sm"
10266 if test x"$enablestring" = xdisable; then
10267 if test $wxUSE_DETECT_SM = yes; then
10273 result=$wxUSE_DETECT_SM
10276 { echo "$as_me:$LINENO: result: $result" >&5
10277 echo "${ECHO_T}$result" >&6; }
10281 defaultval=$wxUSE_ALL_FEATURES
10282 if test -z "$defaultval"; then
10283 if test x"$enablestring" = xdisable; then
10290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10291 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10292 # Check whether --enable-dirpicker was given.
10293 if test "${enable_dirpicker+set}" = set; then
10294 enableval=$enable_dirpicker;
10295 if test "$enableval" = yes; then
10296 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
10298 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
10303 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10308 eval "$wx_cv_use_dirpicker"
10310 if test x"$enablestring" = xdisable; then
10311 if test $wxUSE_DIRPICKERCTRL = yes; then
10317 result=$wxUSE_DIRPICKERCTRL
10320 { echo "$as_me:$LINENO: result
: $result" >&5
10321 echo "${ECHO_T}$result" >&6; }
10325 defaultval=$wxUSE_ALL_FEATURES
10326 if test -z "$defaultval"; then
10327 if test x"$enablestring" = xdisable; then
10334 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
10335 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
10336 # Check whether --enable-display was given.
10337 if test "${enable_display+set}" = set; then
10338 enableval=$enable_display;
10339 if test "$enableval" = yes; then
10340 wx_cv_use_display='wxUSE_DISPLAY=yes'
10342 wx_cv_use_display='wxUSE_DISPLAY=no'
10347 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10352 eval "$wx_cv_use_display"
10354 if test x
"$enablestring" = xdisable
; then
10355 if test $wxUSE_DISPLAY = yes; then
10361 result
=$wxUSE_DISPLAY
10364 { echo "$as_me:$LINENO: result: $result" >&5
10365 echo "${ECHO_T}$result" >&6; }
10369 defaultval
=$wxUSE_ALL_FEATURES
10370 if test -z "$defaultval"; then
10371 if test x
"$enablestring" = xdisable
; then
10378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10379 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10380 # Check whether --enable-editablebox was given.
10381 if test "${enable_editablebox+set}" = set; then
10382 enableval
=$enable_editablebox;
10383 if test "$enableval" = yes; then
10384 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
10386 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
10391 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10396 eval "$wx_cv_use_editablebox"
10398 if test x"$enablestring" = xdisable; then
10399 if test $wxUSE_EDITABLELISTBOX = yes; then
10405 result=$wxUSE_EDITABLELISTBOX
10408 { echo "$as_me:$LINENO: result: $result" >&5
10409 echo "${ECHO_T}$result" >&6; }
10413 defaultval=$wxUSE_ALL_FEATURES
10414 if test -z "$defaultval"; then
10415 if test x"$enablestring" = xdisable; then
10422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10423 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10424 # Check whether --enable-filectrl was given.
10425 if test "${enable_filectrl+set}" = set; then
10426 enableval=$enable_filectrl;
10427 if test "$enableval" = yes; then
10428 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10430 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10435 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10440 eval "$wx_cv_use_filectrl"
10442 if test x"$enablestring" = xdisable; then
10443 if test $wxUSE_FILECTRL = yes; then
10449 result=$wxUSE_FILECTRL
10452 { echo "$as_me:$LINENO: result
: $result" >&5
10453 echo "${ECHO_T}$result" >&6; }
10457 defaultval=$wxUSE_ALL_FEATURES
10458 if test -z "$defaultval"; then
10459 if test x"$enablestring" = xdisable; then
10466 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
10467 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
10468 # Check whether --enable-filepicker was given.
10469 if test "${enable_filepicker+set}" = set; then
10470 enableval=$enable_filepicker;
10471 if test "$enableval" = yes; then
10472 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10474 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10479 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10484 eval "$wx_cv_use_filepicker"
10486 if test x
"$enablestring" = xdisable
; then
10487 if test $wxUSE_FILEPICKERCTRL = yes; then
10493 result
=$wxUSE_FILEPICKERCTRL
10496 { echo "$as_me:$LINENO: result: $result" >&5
10497 echo "${ECHO_T}$result" >&6; }
10501 defaultval
=$wxUSE_ALL_FEATURES
10502 if test -z "$defaultval"; then
10503 if test x
"$enablestring" = xdisable
; then
10510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10511 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10512 # Check whether --enable-fontpicker was given.
10513 if test "${enable_fontpicker+set}" = set; then
10514 enableval
=$enable_fontpicker;
10515 if test "$enableval" = yes; then
10516 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
10518 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
10523 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10528 eval "$wx_cv_use_fontpicker"
10530 if test x"$enablestring" = xdisable; then
10531 if test $wxUSE_FONTPICKERCTRL = yes; then
10537 result=$wxUSE_FONTPICKERCTRL
10540 { echo "$as_me:$LINENO: result: $result" >&5
10541 echo "${ECHO_T}$result" >&6; }
10545 defaultval=$wxUSE_ALL_FEATURES
10546 if test -z "$defaultval"; then
10547 if test x"$enablestring" = xdisable; then
10554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10555 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10556 # Check whether --enable-gauge was given.
10557 if test "${enable_gauge+set}" = set; then
10558 enableval=$enable_gauge;
10559 if test "$enableval" = yes; then
10560 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
10562 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
10567 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10572 eval "$wx_cv_use_gauge"
10574 if test x"$enablestring" = xdisable; then
10575 if test $wxUSE_GAUGE = yes; then
10581 result=$wxUSE_GAUGE
10584 { echo "$as_me:$LINENO: result
: $result" >&5
10585 echo "${ECHO_T}$result" >&6; }
10589 defaultval=$wxUSE_ALL_FEATURES
10590 if test -z "$defaultval"; then
10591 if test x"$enablestring" = xdisable; then
10598 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-grid" >&5
10599 echo $ECHO_N "checking
for --${enablestring:-enable}-grid...
$ECHO_C" >&6; }
10600 # Check whether --enable-grid was given.
10601 if test "${enable_grid+set}" = set; then
10602 enableval=$enable_grid;
10603 if test "$enableval" = yes; then
10604 wx_cv_use_grid='wxUSE_GRID=yes'
10606 wx_cv_use_grid='wxUSE_GRID=no'
10611 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10616 eval "$wx_cv_use_grid"
10618 if test x
"$enablestring" = xdisable
; then
10619 if test $wxUSE_GRID = yes; then
10628 { echo "$as_me:$LINENO: result: $result" >&5
10629 echo "${ECHO_T}$result" >&6; }
10633 defaultval
=$wxUSE_ALL_FEATURES
10634 if test -z "$defaultval"; then
10635 if test x
"$enablestring" = xdisable
; then
10642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10643 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10644 # Check whether --enable-headerctrl was given.
10645 if test "${enable_headerctrl+set}" = set; then
10646 enableval
=$enable_headerctrl;
10647 if test "$enableval" = yes; then
10648 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
10650 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
10655 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10660 eval "$wx_cv_use_headerctrl"
10662 if test x"$enablestring" = xdisable; then
10663 if test $wxUSE_HEADERCTRL = yes; then
10669 result=$wxUSE_HEADERCTRL
10672 { echo "$as_me:$LINENO: result: $result" >&5
10673 echo "${ECHO_T}$result" >&6; }
10677 defaultval=$wxUSE_ALL_FEATURES
10678 if test -z "$defaultval"; then
10679 if test x"$enablestring" = xdisable; then
10686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10687 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10688 # Check whether --enable-hyperlink was given.
10689 if test "${enable_hyperlink+set}" = set; then
10690 enableval=$enable_hyperlink;
10691 if test "$enableval" = yes; then
10692 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
10694 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
10699 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10704 eval "$wx_cv_use_hyperlink"
10706 if test x"$enablestring" = xdisable; then
10707 if test $wxUSE_HYPERLINKCTRL = yes; then
10713 result=$wxUSE_HYPERLINKCTRL
10716 { echo "$as_me:$LINENO: result
: $result" >&5
10717 echo "${ECHO_T}$result" >&6; }
10721 defaultval=$wxUSE_ALL_FEATURES
10722 if test -z "$defaultval"; then
10723 if test x"$enablestring" = xdisable; then
10730 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-imaglist" >&5
10731 echo $ECHO_N "checking
for --${enablestring:-enable}-imaglist...
$ECHO_C" >&6; }
10732 # Check whether --enable-imaglist was given.
10733 if test "${enable_imaglist+set}" = set; then
10734 enableval=$enable_imaglist;
10735 if test "$enableval" = yes; then
10736 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10738 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10743 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10748 eval "$wx_cv_use_imaglist"
10750 if test x
"$enablestring" = xdisable
; then
10751 if test $wxUSE_IMAGLIST = yes; then
10757 result
=$wxUSE_IMAGLIST
10760 { echo "$as_me:$LINENO: result: $result" >&5
10761 echo "${ECHO_T}$result" >&6; }
10765 defaultval
=$wxUSE_ALL_FEATURES
10766 if test -z "$defaultval"; then
10767 if test x
"$enablestring" = xdisable
; then
10774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10775 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10776 # Check whether --enable-listbook was given.
10777 if test "${enable_listbook+set}" = set; then
10778 enableval
=$enable_listbook;
10779 if test "$enableval" = yes; then
10780 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
10782 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
10787 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10792 eval "$wx_cv_use_listbook"
10794 if test x"$enablestring" = xdisable; then
10795 if test $wxUSE_LISTBOOK = yes; then
10801 result=$wxUSE_LISTBOOK
10804 { echo "$as_me:$LINENO: result: $result" >&5
10805 echo "${ECHO_T}$result" >&6; }
10809 defaultval=$wxUSE_ALL_FEATURES
10810 if test -z "$defaultval"; then
10811 if test x"$enablestring" = xdisable; then
10818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10819 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10820 # Check whether --enable-listbox was given.
10821 if test "${enable_listbox+set}" = set; then
10822 enableval=$enable_listbox;
10823 if test "$enableval" = yes; then
10824 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
10826 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
10831 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10836 eval "$wx_cv_use_listbox"
10838 if test x"$enablestring" = xdisable; then
10839 if test $wxUSE_LISTBOX = yes; then
10845 result=$wxUSE_LISTBOX
10848 { echo "$as_me:$LINENO: result
: $result" >&5
10849 echo "${ECHO_T}$result" >&6; }
10853 defaultval=$wxUSE_ALL_FEATURES
10854 if test -z "$defaultval"; then
10855 if test x"$enablestring" = xdisable; then
10862 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
10863 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
10864 # Check whether --enable-listctrl was given.
10865 if test "${enable_listctrl+set}" = set; then
10866 enableval=$enable_listctrl;
10867 if test "$enableval" = yes; then
10868 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10870 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10875 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10880 eval "$wx_cv_use_listctrl"
10882 if test x
"$enablestring" = xdisable
; then
10883 if test $wxUSE_LISTCTRL = yes; then
10889 result
=$wxUSE_LISTCTRL
10892 { echo "$as_me:$LINENO: result: $result" >&5
10893 echo "${ECHO_T}$result" >&6; }
10897 defaultval
=$wxUSE_ALL_FEATURES
10898 if test -z "$defaultval"; then
10899 if test x
"$enablestring" = xdisable
; then
10906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10907 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10908 # Check whether --enable-notebook was given.
10909 if test "${enable_notebook+set}" = set; then
10910 enableval
=$enable_notebook;
10911 if test "$enableval" = yes; then
10912 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
10914 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
10919 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10924 eval "$wx_cv_use_notebook"
10926 if test x"$enablestring" = xdisable; then
10927 if test $wxUSE_NOTEBOOK = yes; then
10933 result=$wxUSE_NOTEBOOK
10936 { echo "$as_me:$LINENO: result: $result" >&5
10937 echo "${ECHO_T}$result" >&6; }
10941 defaultval=$wxUSE_ALL_FEATURES
10942 if test -z "$defaultval"; then
10943 if test x"$enablestring" = xdisable; then
10950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10951 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10952 # Check whether --enable-notifmsg was given.
10953 if test "${enable_notifmsg+set}" = set; then
10954 enableval=$enable_notifmsg;
10955 if test "$enableval" = yes; then
10956 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
10958 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
10963 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10968 eval "$wx_cv_use_notifmsg"
10970 if test x"$enablestring" = xdisable; then
10971 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10977 result=$wxUSE_NOTIFICATION_MESSAGE
10980 { echo "$as_me:$LINENO: result
: $result" >&5
10981 echo "${ECHO_T}$result" >&6; }
10985 defaultval=$wxUSE_ALL_FEATURES
10986 if test -z "$defaultval"; then
10987 if test x"$enablestring" = xdisable; then
10994 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
10995 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
10996 # Check whether --enable-odcombobox was given.
10997 if test "${enable_odcombobox+set}" = set; then
10998 enableval=$enable_odcombobox;
10999 if test "$enableval" = yes; then
11000 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11002 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11007 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11012 eval "$wx_cv_use_odcombobox"
11014 if test x
"$enablestring" = xdisable
; then
11015 if test $wxUSE_ODCOMBOBOX = yes; then
11021 result
=$wxUSE_ODCOMBOBOX
11024 { echo "$as_me:$LINENO: result: $result" >&5
11025 echo "${ECHO_T}$result" >&6; }
11029 defaultval
=$wxUSE_ALL_FEATURES
11030 if test -z "$defaultval"; then
11031 if test x
"$enablestring" = xdisable
; then
11038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11039 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11040 # Check whether --enable-popupwin was given.
11041 if test "${enable_popupwin+set}" = set; then
11042 enableval
=$enable_popupwin;
11043 if test "$enableval" = yes; then
11044 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11046 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11051 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11056 eval "$wx_cv_use_popupwin"
11058 if test x"$enablestring" = xdisable; then
11059 if test $wxUSE_POPUPWIN = yes; then
11065 result=$wxUSE_POPUPWIN
11068 { echo "$as_me:$LINENO: result: $result" >&5
11069 echo "${ECHO_T}$result" >&6; }
11073 defaultval=$wxUSE_ALL_FEATURES
11074 if test -z "$defaultval"; then
11075 if test x"$enablestring" = xdisable; then
11082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11083 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11084 # Check whether --enable-radiobox was given.
11085 if test "${enable_radiobox+set}" = set; then
11086 enableval=$enable_radiobox;
11087 if test "$enableval" = yes; then
11088 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11090 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11095 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11100 eval "$wx_cv_use_radiobox"
11102 if test x"$enablestring" = xdisable; then
11103 if test $wxUSE_RADIOBOX = yes; then
11109 result=$wxUSE_RADIOBOX
11112 { echo "$as_me:$LINENO: result
: $result" >&5
11113 echo "${ECHO_T}$result" >&6; }
11117 defaultval=$wxUSE_ALL_FEATURES
11118 if test -z "$defaultval"; then
11119 if test x"$enablestring" = xdisable; then
11126 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11127 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11128 # Check whether --enable-radiobtn was given.
11129 if test "${enable_radiobtn+set}" = set; then
11130 enableval=$enable_radiobtn;
11131 if test "$enableval" = yes; then
11132 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11134 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11139 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11144 eval "$wx_cv_use_radiobtn"
11146 if test x
"$enablestring" = xdisable
; then
11147 if test $wxUSE_RADIOBTN = yes; then
11153 result
=$wxUSE_RADIOBTN
11156 { echo "$as_me:$LINENO: result: $result" >&5
11157 echo "${ECHO_T}$result" >&6; }
11161 defaultval
=$wxUSE_ALL_FEATURES
11162 if test -z "$defaultval"; then
11163 if test x
"$enablestring" = xdisable
; then
11170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11171 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11172 # Check whether --enable-rearrangectrl was given.
11173 if test "${enable_rearrangectrl+set}" = set; then
11174 enableval
=$enable_rearrangectrl;
11175 if test "$enableval" = yes; then
11176 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=yes'
11178 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=no'
11183 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11188 eval "$wx_cv_use_rearrangectrl"
11190 if test x"$enablestring" = xdisable; then
11191 if test $wxUSE_REARRANGECTRL = yes; then
11197 result=$wxUSE_REARRANGECTRL
11200 { echo "$as_me:$LINENO: result: $result" >&5
11201 echo "${ECHO_T}$result" >&6; }
11205 defaultval=$wxUSE_ALL_FEATURES
11206 if test -z "$defaultval"; then
11207 if test x"$enablestring" = xdisable; then
11214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11215 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11216 # Check whether --enable-sash was given.
11217 if test "${enable_sash+set}" = set; then
11218 enableval=$enable_sash;
11219 if test "$enableval" = yes; then
11220 wx_cv_use_sash='wxUSE_SASH
=yes'
11222 wx_cv_use_sash='wxUSE_SASH
=no
'
11227 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11232 eval "$wx_cv_use_sash"
11234 if test x"$enablestring" = xdisable; then
11235 if test $wxUSE_SASH = yes; then
11244 { echo "$as_me:$LINENO: result
: $result" >&5
11245 echo "${ECHO_T}$result" >&6; }
11249 defaultval=$wxUSE_ALL_FEATURES
11250 if test -z "$defaultval"; then
11251 if test x"$enablestring" = xdisable; then
11258 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11259 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11260 # Check whether --enable-scrollbar was given.
11261 if test "${enable_scrollbar+set}" = set; then
11262 enableval=$enable_scrollbar;
11263 if test "$enableval" = yes; then
11264 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11266 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11271 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11276 eval "$wx_cv_use_scrollbar"
11278 if test x
"$enablestring" = xdisable
; then
11279 if test $wxUSE_SCROLLBAR = yes; then
11285 result
=$wxUSE_SCROLLBAR
11288 { echo "$as_me:$LINENO: result: $result" >&5
11289 echo "${ECHO_T}$result" >&6; }
11293 defaultval
=$wxUSE_ALL_FEATURES
11294 if test -z "$defaultval"; then
11295 if test x
"$enablestring" = xdisable
; then
11302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11303 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11304 # Check whether --enable-searchctrl was given.
11305 if test "${enable_searchctrl+set}" = set; then
11306 enableval
=$enable_searchctrl;
11307 if test "$enableval" = yes; then
11308 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11310 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11315 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11320 eval "$wx_cv_use_searchctrl"
11322 if test x"$enablestring" = xdisable; then
11323 if test $wxUSE_SEARCHCTRL = yes; then
11329 result=$wxUSE_SEARCHCTRL
11332 { echo "$as_me:$LINENO: result: $result" >&5
11333 echo "${ECHO_T}$result" >&6; }
11337 defaultval=$wxUSE_ALL_FEATURES
11338 if test -z "$defaultval"; then
11339 if test x"$enablestring" = xdisable; then
11346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11347 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11348 # Check whether --enable-slider was given.
11349 if test "${enable_slider+set}" = set; then
11350 enableval=$enable_slider;
11351 if test "$enableval" = yes; then
11352 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11354 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11359 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11364 eval "$wx_cv_use_slider"
11366 if test x"$enablestring" = xdisable; then
11367 if test $wxUSE_SLIDER = yes; then
11373 result=$wxUSE_SLIDER
11376 { echo "$as_me:$LINENO: result
: $result" >&5
11377 echo "${ECHO_T}$result" >&6; }
11381 defaultval=$wxUSE_ALL_FEATURES
11382 if test -z "$defaultval"; then
11383 if test x"$enablestring" = xdisable; then
11390 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11391 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11392 # Check whether --enable-spinbtn was given.
11393 if test "${enable_spinbtn+set}" = set; then
11394 enableval=$enable_spinbtn;
11395 if test "$enableval" = yes; then
11396 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11398 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11403 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11408 eval "$wx_cv_use_spinbtn"
11410 if test x
"$enablestring" = xdisable
; then
11411 if test $wxUSE_SPINBTN = yes; then
11417 result
=$wxUSE_SPINBTN
11420 { echo "$as_me:$LINENO: result: $result" >&5
11421 echo "${ECHO_T}$result" >&6; }
11425 defaultval
=$wxUSE_ALL_FEATURES
11426 if test -z "$defaultval"; then
11427 if test x
"$enablestring" = xdisable
; then
11434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11435 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11436 # Check whether --enable-spinctrl was given.
11437 if test "${enable_spinctrl+set}" = set; then
11438 enableval
=$enable_spinctrl;
11439 if test "$enableval" = yes; then
11440 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11442 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11447 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11452 eval "$wx_cv_use_spinctrl"
11454 if test x"$enablestring" = xdisable; then
11455 if test $wxUSE_SPINCTRL = yes; then
11461 result=$wxUSE_SPINCTRL
11464 { echo "$as_me:$LINENO: result: $result" >&5
11465 echo "${ECHO_T}$result" >&6; }
11469 defaultval=$wxUSE_ALL_FEATURES
11470 if test -z "$defaultval"; then
11471 if test x"$enablestring" = xdisable; then
11478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11479 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11480 # Check whether --enable-splitter was given.
11481 if test "${enable_splitter+set}" = set; then
11482 enableval=$enable_splitter;
11483 if test "$enableval" = yes; then
11484 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11486 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11491 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11496 eval "$wx_cv_use_splitter"
11498 if test x"$enablestring" = xdisable; then
11499 if test $wxUSE_SPLITTER = yes; then
11505 result=$wxUSE_SPLITTER
11508 { echo "$as_me:$LINENO: result
: $result" >&5
11509 echo "${ECHO_T}$result" >&6; }
11513 defaultval=$wxUSE_ALL_FEATURES
11514 if test -z "$defaultval"; then
11515 if test x"$enablestring" = xdisable; then
11522 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11523 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11524 # Check whether --enable-statbmp was given.
11525 if test "${enable_statbmp+set}" = set; then
11526 enableval=$enable_statbmp;
11527 if test "$enableval" = yes; then
11528 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11530 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11535 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11540 eval "$wx_cv_use_statbmp"
11542 if test x
"$enablestring" = xdisable
; then
11543 if test $wxUSE_STATBMP = yes; then
11549 result
=$wxUSE_STATBMP
11552 { echo "$as_me:$LINENO: result: $result" >&5
11553 echo "${ECHO_T}$result" >&6; }
11557 defaultval
=$wxUSE_ALL_FEATURES
11558 if test -z "$defaultval"; then
11559 if test x
"$enablestring" = xdisable
; then
11566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11567 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11568 # Check whether --enable-statbox was given.
11569 if test "${enable_statbox+set}" = set; then
11570 enableval
=$enable_statbox;
11571 if test "$enableval" = yes; then
11572 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11574 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11579 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11584 eval "$wx_cv_use_statbox"
11586 if test x"$enablestring" = xdisable; then
11587 if test $wxUSE_STATBOX = yes; then
11593 result=$wxUSE_STATBOX
11596 { echo "$as_me:$LINENO: result: $result" >&5
11597 echo "${ECHO_T}$result" >&6; }
11601 defaultval=$wxUSE_ALL_FEATURES
11602 if test -z "$defaultval"; then
11603 if test x"$enablestring" = xdisable; then
11610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11611 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11612 # Check whether --enable-statline was given.
11613 if test "${enable_statline+set}" = set; then
11614 enableval=$enable_statline;
11615 if test "$enableval" = yes; then
11616 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11618 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11623 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11628 eval "$wx_cv_use_statline"
11630 if test x"$enablestring" = xdisable; then
11631 if test $wxUSE_STATLINE = yes; then
11637 result=$wxUSE_STATLINE
11640 { echo "$as_me:$LINENO: result
: $result" >&5
11641 echo "${ECHO_T}$result" >&6; }
11645 defaultval=$wxUSE_ALL_FEATURES
11646 if test -z "$defaultval"; then
11647 if test x"$enablestring" = xdisable; then
11654 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11655 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11656 # Check whether --enable-stattext was given.
11657 if test "${enable_stattext+set}" = set; then
11658 enableval=$enable_stattext;
11659 if test "$enableval" = yes; then
11660 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11662 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11667 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11672 eval "$wx_cv_use_stattext"
11674 if test x
"$enablestring" = xdisable
; then
11675 if test $wxUSE_STATTEXT = yes; then
11681 result
=$wxUSE_STATTEXT
11684 { echo "$as_me:$LINENO: result: $result" >&5
11685 echo "${ECHO_T}$result" >&6; }
11689 defaultval
=$wxUSE_ALL_FEATURES
11690 if test -z "$defaultval"; then
11691 if test x
"$enablestring" = xdisable
; then
11698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11699 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11700 # Check whether --enable-statusbar was given.
11701 if test "${enable_statusbar+set}" = set; then
11702 enableval
=$enable_statusbar;
11703 if test "$enableval" = yes; then
11704 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11706 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11711 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11716 eval "$wx_cv_use_statusbar"
11718 if test x"$enablestring" = xdisable; then
11719 if test $wxUSE_STATUSBAR = yes; then
11725 result=$wxUSE_STATUSBAR
11728 { echo "$as_me:$LINENO: result: $result" >&5
11729 echo "${ECHO_T}$result" >&6; }
11733 defaultval=$wxUSE_ALL_FEATURES
11734 if test -z "$defaultval"; then
11735 if test x"$enablestring" = xdisable; then
11742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11743 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11744 # Check whether --enable-taskbaricon was given.
11745 if test "${enable_taskbaricon+set}" = set; then
11746 enableval=$enable_taskbaricon;
11747 if test "$enableval" = yes; then
11748 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
11750 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
11755 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11760 eval "$wx_cv_use_taskbaricon"
11762 if test x"$enablestring" = xdisable; then
11763 if test $wxUSE_TASKBARICON = yes; then
11769 result=$wxUSE_TASKBARICON
11772 { echo "$as_me:$LINENO: result
: $result" >&5
11773 echo "${ECHO_T}$result" >&6; }
11777 defaultval=$wxUSE_ALL_FEATURES
11778 if test -z "$defaultval"; then
11779 if test x"$enablestring" = xdisable; then
11786 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
11787 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6; }
11788 # Check whether --enable-tbarnative was given.
11789 if test "${enable_tbarnative+set}" = set; then
11790 enableval=$enable_tbarnative;
11791 if test "$enableval" = yes; then
11792 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11794 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11799 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11804 eval "$wx_cv_use_tbarnative"
11806 if test x
"$enablestring" = xdisable
; then
11807 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11813 result
=$wxUSE_TOOLBAR_NATIVE
11816 { echo "$as_me:$LINENO: result: $result" >&5
11817 echo "${ECHO_T}$result" >&6; }
11821 defaultval
=$wxUSE_ALL_FEATURES
11822 if test -z "$defaultval"; then
11823 if test x
"$enablestring" = xdisable
; then
11830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11831 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11832 # Check whether --enable-textctrl was given.
11833 if test "${enable_textctrl+set}" = set; then
11834 enableval
=$enable_textctrl;
11835 if test "$enableval" = yes; then
11836 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
11838 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
11843 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11848 eval "$wx_cv_use_textctrl"
11850 if test x"$enablestring" = xdisable; then
11851 if test $wxUSE_TEXTCTRL = yes; then
11857 result=$wxUSE_TEXTCTRL
11860 { echo "$as_me:$LINENO: result: $result" >&5
11861 echo "${ECHO_T}$result" >&6; }
11865 defaultval=$wxUSE_ALL_FEATURES
11866 if test -z "$defaultval"; then
11867 if test x"$enablestring" = xdisable; then
11874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11875 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11876 # Check whether --enable-tipwindow was given.
11877 if test "${enable_tipwindow+set}" = set; then
11878 enableval=$enable_tipwindow;
11879 if test "$enableval" = yes; then
11880 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
11882 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
11887 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11892 eval "$wx_cv_use_tipwindow"
11894 if test x"$enablestring" = xdisable; then
11895 if test $wxUSE_TIPWINDOW = yes; then
11901 result=$wxUSE_TIPWINDOW
11904 { echo "$as_me:$LINENO: result
: $result" >&5
11905 echo "${ECHO_T}$result" >&6; }
11909 defaultval=$wxUSE_ALL_FEATURES
11910 if test -z "$defaultval"; then
11911 if test x"$enablestring" = xdisable; then
11918 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
11919 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
11920 # Check whether --enable-togglebtn was given.
11921 if test "${enable_togglebtn+set}" = set; then
11922 enableval=$enable_togglebtn;
11923 if test "$enableval" = yes; then
11924 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11926 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11931 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11936 eval "$wx_cv_use_togglebtn"
11938 if test x
"$enablestring" = xdisable
; then
11939 if test $wxUSE_TOGGLEBTN = yes; then
11945 result
=$wxUSE_TOGGLEBTN
11948 { echo "$as_me:$LINENO: result: $result" >&5
11949 echo "${ECHO_T}$result" >&6; }
11953 defaultval
=$wxUSE_ALL_FEATURES
11954 if test -z "$defaultval"; then
11955 if test x
"$enablestring" = xdisable
; then
11962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11963 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11964 # Check whether --enable-toolbar was given.
11965 if test "${enable_toolbar+set}" = set; then
11966 enableval
=$enable_toolbar;
11967 if test "$enableval" = yes; then
11968 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
11970 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
11975 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11980 eval "$wx_cv_use_toolbar"
11982 if test x"$enablestring" = xdisable; then
11983 if test $wxUSE_TOOLBAR = yes; then
11989 result=$wxUSE_TOOLBAR
11992 { echo "$as_me:$LINENO: result: $result" >&5
11993 echo "${ECHO_T}$result" >&6; }
11997 defaultval=$wxUSE_ALL_FEATURES
11998 if test -z "$defaultval"; then
11999 if test x"$enablestring" = xdisable; then
12006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12007 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12008 # Check whether --enable-toolbook was given.
12009 if test "${enable_toolbook+set}" = set; then
12010 enableval=$enable_toolbook;
12011 if test "$enableval" = yes; then
12012 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
12014 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
12019 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12024 eval "$wx_cv_use_toolbook"
12026 if test x"$enablestring" = xdisable; then
12027 if test $wxUSE_TOOLBOOK = yes; then
12033 result=$wxUSE_TOOLBOOK
12036 { echo "$as_me:$LINENO: result
: $result" >&5
12037 echo "${ECHO_T}$result" >&6; }
12041 defaultval=$wxUSE_ALL_FEATURES
12042 if test -z "$defaultval"; then
12043 if test x"$enablestring" = xdisable; then
12050 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
12051 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
12052 # Check whether --enable-treebook was given.
12053 if test "${enable_treebook+set}" = set; then
12054 enableval=$enable_treebook;
12055 if test "$enableval" = yes; then
12056 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12058 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12063 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12068 eval "$wx_cv_use_treebook"
12070 if test x
"$enablestring" = xdisable
; then
12071 if test $wxUSE_TREEBOOK = yes; then
12077 result
=$wxUSE_TREEBOOK
12080 { echo "$as_me:$LINENO: result: $result" >&5
12081 echo "${ECHO_T}$result" >&6; }
12085 defaultval
=$wxUSE_ALL_FEATURES
12086 if test -z "$defaultval"; then
12087 if test x
"$enablestring" = xdisable
; then
12094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12095 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12096 # Check whether --enable-treectrl was given.
12097 if test "${enable_treectrl+set}" = set; then
12098 enableval
=$enable_treectrl;
12099 if test "$enableval" = yes; then
12100 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12102 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12107 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12112 eval "$wx_cv_use_treectrl"
12114 if test x"$enablestring" = xdisable; then
12115 if test $wxUSE_TREECTRL = yes; then
12121 result=$wxUSE_TREECTRL
12124 { echo "$as_me:$LINENO: result: $result" >&5
12125 echo "${ECHO_T}$result" >&6; }
12131 defaultval=$wxUSE_ALL_FEATURES
12132 if test -z "$defaultval"; then
12133 if test x"$enablestring" = xdisable; then
12140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12141 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12142 # Check whether --enable-commondlg was given.
12143 if test "${enable_commondlg+set}" = set; then
12144 enableval=$enable_commondlg;
12145 if test "$enableval" = yes; then
12146 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
12148 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
12153 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12158 eval "$wx_cv_use_commondlg"
12160 if test x"$enablestring" = xdisable; then
12161 if test $wxUSE_COMMONDLGS = yes; then
12167 result=$wxUSE_COMMONDLGS
12170 { echo "$as_me:$LINENO: result
: $result" >&5
12171 echo "${ECHO_T}$result" >&6; }
12175 defaultval=$wxUSE_ALL_FEATURES
12176 if test -z "$defaultval"; then
12177 if test x"$enablestring" = xdisable; then
12184 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
12185 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
12186 # Check whether --enable-aboutdlg was given.
12187 if test "${enable_aboutdlg+set}" = set; then
12188 enableval=$enable_aboutdlg;
12189 if test "$enableval" = yes; then
12190 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12192 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12197 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12202 eval "$wx_cv_use_aboutdlg"
12204 if test x
"$enablestring" = xdisable
; then
12205 if test $wxUSE_ABOUTDLG = yes; then
12211 result
=$wxUSE_ABOUTDLG
12214 { echo "$as_me:$LINENO: result: $result" >&5
12215 echo "${ECHO_T}$result" >&6; }
12219 defaultval
=$wxUSE_ALL_FEATURES
12220 if test -z "$defaultval"; then
12221 if test x
"$enablestring" = xdisable
; then
12228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12229 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12230 # Check whether --enable-choicedlg was given.
12231 if test "${enable_choicedlg+set}" = set; then
12232 enableval
=$enable_choicedlg;
12233 if test "$enableval" = yes; then
12234 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
12236 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
12241 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12246 eval "$wx_cv_use_choicedlg"
12248 if test x"$enablestring" = xdisable; then
12249 if test $wxUSE_CHOICEDLG = yes; then
12255 result=$wxUSE_CHOICEDLG
12258 { echo "$as_me:$LINENO: result: $result" >&5
12259 echo "${ECHO_T}$result" >&6; }
12263 defaultval=$wxUSE_ALL_FEATURES
12264 if test -z "$defaultval"; then
12265 if test x"$enablestring" = xdisable; then
12272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12273 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12274 # Check whether --enable-coldlg was given.
12275 if test "${enable_coldlg+set}" = set; then
12276 enableval=$enable_coldlg;
12277 if test "$enableval" = yes; then
12278 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
12280 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
12285 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12290 eval "$wx_cv_use_coldlg"
12292 if test x"$enablestring" = xdisable; then
12293 if test $wxUSE_COLOURDLG = yes; then
12299 result=$wxUSE_COLOURDLG
12302 { echo "$as_me:$LINENO: result
: $result" >&5
12303 echo "${ECHO_T}$result" >&6; }
12307 defaultval=$wxUSE_ALL_FEATURES
12308 if test -z "$defaultval"; then
12309 if test x"$enablestring" = xdisable; then
12316 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
12317 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
12318 # Check whether --enable-filedlg was given.
12319 if test "${enable_filedlg+set}" = set; then
12320 enableval=$enable_filedlg;
12321 if test "$enableval" = yes; then
12322 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12324 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12329 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12334 eval "$wx_cv_use_filedlg"
12336 if test x
"$enablestring" = xdisable
; then
12337 if test $wxUSE_FILEDLG = yes; then
12343 result
=$wxUSE_FILEDLG
12346 { echo "$as_me:$LINENO: result: $result" >&5
12347 echo "${ECHO_T}$result" >&6; }
12351 defaultval
=$wxUSE_ALL_FEATURES
12352 if test -z "$defaultval"; then
12353 if test x
"$enablestring" = xdisable
; then
12360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12361 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12362 # Check whether --enable-finddlg was given.
12363 if test "${enable_finddlg+set}" = set; then
12364 enableval
=$enable_finddlg;
12365 if test "$enableval" = yes; then
12366 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
12368 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
12373 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12378 eval "$wx_cv_use_finddlg"
12380 if test x"$enablestring" = xdisable; then
12381 if test $wxUSE_FINDREPLDLG = yes; then
12387 result=$wxUSE_FINDREPLDLG
12390 { echo "$as_me:$LINENO: result: $result" >&5
12391 echo "${ECHO_T}$result" >&6; }
12395 defaultval=$wxUSE_ALL_FEATURES
12396 if test -z "$defaultval"; then
12397 if test x"$enablestring" = xdisable; then
12404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12405 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12406 # Check whether --enable-fontdlg was given.
12407 if test "${enable_fontdlg+set}" = set; then
12408 enableval=$enable_fontdlg;
12409 if test "$enableval" = yes; then
12410 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
12412 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
12417 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12422 eval "$wx_cv_use_fontdlg"
12424 if test x"$enablestring" = xdisable; then
12425 if test $wxUSE_FONTDLG = yes; then
12431 result=$wxUSE_FONTDLG
12434 { echo "$as_me:$LINENO: result
: $result" >&5
12435 echo "${ECHO_T}$result" >&6; }
12439 defaultval=$wxUSE_ALL_FEATURES
12440 if test -z "$defaultval"; then
12441 if test x"$enablestring" = xdisable; then
12448 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
12449 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
12450 # Check whether --enable-dirdlg was given.
12451 if test "${enable_dirdlg+set}" = set; then
12452 enableval=$enable_dirdlg;
12453 if test "$enableval" = yes; then
12454 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12456 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12461 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12466 eval "$wx_cv_use_dirdlg"
12468 if test x
"$enablestring" = xdisable
; then
12469 if test $wxUSE_DIRDLG = yes; then
12475 result
=$wxUSE_DIRDLG
12478 { echo "$as_me:$LINENO: result: $result" >&5
12479 echo "${ECHO_T}$result" >&6; }
12483 defaultval
=$wxUSE_ALL_FEATURES
12484 if test -z "$defaultval"; then
12485 if test x
"$enablestring" = xdisable
; then
12492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12493 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12494 # Check whether --enable-msgdlg was given.
12495 if test "${enable_msgdlg+set}" = set; then
12496 enableval
=$enable_msgdlg;
12497 if test "$enableval" = yes; then
12498 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
12500 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
12505 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12510 eval "$wx_cv_use_msgdlg"
12512 if test x"$enablestring" = xdisable; then
12513 if test $wxUSE_MSGDLG = yes; then
12519 result=$wxUSE_MSGDLG
12522 { echo "$as_me:$LINENO: result: $result" >&5
12523 echo "${ECHO_T}$result" >&6; }
12527 defaultval=$wxUSE_ALL_FEATURES
12528 if test -z "$defaultval"; then
12529 if test x"$enablestring" = xdisable; then
12536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12537 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12538 # Check whether --enable-numberdlg was given.
12539 if test "${enable_numberdlg+set}" = set; then
12540 enableval=$enable_numberdlg;
12541 if test "$enableval" = yes; then
12542 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
12544 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
12549 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12554 eval "$wx_cv_use_numberdlg"
12556 if test x"$enablestring" = xdisable; then
12557 if test $wxUSE_NUMBERDLG = yes; then
12563 result=$wxUSE_NUMBERDLG
12566 { echo "$as_me:$LINENO: result
: $result" >&5
12567 echo "${ECHO_T}$result" >&6; }
12571 defaultval=$wxUSE_ALL_FEATURES
12572 if test -z "$defaultval"; then
12573 if test x"$enablestring" = xdisable; then
12580 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
12581 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
12582 # Check whether --enable-splash was given.
12583 if test "${enable_splash+set}" = set; then
12584 enableval=$enable_splash;
12585 if test "$enableval" = yes; then
12586 wx_cv_use_splash='wxUSE_SPLASH=yes'
12588 wx_cv_use_splash='wxUSE_SPLASH=no'
12593 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12598 eval "$wx_cv_use_splash"
12600 if test x
"$enablestring" = xdisable
; then
12601 if test $wxUSE_SPLASH = yes; then
12607 result
=$wxUSE_SPLASH
12610 { echo "$as_me:$LINENO: result: $result" >&5
12611 echo "${ECHO_T}$result" >&6; }
12615 defaultval
=$wxUSE_ALL_FEATURES
12616 if test -z "$defaultval"; then
12617 if test x
"$enablestring" = xdisable
; then
12624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12625 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12626 # Check whether --enable-textdlg was given.
12627 if test "${enable_textdlg+set}" = set; then
12628 enableval
=$enable_textdlg;
12629 if test "$enableval" = yes; then
12630 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
12632 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
12637 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12642 eval "$wx_cv_use_textdlg"
12644 if test x"$enablestring" = xdisable; then
12645 if test $wxUSE_TEXTDLG = yes; then
12651 result=$wxUSE_TEXTDLG
12654 { echo "$as_me:$LINENO: result: $result" >&5
12655 echo "${ECHO_T}$result" >&6; }
12659 defaultval=$wxUSE_ALL_FEATURES
12660 if test -z "$defaultval"; then
12661 if test x"$enablestring" = xdisable; then
12668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12669 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12670 # Check whether --enable-tipdlg was given.
12671 if test "${enable_tipdlg+set}" = set; then
12672 enableval=$enable_tipdlg;
12673 if test "$enableval" = yes; then
12674 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
12676 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
12681 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12686 eval "$wx_cv_use_tipdlg"
12688 if test x"$enablestring" = xdisable; then
12689 if test $wxUSE_STARTUP_TIPS = yes; then
12695 result=$wxUSE_STARTUP_TIPS
12698 { echo "$as_me:$LINENO: result
: $result" >&5
12699 echo "${ECHO_T}$result" >&6; }
12703 defaultval=$wxUSE_ALL_FEATURES
12704 if test -z "$defaultval"; then
12705 if test x"$enablestring" = xdisable; then
12712 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
12713 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
12714 # Check whether --enable-progressdlg was given.
12715 if test "${enable_progressdlg+set}" = set; then
12716 enableval=$enable_progressdlg;
12717 if test "$enableval" = yes; then
12718 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12720 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12725 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12730 eval "$wx_cv_use_progressdlg"
12732 if test x
"$enablestring" = xdisable
; then
12733 if test $wxUSE_PROGRESSDLG = yes; then
12739 result
=$wxUSE_PROGRESSDLG
12742 { echo "$as_me:$LINENO: result: $result" >&5
12743 echo "${ECHO_T}$result" >&6; }
12747 defaultval
=$wxUSE_ALL_FEATURES
12748 if test -z "$defaultval"; then
12749 if test x
"$enablestring" = xdisable
; then
12756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12757 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12758 # Check whether --enable-wizarddlg was given.
12759 if test "${enable_wizarddlg+set}" = set; then
12760 enableval
=$enable_wizarddlg;
12761 if test "$enableval" = yes; then
12762 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
12764 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
12769 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12774 eval "$wx_cv_use_wizarddlg"
12776 if test x"$enablestring" = xdisable; then
12777 if test $wxUSE_WIZARDDLG = yes; then
12783 result=$wxUSE_WIZARDDLG
12786 { echo "$as_me:$LINENO: result: $result" >&5
12787 echo "${ECHO_T}$result" >&6; }
12793 defaultval=$wxUSE_ALL_FEATURES
12794 if test -z "$defaultval"; then
12795 if test x"$enablestring" = xdisable; then
12802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12803 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12804 # Check whether --enable-menus was given.
12805 if test "${enable_menus+set}" = set; then
12806 enableval=$enable_menus;
12807 if test "$enableval" = yes; then
12808 wx_cv_use_menus='wxUSE_MENUS
=yes'
12810 wx_cv_use_menus='wxUSE_MENUS
=no
'
12815 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12820 eval "$wx_cv_use_menus"
12822 if test x"$enablestring" = xdisable; then
12823 if test $wxUSE_MENUS = yes; then
12829 result=$wxUSE_MENUS
12832 { echo "$as_me:$LINENO: result
: $result" >&5
12833 echo "${ECHO_T}$result" >&6; }
12837 defaultval=$wxUSE_ALL_FEATURES
12838 if test -z "$defaultval"; then
12839 if test x"$enablestring" = xdisable; then
12846 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
12847 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
12848 # Check whether --enable-miniframe was given.
12849 if test "${enable_miniframe+set}" = set; then
12850 enableval=$enable_miniframe;
12851 if test "$enableval" = yes; then
12852 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12854 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12859 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12864 eval "$wx_cv_use_miniframe"
12866 if test x
"$enablestring" = xdisable
; then
12867 if test $wxUSE_MINIFRAME = yes; then
12873 result
=$wxUSE_MINIFRAME
12876 { echo "$as_me:$LINENO: result: $result" >&5
12877 echo "${ECHO_T}$result" >&6; }
12881 defaultval
=$wxUSE_ALL_FEATURES
12882 if test -z "$defaultval"; then
12883 if test x
"$enablestring" = xdisable
; then
12890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12891 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12892 # Check whether --enable-tooltips was given.
12893 if test "${enable_tooltips+set}" = set; then
12894 enableval
=$enable_tooltips;
12895 if test "$enableval" = yes; then
12896 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
12898 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
12903 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12908 eval "$wx_cv_use_tooltips"
12910 if test x"$enablestring" = xdisable; then
12911 if test $wxUSE_TOOLTIPS = yes; then
12917 result=$wxUSE_TOOLTIPS
12920 { echo "$as_me:$LINENO: result: $result" >&5
12921 echo "${ECHO_T}$result" >&6; }
12925 defaultval=$wxUSE_ALL_FEATURES
12926 if test -z "$defaultval"; then
12927 if test x"$enablestring" = xdisable; then
12934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12935 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12936 # Check whether --enable-splines was given.
12937 if test "${enable_splines+set}" = set; then
12938 enableval=$enable_splines;
12939 if test "$enableval" = yes; then
12940 wx_cv_use_splines='wxUSE_SPLINES
=yes'
12942 wx_cv_use_splines='wxUSE_SPLINES
=no
'
12947 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12952 eval "$wx_cv_use_splines"
12954 if test x"$enablestring" = xdisable; then
12955 if test $wxUSE_SPLINES = yes; then
12961 result=$wxUSE_SPLINES
12964 { echo "$as_me:$LINENO: result
: $result" >&5
12965 echo "${ECHO_T}$result" >&6; }
12969 defaultval=$wxUSE_ALL_FEATURES
12970 if test -z "$defaultval"; then
12971 if test x"$enablestring" = xdisable; then
12978 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
12979 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
12980 # Check whether --enable-mousewheel was given.
12981 if test "${enable_mousewheel+set}" = set; then
12982 enableval=$enable_mousewheel;
12983 if test "$enableval" = yes; then
12984 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12986 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12991 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12996 eval "$wx_cv_use_mousewheel"
12998 if test x
"$enablestring" = xdisable
; then
12999 if test $wxUSE_MOUSEWHEEL = yes; then
13005 result
=$wxUSE_MOUSEWHEEL
13008 { echo "$as_me:$LINENO: result: $result" >&5
13009 echo "${ECHO_T}$result" >&6; }
13013 defaultval
=$wxUSE_ALL_FEATURES
13014 if test -z "$defaultval"; then
13015 if test x
"$enablestring" = xdisable
; then
13022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13023 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13024 # Check whether --enable-validators was given.
13025 if test "${enable_validators+set}" = set; then
13026 enableval
=$enable_validators;
13027 if test "$enableval" = yes; then
13028 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
13030 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
13035 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13040 eval "$wx_cv_use_validators"
13042 if test x"$enablestring" = xdisable; then
13043 if test $wxUSE_VALIDATORS = yes; then
13049 result=$wxUSE_VALIDATORS
13052 { echo "$as_me:$LINENO: result: $result" >&5
13053 echo "${ECHO_T}$result" >&6; }
13057 defaultval=$wxUSE_ALL_FEATURES
13058 if test -z "$defaultval"; then
13059 if test x"$enablestring" = xdisable; then
13066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13067 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13068 # Check whether --enable-busyinfo was given.
13069 if test "${enable_busyinfo+set}" = set; then
13070 enableval=$enable_busyinfo;
13071 if test "$enableval" = yes; then
13072 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
13074 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
13079 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13084 eval "$wx_cv_use_busyinfo"
13086 if test x"$enablestring" = xdisable; then
13087 if test $wxUSE_BUSYINFO = yes; then
13093 result=$wxUSE_BUSYINFO
13096 { echo "$as_me:$LINENO: result
: $result" >&5
13097 echo "${ECHO_T}$result" >&6; }
13101 defaultval=$wxUSE_ALL_FEATURES
13102 if test -z "$defaultval"; then
13103 if test x"$enablestring" = xdisable; then
13110 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
13111 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
13112 # Check whether --enable-joystick was given.
13113 if test "${enable_joystick+set}" = set; then
13114 enableval=$enable_joystick;
13115 if test "$enableval" = yes; then
13116 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13118 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13123 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13128 eval "$wx_cv_use_joystick"
13130 if test x
"$enablestring" = xdisable
; then
13131 if test $wxUSE_JOYSTICK = yes; then
13137 result
=$wxUSE_JOYSTICK
13140 { echo "$as_me:$LINENO: result: $result" >&5
13141 echo "${ECHO_T}$result" >&6; }
13145 defaultval
=$wxUSE_ALL_FEATURES
13146 if test -z "$defaultval"; then
13147 if test x
"$enablestring" = xdisable
; then
13154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13155 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13156 # Check whether --enable-metafile was given.
13157 if test "${enable_metafile+set}" = set; then
13158 enableval
=$enable_metafile;
13159 if test "$enableval" = yes; then
13160 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
13162 wx_cv_use_metafile
='wxUSE_METAFILE=no'
13167 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13172 eval "$wx_cv_use_metafile"
13174 if test x"$enablestring" = xdisable; then
13175 if test $wxUSE_METAFILE = yes; then
13181 result=$wxUSE_METAFILE
13184 { echo "$as_me:$LINENO: result: $result" >&5
13185 echo "${ECHO_T}$result" >&6; }
13189 defaultval=$wxUSE_ALL_FEATURES
13190 if test -z "$defaultval"; then
13191 if test x"$enablestring" = xdisable; then
13198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13199 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13200 # Check whether --enable-dragimage was given.
13201 if test "${enable_dragimage+set}" = set; then
13202 enableval=$enable_dragimage;
13203 if test "$enableval" = yes; then
13204 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
13206 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
13211 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13216 eval "$wx_cv_use_dragimage"
13218 if test x"$enablestring" = xdisable; then
13219 if test $wxUSE_DRAGIMAGE = yes; then
13225 result=$wxUSE_DRAGIMAGE
13228 { echo "$as_me:$LINENO: result
: $result" >&5
13229 echo "${ECHO_T}$result" >&6; }
13233 defaultval=$wxUSE_ALL_FEATURES
13234 if test -z "$defaultval"; then
13235 if test x"$enablestring" = xdisable; then
13242 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
13243 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
13244 # Check whether --enable-accessibility was given.
13245 if test "${enable_accessibility+set}" = set; then
13246 enableval=$enable_accessibility;
13247 if test "$enableval" = yes; then
13248 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13250 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13255 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13260 eval "$wx_cv_use_accessibility"
13262 if test x
"$enablestring" = xdisable
; then
13263 if test $wxUSE_ACCESSIBILITY = yes; then
13269 result
=$wxUSE_ACCESSIBILITY
13272 { echo "$as_me:$LINENO: result: $result" >&5
13273 echo "${ECHO_T}$result" >&6; }
13279 defaultval
=$wxUSE_ALL_FEATURES
13280 if test -z "$defaultval"; then
13281 if test x
"$enablestring" = xdisable
; then
13288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13289 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13290 # Check whether --enable-palette was given.
13291 if test "${enable_palette+set}" = set; then
13292 enableval
=$enable_palette;
13293 if test "$enableval" = yes; then
13294 wx_cv_use_palette
='wxUSE_PALETTE=yes'
13296 wx_cv_use_palette
='wxUSE_PALETTE=no'
13301 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13306 eval "$wx_cv_use_palette"
13308 if test x"$enablestring" = xdisable; then
13309 if test $wxUSE_PALETTE = yes; then
13315 result=$wxUSE_PALETTE
13318 { echo "$as_me:$LINENO: result: $result" >&5
13319 echo "${ECHO_T}$result" >&6; }
13323 defaultval=$wxUSE_ALL_FEATURES
13324 if test -z "$defaultval"; then
13325 if test x"$enablestring" = xdisable; then
13332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13333 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13334 # Check whether --enable-image was given.
13335 if test "${enable_image+set}" = set; then
13336 enableval=$enable_image;
13337 if test "$enableval" = yes; then
13338 wx_cv_use_image='wxUSE_IMAGE
=yes'
13340 wx_cv_use_image='wxUSE_IMAGE
=no
'
13345 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13350 eval "$wx_cv_use_image"
13352 if test x"$enablestring" = xdisable; then
13353 if test $wxUSE_IMAGE = yes; then
13359 result=$wxUSE_IMAGE
13362 { echo "$as_me:$LINENO: result
: $result" >&5
13363 echo "${ECHO_T}$result" >&6; }
13367 defaultval=$wxUSE_ALL_FEATURES
13368 if test -z "$defaultval"; then
13369 if test x"$enablestring" = xdisable; then
13376 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
13377 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
13378 # Check whether --enable-gif was given.
13379 if test "${enable_gif+set}" = set; then
13380 enableval=$enable_gif;
13381 if test "$enableval" = yes; then
13382 wx_cv_use_gif='wxUSE_GIF=yes'
13384 wx_cv_use_gif='wxUSE_GIF=no'
13389 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13394 eval "$wx_cv_use_gif"
13396 if test x
"$enablestring" = xdisable
; then
13397 if test $wxUSE_GIF = yes; then
13406 { echo "$as_me:$LINENO: result: $result" >&5
13407 echo "${ECHO_T}$result" >&6; }
13411 defaultval
=$wxUSE_ALL_FEATURES
13412 if test -z "$defaultval"; then
13413 if test x
"$enablestring" = xdisable
; then
13420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13421 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13422 # Check whether --enable-pcx was given.
13423 if test "${enable_pcx+set}" = set; then
13424 enableval
=$enable_pcx;
13425 if test "$enableval" = yes; then
13426 wx_cv_use_pcx
='wxUSE_PCX=yes'
13428 wx_cv_use_pcx
='wxUSE_PCX=no'
13433 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13438 eval "$wx_cv_use_pcx"
13440 if test x"$enablestring" = xdisable; then
13441 if test $wxUSE_PCX = yes; then
13450 { echo "$as_me:$LINENO: result: $result" >&5
13451 echo "${ECHO_T}$result" >&6; }
13455 defaultval=$wxUSE_ALL_FEATURES
13456 if test -z "$defaultval"; then
13457 if test x"$enablestring" = xdisable; then
13464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13465 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13466 # Check whether --enable-tga was given.
13467 if test "${enable_tga+set}" = set; then
13468 enableval=$enable_tga;
13469 if test "$enableval" = yes; then
13470 wx_cv_use_tga='wxUSE_TGA
=yes'
13472 wx_cv_use_tga='wxUSE_TGA
=no
'
13477 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13482 eval "$wx_cv_use_tga"
13484 if test x"$enablestring" = xdisable; then
13485 if test $wxUSE_TGA = yes; then
13494 { echo "$as_me:$LINENO: result
: $result" >&5
13495 echo "${ECHO_T}$result" >&6; }
13499 defaultval=$wxUSE_ALL_FEATURES
13500 if test -z "$defaultval"; then
13501 if test x"$enablestring" = xdisable; then
13508 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
13509 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
13510 # Check whether --enable-iff was given.
13511 if test "${enable_iff+set}" = set; then
13512 enableval=$enable_iff;
13513 if test "$enableval" = yes; then
13514 wx_cv_use_iff='wxUSE_IFF=yes'
13516 wx_cv_use_iff='wxUSE_IFF=no'
13521 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13526 eval "$wx_cv_use_iff"
13528 if test x
"$enablestring" = xdisable
; then
13529 if test $wxUSE_IFF = yes; then
13538 { echo "$as_me:$LINENO: result: $result" >&5
13539 echo "${ECHO_T}$result" >&6; }
13543 defaultval
=$wxUSE_ALL_FEATURES
13544 if test -z "$defaultval"; then
13545 if test x
"$enablestring" = xdisable
; then
13552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13553 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13554 # Check whether --enable-pnm was given.
13555 if test "${enable_pnm+set}" = set; then
13556 enableval
=$enable_pnm;
13557 if test "$enableval" = yes; then
13558 wx_cv_use_pnm
='wxUSE_PNM=yes'
13560 wx_cv_use_pnm
='wxUSE_PNM=no'
13565 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13570 eval "$wx_cv_use_pnm"
13572 if test x"$enablestring" = xdisable; then
13573 if test $wxUSE_PNM = yes; then
13582 { echo "$as_me:$LINENO: result: $result" >&5
13583 echo "${ECHO_T}$result" >&6; }
13587 defaultval=$wxUSE_ALL_FEATURES
13588 if test -z "$defaultval"; then
13589 if test x"$enablestring" = xdisable; then
13596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13597 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13598 # Check whether --enable-xpm was given.
13599 if test "${enable_xpm+set}" = set; then
13600 enableval=$enable_xpm;
13601 if test "$enableval" = yes; then
13602 wx_cv_use_xpm='wxUSE_XPM
=yes'
13604 wx_cv_use_xpm='wxUSE_XPM
=no
'
13609 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13614 eval "$wx_cv_use_xpm"
13616 if test x"$enablestring" = xdisable; then
13617 if test $wxUSE_XPM = yes; then
13626 { echo "$as_me:$LINENO: result
: $result" >&5
13627 echo "${ECHO_T}$result" >&6; }
13631 defaultval=$wxUSE_ALL_FEATURES
13632 if test -z "$defaultval"; then
13633 if test x"$enablestring" = xdisable; then
13640 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
13641 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
13642 # Check whether --enable-ico_cur was given.
13643 if test "${enable_ico_cur+set}" = set; then
13644 enableval=$enable_ico_cur;
13645 if test "$enableval" = yes; then
13646 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13648 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13653 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13658 eval "$wx_cv_use_ico_cur"
13660 if test x
"$enablestring" = xdisable
; then
13661 if test $wxUSE_ICO_CUR = yes; then
13667 result
=$wxUSE_ICO_CUR
13670 { echo "$as_me:$LINENO: result: $result" >&5
13671 echo "${ECHO_T}$result" >&6; }
13677 defaultval
=$wxUSE_ALL_FEATURES
13678 if test -z "$defaultval"; then
13679 if test x
"$enablestring" = xdisable
; then
13686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13687 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13688 # Check whether --enable-dccache was given.
13689 if test "${enable_dccache+set}" = set; then
13690 enableval
=$enable_dccache;
13691 if test "$enableval" = yes; then
13692 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
13694 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
13699 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13704 eval "$wx_cv_use_dccache"
13706 if test x"$enablestring" = xdisable; then
13707 if test $wxUSE_DC_CACHEING = yes; then
13713 result=$wxUSE_DC_CACHEING
13716 { echo "$as_me:$LINENO: result: $result" >&5
13717 echo "${ECHO_T}$result" >&6; }
13721 defaultval=$wxUSE_ALL_FEATURES
13722 if test -z "$defaultval"; then
13723 if test x"$enablestring" = xdisable; then
13730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13731 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13732 # Check whether --enable-ps-in-msw was given.
13733 if test "${enable_ps_in_msw+set}" = set; then
13734 enableval=$enable_ps_in_msw;
13735 if test "$enableval" = yes; then
13736 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
13738 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
13743 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13748 eval "$wx_cv_use_ps_in_msw"
13750 if test x"$enablestring" = xdisable; then
13751 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13757 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13760 { echo "$as_me:$LINENO: result
: $result" >&5
13761 echo "${ECHO_T}$result" >&6; }
13765 defaultval=$wxUSE_ALL_FEATURES
13766 if test -z "$defaultval"; then
13767 if test x"$enablestring" = xdisable; then
13774 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
13775 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
13776 # Check whether --enable-ownerdrawn was given.
13777 if test "${enable_ownerdrawn+set}" = set; then
13778 enableval=$enable_ownerdrawn;
13779 if test "$enableval" = yes; then
13780 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13782 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13787 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13792 eval "$wx_cv_use_ownerdrawn"
13794 if test x
"$enablestring" = xdisable
; then
13795 if test $wxUSE_OWNER_DRAWN = yes; then
13801 result
=$wxUSE_OWNER_DRAWN
13804 { echo "$as_me:$LINENO: result: $result" >&5
13805 echo "${ECHO_T}$result" >&6; }
13809 defaultval
=$wxUSE_ALL_FEATURES
13810 if test -z "$defaultval"; then
13811 if test x
"$enablestring" = xdisable
; then
13818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13819 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13820 # Check whether --enable-uxtheme was given.
13821 if test "${enable_uxtheme+set}" = set; then
13822 enableval
=$enable_uxtheme;
13823 if test "$enableval" = yes; then
13824 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
13826 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
13831 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13836 eval "$wx_cv_use_uxtheme"
13838 if test x"$enablestring" = xdisable; then
13839 if test $wxUSE_UXTHEME = yes; then
13845 result=$wxUSE_UXTHEME
13848 { echo "$as_me:$LINENO: result: $result" >&5
13849 echo "${ECHO_T}$result" >&6; }
13853 defaultval=$wxUSE_ALL_FEATURES
13854 if test -z "$defaultval"; then
13855 if test x"$enablestring" = xdisable; then
13862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13863 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13864 # Check whether --enable-wxdib was given.
13865 if test "${enable_wxdib+set}" = set; then
13866 enableval=$enable_wxdib;
13867 if test "$enableval" = yes; then
13868 wx_cv_use_wxdib='wxUSE_DIB
=yes'
13870 wx_cv_use_wxdib='wxUSE_DIB
=no
'
13875 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13880 eval "$wx_cv_use_wxdib"
13882 if test x"$enablestring" = xdisable; then
13883 if test $wxUSE_DIB = yes; then
13892 { echo "$as_me:$LINENO: result
: $result" >&5
13893 echo "${ECHO_T}$result" >&6; }
13896 if test "$wxUSE_MSW" != 1; then
13897 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13902 defaultval=$wxUSE_ALL_FEATURES
13903 if test -z "$defaultval"; then
13904 if test x"$enablestring" = xdisable; then
13911 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
13912 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
13913 # Check whether --enable-autoidman was given.
13914 if test "${enable_autoidman+set}" = set; then
13915 enableval=$enable_autoidman;
13916 if test "$enableval" = yes; then
13917 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13919 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13924 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13929 eval "$wx_cv_use_autoidman"
13931 if test x
"$enablestring" = xdisable
; then
13932 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13938 result
=$wxUSE_AUTOID_MANAGEMENT
13941 { echo "$as_me:$LINENO: result: $result" >&5
13942 echo "${ECHO_T}$result" >&6; }
13948 cat >confcache
<<\_ACEOF
13949 # This file is a shell script that caches the results of configure
13950 # tests run on this system so they can be shared between configure
13951 # scripts and configure runs, see configure's option --config-cache.
13952 # It is not useful on other systems. If it contains results you don't
13953 # want to keep, you may remove or edit it.
13955 # config.status only pays attention to the cache file if you give it
13956 # the --recheck option to rerun configure.
13958 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13959 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13960 # following values.
13964 # The following way of writing the cache mishandles newlines in values,
13965 # but we know of no workaround that is simple, portable, and efficient.
13966 # So, we kill variables containing newlines.
13967 # Ultrix sh set writes to stderr and can't be redirected directly,
13968 # and sets the high bit in the cache file unless we assign to the vars.
13970 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13971 eval ac_val
=\$
$ac_var
13975 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13976 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13979 _
| IFS
| as_nl
) ;; #(
13980 *) $as_unset $ac_var ;;
13986 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13987 *${as_nl}ac_space
=\
*)
13988 # `set' does not quote correctly, so add quotes (double-quote
13989 # substitution turns \\\\ into \\, and sed turns \\ into \).
13992 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13995 # `set' quotes correctly as required by POSIX, so do not add quotes.
13996 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14005 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14007 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14009 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14010 if test -w "$cache_file"; then
14011 test "x$cache_file" != "x/dev/null" &&
14012 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14013 echo "$as_me: updating cache $cache_file" >&6;}
14014 cat confcache
>$cache_file
14016 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14017 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14027 ac_cpp
='$CPP $CPPFLAGS'
14028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14031 if test -n "$ac_tool_prefix"; then
14032 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14033 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14036 if test "${ac_cv_prog_CC+set}" = set; then
14037 echo $ECHO_N "(cached) $ECHO_C" >&6
14039 if test -n "$CC"; then
14040 ac_cv_prog_CC
="$CC" # Let the user override the test.
14042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14043 for as_dir
in $PATH
14046 test -z "$as_dir" && as_dir
=.
14047 for ac_exec_ext
in '' $ac_executable_extensions; do
14048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14049 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14060 if test -n "$CC"; then
14061 { echo "$as_me:$LINENO: result: $CC" >&5
14062 echo "${ECHO_T}$CC" >&6; }
14064 { echo "$as_me:$LINENO: result: no" >&5
14065 echo "${ECHO_T}no" >&6; }
14070 if test -z "$ac_cv_prog_CC"; then
14072 # Extract the first word of "gcc", so it can be a program name with args.
14073 set dummy gcc
; ac_word
=$2
14074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14076 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14077 echo $ECHO_N "(cached) $ECHO_C" >&6
14079 if test -n "$ac_ct_CC"; then
14080 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14083 for as_dir
in $PATH
14086 test -z "$as_dir" && as_dir
=.
14087 for ac_exec_ext
in '' $ac_executable_extensions; do
14088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14089 ac_cv_prog_ac_ct_CC
="gcc"
14090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14099 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14100 if test -n "$ac_ct_CC"; then
14101 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14102 echo "${ECHO_T}$ac_ct_CC" >&6; }
14104 { echo "$as_me:$LINENO: result: no" >&5
14105 echo "${ECHO_T}no" >&6; }
14108 if test "x$ac_ct_CC" = x
; then
14111 case $cross_compiling:$ac_tool_warned in
14113 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14114 whose name does not start with the host triplet. If you think this
14115 configuration is useful to you, please write to autoconf@gnu.org." >&5
14116 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14117 whose name does not start with the host triplet. If you think this
14118 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14119 ac_tool_warned
=yes ;;
14124 CC
="$ac_cv_prog_CC"
14127 if test -z "$CC"; then
14128 if test -n "$ac_tool_prefix"; then
14129 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14130 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14133 if test "${ac_cv_prog_CC+set}" = set; then
14134 echo $ECHO_N "(cached) $ECHO_C" >&6
14136 if test -n "$CC"; then
14137 ac_cv_prog_CC
="$CC" # Let the user override the test.
14139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14140 for as_dir
in $PATH
14143 test -z "$as_dir" && as_dir
=.
14144 for ac_exec_ext
in '' $ac_executable_extensions; do
14145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14146 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14157 if test -n "$CC"; then
14158 { echo "$as_me:$LINENO: result: $CC" >&5
14159 echo "${ECHO_T}$CC" >&6; }
14161 { echo "$as_me:$LINENO: result: no" >&5
14162 echo "${ECHO_T}no" >&6; }
14168 if test -z "$CC"; then
14169 # Extract the first word of "cc", so it can be a program name with args.
14170 set dummy cc
; ac_word
=$2
14171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14173 if test "${ac_cv_prog_CC+set}" = set; then
14174 echo $ECHO_N "(cached) $ECHO_C" >&6
14176 if test -n "$CC"; then
14177 ac_cv_prog_CC
="$CC" # Let the user override the test.
14179 ac_prog_rejected
=no
14180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14181 for as_dir
in $PATH
14184 test -z "$as_dir" && as_dir
=.
14185 for ac_exec_ext
in '' $ac_executable_extensions; do
14186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14187 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14188 ac_prog_rejected
=yes
14192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14199 if test $ac_prog_rejected = yes; then
14200 # We found a bogon in the path, so make sure we never use it.
14201 set dummy
$ac_cv_prog_CC
14203 if test $# != 0; then
14204 # We chose a different compiler from the bogus one.
14205 # However, it has the same basename, so the bogon will be chosen
14206 # first if we set CC to just the basename; use the full file name.
14208 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14214 if test -n "$CC"; then
14215 { echo "$as_me:$LINENO: result: $CC" >&5
14216 echo "${ECHO_T}$CC" >&6; }
14218 { echo "$as_me:$LINENO: result: no" >&5
14219 echo "${ECHO_T}no" >&6; }
14224 if test -z "$CC"; then
14225 if test -n "$ac_tool_prefix"; then
14226 for ac_prog
in cl.exe
14228 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14229 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14232 if test "${ac_cv_prog_CC+set}" = set; then
14233 echo $ECHO_N "(cached) $ECHO_C" >&6
14235 if test -n "$CC"; then
14236 ac_cv_prog_CC
="$CC" # Let the user override the test.
14238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14239 for as_dir
in $PATH
14242 test -z "$as_dir" && as_dir
=.
14243 for ac_exec_ext
in '' $ac_executable_extensions; do
14244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14245 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14256 if test -n "$CC"; then
14257 { echo "$as_me:$LINENO: result: $CC" >&5
14258 echo "${ECHO_T}$CC" >&6; }
14260 { echo "$as_me:$LINENO: result: no" >&5
14261 echo "${ECHO_T}no" >&6; }
14265 test -n "$CC" && break
14268 if test -z "$CC"; then
14270 for ac_prog
in cl.exe
14272 # Extract the first word of "$ac_prog", so it can be a program name with args.
14273 set dummy
$ac_prog; ac_word
=$2
14274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14276 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14277 echo $ECHO_N "(cached) $ECHO_C" >&6
14279 if test -n "$ac_ct_CC"; then
14280 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14283 for as_dir
in $PATH
14286 test -z "$as_dir" && as_dir
=.
14287 for ac_exec_ext
in '' $ac_executable_extensions; do
14288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14289 ac_cv_prog_ac_ct_CC
="$ac_prog"
14290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14299 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14300 if test -n "$ac_ct_CC"; then
14301 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14302 echo "${ECHO_T}$ac_ct_CC" >&6; }
14304 { echo "$as_me:$LINENO: result: no" >&5
14305 echo "${ECHO_T}no" >&6; }
14309 test -n "$ac_ct_CC" && break
14312 if test "x$ac_ct_CC" = x
; then
14315 case $cross_compiling:$ac_tool_warned in
14317 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14318 whose name does not start with the host triplet. If you think this
14319 configuration is useful to you, please write to autoconf@gnu.org." >&5
14320 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14321 whose name does not start with the host triplet. If you think this
14322 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14323 ac_tool_warned
=yes ;;
14332 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14333 See \`config.log' for more details." >&5
14334 echo "$as_me: error: no acceptable C compiler found in \$PATH
14335 See \`config.log' for more details." >&2;}
14336 { (exit 1); exit 1; }; }
14338 # Provide some information about the compiler.
14339 echo "$as_me:$LINENO: checking for C compiler version" >&5
14340 ac_compiler
=`set X $ac_compile; echo $2`
14341 { (ac_try
="$ac_compiler --version >&5"
14342 case "(($ac_try" in
14343 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14344 *) ac_try_echo=$ac_try;;
14346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14347 (eval "$ac_compiler --version >&5") 2>&5
14349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14350 (exit $ac_status); }
14351 { (ac_try="$ac_compiler -v >&5"
14352 case "(($ac_try" in
14353 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14354 *) ac_try_echo
=$ac_try;;
14356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14357 (eval "$ac_compiler -v >&5") 2>&5
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); }
14361 { (ac_try
="$ac_compiler -V >&5"
14362 case "(($ac_try" in
14363 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14364 *) ac_try_echo=$ac_try;;
14366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14367 (eval "$ac_compiler -V >&5") 2>&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); }
14372 cat >conftest.$ac_ext <<_ACEOF
14375 cat confdefs.h >>conftest.$ac_ext
14376 cat >>conftest.$ac_ext <<_ACEOF
14377 /* end confdefs.h. */
14387 ac_clean_files_save=$ac_clean_files
14388 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14389 # Try to create an executable without -o first, disregard a.out.
14390 # It will help us diagnose broken compilers, and finding out an intuition
14392 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14393 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14394 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14396 # List of possible output files, starting from the most likely.
14397 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14398 # only as a last resort. b.out is created by i960 compilers.
14399 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14401 # The IRIX 6 linker writes into existing files which may not be
14402 # executable, retaining their permissions. Remove them first so a
14403 # subsequent execution test works.
14405 for ac_file in $ac_files
14408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14409 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14414 if { (ac_try="$ac_link_default"
14415 case "(($ac_try" in
14416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14417 *) ac_try_echo=$ac_try;;
14419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14420 (eval "$ac_link_default") 2>&5
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); }; then
14424 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14425 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14426 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14427 # so that the user can short-circuit this test for compilers unknown to
14429 for ac_file
in $ac_files ''
14431 test -f "$ac_file" || continue
14433 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14436 # We found the default executable, but exeext='' is most
14440 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14442 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14444 # We set ac_cv_exeext here because the later test for it is not
14445 # safe: cross compilers may not add the suffix if given an `-o'
14446 # argument, so we may need to know it at that point already.
14447 # Even if this section looks crufty: it has the advantage of
14448 # actually working.
14454 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14460 { echo "$as_me:$LINENO: result: $ac_file" >&5
14461 echo "${ECHO_T}$ac_file" >&6; }
14462 if test -z "$ac_file"; then
14463 echo "$as_me: failed program was:" >&5
14464 sed 's/^/| /' conftest.
$ac_ext >&5
14466 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14467 See \`config.log' for more details." >&5
14468 echo "$as_me: error: C compiler cannot create executables
14469 See \`config.log' for more details." >&2;}
14470 { (exit 77); exit 77; }; }
14473 ac_exeext
=$ac_cv_exeext
14475 # Check that the compiler produces executables we can run. If not, either
14476 # the compiler is broken, or we cross compile.
14477 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14478 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14479 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14480 # If not cross compiling, check that we can run a simple program.
14481 if test "$cross_compiling" != yes; then
14482 if { ac_try
='./$ac_file'
14483 { (case "(($ac_try" in
14484 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14485 *) ac_try_echo=$ac_try;;
14487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14488 (eval "$ac_try") 2>&5
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); }; }; then
14494 if test "$cross_compiling" = maybe; then
14495 cross_compiling=yes
14497 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14498 If you meant to cross compile, use \`--host'.
14499 See \`config.log' for more details.
" >&5
14500 echo "$as_me: error
: cannot run C compiled programs.
14501 If you meant to cross compile
, use \
`--host'.
14502 See \`config.log
' for more details." >&2;}
14503 { (exit 1); exit 1; }; }
14507 { echo "$as_me:$LINENO: result: yes" >&5
14508 echo "${ECHO_T}yes" >&6; }
14510 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14511 ac_clean_files=$ac_clean_files_save
14512 # Check that the compiler produces executables we can run. If not, either
14513 # the compiler is broken, or we cross compile.
14514 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14515 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14516 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14517 echo "${ECHO_T}$cross_compiling" >&6; }
14519 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14520 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14521 if { (ac_try="$ac_link"
14522 case "(($ac_try" in
14523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14524 *) ac_try_echo=$ac_try;;
14526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14527 (eval "$ac_link") 2>&5
14529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530 (exit $ac_status); }; then
14531 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14532 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14533 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14535 for ac_file
in conftest.exe conftest conftest.
*; do
14536 test -f "$ac_file" || continue
14538 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14539 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14545 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14546 See \`config.log' for more details." >&5
14547 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14548 See \`config.log' for more details." >&2;}
14549 { (exit 1); exit 1; }; }
14552 rm -f conftest
$ac_cv_exeext
14553 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14554 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14556 rm -f conftest.
$ac_ext
14557 EXEEXT
=$ac_cv_exeext
14559 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14560 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14561 if test "${ac_cv_objext+set}" = set; then
14562 echo $ECHO_N "(cached) $ECHO_C" >&6
14564 cat >conftest.
$ac_ext <<_ACEOF
14567 cat confdefs.h
>>conftest.
$ac_ext
14568 cat >>conftest.
$ac_ext <<_ACEOF
14569 /* end confdefs.h. */
14579 rm -f conftest.o conftest.obj
14580 if { (ac_try
="$ac_compile"
14581 case "(($ac_try" in
14582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14583 *) ac_try_echo=$ac_try;;
14585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14586 (eval "$ac_compile") 2>&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); }; then
14590 for ac_file in conftest.o conftest.obj conftest.*; do
14591 test -f "$ac_file" || continue;
14593 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14594 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14599 echo "$as_me: failed program was:" >&5
14600 sed 's/^/| /' conftest.$ac_ext >&5
14602 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14603 See \`config.log
' for more details." >&5
14604 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14605 See \`config.log' for more details.
" >&2;}
14606 { (exit 1); exit 1; }; }
14609 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14611 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14612 echo "${ECHO_T}$ac_cv_objext" >&6; }
14613 OBJEXT=$ac_cv_objext
14615 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14616 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14617 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14618 echo $ECHO_N "(cached
) $ECHO_C" >&6
14620 cat >conftest.$ac_ext <<_ACEOF
14623 cat confdefs.h >>conftest.$ac_ext
14624 cat >>conftest.$ac_ext <<_ACEOF
14625 /* end confdefs.h. */
14638 rm -f conftest.$ac_objext
14639 if { (ac_try="$ac_compile"
14640 case "(($ac_try" in
14641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14642 *) ac_try_echo=$ac_try;;
14644 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14645 (eval "$ac_compile") 2>conftest.er1
14647 grep -v '^ *+' conftest.er1 >conftest.err
14649 cat conftest.err >&5
14650 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14651 (exit $ac_status); } && {
14652 test -z "$ac_c_werror_flag" ||
14653 test ! -s conftest.err
14654 } && test -s conftest.$ac_objext; then
14655 ac_compiler_gnu=yes
14657 echo "$as_me: failed program was
:" >&5
14658 sed 's/^/| /' conftest.$ac_ext >&5
14663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14664 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14667 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14668 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14669 GCC=`test $ac_compiler_gnu = yes && echo yes`
14670 ac_test_CFLAGS=${CFLAGS+set}
14671 ac_save_CFLAGS=$CFLAGS
14672 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14673 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14674 if test "${ac_cv_prog_cc_g+set}" = set; then
14675 echo $ECHO_N "(cached
) $ECHO_C" >&6
14677 ac_save_c_werror_flag=$ac_c_werror_flag
14678 ac_c_werror_flag=yes
14681 cat >conftest.$ac_ext <<_ACEOF
14684 cat confdefs.h >>conftest.$ac_ext
14685 cat >>conftest.$ac_ext <<_ACEOF
14686 /* end confdefs.h. */
14696 rm -f conftest.$ac_objext
14697 if { (ac_try="$ac_compile"
14698 case "(($ac_try" in
14699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14700 *) ac_try_echo=$ac_try;;
14702 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14703 (eval "$ac_compile") 2>conftest.er1
14705 grep -v '^ *+' conftest.er1 >conftest.err
14707 cat conftest.err >&5
14708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14709 (exit $ac_status); } && {
14710 test -z "$ac_c_werror_flag" ||
14711 test ! -s conftest.err
14712 } && test -s conftest.$ac_objext; then
14713 ac_cv_prog_cc_g=yes
14715 echo "$as_me: failed program was
:" >&5
14716 sed 's/^/| /' conftest.$ac_ext >&5
14719 cat >conftest.$ac_ext <<_ACEOF
14722 cat confdefs.h >>conftest.$ac_ext
14723 cat >>conftest.$ac_ext <<_ACEOF
14724 /* end confdefs.h. */
14734 rm -f conftest.$ac_objext
14735 if { (ac_try="$ac_compile"
14736 case "(($ac_try" in
14737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14738 *) ac_try_echo=$ac_try;;
14740 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14741 (eval "$ac_compile") 2>conftest.er1
14743 grep -v '^ *+' conftest.er1 >conftest.err
14745 cat conftest.err >&5
14746 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14747 (exit $ac_status); } && {
14748 test -z "$ac_c_werror_flag" ||
14749 test ! -s conftest.err
14750 } && test -s conftest.$ac_objext; then
14753 echo "$as_me: failed program was
:" >&5
14754 sed 's/^/| /' conftest.$ac_ext >&5
14756 ac_c_werror_flag=$ac_save_c_werror_flag
14758 cat >conftest.$ac_ext <<_ACEOF
14761 cat confdefs.h >>conftest.$ac_ext
14762 cat >>conftest.$ac_ext <<_ACEOF
14763 /* end confdefs.h. */
14773 rm -f conftest.$ac_objext
14774 if { (ac_try="$ac_compile"
14775 case "(($ac_try" in
14776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14777 *) ac_try_echo=$ac_try;;
14779 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14780 (eval "$ac_compile") 2>conftest.er1
14782 grep -v '^ *+' conftest.er1 >conftest.err
14784 cat conftest.err >&5
14785 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14786 (exit $ac_status); } && {
14787 test -z "$ac_c_werror_flag" ||
14788 test ! -s conftest.err
14789 } && test -s conftest.$ac_objext; then
14790 ac_cv_prog_cc_g=yes
14792 echo "$as_me: failed program was
:" >&5
14793 sed 's/^/| /' conftest.$ac_ext >&5
14798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14805 ac_c_werror_flag=$ac_save_c_werror_flag
14807 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14808 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14809 if test "$ac_test_CFLAGS" = set; then
14810 CFLAGS=$ac_save_CFLAGS
14811 elif test $ac_cv_prog_cc_g = yes; then
14812 if test "$GCC" = yes; then
14818 if test "$GCC" = yes; then
14824 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14825 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14826 if test "${ac_cv_prog_cc_c89+set}" = set; then
14827 echo $ECHO_N "(cached
) $ECHO_C" >&6
14829 ac_cv_prog_cc_c89=no
14831 cat >conftest.$ac_ext <<_ACEOF
14834 cat confdefs.h >>conftest.$ac_ext
14835 cat >>conftest.$ac_ext <<_ACEOF
14836 /* end confdefs.h. */
14837 #include <stdarg.h>
14839 #include <sys/types.h>
14840 #include <sys/stat.h>
14841 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14842 struct buf { int x; };
14843 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14844 static char *e (p, i)
14850 static char *f (char * (*g) (char **, int), char **p, ...)
14855 s = g (p, va_arg (v,int));
14860 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14861 function prototypes and stuff, but not '\xHH' hex character constants.
14862 These don't provoke an error unfortunately, instead are silently treated
14863 as 'x'. The following induces an error, until -std is added to get
14864 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14865 array size at least. It's necessary to write '\x00'==0 to get something
14866 that's true only with -std. */
14867 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14869 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14870 inside strings and character constants. */
14872 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14874 int test (int i, double x);
14875 struct s1 {int (*f) (int a);};
14876 struct s2 {int (*f) (double a);};
14877 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14883 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14888 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14889 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14891 CC="$ac_save_CC $ac_arg"
14892 rm -f conftest.$ac_objext
14893 if { (ac_try="$ac_compile"
14894 case "(($ac_try" in
14895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14896 *) ac_try_echo=$ac_try;;
14898 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14899 (eval "$ac_compile") 2>conftest.er1
14901 grep -v '^ *+' conftest.er1 >conftest.err
14903 cat conftest.err >&5
14904 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14905 (exit $ac_status); } && {
14906 test -z "$ac_c_werror_flag" ||
14907 test ! -s conftest.err
14908 } && test -s conftest.$ac_objext; then
14909 ac_cv_prog_cc_c89=$ac_arg
14911 echo "$as_me: failed program was
:" >&5
14912 sed 's/^/| /' conftest.$ac_ext >&5
14917 rm -f core conftest.err conftest.$ac_objext
14918 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14920 rm -f conftest.$ac_ext
14925 case "x
$ac_cv_prog_cc_c89" in
14927 { echo "$as_me:$LINENO: result
: none needed
" >&5
14928 echo "${ECHO_T}none needed
" >&6; } ;;
14930 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14931 echo "${ECHO_T}unsupported
" >&6; } ;;
14933 CC="$CC $ac_cv_prog_cc_c89"
14934 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14935 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14940 ac_cpp='$CPP $CPPFLAGS'
14941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14949 ac_cpp='$CPP $CPPFLAGS'
14950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14954 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14955 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14956 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14957 echo $ECHO_N "(cached
) $ECHO_C" >&6
14959 cat >conftest.$ac_ext <<_ACEOF
14962 cat confdefs.h >>conftest.$ac_ext
14963 cat >>conftest.$ac_ext <<_ACEOF
14964 /* end confdefs.h. */
14970 #ifndef __INTEL_COMPILER
14978 rm -f conftest.$ac_objext
14979 if { (ac_try="$ac_compile"
14980 case "(($ac_try" in
14981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14982 *) ac_try_echo=$ac_try;;
14984 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14985 (eval "$ac_compile") 2>conftest.er1
14987 grep -v '^ *+' conftest.er1 >conftest.err
14989 cat conftest.err >&5
14990 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14991 (exit $ac_status); } && {
14992 test -z "$ac_c_werror_flag" ||
14993 test ! -s conftest.err
14994 } && test -s conftest.$ac_objext; then
14995 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14997 echo "$as_me: failed program was
:" >&5
14998 sed 's/^/| /' conftest.$ac_ext >&5
15000 bakefile_cv_c_compiler___INTEL_COMPILER=no
15004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15008 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15009 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15010 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15016 ac_cpp='$CPP $CPPFLAGS'
15017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15024 if test "$INTELCC" = "yes"; then
15028 ac_cpp='$CPP $CPPFLAGS'
15029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15033 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15034 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15035 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15036 echo $ECHO_N "(cached
) $ECHO_C" >&6
15038 cat >conftest.$ac_ext <<_ACEOF
15041 cat confdefs.h >>conftest.$ac_ext
15042 cat >>conftest.$ac_ext <<_ACEOF
15043 /* end confdefs.h. */
15049 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15057 rm -f conftest.$ac_objext
15058 if { (ac_try="$ac_compile"
15059 case "(($ac_try" in
15060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15061 *) ac_try_echo=$ac_try;;
15063 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15064 (eval "$ac_compile") 2>conftest.er1
15066 grep -v '^ *+' conftest.er1 >conftest.err
15068 cat conftest.err >&5
15069 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15070 (exit $ac_status); } && {
15071 test -z "$ac_c_werror_flag" ||
15072 test ! -s conftest.err
15073 } && test -s conftest.$ac_objext; then
15074 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15076 echo "$as_me: failed program was
:" >&5
15077 sed 's/^/| /' conftest.$ac_ext >&5
15079 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15087 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15088 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15089 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15095 ac_cpp='$CPP $CPPFLAGS'
15096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15105 ac_cpp='$CPP $CPPFLAGS'
15106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15110 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15111 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15112 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15113 echo $ECHO_N "(cached
) $ECHO_C" >&6
15115 cat >conftest.$ac_ext <<_ACEOF
15118 cat confdefs.h >>conftest.$ac_ext
15119 cat >>conftest.$ac_ext <<_ACEOF
15120 /* end confdefs.h. */
15126 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15134 rm -f conftest.$ac_objext
15135 if { (ac_try="$ac_compile"
15136 case "(($ac_try" in
15137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15138 *) ac_try_echo=$ac_try;;
15140 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15141 (eval "$ac_compile") 2>conftest.er1
15143 grep -v '^ *+' conftest.er1 >conftest.err
15145 cat conftest.err >&5
15146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15147 (exit $ac_status); } && {
15148 test -z "$ac_c_werror_flag" ||
15149 test ! -s conftest.err
15150 } && test -s conftest.$ac_objext; then
15151 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15153 echo "$as_me: failed program was
:" >&5
15154 sed 's/^/| /' conftest.$ac_ext >&5
15156 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15164 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15165 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15166 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15172 ac_cpp='$CPP $CPPFLAGS'
15173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15181 if test "x
$GCC" != "xyes
"; then
15182 if test "xCC
" = "xC
"; then
15183 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15184 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15185 if test "${bakefile_cv_c_exto+set}" = set; then
15186 echo $ECHO_N "(cached
) $ECHO_C" >&6
15188 cat >conftest.$ac_ext <<_ACEOF
15191 cat confdefs.h >>conftest.$ac_ext
15192 cat >>conftest.$ac_ext <<_ACEOF
15193 /* end confdefs.h. */
15203 rm -f conftest.$ac_objext conftest.$ac_ext.o
15204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15205 (eval $ac_compile) 2>&5
15207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15208 (exit $ac_status); }; then
15209 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15211 conftest.$ac_ext.o)
15212 bakefile_cv_c_exto="-ext o
"
15219 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15220 See \
`config.log' for more details." >&5
15221 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15222 See \`config.log
' for more details." >&2;}
15223 { (exit 1); exit 1; }; }
15227 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15230 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15231 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15232 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15233 if test "c" = "c"; then
15234 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15236 if test "c" = "cxx"; then
15237 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15241 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15242 unset ac_cv_prog_cc_g
15243 ac_test_CFLAGS=${CFLAGS+set}
15244 ac_save_CFLAGS=$CFLAGS
15245 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15246 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15247 if test "${ac_cv_prog_cc_g+set}" = set; then
15248 echo $ECHO_N "(cached) $ECHO_C" >&6
15250 ac_save_c_werror_flag=$ac_c_werror_flag
15251 ac_c_werror_flag=yes
15254 cat >conftest.$ac_ext <<_ACEOF
15257 cat confdefs.h >>conftest.$ac_ext
15258 cat >>conftest.$ac_ext <<_ACEOF
15259 /* end confdefs.h. */
15269 rm -f conftest.$ac_objext
15270 if { (ac_try="$ac_compile"
15271 case "(($ac_try" in
15272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15273 *) ac_try_echo=$ac_try;;
15275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15276 (eval "$ac_compile") 2>conftest.er1
15278 grep -v '^
*+' conftest.er1 >conftest.err
15280 cat conftest.err >&5
15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 (exit $ac_status); } && {
15283 test -z "$ac_c_werror_flag" ||
15284 test ! -s conftest.err
15285 } && test -s conftest.$ac_objext; then
15286 ac_cv_prog_cc_g=yes
15288 echo "$as_me: failed program was:" >&5
15289 sed 's
/^
/| /' conftest.$ac_ext >&5
15292 cat >conftest.$ac_ext <<_ACEOF
15295 cat confdefs.h >>conftest.$ac_ext
15296 cat >>conftest.$ac_ext <<_ACEOF
15297 /* end confdefs.h. */
15307 rm -f conftest.$ac_objext
15308 if { (ac_try="$ac_compile"
15309 case "(($ac_try" in
15310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15311 *) ac_try_echo=$ac_try;;
15313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15314 (eval "$ac_compile") 2>conftest.er1
15316 grep -v '^
*+' conftest.er1 >conftest.err
15318 cat conftest.err >&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); } && {
15321 test -z "$ac_c_werror_flag" ||
15322 test ! -s conftest.err
15323 } && test -s conftest.$ac_objext; then
15326 echo "$as_me: failed program was:" >&5
15327 sed 's
/^
/| /' conftest.$ac_ext >&5
15329 ac_c_werror_flag=$ac_save_c_werror_flag
15331 cat >conftest.$ac_ext <<_ACEOF
15334 cat confdefs.h >>conftest.$ac_ext
15335 cat >>conftest.$ac_ext <<_ACEOF
15336 /* end confdefs.h. */
15346 rm -f conftest.$ac_objext
15347 if { (ac_try="$ac_compile"
15348 case "(($ac_try" in
15349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15350 *) ac_try_echo=$ac_try;;
15352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15353 (eval "$ac_compile") 2>conftest.er1
15355 grep -v '^
*+' conftest.er1 >conftest.err
15357 cat conftest.err >&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); } && {
15360 test -z "$ac_c_werror_flag" ||
15361 test ! -s conftest.err
15362 } && test -s conftest.$ac_objext; then
15363 ac_cv_prog_cc_g=yes
15365 echo "$as_me: failed program was:" >&5
15366 sed 's
/^
/| /' conftest.$ac_ext >&5
15371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15378 ac_c_werror_flag=$ac_save_c_werror_flag
15380 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15381 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15382 if test "$ac_test_CFLAGS" = set; then
15383 CFLAGS=$ac_save_CFLAGS
15384 elif test $ac_cv_prog_cc_g = yes; then
15385 if test "$GCC" = yes; then
15391 if test "$GCC" = yes; then
15405 ac_cpp='$CPP $CPPFLAGS'
15406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15407 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15410 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15411 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15412 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15413 echo $ECHO_N "(cached) $ECHO_C" >&6
15415 cat >conftest.$ac_ext <<_ACEOF
15418 cat confdefs.h >>conftest.$ac_ext
15419 cat >>conftest.$ac_ext <<_ACEOF
15420 /* end confdefs.h. */
15434 rm -f conftest.$ac_objext
15435 if { (ac_try="$ac_compile"
15436 case "(($ac_try" in
15437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15438 *) ac_try_echo=$ac_try;;
15440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15441 (eval "$ac_compile") 2>conftest.er1
15443 grep -v '^
*+' conftest.er1 >conftest.err
15445 cat conftest.err >&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); } && {
15448 test -z "$ac_c_werror_flag" ||
15449 test ! -s conftest.err
15450 } && test -s conftest.$ac_objext; then
15451 bakefile_cv_c_compiler___xlC__=yes
15453 echo "$as_me: failed program was:" >&5
15454 sed 's
/^
/| /' conftest.$ac_ext >&5
15456 bakefile_cv_c_compiler___xlC__=no
15460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15464 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15465 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15466 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15472 ac_cpp='$CPP $CPPFLAGS'
15473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15474 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15485 ac_cpp='$CPP $CPPFLAGS'
15486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15487 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15490 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15491 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15492 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15493 echo $ECHO_N "(cached) $ECHO_C" >&6
15495 cat >conftest.$ac_ext <<_ACEOF
15498 cat confdefs.h >>conftest.$ac_ext
15499 cat >>conftest.$ac_ext <<_ACEOF
15500 /* end confdefs.h. */
15514 rm -f conftest.$ac_objext
15515 if { (ac_try="$ac_compile"
15516 case "(($ac_try" in
15517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15518 *) ac_try_echo=$ac_try;;
15520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15521 (eval "$ac_compile") 2>conftest.er1
15523 grep -v '^
*+' conftest.er1 >conftest.err
15525 cat conftest.err >&5
15526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15527 (exit $ac_status); } && {
15528 test -z "$ac_c_werror_flag" ||
15529 test ! -s conftest.err
15530 } && test -s conftest.$ac_objext; then
15531 bakefile_cv_c_compiler___MWERKS__=yes
15533 echo "$as_me: failed program was:" >&5
15534 sed 's
/^
/| /' conftest.$ac_ext >&5
15536 bakefile_cv_c_compiler___MWERKS__=no
15540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15544 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15545 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15546 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15552 ac_cpp='$CPP $CPPFLAGS'
15553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15554 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15559 if test "$MWCC" != "yes"; then
15563 ac_cpp='$CPP $CPPFLAGS'
15564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15565 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15568 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15569 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15570 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15571 echo $ECHO_N "(cached) $ECHO_C" >&6
15573 cat >conftest.$ac_ext <<_ACEOF
15576 cat confdefs.h >>conftest.$ac_ext
15577 cat >>conftest.$ac_ext <<_ACEOF
15578 /* end confdefs.h. */
15592 rm -f conftest.$ac_objext
15593 if { (ac_try="$ac_compile"
15594 case "(($ac_try" in
15595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15596 *) ac_try_echo=$ac_try;;
15598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15599 (eval "$ac_compile") 2>conftest.er1
15601 grep -v '^
*+' conftest.er1 >conftest.err
15603 cat conftest.err >&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); } && {
15606 test -z "$ac_c_werror_flag" ||
15607 test ! -s conftest.err
15608 } && test -s conftest.$ac_objext; then
15609 bakefile_cv_c_compiler___xlC__=yes
15611 echo "$as_me: failed program was:" >&5
15612 sed 's
/^
/| /' conftest.$ac_ext >&5
15614 bakefile_cv_c_compiler___xlC__=no
15618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15622 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15623 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15624 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15630 ac_cpp='$CPP $CPPFLAGS'
15631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15632 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15644 ac_cpp='$CPP $CPPFLAGS'
15645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15646 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15649 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15650 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15651 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15652 echo $ECHO_N "(cached) $ECHO_C" >&6
15654 cat >conftest.$ac_ext <<_ACEOF
15657 cat confdefs.h >>conftest.$ac_ext
15658 cat >>conftest.$ac_ext <<_ACEOF
15659 /* end confdefs.h. */
15665 #ifndef _SGI_COMPILER_VERSION
15673 rm -f conftest.$ac_objext
15674 if { (ac_try="$ac_compile"
15675 case "(($ac_try" in
15676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15677 *) ac_try_echo=$ac_try;;
15679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15680 (eval "$ac_compile") 2>conftest.er1
15682 grep -v '^
*+' conftest.er1 >conftest.err
15684 cat conftest.err >&5
15685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15686 (exit $ac_status); } && {
15687 test -z "$ac_c_werror_flag" ||
15688 test ! -s conftest.err
15689 } && test -s conftest.$ac_objext; then
15690 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15692 echo "$as_me: failed program was:" >&5
15693 sed 's
/^
/| /' conftest.$ac_ext >&5
15695 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15703 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15704 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15705 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15711 ac_cpp='$CPP $CPPFLAGS'
15712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15713 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15721 if test "$INTELCC" != "yes"; then
15725 ac_cpp='$CPP $CPPFLAGS'
15726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15727 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15730 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15731 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15732 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15733 echo $ECHO_N "(cached) $ECHO_C" >&6
15735 cat >conftest.$ac_ext <<_ACEOF
15738 cat confdefs.h >>conftest.$ac_ext
15739 cat >>conftest.$ac_ext <<_ACEOF
15740 /* end confdefs.h. */
15754 rm -f conftest.$ac_objext
15755 if { (ac_try="$ac_compile"
15756 case "(($ac_try" in
15757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15758 *) ac_try_echo=$ac_try;;
15760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15761 (eval "$ac_compile") 2>conftest.er1
15763 grep -v '^
*+' conftest.er1 >conftest.err
15765 cat conftest.err >&5
15766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15767 (exit $ac_status); } && {
15768 test -z "$ac_c_werror_flag" ||
15769 test ! -s conftest.err
15770 } && test -s conftest.$ac_objext; then
15771 bakefile_cv_c_compiler___SUNPRO_C=yes
15773 echo "$as_me: failed program was:" >&5
15774 sed 's
/^
/| /' conftest.$ac_ext >&5
15776 bakefile_cv_c_compiler___SUNPRO_C=no
15780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15784 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15785 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15786 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15792 ac_cpp='$CPP $CPPFLAGS'
15793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15794 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15806 ac_cpp='$CPP $CPPFLAGS'
15807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15808 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15811 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15812 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15813 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15814 echo $ECHO_N "(cached) $ECHO_C" >&6
15816 cat >conftest.$ac_ext <<_ACEOF
15819 cat confdefs.h >>conftest.$ac_ext
15820 cat >>conftest.$ac_ext <<_ACEOF
15821 /* end confdefs.h. */
15835 rm -f conftest.$ac_objext
15836 if { (ac_try="$ac_compile"
15837 case "(($ac_try" in
15838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15839 *) ac_try_echo=$ac_try;;
15841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15842 (eval "$ac_compile") 2>conftest.er1
15844 grep -v '^
*+' conftest.er1 >conftest.err
15846 cat conftest.err >&5
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); } && {
15849 test -z "$ac_c_werror_flag" ||
15850 test ! -s conftest.err
15851 } && test -s conftest.$ac_objext; then
15852 bakefile_cv_c_compiler___HP_cc=yes
15854 echo "$as_me: failed program was:" >&5
15855 sed 's
/^
/| /' conftest.$ac_ext >&5
15857 bakefile_cv_c_compiler___HP_cc=no
15861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15865 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15866 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15867 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15873 ac_cpp='$CPP $CPPFLAGS'
15874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15875 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15886 ac_cpp='$CPP $CPPFLAGS'
15887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15888 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15891 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15892 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15893 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15894 echo $ECHO_N "(cached) $ECHO_C" >&6
15896 cat >conftest.$ac_ext <<_ACEOF
15899 cat confdefs.h >>conftest.$ac_ext
15900 cat >>conftest.$ac_ext <<_ACEOF
15901 /* end confdefs.h. */
15915 rm -f conftest.$ac_objext
15916 if { (ac_try="$ac_compile"
15917 case "(($ac_try" in
15918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15919 *) ac_try_echo=$ac_try;;
15921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15922 (eval "$ac_compile") 2>conftest.er1
15924 grep -v '^
*+' conftest.er1 >conftest.err
15926 cat conftest.err >&5
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); } && {
15929 test -z "$ac_c_werror_flag" ||
15930 test ! -s conftest.err
15931 } && test -s conftest.$ac_objext; then
15932 bakefile_cv_c_compiler___DECC=yes
15934 echo "$as_me: failed program was:" >&5
15935 sed 's
/^
/| /' conftest.$ac_ext >&5
15937 bakefile_cv_c_compiler___DECC=no
15941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15945 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15946 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15947 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15953 ac_cpp='$CPP $CPPFLAGS'
15954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15955 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15966 ac_cpp='$CPP $CPPFLAGS'
15967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15968 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15971 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15972 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15973 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15974 echo $ECHO_N "(cached) $ECHO_C" >&6
15976 cat >conftest.$ac_ext <<_ACEOF
15979 cat confdefs.h >>conftest.$ac_ext
15980 cat >>conftest.$ac_ext <<_ACEOF
15981 /* end confdefs.h. */
15995 rm -f conftest.$ac_objext
15996 if { (ac_try="$ac_compile"
15997 case "(($ac_try" in
15998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15999 *) ac_try_echo=$ac_try;;
16001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16002 (eval "$ac_compile") 2>conftest.er1
16004 grep -v '^
*+' conftest.er1 >conftest.err
16006 cat conftest.err >&5
16007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16008 (exit $ac_status); } && {
16009 test -z "$ac_c_werror_flag" ||
16010 test ! -s conftest.err
16011 } && test -s conftest.$ac_objext; then
16012 bakefile_cv_c_compiler___SUNPRO_C=yes
16014 echo "$as_me: failed program was:" >&5
16015 sed 's
/^
/| /' conftest.$ac_ext >&5
16017 bakefile_cv_c_compiler___SUNPRO_C=no
16021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16025 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16026 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16027 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16033 ac_cpp='$CPP $CPPFLAGS'
16034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16035 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16047 ac_cpp='$CPP $CPPFLAGS'
16048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16049 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16051 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16052 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16053 # On Suns, sometimes $CPP names a directory.
16054 if test -n "$CPP" && test -d "$CPP"; then
16057 if test -z "$CPP"; then
16058 if test "${ac_cv_prog_CPP+set}" = set; then
16059 echo $ECHO_N "(cached) $ECHO_C" >&6
16061 # Double quotes because CPP needs to be expanded
16062 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16064 ac_preproc_ok=false
16065 for ac_c_preproc_warn_flag in '' yes
16067 # Use a header file that comes with gcc, so configuring glibc
16068 # with a fresh cross-compiler works.
16069 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16070 # <limits.h> exists even on freestanding compilers.
16071 # On the NeXT, cc -E runs the code through the compiler's parser
,
16072 # not just through cpp. "Syntax error" is here to catch this case.
16073 cat >conftest.
$ac_ext <<_ACEOF
16076 cat confdefs.h
>>conftest.
$ac_ext
16077 cat >>conftest.
$ac_ext <<_ACEOF
16078 /* end confdefs.h. */
16080 # include <limits.h>
16082 # include <assert.h>
16086 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16087 case "(($ac_try" in
16088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16089 *) ac_try_echo=$ac_try;;
16091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16092 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16094 grep -v '^ *+' conftest.er1 >conftest.err
16096 cat conftest.err >&5
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); } >/dev/null && {
16099 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16100 test ! -s conftest.err
16104 echo "$as_me: failed program was:" >&5
16105 sed 's/^/| /' conftest.$ac_ext >&5
16107 # Broken: fails on valid input.
16111 rm -f conftest.err conftest.$ac_ext
16113 # OK, works on sane cases. Now check whether nonexistent headers
16114 # can be detected and how.
16115 cat >conftest.$ac_ext <<_ACEOF
16118 cat confdefs.h >>conftest.$ac_ext
16119 cat >>conftest.$ac_ext <<_ACEOF
16120 /* end confdefs.h. */
16121 #include <ac_nonexistent.h>
16123 if { (ac_try="$ac_cpp conftest.$ac_ext"
16124 case "(($ac_try" in
16125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16126 *) ac_try_echo
=$ac_try;;
16128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16129 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16131 grep -v '^ *+' conftest.er1
>conftest.err
16133 cat conftest.err
>&5
16134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16135 (exit $ac_status); } >/dev
/null
&& {
16136 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16137 test ! -s conftest.err
16139 # Broken: success on invalid input.
16142 echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.
$ac_ext >&5
16145 # Passes both tests.
16150 rm -f conftest.err conftest.
$ac_ext
16153 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16154 rm -f conftest.err conftest.
$ac_ext
16155 if $ac_preproc_ok; then
16160 ac_cv_prog_CPP
=$CPP
16163 CPP
=$ac_cv_prog_CPP
16165 ac_cv_prog_CPP
=$CPP
16167 { echo "$as_me:$LINENO: result: $CPP" >&5
16168 echo "${ECHO_T}$CPP" >&6; }
16169 ac_preproc_ok
=false
16170 for ac_c_preproc_warn_flag
in '' yes
16172 # Use a header file that comes with gcc, so configuring glibc
16173 # with a fresh cross-compiler works.
16174 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16175 # <limits.h> exists even on freestanding compilers.
16176 # On the NeXT, cc -E runs the code through the compiler's parser,
16177 # not just through cpp. "Syntax error" is here to catch this case.
16178 cat >conftest.
$ac_ext <<_ACEOF
16181 cat confdefs.h
>>conftest.
$ac_ext
16182 cat >>conftest.
$ac_ext <<_ACEOF
16183 /* end confdefs.h. */
16185 # include <limits.h>
16187 # include <assert.h>
16191 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16192 case "(($ac_try" in
16193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16194 *) ac_try_echo=$ac_try;;
16196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16197 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16199 grep -v '^ *+' conftest.er1 >conftest.err
16201 cat conftest.err >&5
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); } >/dev/null && {
16204 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16205 test ! -s conftest.err
16209 echo "$as_me: failed program was:" >&5
16210 sed 's/^/| /' conftest.$ac_ext >&5
16212 # Broken: fails on valid input.
16216 rm -f conftest.err conftest.$ac_ext
16218 # OK, works on sane cases. Now check whether nonexistent headers
16219 # can be detected and how.
16220 cat >conftest.$ac_ext <<_ACEOF
16223 cat confdefs.h >>conftest.$ac_ext
16224 cat >>conftest.$ac_ext <<_ACEOF
16225 /* end confdefs.h. */
16226 #include <ac_nonexistent.h>
16228 if { (ac_try="$ac_cpp conftest.$ac_ext"
16229 case "(($ac_try" in
16230 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16231 *) ac_try_echo
=$ac_try;;
16233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16234 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16236 grep -v '^ *+' conftest.er1
>conftest.err
16238 cat conftest.err
>&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); } >/dev
/null
&& {
16241 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16242 test ! -s conftest.err
16244 # Broken: success on invalid input.
16247 echo "$as_me: failed program was:" >&5
16248 sed 's/^/| /' conftest.
$ac_ext >&5
16250 # Passes both tests.
16255 rm -f conftest.err conftest.
$ac_ext
16258 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16259 rm -f conftest.err conftest.
$ac_ext
16260 if $ac_preproc_ok; then
16263 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16264 See \`config.log' for more details." >&5
16265 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16266 See \`config.log' for more details." >&2;}
16267 { (exit 1); exit 1; }; }
16271 ac_cpp
='$CPP $CPPFLAGS'
16272 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16273 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16274 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16277 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16278 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16279 if test "${ac_cv_path_GREP+set}" = set; then
16280 echo $ECHO_N "(cached) $ECHO_C" >&6
16282 # Extract the first word of "grep ggrep" to use in msg output
16283 if test -z "$GREP"; then
16284 set dummy
grep ggrep
; ac_prog_name
=$2
16285 if test "${ac_cv_path_GREP+set}" = set; then
16286 echo $ECHO_N "(cached) $ECHO_C" >&6
16288 ac_path_GREP_found
=false
16289 # Loop through the user's path and test for each of PROGNAME-LIST
16290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16291 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16294 test -z "$as_dir" && as_dir
=.
16295 for ac_prog
in grep ggrep
; do
16296 for ac_exec_ext
in '' $ac_executable_extensions; do
16297 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16298 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16299 # Check for GNU ac_path_GREP and select it if it is found.
16300 # Check for GNU $ac_path_GREP
16301 case `"$ac_path_GREP" --version 2>&1` in
16303 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16306 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16309 cat "conftest.in" "conftest.in" >"conftest.tmp"
16310 mv "conftest.tmp" "conftest.in"
16311 cp "conftest.in" "conftest.nl"
16312 echo 'GREP' >> "conftest.nl"
16313 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16314 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16315 ac_count
=`expr $ac_count + 1`
16316 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16317 # Best one so far, save it but keep looking for a better one
16318 ac_cv_path_GREP
="$ac_path_GREP"
16319 ac_path_GREP_max
=$ac_count
16321 # 10*(2^10) chars as input seems more than enough
16322 test $ac_count -gt 10 && break
16324 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16328 $ac_path_GREP_found && break 3
16338 GREP
="$ac_cv_path_GREP"
16339 if test -z "$GREP"; then
16340 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16341 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16342 { (exit 1); exit 1; }; }
16346 ac_cv_path_GREP
=$GREP
16351 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16352 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16353 GREP
="$ac_cv_path_GREP"
16356 { echo "$as_me:$LINENO: checking for egrep" >&5
16357 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16358 if test "${ac_cv_path_EGREP+set}" = set; then
16359 echo $ECHO_N "(cached) $ECHO_C" >&6
16361 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16362 then ac_cv_path_EGREP
="$GREP -E"
16364 # Extract the first word of "egrep" to use in msg output
16365 if test -z "$EGREP"; then
16366 set dummy
egrep; ac_prog_name
=$2
16367 if test "${ac_cv_path_EGREP+set}" = set; then
16368 echo $ECHO_N "(cached) $ECHO_C" >&6
16370 ac_path_EGREP_found
=false
16371 # Loop through the user's path and test for each of PROGNAME-LIST
16372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16373 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16376 test -z "$as_dir" && as_dir
=.
16377 for ac_prog
in egrep; do
16378 for ac_exec_ext
in '' $ac_executable_extensions; do
16379 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16380 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16381 # Check for GNU ac_path_EGREP and select it if it is found.
16382 # Check for GNU $ac_path_EGREP
16383 case `"$ac_path_EGREP" --version 2>&1` in
16385 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16388 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16391 cat "conftest.in" "conftest.in" >"conftest.tmp"
16392 mv "conftest.tmp" "conftest.in"
16393 cp "conftest.in" "conftest.nl"
16394 echo 'EGREP' >> "conftest.nl"
16395 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16396 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16397 ac_count
=`expr $ac_count + 1`
16398 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16399 # Best one so far, save it but keep looking for a better one
16400 ac_cv_path_EGREP
="$ac_path_EGREP"
16401 ac_path_EGREP_max
=$ac_count
16403 # 10*(2^10) chars as input seems more than enough
16404 test $ac_count -gt 10 && break
16406 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16410 $ac_path_EGREP_found && break 3
16420 EGREP
="$ac_cv_path_EGREP"
16421 if test -z "$EGREP"; then
16422 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16423 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16424 { (exit 1); exit 1; }; }
16428 ac_cv_path_EGREP
=$EGREP
16434 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16435 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16436 EGREP
="$ac_cv_path_EGREP"
16439 if test $ac_cv_c_compiler_gnu = yes; then
16440 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16441 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16442 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16443 echo $ECHO_N "(cached) $ECHO_C" >&6
16445 ac_pattern
="Autoconf.*'x'"
16446 cat >conftest.
$ac_ext <<_ACEOF
16449 cat confdefs.h
>>conftest.
$ac_ext
16450 cat >>conftest.
$ac_ext <<_ACEOF
16451 /* end confdefs.h. */
16455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16456 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16457 ac_cv_prog_gcc_traditional
=yes
16459 ac_cv_prog_gcc_traditional
=no
16464 if test $ac_cv_prog_gcc_traditional = no
; then
16465 cat >conftest.
$ac_ext <<_ACEOF
16468 cat confdefs.h
>>conftest.
$ac_ext
16469 cat >>conftest.
$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16471 #include <termio.h>
16474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16475 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16476 ac_cv_prog_gcc_traditional
=yes
16482 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16483 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16484 if test $ac_cv_prog_gcc_traditional = yes; then
16485 CC
="$CC -traditional"
16490 CXXFLAGS
=${CXXFLAGS:=}
16495 ac_cpp
='$CXXCPP $CPPFLAGS'
16496 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16497 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16498 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16499 if test -z "$CXX"; then
16500 if test -n "$CCC"; then
16503 if test -n "$ac_tool_prefix"; then
16504 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16506 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16507 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16510 if test "${ac_cv_prog_CXX+set}" = set; then
16511 echo $ECHO_N "(cached) $ECHO_C" >&6
16513 if test -n "$CXX"; then
16514 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16517 for as_dir
in $PATH
16520 test -z "$as_dir" && as_dir
=.
16521 for ac_exec_ext
in '' $ac_executable_extensions; do
16522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16523 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16533 CXX
=$ac_cv_prog_CXX
16534 if test -n "$CXX"; then
16535 { echo "$as_me:$LINENO: result: $CXX" >&5
16536 echo "${ECHO_T}$CXX" >&6; }
16538 { echo "$as_me:$LINENO: result: no" >&5
16539 echo "${ECHO_T}no" >&6; }
16543 test -n "$CXX" && break
16546 if test -z "$CXX"; then
16548 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16550 # Extract the first word of "$ac_prog", so it can be a program name with args.
16551 set dummy
$ac_prog; ac_word
=$2
16552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16554 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16555 echo $ECHO_N "(cached) $ECHO_C" >&6
16557 if test -n "$ac_ct_CXX"; then
16558 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16561 for as_dir
in $PATH
16564 test -z "$as_dir" && as_dir
=.
16565 for ac_exec_ext
in '' $ac_executable_extensions; do
16566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16567 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16577 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16578 if test -n "$ac_ct_CXX"; then
16579 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16580 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16582 { echo "$as_me:$LINENO: result: no" >&5
16583 echo "${ECHO_T}no" >&6; }
16587 test -n "$ac_ct_CXX" && break
16590 if test "x$ac_ct_CXX" = x
; then
16593 case $cross_compiling:$ac_tool_warned in
16595 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16596 whose name does not start with the host triplet. If you think this
16597 configuration is useful to you, please write to autoconf@gnu.org." >&5
16598 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16599 whose name does not start with the host triplet. If you think this
16600 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16601 ac_tool_warned
=yes ;;
16609 # Provide some information about the compiler.
16610 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16611 ac_compiler
=`set X $ac_compile; echo $2`
16612 { (ac_try
="$ac_compiler --version >&5"
16613 case "(($ac_try" in
16614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16615 *) ac_try_echo=$ac_try;;
16617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16618 (eval "$ac_compiler --version >&5") 2>&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); }
16622 { (ac_try="$ac_compiler -v >&5"
16623 case "(($ac_try" in
16624 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16625 *) ac_try_echo
=$ac_try;;
16627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16628 (eval "$ac_compiler -v >&5") 2>&5
16630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631 (exit $ac_status); }
16632 { (ac_try
="$ac_compiler -V >&5"
16633 case "(($ac_try" in
16634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16635 *) ac_try_echo=$ac_try;;
16637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16638 (eval "$ac_compiler -V >&5") 2>&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); }
16643 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16644 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16645 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16646 echo $ECHO_N "(cached) $ECHO_C" >&6
16648 cat >conftest.$ac_ext <<_ACEOF
16651 cat confdefs.h >>conftest.$ac_ext
16652 cat >>conftest.$ac_ext <<_ACEOF
16653 /* end confdefs.h. */
16666 rm -f conftest.$ac_objext
16667 if { (ac_try="$ac_compile"
16668 case "(($ac_try" in
16669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16670 *) ac_try_echo
=$ac_try;;
16672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16673 (eval "$ac_compile") 2>conftest.er1
16675 grep -v '^ *+' conftest.er1
>conftest.err
16677 cat conftest.err
>&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); } && {
16680 test -z "$ac_cxx_werror_flag" ||
16681 test ! -s conftest.err
16682 } && test -s conftest.
$ac_objext; then
16683 ac_compiler_gnu
=yes
16685 echo "$as_me: failed program was:" >&5
16686 sed 's/^/| /' conftest.
$ac_ext >&5
16691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16692 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16695 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16696 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16697 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16698 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16699 ac_save_CXXFLAGS
=$CXXFLAGS
16700 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16701 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16702 if test "${ac_cv_prog_cxx_g+set}" = set; then
16703 echo $ECHO_N "(cached) $ECHO_C" >&6
16705 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16706 ac_cxx_werror_flag
=yes
16707 ac_cv_prog_cxx_g
=no
16709 cat >conftest.
$ac_ext <<_ACEOF
16712 cat confdefs.h
>>conftest.
$ac_ext
16713 cat >>conftest.
$ac_ext <<_ACEOF
16714 /* end confdefs.h. */
16724 rm -f conftest.
$ac_objext
16725 if { (ac_try
="$ac_compile"
16726 case "(($ac_try" in
16727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16728 *) ac_try_echo=$ac_try;;
16730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16731 (eval "$ac_compile") 2>conftest.er1
16733 grep -v '^ *+' conftest.er1 >conftest.err
16735 cat conftest.err >&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } && {
16738 test -z "$ac_cxx_werror_flag" ||
16739 test ! -s conftest.err
16740 } && test -s conftest.$ac_objext; then
16741 ac_cv_prog_cxx_g=yes
16743 echo "$as_me: failed program was:" >&5
16744 sed 's/^/| /' conftest.$ac_ext >&5
16747 cat >conftest.$ac_ext <<_ACEOF
16750 cat confdefs.h >>conftest.$ac_ext
16751 cat >>conftest.$ac_ext <<_ACEOF
16752 /* end confdefs.h. */
16762 rm -f conftest.$ac_objext
16763 if { (ac_try="$ac_compile"
16764 case "(($ac_try" in
16765 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16766 *) ac_try_echo
=$ac_try;;
16768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16769 (eval "$ac_compile") 2>conftest.er1
16771 grep -v '^ *+' conftest.er1
>conftest.err
16773 cat conftest.err
>&5
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); } && {
16776 test -z "$ac_cxx_werror_flag" ||
16777 test ! -s conftest.err
16778 } && test -s conftest.
$ac_objext; then
16781 echo "$as_me: failed program was:" >&5
16782 sed 's/^/| /' conftest.
$ac_ext >&5
16784 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16786 cat >conftest.
$ac_ext <<_ACEOF
16789 cat confdefs.h
>>conftest.
$ac_ext
16790 cat >>conftest.
$ac_ext <<_ACEOF
16791 /* end confdefs.h. */
16801 rm -f conftest.
$ac_objext
16802 if { (ac_try
="$ac_compile"
16803 case "(($ac_try" in
16804 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16805 *) ac_try_echo=$ac_try;;
16807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16808 (eval "$ac_compile") 2>conftest.er1
16810 grep -v '^ *+' conftest.er1 >conftest.err
16812 cat conftest.err >&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); } && {
16815 test -z "$ac_cxx_werror_flag" ||
16816 test ! -s conftest.err
16817 } && test -s conftest.$ac_objext; then
16818 ac_cv_prog_cxx_g=yes
16820 echo "$as_me: failed program was:" >&5
16821 sed 's/^/| /' conftest.$ac_ext >&5
16826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16833 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16835 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16836 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16837 if test "$ac_test_CXXFLAGS" = set; then
16838 CXXFLAGS=$ac_save_CXXFLAGS
16839 elif test $ac_cv_prog_cxx_g = yes; then
16840 if test "$GXX" = yes; then
16846 if test "$GXX" = yes; then
16853 ac_cpp='$CPP $CPPFLAGS'
16854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16862 ac_cpp='$CXXCPP $CPPFLAGS'
16863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16867 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16868 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16869 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16870 echo $ECHO_N "(cached) $ECHO_C" >&6
16872 cat >conftest.$ac_ext <<_ACEOF
16875 cat confdefs.h >>conftest.$ac_ext
16876 cat >>conftest.$ac_ext <<_ACEOF
16877 /* end confdefs.h. */
16883 #ifndef __INTEL_COMPILER
16891 rm -f conftest.$ac_objext
16892 if { (ac_try="$ac_compile"
16893 case "(($ac_try" in
16894 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16895 *) ac_try_echo
=$ac_try;;
16897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16898 (eval "$ac_compile") 2>conftest.er1
16900 grep -v '^ *+' conftest.er1
>conftest.err
16902 cat conftest.err
>&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); } && {
16905 test -z "$ac_cxx_werror_flag" ||
16906 test ! -s conftest.err
16907 } && test -s conftest.
$ac_objext; then
16908 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16910 echo "$as_me: failed program was:" >&5
16911 sed 's/^/| /' conftest.
$ac_ext >&5
16913 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16921 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16922 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16923 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16929 ac_cpp
='$CPP $CPPFLAGS'
16930 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16931 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16932 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16937 if test "$INTELCXX" = "yes"; then
16941 ac_cpp
='$CXXCPP $CPPFLAGS'
16942 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16943 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16944 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16946 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16947 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16948 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16949 echo $ECHO_N "(cached) $ECHO_C" >&6
16951 cat >conftest.
$ac_ext <<_ACEOF
16954 cat confdefs.h
>>conftest.
$ac_ext
16955 cat >>conftest.
$ac_ext <<_ACEOF
16956 /* end confdefs.h. */
16962 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16970 rm -f conftest.
$ac_objext
16971 if { (ac_try
="$ac_compile"
16972 case "(($ac_try" in
16973 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16974 *) ac_try_echo=$ac_try;;
16976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16977 (eval "$ac_compile") 2>conftest.er1
16979 grep -v '^ *+' conftest.er1 >conftest.err
16981 cat conftest.err >&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } && {
16984 test -z "$ac_cxx_werror_flag" ||
16985 test ! -s conftest.err
16986 } && test -s conftest.$ac_objext; then
16987 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.$ac_ext >&5
16992 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
16996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17000 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17001 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17002 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17008 ac_cpp='$CPP $CPPFLAGS'
17009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17018 ac_cpp='$CXXCPP $CPPFLAGS'
17019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17023 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17024 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17025 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17026 echo $ECHO_N "(cached) $ECHO_C" >&6
17028 cat >conftest.$ac_ext <<_ACEOF
17031 cat confdefs.h >>conftest.$ac_ext
17032 cat >>conftest.$ac_ext <<_ACEOF
17033 /* end confdefs.h. */
17039 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17047 rm -f conftest.$ac_objext
17048 if { (ac_try="$ac_compile"
17049 case "(($ac_try" in
17050 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17051 *) ac_try_echo
=$ac_try;;
17053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17054 (eval "$ac_compile") 2>conftest.er1
17056 grep -v '^ *+' conftest.er1
>conftest.err
17058 cat conftest.err
>&5
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); } && {
17061 test -z "$ac_cxx_werror_flag" ||
17062 test ! -s conftest.err
17063 } && test -s conftest.
$ac_objext; then
17064 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17066 echo "$as_me: failed program was:" >&5
17067 sed 's/^/| /' conftest.
$ac_ext >&5
17069 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17077 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17078 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17079 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17085 ac_cpp
='$CPP $CPPFLAGS'
17086 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17087 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17088 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17094 if test "x$GCXX" != "xyes"; then
17095 if test "xCXX" = "xC"; then
17096 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17097 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17098 if test "${bakefile_cv_c_exto+set}" = set; then
17099 echo $ECHO_N "(cached) $ECHO_C" >&6
17101 cat >conftest.
$ac_ext <<_ACEOF
17104 cat confdefs.h
>>conftest.
$ac_ext
17105 cat >>conftest.
$ac_ext <<_ACEOF
17106 /* end confdefs.h. */
17116 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17118 (eval $ac_compile) 2>&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); }; then
17122 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17124 conftest.
$ac_ext.o
)
17125 bakefile_cv_c_exto
="-ext o"
17132 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17133 See \`config.log' for more details." >&5
17134 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17135 See \`config.log' for more details." >&2;}
17136 { (exit 1); exit 1; }; }
17140 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17143 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17144 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17145 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17146 if test "c" = "c"; then
17147 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17149 if test "c" = "cxx"; then
17150 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17154 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17155 unset ac_cv_prog_cc_g
17156 ac_test_CFLAGS
=${CFLAGS+set}
17157 ac_save_CFLAGS
=$CFLAGS
17158 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17159 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17160 if test "${ac_cv_prog_cc_g+set}" = set; then
17161 echo $ECHO_N "(cached) $ECHO_C" >&6
17163 ac_save_c_werror_flag
=$ac_c_werror_flag
17164 ac_c_werror_flag
=yes
17167 cat >conftest.
$ac_ext <<_ACEOF
17170 cat confdefs.h
>>conftest.
$ac_ext
17171 cat >>conftest.
$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17182 rm -f conftest.
$ac_objext
17183 if { (ac_try
="$ac_compile"
17184 case "(($ac_try" in
17185 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17186 *) ac_try_echo=$ac_try;;
17188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17189 (eval "$ac_compile") 2>conftest.er1
17191 grep -v '^ *+' conftest.er1 >conftest.err
17193 cat conftest.err >&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } && {
17196 test -z "$ac_c_werror_flag" ||
17197 test ! -s conftest.err
17198 } && test -s conftest.$ac_objext; then
17199 ac_cv_prog_cc_g=yes
17201 echo "$as_me: failed program was:" >&5
17202 sed 's/^/| /' conftest.$ac_ext >&5
17205 cat >conftest.$ac_ext <<_ACEOF
17208 cat confdefs.h >>conftest.$ac_ext
17209 cat >>conftest.$ac_ext <<_ACEOF
17210 /* end confdefs.h. */
17220 rm -f conftest.$ac_objext
17221 if { (ac_try="$ac_compile"
17222 case "(($ac_try" in
17223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17224 *) ac_try_echo
=$ac_try;;
17226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17227 (eval "$ac_compile") 2>conftest.er1
17229 grep -v '^ *+' conftest.er1
>conftest.err
17231 cat conftest.err
>&5
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); } && {
17234 test -z "$ac_c_werror_flag" ||
17235 test ! -s conftest.err
17236 } && test -s conftest.
$ac_objext; then
17239 echo "$as_me: failed program was:" >&5
17240 sed 's/^/| /' conftest.
$ac_ext >&5
17242 ac_c_werror_flag
=$ac_save_c_werror_flag
17244 cat >conftest.
$ac_ext <<_ACEOF
17247 cat confdefs.h
>>conftest.
$ac_ext
17248 cat >>conftest.
$ac_ext <<_ACEOF
17249 /* end confdefs.h. */
17259 rm -f conftest.
$ac_objext
17260 if { (ac_try
="$ac_compile"
17261 case "(($ac_try" in
17262 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17263 *) ac_try_echo=$ac_try;;
17265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17266 (eval "$ac_compile") 2>conftest.er1
17268 grep -v '^ *+' conftest.er1 >conftest.err
17270 cat conftest.err >&5
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); } && {
17273 test -z "$ac_c_werror_flag" ||
17274 test ! -s conftest.err
17275 } && test -s conftest.$ac_objext; then
17276 ac_cv_prog_cc_g=yes
17278 echo "$as_me: failed program was:" >&5
17279 sed 's/^/| /' conftest.$ac_ext >&5
17284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17291 ac_c_werror_flag=$ac_save_c_werror_flag
17293 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17294 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17295 if test "$ac_test_CFLAGS" = set; then
17296 CFLAGS=$ac_save_CFLAGS
17297 elif test $ac_cv_prog_cc_g = yes; then
17298 if test "$GCC" = yes; then
17304 if test "$GCC" = yes; then
17318 ac_cpp='$CXXCPP $CPPFLAGS'
17319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17323 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17324 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17325 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17326 echo $ECHO_N "(cached) $ECHO_C" >&6
17328 cat >conftest.$ac_ext <<_ACEOF
17331 cat confdefs.h >>conftest.$ac_ext
17332 cat >>conftest.$ac_ext <<_ACEOF
17333 /* end confdefs.h. */
17347 rm -f conftest.$ac_objext
17348 if { (ac_try="$ac_compile"
17349 case "(($ac_try" in
17350 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17351 *) ac_try_echo
=$ac_try;;
17353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17354 (eval "$ac_compile") 2>conftest.er1
17356 grep -v '^ *+' conftest.er1
>conftest.err
17358 cat conftest.err
>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } && {
17361 test -z "$ac_cxx_werror_flag" ||
17362 test ! -s conftest.err
17363 } && test -s conftest.
$ac_objext; then
17364 bakefile_cv_cxx_compiler___xlC__
=yes
17366 echo "$as_me: failed program was:" >&5
17367 sed 's/^/| /' conftest.
$ac_ext >&5
17369 bakefile_cv_cxx_compiler___xlC__
=no
17373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17377 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17378 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17379 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17385 ac_cpp
='$CPP $CPPFLAGS'
17386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17398 ac_cpp
='$CXXCPP $CPPFLAGS'
17399 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17400 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17401 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17403 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17404 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17405 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17406 echo $ECHO_N "(cached) $ECHO_C" >&6
17408 cat >conftest.
$ac_ext <<_ACEOF
17411 cat confdefs.h
>>conftest.
$ac_ext
17412 cat >>conftest.
$ac_ext <<_ACEOF
17413 /* end confdefs.h. */
17427 rm -f conftest.
$ac_objext
17428 if { (ac_try
="$ac_compile"
17429 case "(($ac_try" in
17430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17431 *) ac_try_echo=$ac_try;;
17433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17434 (eval "$ac_compile") 2>conftest.er1
17436 grep -v '^ *+' conftest.er1 >conftest.err
17438 cat conftest.err >&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); } && {
17441 test -z "$ac_cxx_werror_flag" ||
17442 test ! -s conftest.err
17443 } && test -s conftest.$ac_objext; then
17444 bakefile_cv_cxx_compiler___MWERKS__=yes
17446 echo "$as_me: failed program was:" >&5
17447 sed 's/^/| /' conftest.$ac_ext >&5
17449 bakefile_cv_cxx_compiler___MWERKS__=no
17453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17457 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17458 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17459 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17465 ac_cpp='$CPP $CPPFLAGS'
17466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17472 if test "$MWCXX" != "yes"; then
17476 ac_cpp='$CXXCPP $CPPFLAGS'
17477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17481 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17482 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17483 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17484 echo $ECHO_N "(cached) $ECHO_C" >&6
17486 cat >conftest.$ac_ext <<_ACEOF
17489 cat confdefs.h >>conftest.$ac_ext
17490 cat >>conftest.$ac_ext <<_ACEOF
17491 /* end confdefs.h. */
17505 rm -f conftest.$ac_objext
17506 if { (ac_try="$ac_compile"
17507 case "(($ac_try" in
17508 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17509 *) ac_try_echo
=$ac_try;;
17511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17512 (eval "$ac_compile") 2>conftest.er1
17514 grep -v '^ *+' conftest.er1
>conftest.err
17516 cat conftest.err
>&5
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); } && {
17519 test -z "$ac_cxx_werror_flag" ||
17520 test ! -s conftest.err
17521 } && test -s conftest.
$ac_objext; then
17522 bakefile_cv_cxx_compiler___xlC__
=yes
17524 echo "$as_me: failed program was:" >&5
17525 sed 's/^/| /' conftest.
$ac_ext >&5
17527 bakefile_cv_cxx_compiler___xlC__
=no
17531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17535 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17536 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17537 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17543 ac_cpp
='$CPP $CPPFLAGS'
17544 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17545 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17546 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17557 ac_cpp
='$CXXCPP $CPPFLAGS'
17558 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17559 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17560 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17562 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17563 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17564 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17565 echo $ECHO_N "(cached) $ECHO_C" >&6
17567 cat >conftest.
$ac_ext <<_ACEOF
17570 cat confdefs.h
>>conftest.
$ac_ext
17571 cat >>conftest.
$ac_ext <<_ACEOF
17572 /* end confdefs.h. */
17578 #ifndef _SGI_COMPILER_VERSION
17586 rm -f conftest.
$ac_objext
17587 if { (ac_try
="$ac_compile"
17588 case "(($ac_try" in
17589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17590 *) ac_try_echo=$ac_try;;
17592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17593 (eval "$ac_compile") 2>conftest.er1
17595 grep -v '^ *+' conftest.er1 >conftest.err
17597 cat conftest.err >&5
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); } && {
17600 test -z "$ac_cxx_werror_flag" ||
17601 test ! -s conftest.err
17602 } && test -s conftest.$ac_objext; then
17603 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17605 echo "$as_me: failed program was:" >&5
17606 sed 's/^/| /' conftest.$ac_ext >&5
17608 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17616 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17617 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17618 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17624 ac_cpp='$CPP $CPPFLAGS'
17625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17634 if test "$INTELCXX" != "yes"; then
17638 ac_cpp='$CXXCPP $CPPFLAGS'
17639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17643 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17644 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17645 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17646 echo $ECHO_N "(cached) $ECHO_C" >&6
17648 cat >conftest.$ac_ext <<_ACEOF
17651 cat confdefs.h >>conftest.$ac_ext
17652 cat >>conftest.$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17659 #ifndef __SUNPRO_CC
17667 rm -f conftest.$ac_objext
17668 if { (ac_try="$ac_compile"
17669 case "(($ac_try" in
17670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17671 *) ac_try_echo
=$ac_try;;
17673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17674 (eval "$ac_compile") 2>conftest.er1
17676 grep -v '^ *+' conftest.er1
>conftest.err
17678 cat conftest.err
>&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); } && {
17681 test -z "$ac_cxx_werror_flag" ||
17682 test ! -s conftest.err
17683 } && test -s conftest.
$ac_objext; then
17684 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17686 echo "$as_me: failed program was:" >&5
17687 sed 's/^/| /' conftest.
$ac_ext >&5
17689 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17697 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17698 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17699 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17705 ac_cpp
='$CPP $CPPFLAGS'
17706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17719 ac_cpp
='$CXXCPP $CPPFLAGS'
17720 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17721 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17722 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17724 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17725 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17726 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17727 echo $ECHO_N "(cached) $ECHO_C" >&6
17729 cat >conftest.
$ac_ext <<_ACEOF
17732 cat confdefs.h
>>conftest.
$ac_ext
17733 cat >>conftest.
$ac_ext <<_ACEOF
17734 /* end confdefs.h. */
17748 rm -f conftest.
$ac_objext
17749 if { (ac_try
="$ac_compile"
17750 case "(($ac_try" in
17751 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17752 *) ac_try_echo=$ac_try;;
17754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17755 (eval "$ac_compile") 2>conftest.er1
17757 grep -v '^ *+' conftest.er1 >conftest.err
17759 cat conftest.err >&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); } && {
17762 test -z "$ac_cxx_werror_flag" ||
17763 test ! -s conftest.err
17764 } && test -s conftest.$ac_objext; then
17765 bakefile_cv_cxx_compiler___HP_aCC=yes
17767 echo "$as_me: failed program was:" >&5
17768 sed 's/^/| /' conftest.$ac_ext >&5
17770 bakefile_cv_cxx_compiler___HP_aCC=no
17774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17778 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17779 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17780 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17786 ac_cpp='$CPP $CPPFLAGS'
17787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17799 ac_cpp='$CXXCPP $CPPFLAGS'
17800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17804 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17805 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17806 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17807 echo $ECHO_N "(cached) $ECHO_C" >&6
17809 cat >conftest.$ac_ext <<_ACEOF
17812 cat confdefs.h >>conftest.$ac_ext
17813 cat >>conftest.$ac_ext <<_ACEOF
17814 /* end confdefs.h. */
17828 rm -f conftest.$ac_objext
17829 if { (ac_try="$ac_compile"
17830 case "(($ac_try" in
17831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17832 *) ac_try_echo
=$ac_try;;
17834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17835 (eval "$ac_compile") 2>conftest.er1
17837 grep -v '^ *+' conftest.er1
>conftest.err
17839 cat conftest.err
>&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); } && {
17842 test -z "$ac_cxx_werror_flag" ||
17843 test ! -s conftest.err
17844 } && test -s conftest.
$ac_objext; then
17845 bakefile_cv_cxx_compiler___DECCXX
=yes
17847 echo "$as_me: failed program was:" >&5
17848 sed 's/^/| /' conftest.
$ac_ext >&5
17850 bakefile_cv_cxx_compiler___DECCXX
=no
17854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17858 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17859 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17860 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17866 ac_cpp
='$CPP $CPPFLAGS'
17867 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17868 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17869 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17879 ac_cpp
='$CXXCPP $CPPFLAGS'
17880 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17881 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17882 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17884 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17885 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17886 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17887 echo $ECHO_N "(cached) $ECHO_C" >&6
17889 cat >conftest.
$ac_ext <<_ACEOF
17892 cat confdefs.h
>>conftest.
$ac_ext
17893 cat >>conftest.
$ac_ext <<_ACEOF
17894 /* end confdefs.h. */
17900 #ifndef __SUNPRO_CC
17908 rm -f conftest.
$ac_objext
17909 if { (ac_try
="$ac_compile"
17910 case "(($ac_try" in
17911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17912 *) ac_try_echo=$ac_try;;
17914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17915 (eval "$ac_compile") 2>conftest.er1
17917 grep -v '^ *+' conftest.er1 >conftest.err
17919 cat conftest.err >&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); } && {
17922 test -z "$ac_cxx_werror_flag" ||
17923 test ! -s conftest.err
17924 } && test -s conftest.$ac_objext; then
17925 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17927 echo "$as_me: failed program was:" >&5
17928 sed 's/^/| /' conftest.$ac_ext >&5
17930 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17938 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17939 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17940 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17946 ac_cpp='$CPP $CPPFLAGS'
17947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17959 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17960 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17961 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17962 { (exit 1); exit 1; }; }
17965 if test "x$SUNCXX" != xyes; then
17966 if test -n "$ac_tool_prefix"; then
17967 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17968 set dummy ${ac_tool_prefix}ar; ac_word=$2
17969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17971 if test "${ac_cv_prog_AR+set}" = set; then
17972 echo $ECHO_N "(cached) $ECHO_C" >&6
17974 if test -n "$AR"; then
17975 ac_cv_prog_AR="$AR" # Let the user override the test.
17977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17978 for as_dir in $PATH
17981 test -z "$as_dir" && as_dir=.
17982 for ac_exec_ext in '' $ac_executable_extensions; do
17983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17984 ac_cv_prog_AR="${ac_tool_prefix}ar"
17985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17995 if test -n "$AR"; then
17996 { echo "$as_me:$LINENO: result: $AR" >&5
17997 echo "${ECHO_T}$AR" >&6; }
17999 { echo "$as_me:$LINENO: result: no" >&5
18000 echo "${ECHO_T}no" >&6; }
18005 if test -z "$ac_cv_prog_AR"; then
18007 # Extract the first word of "ar", so it can be a program name with args.
18008 set dummy ar; ac_word=$2
18009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18011 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18012 echo $ECHO_N "(cached) $ECHO_C" >&6
18014 if test -n "$ac_ct_AR"; then
18015 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18018 for as_dir in $PATH
18021 test -z "$as_dir" && as_dir=.
18022 for ac_exec_ext in '' $ac_executable_extensions; do
18023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18024 ac_cv_prog_ac_ct_AR="ar"
18025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18034 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18035 if test -n "$ac_ct_AR"; then
18036 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18037 echo "${ECHO_T}$ac_ct_AR" >&6; }
18039 { echo "$as_me:$LINENO: result: no" >&5
18040 echo "${ECHO_T}no" >&6; }
18043 if test "x$ac_ct_AR" = x; then
18046 case $cross_compiling:$ac_tool_warned in
18048 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18049 whose name does not start with the host triplet. If you think this
18050 configuration is useful to you, please write to autoconf@gnu.org." >&5
18051 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18052 whose name does not start with the host triplet. If you think this
18053 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18054 ac_tool_warned=yes ;;
18059 AR="$ac_cv_prog_AR"
18062 if test "x$AR" = "x" ; then
18063 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18064 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18065 { (exit 1); exit 1; }; }
18069 retest_macosx_linking=no
18071 #if test "$wxUSE_MAC" = 1; then
18072 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18073 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18074 # Implicitly turn on the new --with-macosx-sdk using the default
18075 # SDK which provides the behavior this option has always had.
18076 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18077 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18078 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18079 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18080 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18081 wxUSE_MACOSX_SDK=yes
18084 # Complain to user if he specified an argument to --enable-universal_binary
18085 # and also 1) specified --with-macosx-sdk using the default (yes) or
18086 # 2) specified --with-macosx-sdk using a path or 3) specified
18087 # --without-macosx-sdk (no).
18088 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18089 { { echo "$as_me:$LINENO: 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." >&5
18091 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18092 See \`config.log' for more details.
" >&2;}
18093 { (exit 1); exit 1; }; }
18095 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18096 # special-case the empty string because the below test simply
18097 # converts "no
" to the empty string anyway.
18098 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18099 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18100 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18103 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18104 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18105 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18106 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18107 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18108 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18109 retest_macosx_linking=yes
18111 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18112 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18117 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18119 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18120 # TODO: Search for most recent SDK and use it.
18121 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18125 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18126 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18127 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18128 if ! test -d "$wxUSE_MACOSX_SDK"; then
18129 { { echo "$as_me:$LINENO: error
: not found
18130 See \
`config.log' for more details." >&5
18131 echo "$as_me: error: not found
18132 See \`config.log
' for more details." >&2;}
18133 { (exit 1); exit 1; }; }
18135 { echo "$as_me:$LINENO: result: exists" >&5
18136 echo "${ECHO_T}exists" >&6; }
18138 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18139 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18140 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18141 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18142 retest_macosx_linking=yes
18145 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18146 wxUSE_MACOSX_VERSION_MIN=
18147 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18148 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18149 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18150 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18152 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/'`
18154 # If that failed, try again with the new key
18155 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18157 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/'`
18161 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18162 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18163 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18164 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18166 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18167 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18168 wxUSE_MACOSX_VERSION_MIN=
18171 wxUSE_MACOSX_VERSION_MIN=
18173 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18174 if test "$wxUSE_MAC" = 1; then
18175 # otherwise configure stops on leopard for universal_binary
18176 wxUSE_MACOSX_VERSION_MIN=10.4
18180 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18181 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18182 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18183 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18184 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18185 retest_macosx_linking=yes
18188 if test "x$retest_macosx_linking" = "xyes"; then
18190 ac_cpp='$CPP $CPPFLAGS'
18191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18192 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18195 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18196 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18197 cat >conftest.$ac_ext <<_ACEOF
18200 cat confdefs.h >>conftest.$ac_ext
18201 cat >>conftest.$ac_ext <<_ACEOF
18202 /* end confdefs.h. */
18212 rm -f conftest.$ac_objext conftest$ac_exeext
18213 if { (ac_try="$ac_link"
18214 case "(($ac_try" in
18215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18216 *) ac_try_echo=$ac_try;;
18218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18219 (eval "$ac_link") 2>conftest.er1
18221 grep -v '^
*+' conftest.er1 >conftest.err
18223 cat conftest.err >&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); } && {
18226 test -z "$ac_c_werror_flag" ||
18227 test ! -s conftest.err
18228 } && test -s conftest$ac_exeext &&
18229 $as_test_x conftest$ac_exeext; then
18230 { echo "$as_me:$LINENO: result: yes" >&5
18231 echo "${ECHO_T}yes" >&6; }
18233 echo "$as_me: failed program was:" >&5
18234 sed 's
/^
/| /' conftest.$ac_ext >&5
18236 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18237 See \`config.log' for more details.
" >&5
18238 echo "$as_me: error
: no. Try a different SDK
18239 See \
`config.log' for more details." >&2;}
18240 { (exit 1); exit 1; }; }; exit 1
18243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18244 conftest$ac_exeext conftest.$ac_ext
18246 ac_cpp='$CPP $CPPFLAGS'
18247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18253 ac_cpp='$CXXCPP $CPPFLAGS'
18254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18258 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18259 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18260 cat >conftest.$ac_ext <<_ACEOF
18263 cat confdefs.h >>conftest.$ac_ext
18264 cat >>conftest.$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18275 rm -f conftest.$ac_objext conftest$ac_exeext
18276 if { (ac_try="$ac_link"
18277 case "(($ac_try" in
18278 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18279 *) ac_try_echo
=$ac_try;;
18281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18282 (eval "$ac_link") 2>conftest.er1
18284 grep -v '^ *+' conftest.er1
>conftest.err
18286 cat conftest.err
>&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); } && {
18289 test -z "$ac_cxx_werror_flag" ||
18290 test ! -s conftest.err
18291 } && test -s conftest
$ac_exeext &&
18292 $as_test_x conftest
$ac_exeext; then
18293 { echo "$as_me:$LINENO: result: yes" >&5
18294 echo "${ECHO_T}yes" >&6; }
18296 echo "$as_me: failed program was:" >&5
18297 sed 's/^/| /' conftest.
$ac_ext >&5
18299 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18300 See \`config.log' for more details." >&5
18301 echo "$as_me: error: no. Try a different SDK
18302 See \`config.log' for more details." >&2;}
18303 { (exit 1); exit 1; }; }; exit 1
18306 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18307 conftest
$ac_exeext conftest.
$ac_ext
18309 ac_cpp
='$CPP $CPPFLAGS'
18310 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18311 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18312 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18320 INSTALL_PROGRAM
="cp -fp"
18321 INSTALL_DATA
="cp -fp"
18328 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18329 CXXFLAGS
="-qunique $CXXFLAGS"
18333 powerpc
-*-darwin* )
18334 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18335 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18336 cat >conftest.
$ac_ext <<_ACEOF
18339 cat confdefs.h
>>conftest.
$ac_ext
18340 cat >>conftest.
$ac_ext <<_ACEOF
18341 /* end confdefs.h. */
18346 #ifndef __POWERPC__
18347 choke me for lack of PowerPC
18354 rm -f conftest.
$ac_objext
18355 if { (ac_try
="$ac_compile"
18356 case "(($ac_try" in
18357 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18358 *) ac_try_echo=$ac_try;;
18360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18361 (eval "$ac_compile") 2>conftest.er1
18363 grep -v '^ *+' conftest.er1 >conftest.err
18365 cat conftest.err >&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); } && {
18368 test -z "$ac_c_werror_flag" ||
18369 test ! -s conftest.err
18370 } && test -s conftest.$ac_objext; then
18371 { echo "$as_me:$LINENO: result: yes" >&5
18372 echo "${ECHO_T}yes" >&6; }
18374 echo "$as_me: failed program was:" >&5
18375 sed 's/^/| /' conftest.$ac_ext >&5
18377 { echo "$as_me:$LINENO: result: no" >&5
18378 echo "${ECHO_T}no" >&6; }
18379 cat >>confdefs.h <<\_ACEOF
18380 #define __POWERPC__ 1
18386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18392 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18393 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18394 cat >conftest.$ac_ext <<_ACEOF
18397 cat confdefs.h >>conftest.$ac_ext
18398 cat >>conftest.$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18400 #include <CoreFoundation/CFBase.h>
18410 rm -f conftest.$ac_objext
18411 if { (ac_try="$ac_compile"
18412 case "(($ac_try" in
18413 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18414 *) ac_try_echo
=$ac_try;;
18416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18417 (eval "$ac_compile") 2>conftest.er1
18419 grep -v '^ *+' conftest.er1
>conftest.err
18421 cat conftest.err
>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } && {
18424 test -z "$ac_c_werror_flag" ||
18425 test ! -s conftest.err
18426 } && test -s conftest.
$ac_objext; then
18427 { echo "$as_me:$LINENO: result: yes" >&5
18428 echo "${ECHO_T}yes" >&6; }
18430 echo "$as_me: failed program was:" >&5
18431 sed 's/^/| /' conftest.
$ac_ext >&5
18433 { echo "$as_me:$LINENO: result: no" >&5
18434 echo "${ECHO_T}no" >&6; }
18435 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18436 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18437 cat >conftest.
$ac_ext <<_ACEOF
18440 cat confdefs.h
>>conftest.
$ac_ext
18441 cat >>conftest.
$ac_ext <<_ACEOF
18442 /* end confdefs.h. */
18443 #define __CF_USE_FRAMEWORK_INCLUDES__
18444 #include <CoreFoundation/CFBase.h>
18454 rm -f conftest.
$ac_objext
18455 if { (ac_try
="$ac_compile"
18456 case "(($ac_try" in
18457 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18458 *) ac_try_echo=$ac_try;;
18460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18461 (eval "$ac_compile") 2>conftest.er1
18463 grep -v '^ *+' conftest.er1 >conftest.err
18465 cat conftest.err >&5
18466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18467 (exit $ac_status); } && {
18468 test -z "$ac_c_werror_flag" ||
18469 test ! -s conftest.err
18470 } && test -s conftest.$ac_objext; then
18471 { echo "$as_me:$LINENO: result: yes" >&5
18472 echo "${ECHO_T}yes" >&6; }
18473 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18475 echo "$as_me: failed program was:" >&5
18476 sed 's/^/| /' conftest.$ac_ext >&5
18478 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18479 See \`config.log
' for more details." >&5
18480 echo "$as_me: error: no. CoreFoundation not available.
18481 See \`config.log' for more details.
" >&2;}
18482 { (exit 1); exit 1; }; }
18486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18496 doesnt_want_win32=0
18499 if test "$wxUSE_MSW" = 1 ; then
18502 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18503 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18504 if test "${wx_cv_nocygwin+set}" = set; then
18505 echo $ECHO_N "(cached
) $ECHO_C" >&6
18508 cat >conftest.$ac_ext <<_ACEOF
18511 cat confdefs.h >>conftest.$ac_ext
18512 cat >>conftest.$ac_ext <<_ACEOF
18513 /* end confdefs.h. */
18527 rm -f conftest.$ac_objext
18528 if { (ac_try="$ac_compile"
18529 case "(($ac_try" in
18530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18531 *) ac_try_echo=$ac_try;;
18533 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18534 (eval "$ac_compile") 2>conftest.er1
18536 grep -v '^ *+' conftest.er1 >conftest.err
18538 cat conftest.err >&5
18539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18540 (exit $ac_status); } && {
18541 test -z "$ac_c_werror_flag" ||
18542 test ! -s conftest.err
18543 } && test -s conftest.$ac_objext; then
18546 echo "$as_me: failed program was
:" >&5
18547 sed 's/^/| /' conftest.$ac_ext >&5
18553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18557 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18558 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18560 if test "$wx_cv_nocygwin" = "yes"; then
18563 doesnt_want_win32=1
18566 if test "$wants_win32" = 1 ; then
18567 BAKEFILE_FORCE_PLATFORM=win32
18575 if test "$wxUSE_WINE" = "yes"; then
18577 LDFLAGS_GUI="-mwindows"
18580 if test "$wants_win32" = 1 ; then
18583 cat >>confdefs.h <<\_ACEOF
18584 #define __WIN32__ 1
18587 cat >>confdefs.h <<\_ACEOF
18588 #define __WIN95__ 1
18591 cat >>confdefs.h <<\_ACEOF
18592 #define __WINDOWS__ 1
18595 cat >>confdefs.h <<\_ACEOF
18596 #define __GNUWIN32__ 1
18599 cat >>confdefs.h <<\_ACEOF
18604 if test "$doesnt_want_win32" = 1 ; then
18609 if test "$USE_UNIX" = 1 ; then
18611 cat >>confdefs.h <<\_ACEOF
18618 *-pc-os2_emx | *-pc-os2-emx )
18619 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18620 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18621 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18622 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18623 echo $ECHO_N "(cached
) $ECHO_C" >&6
18625 ac_check_lib_save_LIBS=$LIBS
18626 LIBS="-lcExt $LIBS"
18627 cat >conftest.$ac_ext <<_ACEOF
18630 cat confdefs.h >>conftest.$ac_ext
18631 cat >>conftest.$ac_ext <<_ACEOF
18632 /* end confdefs.h. */
18634 /* Override any GCC internal prototype to avoid an error.
18635 Use char because int might match the return type of a GCC
18636 builtin and then its argument prototype would still apply. */
18649 rm -f conftest.$ac_objext conftest$ac_exeext
18650 if { (ac_try="$ac_link"
18651 case "(($ac_try" in
18652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18653 *) ac_try_echo=$ac_try;;
18655 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18656 (eval "$ac_link") 2>conftest.er1
18658 grep -v '^ *+' conftest.er1 >conftest.err
18660 cat conftest.err >&5
18661 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18662 (exit $ac_status); } && {
18663 test -z "$ac_c_werror_flag" ||
18664 test ! -s conftest.err
18665 } && test -s conftest$ac_exeext &&
18666 $as_test_x conftest$ac_exeext; then
18667 ac_cv_lib_cExt_drand48=yes
18669 echo "$as_me: failed program was
:" >&5
18670 sed 's/^/| /' conftest.$ac_ext >&5
18672 ac_cv_lib_cExt_drand48=no
18675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18676 conftest$ac_exeext conftest.$ac_ext
18677 LIBS=$ac_check_lib_save_LIBS
18679 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18680 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18681 if test $ac_cv_lib_cExt_drand48 = yes; then
18682 LIBS="$LIBS -lcExt"
18686 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18688 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18689 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18690 if test "${wx_cv_gccversion+set}" = set; then
18691 echo $ECHO_N "(cached
) $ECHO_C" >&6
18694 if test "$cross_compiling" = yes; then
18695 wx_cv_gccversion="EMX2
"
18698 cat >conftest.$ac_ext <<_ACEOF
18701 cat confdefs.h >>conftest.$ac_ext
18702 cat >>conftest.$ac_ext <<_ACEOF
18703 /* end confdefs.h. */
18709 FILE *f=fopen("conftestval
", "w
");
18714 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18716 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18726 rm -f conftest$ac_exeext
18727 if { (ac_try="$ac_link"
18728 case "(($ac_try" in
18729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18730 *) ac_try_echo=$ac_try;;
18732 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18733 (eval "$ac_link") 2>&5
18735 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18736 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18737 { (case "(($ac_try" in
18738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18739 *) ac_try_echo=$ac_try;;
18741 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18742 (eval "$ac_try") 2>&5
18744 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18745 (exit $ac_status); }; }; then
18746 wx_cv_gccversion=`cat conftestval`
18748 echo "$as_me: program exited with status
$ac_status" >&5
18749 echo "$as_me: failed program was
:" >&5
18750 sed 's/^/| /' conftest.$ac_ext >&5
18752 ( exit $ac_status )
18753 wx_cv_gccversion="EMX2
"
18755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18761 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18762 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18763 if test "$wx_cv_gccversion" = "EMX2
"; then
18764 LIBS="$LIBS -lstdcpp"
18765 LDFLAGS="$LDFLAGS -Zsysv-signals"
18767 if test "$wx_cv_gccversion" = "EMX3
"; then
18768 LIBS="$LIBS -lstdcxx -lgcc"
18769 LDFLAGS="$LDFLAGS -Zsysv-signals"
18771 LIBS="$LIBS -lstdc++"
18774 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18775 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18776 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18783 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18784 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18785 if test "${ac_cv_string_strcasecmp+set}" = set; then
18786 echo $ECHO_N "(cached
) $ECHO_C" >&6
18789 cat >conftest.$ac_ext <<_ACEOF
18792 cat confdefs.h >>conftest.$ac_ext
18793 cat >>conftest.$ac_ext <<_ACEOF
18794 /* end confdefs.h. */
18796 #include <string.h>
18802 strcasecmp("foo
", "bar
");
18808 rm -f conftest.$ac_objext conftest$ac_exeext
18809 if { (ac_try="$ac_link"
18810 case "(($ac_try" in
18811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18812 *) ac_try_echo=$ac_try;;
18814 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18815 (eval "$ac_link") 2>conftest.er1
18817 grep -v '^ *+' conftest.er1 >conftest.err
18819 cat conftest.err >&5
18820 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18821 (exit $ac_status); } && {
18822 test -z "$ac_c_werror_flag" ||
18823 test ! -s conftest.err
18824 } && test -s conftest$ac_exeext &&
18825 $as_test_x conftest$ac_exeext; then
18826 ac_cv_string_strcasecmp=yes
18828 echo "$as_me: failed program was
:" >&5
18829 sed 's/^/| /' conftest.$ac_ext >&5
18831 ac_cv_string_strcasecmp=no
18835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18836 conftest$ac_exeext conftest.$ac_ext
18839 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18840 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18842 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18843 cat >>confdefs.h <<\_ACEOF
18844 #define HAVE_STRCASECMP_IN_STRING_H 1
18848 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18849 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18850 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18851 echo $ECHO_N "(cached
) $ECHO_C" >&6
18854 cat >conftest.$ac_ext <<_ACEOF
18857 cat confdefs.h >>conftest.$ac_ext
18858 cat >>conftest.$ac_ext <<_ACEOF
18859 /* end confdefs.h. */
18861 #include <strings.h>
18867 strcasecmp("foo
", "bar
");
18873 rm -f conftest.$ac_objext conftest$ac_exeext
18874 if { (ac_try="$ac_link"
18875 case "(($ac_try" in
18876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18877 *) ac_try_echo=$ac_try;;
18879 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18880 (eval "$ac_link") 2>conftest.er1
18882 grep -v '^ *+' conftest.er1 >conftest.err
18884 cat conftest.err >&5
18885 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18886 (exit $ac_status); } && {
18887 test -z "$ac_c_werror_flag" ||
18888 test ! -s conftest.err
18889 } && test -s conftest$ac_exeext &&
18890 $as_test_x conftest$ac_exeext; then
18891 ac_cv_strings_strcasecmp=yes
18893 echo "$as_me: failed program was
:" >&5
18894 sed 's/^/| /' conftest.$ac_ext >&5
18896 ac_cv_strings_strcasecmp=no
18900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18901 conftest$ac_exeext conftest.$ac_ext
18904 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18905 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18907 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18908 cat >>confdefs.h <<\_ACEOF
18909 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18913 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18914 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18915 { (exit 1); exit 1; }; }
18923 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18924 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18925 if test "${ac_cv_header_stdc+set}" = set; then
18926 echo $ECHO_N "(cached
) $ECHO_C" >&6
18928 cat >conftest.$ac_ext <<_ACEOF
18931 cat confdefs.h >>conftest.$ac_ext
18932 cat >>conftest.$ac_ext <<_ACEOF
18933 /* end confdefs.h. */
18934 #include <stdlib.h>
18935 #include <stdarg.h>
18936 #include <string.h>
18947 rm -f conftest.$ac_objext
18948 if { (ac_try="$ac_compile"
18949 case "(($ac_try" in
18950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18951 *) ac_try_echo=$ac_try;;
18953 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18954 (eval "$ac_compile") 2>conftest.er1
18956 grep -v '^ *+' conftest.er1 >conftest.err
18958 cat conftest.err >&5
18959 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18960 (exit $ac_status); } && {
18961 test -z "$ac_c_werror_flag" ||
18962 test ! -s conftest.err
18963 } && test -s conftest.$ac_objext; then
18964 ac_cv_header_stdc=yes
18966 echo "$as_me: failed program was
:" >&5
18967 sed 's/^/| /' conftest.$ac_ext >&5
18969 ac_cv_header_stdc=no
18972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18974 if test $ac_cv_header_stdc = yes; then
18975 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18976 cat >conftest.$ac_ext <<_ACEOF
18979 cat confdefs.h >>conftest.$ac_ext
18980 cat >>conftest.$ac_ext <<_ACEOF
18981 /* end confdefs.h. */
18982 #include <string.h>
18985 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18986 $EGREP "memchr
" >/dev/null 2>&1; then
18989 ac_cv_header_stdc=no
18995 if test $ac_cv_header_stdc = yes; then
18996 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18997 cat >conftest.$ac_ext <<_ACEOF
19000 cat confdefs.h >>conftest.$ac_ext
19001 cat >>conftest.$ac_ext <<_ACEOF
19002 /* end confdefs.h. */
19003 #include <stdlib.h>
19006 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19007 $EGREP "free
" >/dev/null 2>&1; then
19010 ac_cv_header_stdc=no
19016 if test $ac_cv_header_stdc = yes; then
19017 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19018 if test "$cross_compiling" = yes; then
19021 cat >conftest.$ac_ext <<_ACEOF
19024 cat confdefs.h >>conftest.$ac_ext
19025 cat >>conftest.$ac_ext <<_ACEOF
19026 /* end confdefs.h. */
19028 #include <stdlib.h>
19029 #if ((' ' & 0x0FF) == 0x020)
19030 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19031 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19033 # define ISLOWER(c) \
19034 (('a' <= (c) && (c) <= 'i') \
19035 || ('j' <= (c) && (c) <= 'r') \
19036 || ('s' <= (c) && (c) <= 'z'))
19037 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19040 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19045 for (i = 0; i < 256; i++)
19046 if (XOR (islower (i), ISLOWER (i))
19047 || toupper (i) != TOUPPER (i))
19052 rm -f conftest$ac_exeext
19053 if { (ac_try="$ac_link"
19054 case "(($ac_try" in
19055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19056 *) ac_try_echo=$ac_try;;
19058 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19059 (eval "$ac_link") 2>&5
19061 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19062 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19063 { (case "(($ac_try" in
19064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19065 *) ac_try_echo=$ac_try;;
19067 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19068 (eval "$ac_try") 2>&5
19070 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19071 (exit $ac_status); }; }; then
19074 echo "$as_me: program exited with status
$ac_status" >&5
19075 echo "$as_me: failed program was
:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19078 ( exit $ac_status )
19079 ac_cv_header_stdc=no
19081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19087 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19088 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19089 if test $ac_cv_header_stdc = yes; then
19091 cat >>confdefs.h <<\_ACEOF
19092 #define STDC_HEADERS 1
19097 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19107 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19108 inttypes.h stdint.h unistd.h
19110 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19111 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19112 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19113 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19114 echo $ECHO_N "(cached
) $ECHO_C" >&6
19116 cat >conftest.$ac_ext <<_ACEOF
19119 cat confdefs.h >>conftest.$ac_ext
19120 cat >>conftest.$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122 $ac_includes_default
19124 #include <$ac_header>
19126 rm -f conftest.$ac_objext
19127 if { (ac_try="$ac_compile"
19128 case "(($ac_try" in
19129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19130 *) ac_try_echo=$ac_try;;
19132 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19133 (eval "$ac_compile") 2>conftest.er1
19135 grep -v '^ *+' conftest.er1 >conftest.err
19137 cat conftest.err >&5
19138 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19139 (exit $ac_status); } && {
19140 test -z "$ac_c_werror_flag" ||
19141 test ! -s conftest.err
19142 } && test -s conftest.$ac_objext; then
19143 eval "$as_ac_Header=yes"
19145 echo "$as_me: failed program was
:" >&5
19146 sed 's/^/| /' conftest.$ac_ext >&5
19148 eval "$as_ac_Header=no
"
19151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19153 ac_res=`eval echo '${'$as_ac_Header'}'`
19154 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19155 echo "${ECHO_T}$ac_res" >&6; }
19156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19157 cat >>confdefs.h <<_ACEOF
19158 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19168 for ac_header in langinfo.h wchar.h
19170 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19171 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19172 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19173 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19174 echo $ECHO_N "(cached
) $ECHO_C" >&6
19176 cat >conftest.$ac_ext <<_ACEOF
19179 cat confdefs.h >>conftest.$ac_ext
19180 cat >>conftest.$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19182 $ac_includes_default
19184 #include <$ac_header>
19186 rm -f conftest.$ac_objext
19187 if { (ac_try="$ac_compile"
19188 case "(($ac_try" in
19189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19190 *) ac_try_echo=$ac_try;;
19192 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19193 (eval "$ac_compile") 2>conftest.er1
19195 grep -v '^ *+' conftest.er1 >conftest.err
19197 cat conftest.err >&5
19198 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19199 (exit $ac_status); } && {
19200 test -z "$ac_c_werror_flag" ||
19201 test ! -s conftest.err
19202 } && test -s conftest.$ac_objext; then
19203 eval "$as_ac_Header=yes"
19205 echo "$as_me: failed program was
:" >&5
19206 sed 's/^/| /' conftest.$ac_ext >&5
19208 eval "$as_ac_Header=no
"
19211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19213 ac_res=`eval echo '${'$as_ac_Header'}'`
19214 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19215 echo "${ECHO_T}$ac_res" >&6; }
19216 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19217 cat >>confdefs.h <<_ACEOF
19218 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19226 if test "$ac_cv_header_wchar_h" != "yes"; then
19228 for ac_header in wcstr.h
19230 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19231 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19232 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19233 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19234 echo $ECHO_N "(cached
) $ECHO_C" >&6
19236 cat >conftest.$ac_ext <<_ACEOF
19239 cat confdefs.h >>conftest.$ac_ext
19240 cat >>conftest.$ac_ext <<_ACEOF
19241 /* end confdefs.h. */
19242 $ac_includes_default
19244 #include <$ac_header>
19246 rm -f conftest.$ac_objext
19247 if { (ac_try="$ac_compile"
19248 case "(($ac_try" in
19249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19250 *) ac_try_echo=$ac_try;;
19252 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19253 (eval "$ac_compile") 2>conftest.er1
19255 grep -v '^ *+' conftest.er1 >conftest.err
19257 cat conftest.err >&5
19258 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19259 (exit $ac_status); } && {
19260 test -z "$ac_c_werror_flag" ||
19261 test ! -s conftest.err
19262 } && test -s conftest.$ac_objext; then
19263 eval "$as_ac_Header=yes"
19265 echo "$as_me: failed program was
:" >&5
19266 sed 's/^/| /' conftest.$ac_ext >&5
19268 eval "$as_ac_Header=no
"
19271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19273 ac_res=`eval echo '${'$as_ac_Header'}'`
19274 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19275 echo "${ECHO_T}$ac_res" >&6; }
19276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19277 cat >>confdefs.h <<_ACEOF
19278 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19288 *-pc-os2_emx | *-pc-os2-emx )
19289 if test $ac_cv_header_langinfo_h = "yes" \
19290 -a \( "$wx_cv_gccversion" = "EMX2
" \
19291 -o "$wx_cv_gccversion" = "EMX3
" \
19292 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19293 LIBS="$LIBS -lintl"
19298 if test "$USE_UNIX" = 1 ; then
19300 for ac_header in sys/select.h
19302 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19303 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19304 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19305 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19306 echo $ECHO_N "(cached
) $ECHO_C" >&6
19308 cat >conftest.$ac_ext <<_ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314 $ac_includes_default
19316 #include <$ac_header>
19318 rm -f conftest.$ac_objext
19319 if { (ac_try="$ac_compile"
19320 case "(($ac_try" in
19321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19322 *) ac_try_echo=$ac_try;;
19324 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19325 (eval "$ac_compile") 2>conftest.er1
19327 grep -v '^ *+' conftest.er1 >conftest.err
19329 cat conftest.err >&5
19330 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19331 (exit $ac_status); } && {
19332 test -z "$ac_c_werror_flag" ||
19333 test ! -s conftest.err
19334 } && test -s conftest.$ac_objext; then
19335 eval "$as_ac_Header=yes"
19337 echo "$as_me: failed program was
:" >&5
19338 sed 's/^/| /' conftest.$ac_ext >&5
19340 eval "$as_ac_Header=no
"
19343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19345 ac_res=`eval echo '${'$as_ac_Header'}'`
19346 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19347 echo "${ECHO_T}$ac_res" >&6; }
19348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19349 cat >>confdefs.h <<_ACEOF
19350 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19360 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19361 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19362 if test "${ac_cv_c_const+set}" = set; then
19363 echo $ECHO_N "(cached
) $ECHO_C" >&6
19365 cat >conftest.$ac_ext <<_ACEOF
19368 cat confdefs.h >>conftest.$ac_ext
19369 cat >>conftest.$ac_ext <<_ACEOF
19370 /* end confdefs.h. */
19375 /* FIXME: Include the comments suggested by Paul. */
19376 #ifndef __cplusplus
19377 /* Ultrix mips cc rejects this. */
19378 typedef int charset[2];
19380 /* SunOS 4.1.1 cc rejects this. */
19381 char const *const *pcpcc;
19383 /* NEC SVR4.0.2 mips cc rejects this. */
19384 struct point {int x, y;};
19385 static struct point const zero = {0,0};
19386 /* AIX XL C 1.02.0.0 rejects this.
19387 It does not let you subtract one const X* pointer from another in
19388 an arm of an if-expression whose if-part is not a constant
19390 const char *g = "string
";
19391 pcpcc = &g + (g ? g-g : 0);
19392 /* HPUX 7.0 cc rejects these. */
19394 ppc = (char**) pcpcc;
19395 pcpcc = (char const *const *) ppc;
19396 { /* SCO 3.2v4 cc rejects this. */
19398 char const *s = 0 ? (char *) 0 : (char const *) 0;
19403 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19404 int x[] = {25, 17};
19405 const int *foo = &x[0];
19408 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19409 typedef const int *iptr;
19413 { /* AIX XL C 1.02.0.0 rejects this saying
19414 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19415 struct s { int j; const int *ap[3]; };
19416 struct s *b; b->j = 5;
19418 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19419 const int foo = 10;
19420 if (!foo) return 0;
19422 return !cs[0] && !zero.x;
19429 rm -f conftest.$ac_objext
19430 if { (ac_try="$ac_compile"
19431 case "(($ac_try" in
19432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19433 *) ac_try_echo=$ac_try;;
19435 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19436 (eval "$ac_compile") 2>conftest.er1
19438 grep -v '^ *+' conftest.er1 >conftest.err
19440 cat conftest.err >&5
19441 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19442 (exit $ac_status); } && {
19443 test -z "$ac_c_werror_flag" ||
19444 test ! -s conftest.err
19445 } && test -s conftest.$ac_objext; then
19448 echo "$as_me: failed program was
:" >&5
19449 sed 's/^/| /' conftest.$ac_ext >&5
19454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19456 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19457 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19458 if test $ac_cv_c_const = no; then
19460 cat >>confdefs.h <<\_ACEOF
19466 { echo "$as_me:$LINENO: checking
for inline
" >&5
19467 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19468 if test "${ac_cv_c_inline+set}" = set; then
19469 echo $ECHO_N "(cached
) $ECHO_C" >&6
19472 for ac_kw in inline __inline__ __inline; do
19473 cat >conftest.$ac_ext <<_ACEOF
19476 cat confdefs.h >>conftest.$ac_ext
19477 cat >>conftest.$ac_ext <<_ACEOF
19478 /* end confdefs.h. */
19479 #ifndef __cplusplus
19481 static $ac_kw foo_t static_foo () {return 0; }
19482 $ac_kw foo_t foo () {return 0; }
19486 rm -f conftest.$ac_objext
19487 if { (ac_try="$ac_compile"
19488 case "(($ac_try" in
19489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19490 *) ac_try_echo=$ac_try;;
19492 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19493 (eval "$ac_compile") 2>conftest.er1
19495 grep -v '^ *+' conftest.er1 >conftest.err
19497 cat conftest.err >&5
19498 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19499 (exit $ac_status); } && {
19500 test -z "$ac_c_werror_flag" ||
19501 test ! -s conftest.err
19502 } && test -s conftest.$ac_objext; then
19503 ac_cv_c_inline=$ac_kw
19505 echo "$as_me: failed program was
:" >&5
19506 sed 's/^/| /' conftest.$ac_ext >&5
19511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19512 test "$ac_cv_c_inline" != no && break
19516 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19517 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19520 case $ac_cv_c_inline in
19523 case $ac_cv_c_inline in
19525 *) ac_val=$ac_cv_c_inline;;
19527 cat >>confdefs.h <<_ACEOF
19528 #ifndef __cplusplus
19529 #define inline $ac_val
19536 { echo "$as_me:$LINENO: checking
for short
" >&5
19537 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19538 if test "${ac_cv_type_short+set}" = set; then
19539 echo $ECHO_N "(cached
) $ECHO_C" >&6
19541 cat >conftest.$ac_ext <<_ACEOF
19544 cat confdefs.h >>conftest.$ac_ext
19545 cat >>conftest.$ac_ext <<_ACEOF
19546 /* end confdefs.h. */
19547 $ac_includes_default
19548 typedef short ac__type_new_;
19552 if ((ac__type_new_ *) 0)
19554 if (sizeof (ac__type_new_))
19560 rm -f conftest.$ac_objext
19561 if { (ac_try="$ac_compile"
19562 case "(($ac_try" in
19563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19564 *) ac_try_echo=$ac_try;;
19566 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19567 (eval "$ac_compile") 2>conftest.er1
19569 grep -v '^ *+' conftest.er1 >conftest.err
19571 cat conftest.err >&5
19572 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19573 (exit $ac_status); } && {
19574 test -z "$ac_c_werror_flag" ||
19575 test ! -s conftest.err
19576 } && test -s conftest.$ac_objext; then
19577 ac_cv_type_short=yes
19579 echo "$as_me: failed program was
:" >&5
19580 sed 's/^/| /' conftest.$ac_ext >&5
19582 ac_cv_type_short=no
19585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19587 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19588 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19590 # The cast to long int works around a bug in the HP C Compiler
19591 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19592 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19593 # This bug is HP SR number 8606223364.
19594 { echo "$as_me:$LINENO: checking size of short
" >&5
19595 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19596 if test "${ac_cv_sizeof_short+set}" = set; then
19597 echo $ECHO_N "(cached
) $ECHO_C" >&6
19599 if test "$cross_compiling" = yes; then
19600 # Depending upon the size, compute the lo and hi bounds.
19601 cat >conftest.$ac_ext <<_ACEOF
19604 cat confdefs.h >>conftest.$ac_ext
19605 cat >>conftest.$ac_ext <<_ACEOF
19606 /* end confdefs.h. */
19607 $ac_includes_default
19608 typedef short ac__type_sizeof_;
19612 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19619 rm -f conftest.$ac_objext
19620 if { (ac_try="$ac_compile"
19621 case "(($ac_try" in
19622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19623 *) ac_try_echo=$ac_try;;
19625 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19626 (eval "$ac_compile") 2>conftest.er1
19628 grep -v '^ *+' conftest.er1 >conftest.err
19630 cat conftest.err >&5
19631 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19632 (exit $ac_status); } && {
19633 test -z "$ac_c_werror_flag" ||
19634 test ! -s conftest.err
19635 } && test -s conftest.$ac_objext; then
19638 cat >conftest.$ac_ext <<_ACEOF
19641 cat confdefs.h >>conftest.$ac_ext
19642 cat >>conftest.$ac_ext <<_ACEOF
19643 /* end confdefs.h. */
19644 $ac_includes_default
19645 typedef short ac__type_sizeof_;
19649 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19656 rm -f conftest.$ac_objext
19657 if { (ac_try="$ac_compile"
19658 case "(($ac_try" in
19659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19660 *) ac_try_echo=$ac_try;;
19662 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19663 (eval "$ac_compile") 2>conftest.er1
19665 grep -v '^ *+' conftest.er1 >conftest.err
19667 cat conftest.err >&5
19668 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19669 (exit $ac_status); } && {
19670 test -z "$ac_c_werror_flag" ||
19671 test ! -s conftest.err
19672 } && test -s conftest.$ac_objext; then
19673 ac_hi=$ac_mid; break
19675 echo "$as_me: failed program was
:" >&5
19676 sed 's/^/| /' conftest.$ac_ext >&5
19678 ac_lo=`expr $ac_mid + 1`
19679 if test $ac_lo -le $ac_mid; then
19683 ac_mid=`expr 2 '*' $ac_mid + 1`
19686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19689 echo "$as_me: failed program was
:" >&5
19690 sed 's/^/| /' conftest.$ac_ext >&5
19692 cat >conftest.$ac_ext <<_ACEOF
19695 cat confdefs.h >>conftest.$ac_ext
19696 cat >>conftest.$ac_ext <<_ACEOF
19697 /* end confdefs.h. */
19698 $ac_includes_default
19699 typedef short ac__type_sizeof_;
19703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19710 rm -f conftest.$ac_objext
19711 if { (ac_try="$ac_compile"
19712 case "(($ac_try" in
19713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19714 *) ac_try_echo=$ac_try;;
19716 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19717 (eval "$ac_compile") 2>conftest.er1
19719 grep -v '^ *+' conftest.er1 >conftest.err
19721 cat conftest.err >&5
19722 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19723 (exit $ac_status); } && {
19724 test -z "$ac_c_werror_flag" ||
19725 test ! -s conftest.err
19726 } && test -s conftest.$ac_objext; then
19729 cat >conftest.$ac_ext <<_ACEOF
19732 cat confdefs.h >>conftest.$ac_ext
19733 cat >>conftest.$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735 $ac_includes_default
19736 typedef short ac__type_sizeof_;
19740 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19747 rm -f conftest.$ac_objext
19748 if { (ac_try="$ac_compile"
19749 case "(($ac_try" in
19750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19751 *) ac_try_echo=$ac_try;;
19753 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19754 (eval "$ac_compile") 2>conftest.er1
19756 grep -v '^ *+' conftest.er1 >conftest.err
19758 cat conftest.err >&5
19759 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19760 (exit $ac_status); } && {
19761 test -z "$ac_c_werror_flag" ||
19762 test ! -s conftest.err
19763 } && test -s conftest.$ac_objext; then
19764 ac_lo=$ac_mid; break
19766 echo "$as_me: failed program was
:" >&5
19767 sed 's/^/| /' conftest.$ac_ext >&5
19769 ac_hi=`expr '(' $ac_mid ')' - 1`
19770 if test $ac_mid -le $ac_hi; then
19774 ac_mid=`expr 2 '*' $ac_mid`
19777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19780 echo "$as_me: failed program was
:" >&5
19781 sed 's/^/| /' conftest.$ac_ext >&5
19786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19790 # Binary search between lo and hi bounds.
19791 while test "x
$ac_lo" != "x
$ac_hi"; do
19792 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19793 cat >conftest.$ac_ext <<_ACEOF
19796 cat confdefs.h >>conftest.$ac_ext
19797 cat >>conftest.$ac_ext <<_ACEOF
19798 /* end confdefs.h. */
19799 $ac_includes_default
19800 typedef short ac__type_sizeof_;
19804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19811 rm -f conftest.$ac_objext
19812 if { (ac_try="$ac_compile"
19813 case "(($ac_try" in
19814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19815 *) ac_try_echo=$ac_try;;
19817 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19818 (eval "$ac_compile") 2>conftest.er1
19820 grep -v '^ *+' conftest.er1 >conftest.err
19822 cat conftest.err >&5
19823 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19824 (exit $ac_status); } && {
19825 test -z "$ac_c_werror_flag" ||
19826 test ! -s conftest.err
19827 } && test -s conftest.$ac_objext; then
19830 echo "$as_me: failed program was
:" >&5
19831 sed 's/^/| /' conftest.$ac_ext >&5
19833 ac_lo=`expr '(' $ac_mid ')' + 1`
19836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19839 ?*) ac_cv_sizeof_short=$ac_lo;;
19840 '') if test "$ac_cv_type_short" = yes; then
19841 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19842 See \
`config.log' for more details." >&5
19843 echo "$as_me: error: cannot compute sizeof (short)
19844 See \`config.log
' for more details." >&2;}
19845 { (exit 77); exit 77; }; }
19847 ac_cv_sizeof_short=0
19851 cat >conftest.$ac_ext <<_ACEOF
19854 cat confdefs.h >>conftest.$ac_ext
19855 cat >>conftest.$ac_ext <<_ACEOF
19856 /* end confdefs.h. */
19857 $ac_includes_default
19858 typedef short ac__type_sizeof_;
19859 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19860 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19862 #include <stdlib.h>
19867 FILE *f = fopen ("conftest.val", "w");
19870 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19872 long int i = longval ();
19873 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19875 fprintf (f, "%ld\n", i);
19879 unsigned long int i = ulongval ();
19880 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19882 fprintf (f, "%lu\n", i);
19884 return ferror (f) || fclose (f) != 0;
19890 rm -f conftest$ac_exeext
19891 if { (ac_try="$ac_link"
19892 case "(($ac_try" in
19893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19894 *) ac_try_echo=$ac_try;;
19896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19897 (eval "$ac_link") 2>&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19901 { (case "(($ac_try" in
19902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19903 *) ac_try_echo=$ac_try;;
19905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19906 (eval "$ac_try") 2>&5
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); }; }; then
19910 ac_cv_sizeof_short=`cat conftest.val`
19912 echo "$as_me: program exited with status $ac_status" >&5
19913 echo "$as_me: failed program was:" >&5
19914 sed 's
/^
/| /' conftest.$ac_ext >&5
19916 ( exit $ac_status )
19917 if test "$ac_cv_type_short" = yes; then
19918 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19919 See \`config.log' for more details.
" >&5
19920 echo "$as_me: error
: cannot compute sizeof
(short
)
19921 See \
`config.log' for more details." >&2;}
19922 { (exit 77); exit 77; }; }
19924 ac_cv_sizeof_short=0
19927 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19931 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19932 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19936 cat >>confdefs.h <<_ACEOF
19937 #define SIZEOF_SHORT $ac_cv_sizeof_short
19941 { echo "$as_me:$LINENO: checking for void *" >&5
19942 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19943 if test "${ac_cv_type_void_p+set}" = set; then
19944 echo $ECHO_N "(cached) $ECHO_C" >&6
19946 cat >conftest.$ac_ext <<_ACEOF
19949 cat confdefs.h >>conftest.$ac_ext
19950 cat >>conftest.$ac_ext <<_ACEOF
19951 /* end confdefs.h. */
19952 $ac_includes_default
19953 typedef void * ac__type_new_;
19957 if ((ac__type_new_ *) 0)
19959 if (sizeof (ac__type_new_))
19965 rm -f conftest.$ac_objext
19966 if { (ac_try="$ac_compile"
19967 case "(($ac_try" in
19968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19969 *) ac_try_echo
=$ac_try;;
19971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19972 (eval "$ac_compile") 2>conftest.er1
19974 grep -v '^ *+' conftest.er1
>conftest.err
19976 cat conftest.err
>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); } && {
19979 test -z "$ac_c_werror_flag" ||
19980 test ! -s conftest.err
19981 } && test -s conftest.
$ac_objext; then
19982 ac_cv_type_void_p
=yes
19984 echo "$as_me: failed program was:" >&5
19985 sed 's/^/| /' conftest.
$ac_ext >&5
19987 ac_cv_type_void_p
=no
19990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19992 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19993 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19995 # The cast to long int works around a bug in the HP C Compiler
19996 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19997 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19998 # This bug is HP SR number 8606223364.
19999 { echo "$as_me:$LINENO: checking size of void *" >&5
20000 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20001 if test "${ac_cv_sizeof_void_p+set}" = set; then
20002 echo $ECHO_N "(cached) $ECHO_C" >&6
20004 if test "$cross_compiling" = yes; then
20005 # Depending upon the size, compute the lo and hi bounds.
20006 cat >conftest.
$ac_ext <<_ACEOF
20009 cat confdefs.h
>>conftest.
$ac_ext
20010 cat >>conftest.
$ac_ext <<_ACEOF
20011 /* end confdefs.h. */
20012 $ac_includes_default
20013 typedef void * ac__type_sizeof_;
20017 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20024 rm -f conftest.
$ac_objext
20025 if { (ac_try
="$ac_compile"
20026 case "(($ac_try" in
20027 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20028 *) ac_try_echo=$ac_try;;
20030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20031 (eval "$ac_compile") 2>conftest.er1
20033 grep -v '^ *+' conftest.er1 >conftest.err
20035 cat conftest.err >&5
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); } && {
20038 test -z "$ac_c_werror_flag" ||
20039 test ! -s conftest.err
20040 } && test -s conftest.$ac_objext; then
20043 cat >conftest.$ac_ext <<_ACEOF
20046 cat confdefs.h >>conftest.$ac_ext
20047 cat >>conftest.$ac_ext <<_ACEOF
20048 /* end confdefs.h. */
20049 $ac_includes_default
20050 typedef void * ac__type_sizeof_;
20054 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20061 rm -f conftest.$ac_objext
20062 if { (ac_try="$ac_compile"
20063 case "(($ac_try" in
20064 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20065 *) ac_try_echo
=$ac_try;;
20067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20068 (eval "$ac_compile") 2>conftest.er1
20070 grep -v '^ *+' conftest.er1
>conftest.err
20072 cat conftest.err
>&5
20073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074 (exit $ac_status); } && {
20075 test -z "$ac_c_werror_flag" ||
20076 test ! -s conftest.err
20077 } && test -s conftest.
$ac_objext; then
20078 ac_hi
=$ac_mid; break
20080 echo "$as_me: failed program was:" >&5
20081 sed 's/^/| /' conftest.
$ac_ext >&5
20083 ac_lo
=`expr $ac_mid + 1`
20084 if test $ac_lo -le $ac_mid; then
20088 ac_mid
=`expr 2 '*' $ac_mid + 1`
20091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20094 echo "$as_me: failed program was:" >&5
20095 sed 's/^/| /' conftest.
$ac_ext >&5
20097 cat >conftest.
$ac_ext <<_ACEOF
20100 cat confdefs.h
>>conftest.
$ac_ext
20101 cat >>conftest.
$ac_ext <<_ACEOF
20102 /* end confdefs.h. */
20103 $ac_includes_default
20104 typedef void * ac__type_sizeof_;
20108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20115 rm -f conftest.
$ac_objext
20116 if { (ac_try
="$ac_compile"
20117 case "(($ac_try" in
20118 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20119 *) ac_try_echo=$ac_try;;
20121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20122 (eval "$ac_compile") 2>conftest.er1
20124 grep -v '^ *+' conftest.er1 >conftest.err
20126 cat conftest.err >&5
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); } && {
20129 test -z "$ac_c_werror_flag" ||
20130 test ! -s conftest.err
20131 } && test -s conftest.$ac_objext; then
20134 cat >conftest.$ac_ext <<_ACEOF
20137 cat confdefs.h >>conftest.$ac_ext
20138 cat >>conftest.$ac_ext <<_ACEOF
20139 /* end confdefs.h. */
20140 $ac_includes_default
20141 typedef void * ac__type_sizeof_;
20145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20152 rm -f conftest.$ac_objext
20153 if { (ac_try="$ac_compile"
20154 case "(($ac_try" in
20155 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20156 *) ac_try_echo
=$ac_try;;
20158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20159 (eval "$ac_compile") 2>conftest.er1
20161 grep -v '^ *+' conftest.er1
>conftest.err
20163 cat conftest.err
>&5
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); } && {
20166 test -z "$ac_c_werror_flag" ||
20167 test ! -s conftest.err
20168 } && test -s conftest.
$ac_objext; then
20169 ac_lo
=$ac_mid; break
20171 echo "$as_me: failed program was:" >&5
20172 sed 's/^/| /' conftest.
$ac_ext >&5
20174 ac_hi
=`expr '(' $ac_mid ')' - 1`
20175 if test $ac_mid -le $ac_hi; then
20179 ac_mid
=`expr 2 '*' $ac_mid`
20182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20185 echo "$as_me: failed program was:" >&5
20186 sed 's/^/| /' conftest.
$ac_ext >&5
20191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20195 # Binary search between lo and hi bounds.
20196 while test "x$ac_lo" != "x$ac_hi"; do
20197 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20198 cat >conftest.
$ac_ext <<_ACEOF
20201 cat confdefs.h
>>conftest.
$ac_ext
20202 cat >>conftest.
$ac_ext <<_ACEOF
20203 /* end confdefs.h. */
20204 $ac_includes_default
20205 typedef void * ac__type_sizeof_;
20209 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20216 rm -f conftest.
$ac_objext
20217 if { (ac_try
="$ac_compile"
20218 case "(($ac_try" in
20219 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20220 *) ac_try_echo=$ac_try;;
20222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20223 (eval "$ac_compile") 2>conftest.er1
20225 grep -v '^ *+' conftest.er1 >conftest.err
20227 cat conftest.err >&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && {
20230 test -z "$ac_c_werror_flag" ||
20231 test ! -s conftest.err
20232 } && test -s conftest.$ac_objext; then
20235 echo "$as_me: failed program was:" >&5
20236 sed 's/^/| /' conftest.$ac_ext >&5
20238 ac_lo=`expr '(' $ac_mid ')' + 1`
20241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20244 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20245 '') if test "$ac_cv_type_void_p" = yes; then
20246 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20247 See \`config.log
' for more details." >&5
20248 echo "$as_me: error: cannot compute sizeof (void *)
20249 See \`config.log' for more details.
" >&2;}
20250 { (exit 77); exit 77; }; }
20252 ac_cv_sizeof_void_p=0
20256 cat >conftest.$ac_ext <<_ACEOF
20259 cat confdefs.h >>conftest.$ac_ext
20260 cat >>conftest.$ac_ext <<_ACEOF
20261 /* end confdefs.h. */
20262 $ac_includes_default
20263 typedef void * ac__type_sizeof_;
20264 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20265 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20267 #include <stdlib.h>
20272 FILE *f = fopen ("conftest.val
", "w
");
20275 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20277 long int i = longval ();
20278 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20280 fprintf (f, "%ld
\n", i);
20284 unsigned long int i = ulongval ();
20285 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20287 fprintf (f, "%lu
\n", i);
20289 return ferror (f) || fclose (f) != 0;
20295 rm -f conftest$ac_exeext
20296 if { (ac_try="$ac_link"
20297 case "(($ac_try" in
20298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20299 *) ac_try_echo=$ac_try;;
20301 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20302 (eval "$ac_link") 2>&5
20304 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20305 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20306 { (case "(($ac_try" in
20307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20308 *) ac_try_echo=$ac_try;;
20310 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20311 (eval "$ac_try") 2>&5
20313 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20314 (exit $ac_status); }; }; then
20315 ac_cv_sizeof_void_p=`cat conftest.val`
20317 echo "$as_me: program exited with status
$ac_status" >&5
20318 echo "$as_me: failed program was
:" >&5
20319 sed 's/^/| /' conftest.$ac_ext >&5
20321 ( exit $ac_status )
20322 if test "$ac_cv_type_void_p" = yes; then
20323 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20324 See \
`config.log' for more details." >&5
20325 echo "$as_me: error: cannot compute sizeof (void *)
20326 See \`config.log
' for more details." >&2;}
20327 { (exit 77); exit 77; }; }
20329 ac_cv_sizeof_void_p=0
20332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20336 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20337 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20341 cat >>confdefs.h <<_ACEOF
20342 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20346 { echo "$as_me:$LINENO: checking for int" >&5
20347 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20348 if test "${ac_cv_type_int+set}" = set; then
20349 echo $ECHO_N "(cached) $ECHO_C" >&6
20351 cat >conftest.$ac_ext <<_ACEOF
20354 cat confdefs.h >>conftest.$ac_ext
20355 cat >>conftest.$ac_ext <<_ACEOF
20356 /* end confdefs.h. */
20357 $ac_includes_default
20358 typedef int ac__type_new_;
20362 if ((ac__type_new_ *) 0)
20364 if (sizeof (ac__type_new_))
20370 rm -f conftest.$ac_objext
20371 if { (ac_try="$ac_compile"
20372 case "(($ac_try" in
20373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20374 *) ac_try_echo=$ac_try;;
20376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20377 (eval "$ac_compile") 2>conftest.er1
20379 grep -v '^
*+' conftest.er1 >conftest.err
20381 cat conftest.err >&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); } && {
20384 test -z "$ac_c_werror_flag" ||
20385 test ! -s conftest.err
20386 } && test -s conftest.$ac_objext; then
20389 echo "$as_me: failed program was:" >&5
20390 sed 's
/^
/| /' conftest.$ac_ext >&5
20395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20397 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20398 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20400 # The cast to long int works around a bug in the HP C Compiler
20401 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20402 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20403 # This bug is HP SR number 8606223364.
20404 { echo "$as_me:$LINENO: checking size of int" >&5
20405 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20406 if test "${ac_cv_sizeof_int+set}" = set; then
20407 echo $ECHO_N "(cached) $ECHO_C" >&6
20409 if test "$cross_compiling" = yes; then
20410 # Depending upon the size, compute the lo and hi bounds.
20411 cat >conftest.
$ac_ext <<_ACEOF
20414 cat confdefs.h
>>conftest.
$ac_ext
20415 cat >>conftest.
$ac_ext <<_ACEOF
20416 /* end confdefs.h. */
20417 $ac_includes_default
20418 typedef int ac__type_sizeof_;
20422 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20429 rm -f conftest.
$ac_objext
20430 if { (ac_try
="$ac_compile"
20431 case "(($ac_try" in
20432 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20433 *) ac_try_echo=$ac_try;;
20435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20436 (eval "$ac_compile") 2>conftest.er1
20438 grep -v '^ *+' conftest.er1 >conftest.err
20440 cat conftest.err >&5
20441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20442 (exit $ac_status); } && {
20443 test -z "$ac_c_werror_flag" ||
20444 test ! -s conftest.err
20445 } && test -s conftest.$ac_objext; then
20448 cat >conftest.$ac_ext <<_ACEOF
20451 cat confdefs.h >>conftest.$ac_ext
20452 cat >>conftest.$ac_ext <<_ACEOF
20453 /* end confdefs.h. */
20454 $ac_includes_default
20455 typedef int ac__type_sizeof_;
20459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20466 rm -f conftest.$ac_objext
20467 if { (ac_try="$ac_compile"
20468 case "(($ac_try" in
20469 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20470 *) ac_try_echo
=$ac_try;;
20472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20473 (eval "$ac_compile") 2>conftest.er1
20475 grep -v '^ *+' conftest.er1
>conftest.err
20477 cat conftest.err
>&5
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); } && {
20480 test -z "$ac_c_werror_flag" ||
20481 test ! -s conftest.err
20482 } && test -s conftest.
$ac_objext; then
20483 ac_hi
=$ac_mid; break
20485 echo "$as_me: failed program was:" >&5
20486 sed 's/^/| /' conftest.
$ac_ext >&5
20488 ac_lo
=`expr $ac_mid + 1`
20489 if test $ac_lo -le $ac_mid; then
20493 ac_mid
=`expr 2 '*' $ac_mid + 1`
20496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20499 echo "$as_me: failed program was:" >&5
20500 sed 's/^/| /' conftest.
$ac_ext >&5
20502 cat >conftest.
$ac_ext <<_ACEOF
20505 cat confdefs.h
>>conftest.
$ac_ext
20506 cat >>conftest.
$ac_ext <<_ACEOF
20507 /* end confdefs.h. */
20508 $ac_includes_default
20509 typedef int ac__type_sizeof_;
20513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20520 rm -f conftest.
$ac_objext
20521 if { (ac_try
="$ac_compile"
20522 case "(($ac_try" in
20523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20524 *) ac_try_echo=$ac_try;;
20526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20527 (eval "$ac_compile") 2>conftest.er1
20529 grep -v '^ *+' conftest.er1 >conftest.err
20531 cat conftest.err >&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } && {
20534 test -z "$ac_c_werror_flag" ||
20535 test ! -s conftest.err
20536 } && test -s conftest.$ac_objext; then
20539 cat >conftest.$ac_ext <<_ACEOF
20542 cat confdefs.h >>conftest.$ac_ext
20543 cat >>conftest.$ac_ext <<_ACEOF
20544 /* end confdefs.h. */
20545 $ac_includes_default
20546 typedef int ac__type_sizeof_;
20550 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20557 rm -f conftest.$ac_objext
20558 if { (ac_try="$ac_compile"
20559 case "(($ac_try" in
20560 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20561 *) ac_try_echo
=$ac_try;;
20563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20564 (eval "$ac_compile") 2>conftest.er1
20566 grep -v '^ *+' conftest.er1
>conftest.err
20568 cat conftest.err
>&5
20569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20570 (exit $ac_status); } && {
20571 test -z "$ac_c_werror_flag" ||
20572 test ! -s conftest.err
20573 } && test -s conftest.
$ac_objext; then
20574 ac_lo
=$ac_mid; break
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.
$ac_ext >&5
20579 ac_hi
=`expr '(' $ac_mid ')' - 1`
20580 if test $ac_mid -le $ac_hi; then
20584 ac_mid
=`expr 2 '*' $ac_mid`
20587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20590 echo "$as_me: failed program was:" >&5
20591 sed 's/^/| /' conftest.
$ac_ext >&5
20596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20600 # Binary search between lo and hi bounds.
20601 while test "x$ac_lo" != "x$ac_hi"; do
20602 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20603 cat >conftest.
$ac_ext <<_ACEOF
20606 cat confdefs.h
>>conftest.
$ac_ext
20607 cat >>conftest.
$ac_ext <<_ACEOF
20608 /* end confdefs.h. */
20609 $ac_includes_default
20610 typedef int ac__type_sizeof_;
20614 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20621 rm -f conftest.
$ac_objext
20622 if { (ac_try
="$ac_compile"
20623 case "(($ac_try" in
20624 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20625 *) ac_try_echo=$ac_try;;
20627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20628 (eval "$ac_compile") 2>conftest.er1
20630 grep -v '^ *+' conftest.er1 >conftest.err
20632 cat conftest.err >&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); } && {
20635 test -z "$ac_c_werror_flag" ||
20636 test ! -s conftest.err
20637 } && test -s conftest.$ac_objext; then
20640 echo "$as_me: failed program was:" >&5
20641 sed 's/^/| /' conftest.$ac_ext >&5
20643 ac_lo=`expr '(' $ac_mid ')' + 1`
20646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20649 ?*) ac_cv_sizeof_int=$ac_lo;;
20650 '') if test "$ac_cv_type_int" = yes; then
20651 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20652 See \`config.log
' for more details." >&5
20653 echo "$as_me: error: cannot compute sizeof (int)
20654 See \`config.log' for more details.
" >&2;}
20655 { (exit 77); exit 77; }; }
20661 cat >conftest.$ac_ext <<_ACEOF
20664 cat confdefs.h >>conftest.$ac_ext
20665 cat >>conftest.$ac_ext <<_ACEOF
20666 /* end confdefs.h. */
20667 $ac_includes_default
20668 typedef int ac__type_sizeof_;
20669 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20670 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20672 #include <stdlib.h>
20677 FILE *f = fopen ("conftest.val
", "w
");
20680 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20682 long int i = longval ();
20683 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20685 fprintf (f, "%ld
\n", i);
20689 unsigned long int i = ulongval ();
20690 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20692 fprintf (f, "%lu
\n", i);
20694 return ferror (f) || fclose (f) != 0;
20700 rm -f conftest$ac_exeext
20701 if { (ac_try="$ac_link"
20702 case "(($ac_try" in
20703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20704 *) ac_try_echo=$ac_try;;
20706 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20707 (eval "$ac_link") 2>&5
20709 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20710 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20711 { (case "(($ac_try" in
20712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20713 *) ac_try_echo=$ac_try;;
20715 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20716 (eval "$ac_try") 2>&5
20718 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20719 (exit $ac_status); }; }; then
20720 ac_cv_sizeof_int=`cat conftest.val`
20722 echo "$as_me: program exited with status
$ac_status" >&5
20723 echo "$as_me: failed program was
:" >&5
20724 sed 's/^/| /' conftest.$ac_ext >&5
20726 ( exit $ac_status )
20727 if test "$ac_cv_type_int" = yes; then
20728 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20729 See \
`config.log' for more details." >&5
20730 echo "$as_me: error: cannot compute sizeof (int)
20731 See \`config.log
' for more details." >&2;}
20732 { (exit 77); exit 77; }; }
20737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20741 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20742 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20746 cat >>confdefs.h <<_ACEOF
20747 #define SIZEOF_INT $ac_cv_sizeof_int
20751 { echo "$as_me:$LINENO: checking for long" >&5
20752 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20753 if test "${ac_cv_type_long+set}" = set; then
20754 echo $ECHO_N "(cached) $ECHO_C" >&6
20756 cat >conftest.$ac_ext <<_ACEOF
20759 cat confdefs.h >>conftest.$ac_ext
20760 cat >>conftest.$ac_ext <<_ACEOF
20761 /* end confdefs.h. */
20762 $ac_includes_default
20763 typedef long ac__type_new_;
20767 if ((ac__type_new_ *) 0)
20769 if (sizeof (ac__type_new_))
20775 rm -f conftest.$ac_objext
20776 if { (ac_try="$ac_compile"
20777 case "(($ac_try" in
20778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20779 *) ac_try_echo=$ac_try;;
20781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20782 (eval "$ac_compile") 2>conftest.er1
20784 grep -v '^
*+' conftest.er1 >conftest.err
20786 cat conftest.err >&5
20787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788 (exit $ac_status); } && {
20789 test -z "$ac_c_werror_flag" ||
20790 test ! -s conftest.err
20791 } && test -s conftest.$ac_objext; then
20792 ac_cv_type_long=yes
20794 echo "$as_me: failed program was:" >&5
20795 sed 's
/^
/| /' conftest.$ac_ext >&5
20800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20802 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20803 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20805 # The cast to long int works around a bug in the HP C Compiler
20806 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20807 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20808 # This bug is HP SR number 8606223364.
20809 { echo "$as_me:$LINENO: checking size of long" >&5
20810 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20811 if test "${ac_cv_sizeof_long+set}" = set; then
20812 echo $ECHO_N "(cached) $ECHO_C" >&6
20814 if test "$cross_compiling" = yes; then
20815 # Depending upon the size, compute the lo and hi bounds.
20816 cat >conftest.
$ac_ext <<_ACEOF
20819 cat confdefs.h
>>conftest.
$ac_ext
20820 cat >>conftest.
$ac_ext <<_ACEOF
20821 /* end confdefs.h. */
20822 $ac_includes_default
20823 typedef long ac__type_sizeof_;
20827 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20834 rm -f conftest.
$ac_objext
20835 if { (ac_try
="$ac_compile"
20836 case "(($ac_try" in
20837 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20838 *) ac_try_echo=$ac_try;;
20840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20841 (eval "$ac_compile") 2>conftest.er1
20843 grep -v '^ *+' conftest.er1 >conftest.err
20845 cat conftest.err >&5
20846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847 (exit $ac_status); } && {
20848 test -z "$ac_c_werror_flag" ||
20849 test ! -s conftest.err
20850 } && test -s conftest.$ac_objext; then
20853 cat >conftest.$ac_ext <<_ACEOF
20856 cat confdefs.h >>conftest.$ac_ext
20857 cat >>conftest.$ac_ext <<_ACEOF
20858 /* end confdefs.h. */
20859 $ac_includes_default
20860 typedef long ac__type_sizeof_;
20864 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20871 rm -f conftest.$ac_objext
20872 if { (ac_try="$ac_compile"
20873 case "(($ac_try" in
20874 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20875 *) ac_try_echo
=$ac_try;;
20877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20878 (eval "$ac_compile") 2>conftest.er1
20880 grep -v '^ *+' conftest.er1
>conftest.err
20882 cat conftest.err
>&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); } && {
20885 test -z "$ac_c_werror_flag" ||
20886 test ! -s conftest.err
20887 } && test -s conftest.
$ac_objext; then
20888 ac_hi
=$ac_mid; break
20890 echo "$as_me: failed program was:" >&5
20891 sed 's/^/| /' conftest.
$ac_ext >&5
20893 ac_lo
=`expr $ac_mid + 1`
20894 if test $ac_lo -le $ac_mid; then
20898 ac_mid
=`expr 2 '*' $ac_mid + 1`
20901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20904 echo "$as_me: failed program was:" >&5
20905 sed 's/^/| /' conftest.
$ac_ext >&5
20907 cat >conftest.
$ac_ext <<_ACEOF
20910 cat confdefs.h
>>conftest.
$ac_ext
20911 cat >>conftest.
$ac_ext <<_ACEOF
20912 /* end confdefs.h. */
20913 $ac_includes_default
20914 typedef long ac__type_sizeof_;
20918 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20925 rm -f conftest.
$ac_objext
20926 if { (ac_try
="$ac_compile"
20927 case "(($ac_try" in
20928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20929 *) ac_try_echo=$ac_try;;
20931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20932 (eval "$ac_compile") 2>conftest.er1
20934 grep -v '^ *+' conftest.er1 >conftest.err
20936 cat conftest.err >&5
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); } && {
20939 test -z "$ac_c_werror_flag" ||
20940 test ! -s conftest.err
20941 } && test -s conftest.$ac_objext; then
20944 cat >conftest.$ac_ext <<_ACEOF
20947 cat confdefs.h >>conftest.$ac_ext
20948 cat >>conftest.$ac_ext <<_ACEOF
20949 /* end confdefs.h. */
20950 $ac_includes_default
20951 typedef long ac__type_sizeof_;
20955 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20962 rm -f conftest.$ac_objext
20963 if { (ac_try="$ac_compile"
20964 case "(($ac_try" in
20965 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20966 *) ac_try_echo
=$ac_try;;
20968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20969 (eval "$ac_compile") 2>conftest.er1
20971 grep -v '^ *+' conftest.er1
>conftest.err
20973 cat conftest.err
>&5
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); } && {
20976 test -z "$ac_c_werror_flag" ||
20977 test ! -s conftest.err
20978 } && test -s conftest.
$ac_objext; then
20979 ac_lo
=$ac_mid; break
20981 echo "$as_me: failed program was:" >&5
20982 sed 's/^/| /' conftest.
$ac_ext >&5
20984 ac_hi
=`expr '(' $ac_mid ')' - 1`
20985 if test $ac_mid -le $ac_hi; then
20989 ac_mid
=`expr 2 '*' $ac_mid`
20992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20995 echo "$as_me: failed program was:" >&5
20996 sed 's/^/| /' conftest.
$ac_ext >&5
21001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21005 # Binary search between lo and hi bounds.
21006 while test "x$ac_lo" != "x$ac_hi"; do
21007 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21008 cat >conftest.
$ac_ext <<_ACEOF
21011 cat confdefs.h
>>conftest.
$ac_ext
21012 cat >>conftest.
$ac_ext <<_ACEOF
21013 /* end confdefs.h. */
21014 $ac_includes_default
21015 typedef long ac__type_sizeof_;
21019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21026 rm -f conftest.
$ac_objext
21027 if { (ac_try
="$ac_compile"
21028 case "(($ac_try" in
21029 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21030 *) ac_try_echo=$ac_try;;
21032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21033 (eval "$ac_compile") 2>conftest.er1
21035 grep -v '^ *+' conftest.er1 >conftest.err
21037 cat conftest.err >&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); } && {
21040 test -z "$ac_c_werror_flag" ||
21041 test ! -s conftest.err
21042 } && test -s conftest.$ac_objext; then
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.$ac_ext >&5
21048 ac_lo=`expr '(' $ac_mid ')' + 1`
21051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21054 ?*) ac_cv_sizeof_long=$ac_lo;;
21055 '') if test "$ac_cv_type_long" = yes; then
21056 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21057 See \`config.log
' for more details." >&5
21058 echo "$as_me: error: cannot compute sizeof (long)
21059 See \`config.log' for more details.
" >&2;}
21060 { (exit 77); exit 77; }; }
21062 ac_cv_sizeof_long=0
21066 cat >conftest.$ac_ext <<_ACEOF
21069 cat confdefs.h >>conftest.$ac_ext
21070 cat >>conftest.$ac_ext <<_ACEOF
21071 /* end confdefs.h. */
21072 $ac_includes_default
21073 typedef long ac__type_sizeof_;
21074 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21075 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21077 #include <stdlib.h>
21082 FILE *f = fopen ("conftest.val
", "w
");
21085 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21087 long int i = longval ();
21088 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21090 fprintf (f, "%ld
\n", i);
21094 unsigned long int i = ulongval ();
21095 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21097 fprintf (f, "%lu
\n", i);
21099 return ferror (f) || fclose (f) != 0;
21105 rm -f conftest$ac_exeext
21106 if { (ac_try="$ac_link"
21107 case "(($ac_try" in
21108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21109 *) ac_try_echo=$ac_try;;
21111 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21112 (eval "$ac_link") 2>&5
21114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21115 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21116 { (case "(($ac_try" in
21117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21118 *) ac_try_echo=$ac_try;;
21120 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21121 (eval "$ac_try") 2>&5
21123 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21124 (exit $ac_status); }; }; then
21125 ac_cv_sizeof_long=`cat conftest.val`
21127 echo "$as_me: program exited with status
$ac_status" >&5
21128 echo "$as_me: failed program was
:" >&5
21129 sed 's/^/| /' conftest.$ac_ext >&5
21131 ( exit $ac_status )
21132 if test "$ac_cv_type_long" = yes; then
21133 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21134 See \
`config.log' for more details." >&5
21135 echo "$as_me: error: cannot compute sizeof (long)
21136 See \`config.log
' for more details." >&2;}
21137 { (exit 77); exit 77; }; }
21139 ac_cv_sizeof_long=0
21142 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21146 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21147 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21151 cat >>confdefs.h <<_ACEOF
21152 #define SIZEOF_LONG $ac_cv_sizeof_long
21156 { echo "$as_me:$LINENO: checking for size_t" >&5
21157 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21158 if test "${ac_cv_type_size_t+set}" = set; then
21159 echo $ECHO_N "(cached) $ECHO_C" >&6
21161 cat >conftest.$ac_ext <<_ACEOF
21164 cat confdefs.h >>conftest.$ac_ext
21165 cat >>conftest.$ac_ext <<_ACEOF
21166 /* end confdefs.h. */
21167 $ac_includes_default
21168 typedef size_t ac__type_new_;
21172 if ((ac__type_new_ *) 0)
21174 if (sizeof (ac__type_new_))
21180 rm -f conftest.$ac_objext
21181 if { (ac_try="$ac_compile"
21182 case "(($ac_try" in
21183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21184 *) ac_try_echo=$ac_try;;
21186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21187 (eval "$ac_compile") 2>conftest.er1
21189 grep -v '^
*+' conftest.er1 >conftest.err
21191 cat conftest.err >&5
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); } && {
21194 test -z "$ac_c_werror_flag" ||
21195 test ! -s conftest.err
21196 } && test -s conftest.$ac_objext; then
21197 ac_cv_type_size_t=yes
21199 echo "$as_me: failed program was:" >&5
21200 sed 's
/^
/| /' conftest.$ac_ext >&5
21202 ac_cv_type_size_t=no
21205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21207 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21208 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21210 # The cast to long int works around a bug in the HP C Compiler
21211 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21212 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21213 # This bug is HP SR number 8606223364.
21214 { echo "$as_me:$LINENO: checking size of size_t" >&5
21215 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21216 if test "${ac_cv_sizeof_size_t+set}" = set; then
21217 echo $ECHO_N "(cached) $ECHO_C" >&6
21219 if test "$cross_compiling" = yes; then
21220 # Depending upon the size, compute the lo and hi bounds.
21221 cat >conftest.
$ac_ext <<_ACEOF
21224 cat confdefs.h
>>conftest.
$ac_ext
21225 cat >>conftest.
$ac_ext <<_ACEOF
21226 /* end confdefs.h. */
21227 $ac_includes_default
21228 typedef size_t ac__type_sizeof_;
21232 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21239 rm -f conftest.
$ac_objext
21240 if { (ac_try
="$ac_compile"
21241 case "(($ac_try" in
21242 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21243 *) ac_try_echo=$ac_try;;
21245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21246 (eval "$ac_compile") 2>conftest.er1
21248 grep -v '^ *+' conftest.er1 >conftest.err
21250 cat conftest.err >&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); } && {
21253 test -z "$ac_c_werror_flag" ||
21254 test ! -s conftest.err
21255 } && test -s conftest.$ac_objext; then
21258 cat >conftest.$ac_ext <<_ACEOF
21261 cat confdefs.h >>conftest.$ac_ext
21262 cat >>conftest.$ac_ext <<_ACEOF
21263 /* end confdefs.h. */
21264 $ac_includes_default
21265 typedef size_t ac__type_sizeof_;
21269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21276 rm -f conftest.$ac_objext
21277 if { (ac_try="$ac_compile"
21278 case "(($ac_try" in
21279 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21280 *) ac_try_echo
=$ac_try;;
21282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21283 (eval "$ac_compile") 2>conftest.er1
21285 grep -v '^ *+' conftest.er1
>conftest.err
21287 cat conftest.err
>&5
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); } && {
21290 test -z "$ac_c_werror_flag" ||
21291 test ! -s conftest.err
21292 } && test -s conftest.
$ac_objext; then
21293 ac_hi
=$ac_mid; break
21295 echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.
$ac_ext >&5
21298 ac_lo
=`expr $ac_mid + 1`
21299 if test $ac_lo -le $ac_mid; then
21303 ac_mid
=`expr 2 '*' $ac_mid + 1`
21306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21309 echo "$as_me: failed program was:" >&5
21310 sed 's/^/| /' conftest.
$ac_ext >&5
21312 cat >conftest.
$ac_ext <<_ACEOF
21315 cat confdefs.h
>>conftest.
$ac_ext
21316 cat >>conftest.
$ac_ext <<_ACEOF
21317 /* end confdefs.h. */
21318 $ac_includes_default
21319 typedef size_t ac__type_sizeof_;
21323 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21330 rm -f conftest.
$ac_objext
21331 if { (ac_try
="$ac_compile"
21332 case "(($ac_try" in
21333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21334 *) ac_try_echo=$ac_try;;
21336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21337 (eval "$ac_compile") 2>conftest.er1
21339 grep -v '^ *+' conftest.er1 >conftest.err
21341 cat conftest.err >&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); } && {
21344 test -z "$ac_c_werror_flag" ||
21345 test ! -s conftest.err
21346 } && test -s conftest.$ac_objext; then
21349 cat >conftest.$ac_ext <<_ACEOF
21352 cat confdefs.h >>conftest.$ac_ext
21353 cat >>conftest.$ac_ext <<_ACEOF
21354 /* end confdefs.h. */
21355 $ac_includes_default
21356 typedef size_t ac__type_sizeof_;
21360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21367 rm -f conftest.$ac_objext
21368 if { (ac_try="$ac_compile"
21369 case "(($ac_try" in
21370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21371 *) ac_try_echo
=$ac_try;;
21373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21374 (eval "$ac_compile") 2>conftest.er1
21376 grep -v '^ *+' conftest.er1
>conftest.err
21378 cat conftest.err
>&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); } && {
21381 test -z "$ac_c_werror_flag" ||
21382 test ! -s conftest.err
21383 } && test -s conftest.
$ac_objext; then
21384 ac_lo
=$ac_mid; break
21386 echo "$as_me: failed program was:" >&5
21387 sed 's/^/| /' conftest.
$ac_ext >&5
21389 ac_hi
=`expr '(' $ac_mid ')' - 1`
21390 if test $ac_mid -le $ac_hi; then
21394 ac_mid
=`expr 2 '*' $ac_mid`
21397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21400 echo "$as_me: failed program was:" >&5
21401 sed 's/^/| /' conftest.
$ac_ext >&5
21406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21410 # Binary search between lo and hi bounds.
21411 while test "x$ac_lo" != "x$ac_hi"; do
21412 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21413 cat >conftest.
$ac_ext <<_ACEOF
21416 cat confdefs.h
>>conftest.
$ac_ext
21417 cat >>conftest.
$ac_ext <<_ACEOF
21418 /* end confdefs.h. */
21419 $ac_includes_default
21420 typedef size_t ac__type_sizeof_;
21424 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21431 rm -f conftest.
$ac_objext
21432 if { (ac_try
="$ac_compile"
21433 case "(($ac_try" in
21434 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21435 *) ac_try_echo=$ac_try;;
21437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21438 (eval "$ac_compile") 2>conftest.er1
21440 grep -v '^ *+' conftest.er1 >conftest.err
21442 cat conftest.err >&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); } && {
21445 test -z "$ac_c_werror_flag" ||
21446 test ! -s conftest.err
21447 } && test -s conftest.$ac_objext; then
21450 echo "$as_me: failed program was:" >&5
21451 sed 's/^/| /' conftest.$ac_ext >&5
21453 ac_lo=`expr '(' $ac_mid ')' + 1`
21456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21459 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21460 '') if test "$ac_cv_type_size_t" = yes; then
21461 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21462 See \`config.log
' for more details." >&5
21463 echo "$as_me: error: cannot compute sizeof (size_t)
21464 See \`config.log' for more details.
" >&2;}
21465 { (exit 77); exit 77; }; }
21467 ac_cv_sizeof_size_t=0
21471 cat >conftest.$ac_ext <<_ACEOF
21474 cat confdefs.h >>conftest.$ac_ext
21475 cat >>conftest.$ac_ext <<_ACEOF
21476 /* end confdefs.h. */
21477 $ac_includes_default
21478 typedef size_t ac__type_sizeof_;
21479 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21480 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21482 #include <stdlib.h>
21487 FILE *f = fopen ("conftest.val
", "w
");
21490 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21492 long int i = longval ();
21493 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21495 fprintf (f, "%ld
\n", i);
21499 unsigned long int i = ulongval ();
21500 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21502 fprintf (f, "%lu
\n", i);
21504 return ferror (f) || fclose (f) != 0;
21510 rm -f conftest$ac_exeext
21511 if { (ac_try="$ac_link"
21512 case "(($ac_try" in
21513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21514 *) ac_try_echo=$ac_try;;
21516 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21517 (eval "$ac_link") 2>&5
21519 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21520 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21521 { (case "(($ac_try" in
21522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21523 *) ac_try_echo=$ac_try;;
21525 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21526 (eval "$ac_try") 2>&5
21528 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21529 (exit $ac_status); }; }; then
21530 ac_cv_sizeof_size_t=`cat conftest.val`
21532 echo "$as_me: program exited with status
$ac_status" >&5
21533 echo "$as_me: failed program was
:" >&5
21534 sed 's/^/| /' conftest.$ac_ext >&5
21536 ( exit $ac_status )
21537 if test "$ac_cv_type_size_t" = yes; then
21538 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21539 See \
`config.log' for more details." >&5
21540 echo "$as_me: error: cannot compute sizeof (size_t)
21541 See \`config.log
' for more details." >&2;}
21542 { (exit 77); exit 77; }; }
21544 ac_cv_sizeof_size_t=0
21547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21551 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21552 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21556 cat >>confdefs.h <<_ACEOF
21557 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21564 { echo "$as_me:$LINENO: checking for long long" >&5
21565 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21566 if test "${ac_cv_type_long_long+set}" = set; then
21567 echo $ECHO_N "(cached) $ECHO_C" >&6
21569 cat >conftest.$ac_ext <<_ACEOF
21572 cat confdefs.h >>conftest.$ac_ext
21573 cat >>conftest.$ac_ext <<_ACEOF
21574 /* end confdefs.h. */
21575 $ac_includes_default
21576 typedef long long ac__type_new_;
21580 if ((ac__type_new_ *) 0)
21582 if (sizeof (ac__type_new_))
21588 rm -f conftest.$ac_objext
21589 if { (ac_try="$ac_compile"
21590 case "(($ac_try" in
21591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21592 *) ac_try_echo=$ac_try;;
21594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21595 (eval "$ac_compile") 2>conftest.er1
21597 grep -v '^
*+' conftest.er1 >conftest.err
21599 cat conftest.err >&5
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); } && {
21602 test -z "$ac_c_werror_flag" ||
21603 test ! -s conftest.err
21604 } && test -s conftest.$ac_objext; then
21605 ac_cv_type_long_long=yes
21607 echo "$as_me: failed program was:" >&5
21608 sed 's
/^
/| /' conftest.$ac_ext >&5
21610 ac_cv_type_long_long=no
21613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21615 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21616 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21618 # The cast to long int works around a bug in the HP C Compiler
21619 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21620 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21621 # This bug is HP SR number 8606223364.
21622 { echo "$as_me:$LINENO: checking size of long long" >&5
21623 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21624 if test "${ac_cv_sizeof_long_long+set}" = set; then
21625 echo $ECHO_N "(cached) $ECHO_C" >&6
21627 if test "$cross_compiling" = yes; then
21628 # Depending upon the size, compute the lo and hi bounds.
21629 cat >conftest.
$ac_ext <<_ACEOF
21632 cat confdefs.h
>>conftest.
$ac_ext
21633 cat >>conftest.
$ac_ext <<_ACEOF
21634 /* end confdefs.h. */
21635 $ac_includes_default
21636 typedef long long ac__type_sizeof_;
21640 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21647 rm -f conftest.
$ac_objext
21648 if { (ac_try
="$ac_compile"
21649 case "(($ac_try" in
21650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21651 *) ac_try_echo=$ac_try;;
21653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21654 (eval "$ac_compile") 2>conftest.er1
21656 grep -v '^ *+' conftest.er1 >conftest.err
21658 cat conftest.err >&5
21659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21660 (exit $ac_status); } && {
21661 test -z "$ac_c_werror_flag" ||
21662 test ! -s conftest.err
21663 } && test -s conftest.$ac_objext; then
21666 cat >conftest.$ac_ext <<_ACEOF
21669 cat confdefs.h >>conftest.$ac_ext
21670 cat >>conftest.$ac_ext <<_ACEOF
21671 /* end confdefs.h. */
21672 $ac_includes_default
21673 typedef long long ac__type_sizeof_;
21677 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21684 rm -f conftest.$ac_objext
21685 if { (ac_try="$ac_compile"
21686 case "(($ac_try" in
21687 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21688 *) ac_try_echo
=$ac_try;;
21690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21691 (eval "$ac_compile") 2>conftest.er1
21693 grep -v '^ *+' conftest.er1
>conftest.err
21695 cat conftest.err
>&5
21696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21697 (exit $ac_status); } && {
21698 test -z "$ac_c_werror_flag" ||
21699 test ! -s conftest.err
21700 } && test -s conftest.
$ac_objext; then
21701 ac_hi
=$ac_mid; break
21703 echo "$as_me: failed program was:" >&5
21704 sed 's/^/| /' conftest.
$ac_ext >&5
21706 ac_lo
=`expr $ac_mid + 1`
21707 if test $ac_lo -le $ac_mid; then
21711 ac_mid
=`expr 2 '*' $ac_mid + 1`
21714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21717 echo "$as_me: failed program was:" >&5
21718 sed 's/^/| /' conftest.
$ac_ext >&5
21720 cat >conftest.
$ac_ext <<_ACEOF
21723 cat confdefs.h
>>conftest.
$ac_ext
21724 cat >>conftest.
$ac_ext <<_ACEOF
21725 /* end confdefs.h. */
21726 $ac_includes_default
21727 typedef long long ac__type_sizeof_;
21731 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21738 rm -f conftest.
$ac_objext
21739 if { (ac_try
="$ac_compile"
21740 case "(($ac_try" in
21741 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21742 *) ac_try_echo=$ac_try;;
21744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21745 (eval "$ac_compile") 2>conftest.er1
21747 grep -v '^ *+' conftest.er1 >conftest.err
21749 cat conftest.err >&5
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); } && {
21752 test -z "$ac_c_werror_flag" ||
21753 test ! -s conftest.err
21754 } && test -s conftest.$ac_objext; then
21757 cat >conftest.$ac_ext <<_ACEOF
21760 cat confdefs.h >>conftest.$ac_ext
21761 cat >>conftest.$ac_ext <<_ACEOF
21762 /* end confdefs.h. */
21763 $ac_includes_default
21764 typedef long long ac__type_sizeof_;
21768 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21775 rm -f conftest.$ac_objext
21776 if { (ac_try="$ac_compile"
21777 case "(($ac_try" in
21778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21779 *) ac_try_echo
=$ac_try;;
21781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21782 (eval "$ac_compile") 2>conftest.er1
21784 grep -v '^ *+' conftest.er1
>conftest.err
21786 cat conftest.err
>&5
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); } && {
21789 test -z "$ac_c_werror_flag" ||
21790 test ! -s conftest.err
21791 } && test -s conftest.
$ac_objext; then
21792 ac_lo
=$ac_mid; break
21794 echo "$as_me: failed program was:" >&5
21795 sed 's/^/| /' conftest.
$ac_ext >&5
21797 ac_hi
=`expr '(' $ac_mid ')' - 1`
21798 if test $ac_mid -le $ac_hi; then
21802 ac_mid
=`expr 2 '*' $ac_mid`
21805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21808 echo "$as_me: failed program was:" >&5
21809 sed 's/^/| /' conftest.
$ac_ext >&5
21814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21818 # Binary search between lo and hi bounds.
21819 while test "x$ac_lo" != "x$ac_hi"; do
21820 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21821 cat >conftest.
$ac_ext <<_ACEOF
21824 cat confdefs.h
>>conftest.
$ac_ext
21825 cat >>conftest.
$ac_ext <<_ACEOF
21826 /* end confdefs.h. */
21827 $ac_includes_default
21828 typedef long long ac__type_sizeof_;
21832 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21839 rm -f conftest.
$ac_objext
21840 if { (ac_try
="$ac_compile"
21841 case "(($ac_try" in
21842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21843 *) ac_try_echo=$ac_try;;
21845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21846 (eval "$ac_compile") 2>conftest.er1
21848 grep -v '^ *+' conftest.er1 >conftest.err
21850 cat conftest.err >&5
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); } && {
21853 test -z "$ac_c_werror_flag" ||
21854 test ! -s conftest.err
21855 } && test -s conftest.$ac_objext; then
21858 echo "$as_me: failed program was:" >&5
21859 sed 's/^/| /' conftest.$ac_ext >&5
21861 ac_lo=`expr '(' $ac_mid ')' + 1`
21864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21867 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21868 '') if test "$ac_cv_type_long_long" = yes; then
21869 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21870 See \`config.log
' for more details." >&5
21871 echo "$as_me: error: cannot compute sizeof (long long)
21872 See \`config.log' for more details.
" >&2;}
21873 { (exit 77); exit 77; }; }
21875 ac_cv_sizeof_long_long=0
21879 cat >conftest.$ac_ext <<_ACEOF
21882 cat confdefs.h >>conftest.$ac_ext
21883 cat >>conftest.$ac_ext <<_ACEOF
21884 /* end confdefs.h. */
21885 $ac_includes_default
21886 typedef long long ac__type_sizeof_;
21887 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21888 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21890 #include <stdlib.h>
21895 FILE *f = fopen ("conftest.val
", "w
");
21898 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21900 long int i = longval ();
21901 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21903 fprintf (f, "%ld
\n", i);
21907 unsigned long int i = ulongval ();
21908 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21910 fprintf (f, "%lu
\n", i);
21912 return ferror (f) || fclose (f) != 0;
21918 rm -f conftest$ac_exeext
21919 if { (ac_try="$ac_link"
21920 case "(($ac_try" in
21921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21922 *) ac_try_echo=$ac_try;;
21924 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21925 (eval "$ac_link") 2>&5
21927 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21928 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21929 { (case "(($ac_try" in
21930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21931 *) ac_try_echo=$ac_try;;
21933 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21934 (eval "$ac_try") 2>&5
21936 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21937 (exit $ac_status); }; }; then
21938 ac_cv_sizeof_long_long=`cat conftest.val`
21940 echo "$as_me: program exited with status
$ac_status" >&5
21941 echo "$as_me: failed program was
:" >&5
21942 sed 's/^/| /' conftest.$ac_ext >&5
21944 ( exit $ac_status )
21945 if test "$ac_cv_type_long_long" = yes; then
21946 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21947 See \
`config.log' for more details." >&5
21948 echo "$as_me: error: cannot compute sizeof (long long)
21949 See \`config.log
' for more details." >&2;}
21950 { (exit 77); exit 77; }; }
21952 ac_cv_sizeof_long_long=0
21955 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21959 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21960 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21964 cat >>confdefs.h <<_ACEOF
21965 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21971 { echo "$as_me:$LINENO: checking for long long" >&5
21972 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21973 if test "${ac_cv_type_long_long+set}" = set; then
21974 echo $ECHO_N "(cached) $ECHO_C" >&6
21976 cat >conftest.$ac_ext <<_ACEOF
21979 cat confdefs.h >>conftest.$ac_ext
21980 cat >>conftest.$ac_ext <<_ACEOF
21981 /* end confdefs.h. */
21982 $ac_includes_default
21983 typedef long long ac__type_new_;
21987 if ((ac__type_new_ *) 0)
21989 if (sizeof (ac__type_new_))
21995 rm -f conftest.$ac_objext
21996 if { (ac_try="$ac_compile"
21997 case "(($ac_try" in
21998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21999 *) ac_try_echo=$ac_try;;
22001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22002 (eval "$ac_compile") 2>conftest.er1
22004 grep -v '^
*+' conftest.er1 >conftest.err
22006 cat conftest.err >&5
22007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008 (exit $ac_status); } && {
22009 test -z "$ac_c_werror_flag" ||
22010 test ! -s conftest.err
22011 } && test -s conftest.$ac_objext; then
22012 ac_cv_type_long_long=yes
22014 echo "$as_me: failed program was:" >&5
22015 sed 's
/^
/| /' conftest.$ac_ext >&5
22017 ac_cv_type_long_long=no
22020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22022 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22023 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22025 # The cast to long int works around a bug in the HP C Compiler
22026 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22027 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22028 # This bug is HP SR number 8606223364.
22029 { echo "$as_me:$LINENO: checking size of long long" >&5
22030 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22031 if test "${ac_cv_sizeof_long_long+set}" = set; then
22032 echo $ECHO_N "(cached) $ECHO_C" >&6
22034 if test "$cross_compiling" = yes; then
22035 # Depending upon the size, compute the lo and hi bounds.
22036 cat >conftest.
$ac_ext <<_ACEOF
22039 cat confdefs.h
>>conftest.
$ac_ext
22040 cat >>conftest.
$ac_ext <<_ACEOF
22041 /* end confdefs.h. */
22042 $ac_includes_default
22043 typedef long long ac__type_sizeof_;
22047 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22054 rm -f conftest.
$ac_objext
22055 if { (ac_try
="$ac_compile"
22056 case "(($ac_try" in
22057 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22058 *) ac_try_echo=$ac_try;;
22060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22061 (eval "$ac_compile") 2>conftest.er1
22063 grep -v '^ *+' conftest.er1 >conftest.err
22065 cat conftest.err >&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); } && {
22068 test -z "$ac_c_werror_flag" ||
22069 test ! -s conftest.err
22070 } && test -s conftest.$ac_objext; then
22073 cat >conftest.$ac_ext <<_ACEOF
22076 cat confdefs.h >>conftest.$ac_ext
22077 cat >>conftest.$ac_ext <<_ACEOF
22078 /* end confdefs.h. */
22079 $ac_includes_default
22080 typedef long long ac__type_sizeof_;
22084 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22091 rm -f conftest.$ac_objext
22092 if { (ac_try="$ac_compile"
22093 case "(($ac_try" in
22094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22095 *) ac_try_echo
=$ac_try;;
22097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22098 (eval "$ac_compile") 2>conftest.er1
22100 grep -v '^ *+' conftest.er1
>conftest.err
22102 cat conftest.err
>&5
22103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22104 (exit $ac_status); } && {
22105 test -z "$ac_c_werror_flag" ||
22106 test ! -s conftest.err
22107 } && test -s conftest.
$ac_objext; then
22108 ac_hi
=$ac_mid; break
22110 echo "$as_me: failed program was:" >&5
22111 sed 's/^/| /' conftest.
$ac_ext >&5
22113 ac_lo
=`expr $ac_mid + 1`
22114 if test $ac_lo -le $ac_mid; then
22118 ac_mid
=`expr 2 '*' $ac_mid + 1`
22121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22124 echo "$as_me: failed program was:" >&5
22125 sed 's/^/| /' conftest.
$ac_ext >&5
22127 cat >conftest.
$ac_ext <<_ACEOF
22130 cat confdefs.h
>>conftest.
$ac_ext
22131 cat >>conftest.
$ac_ext <<_ACEOF
22132 /* end confdefs.h. */
22133 $ac_includes_default
22134 typedef long long ac__type_sizeof_;
22138 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22145 rm -f conftest.
$ac_objext
22146 if { (ac_try
="$ac_compile"
22147 case "(($ac_try" in
22148 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22149 *) ac_try_echo=$ac_try;;
22151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22152 (eval "$ac_compile") 2>conftest.er1
22154 grep -v '^ *+' conftest.er1 >conftest.err
22156 cat conftest.err >&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); } && {
22159 test -z "$ac_c_werror_flag" ||
22160 test ! -s conftest.err
22161 } && test -s conftest.$ac_objext; then
22164 cat >conftest.$ac_ext <<_ACEOF
22167 cat confdefs.h >>conftest.$ac_ext
22168 cat >>conftest.$ac_ext <<_ACEOF
22169 /* end confdefs.h. */
22170 $ac_includes_default
22171 typedef long long ac__type_sizeof_;
22175 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22182 rm -f conftest.$ac_objext
22183 if { (ac_try="$ac_compile"
22184 case "(($ac_try" in
22185 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22186 *) ac_try_echo
=$ac_try;;
22188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22189 (eval "$ac_compile") 2>conftest.er1
22191 grep -v '^ *+' conftest.er1
>conftest.err
22193 cat conftest.err
>&5
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); } && {
22196 test -z "$ac_c_werror_flag" ||
22197 test ! -s conftest.err
22198 } && test -s conftest.
$ac_objext; then
22199 ac_lo
=$ac_mid; break
22201 echo "$as_me: failed program was:" >&5
22202 sed 's/^/| /' conftest.
$ac_ext >&5
22204 ac_hi
=`expr '(' $ac_mid ')' - 1`
22205 if test $ac_mid -le $ac_hi; then
22209 ac_mid
=`expr 2 '*' $ac_mid`
22212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22215 echo "$as_me: failed program was:" >&5
22216 sed 's/^/| /' conftest.
$ac_ext >&5
22221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22225 # Binary search between lo and hi bounds.
22226 while test "x$ac_lo" != "x$ac_hi"; do
22227 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22228 cat >conftest.
$ac_ext <<_ACEOF
22231 cat confdefs.h
>>conftest.
$ac_ext
22232 cat >>conftest.
$ac_ext <<_ACEOF
22233 /* end confdefs.h. */
22234 $ac_includes_default
22235 typedef long long ac__type_sizeof_;
22239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22246 rm -f conftest.
$ac_objext
22247 if { (ac_try
="$ac_compile"
22248 case "(($ac_try" in
22249 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22250 *) ac_try_echo=$ac_try;;
22252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22253 (eval "$ac_compile") 2>conftest.er1
22255 grep -v '^ *+' conftest.er1 >conftest.err
22257 cat conftest.err >&5
22258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22259 (exit $ac_status); } && {
22260 test -z "$ac_c_werror_flag" ||
22261 test ! -s conftest.err
22262 } && test -s conftest.$ac_objext; then
22265 echo "$as_me: failed program was:" >&5
22266 sed 's/^/| /' conftest.$ac_ext >&5
22268 ac_lo=`expr '(' $ac_mid ')' + 1`
22271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22274 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22275 '') if test "$ac_cv_type_long_long" = yes; then
22276 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22277 See \`config.log
' for more details." >&5
22278 echo "$as_me: error: cannot compute sizeof (long long)
22279 See \`config.log' for more details.
" >&2;}
22280 { (exit 77); exit 77; }; }
22282 ac_cv_sizeof_long_long=0
22286 cat >conftest.$ac_ext <<_ACEOF
22289 cat confdefs.h >>conftest.$ac_ext
22290 cat >>conftest.$ac_ext <<_ACEOF
22291 /* end confdefs.h. */
22292 $ac_includes_default
22293 typedef long long ac__type_sizeof_;
22294 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22295 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22297 #include <stdlib.h>
22302 FILE *f = fopen ("conftest.val
", "w
");
22305 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22307 long int i = longval ();
22308 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22310 fprintf (f, "%ld
\n", i);
22314 unsigned long int i = ulongval ();
22315 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22317 fprintf (f, "%lu
\n", i);
22319 return ferror (f) || fclose (f) != 0;
22325 rm -f conftest$ac_exeext
22326 if { (ac_try="$ac_link"
22327 case "(($ac_try" in
22328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22329 *) ac_try_echo=$ac_try;;
22331 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22332 (eval "$ac_link") 2>&5
22334 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22335 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22336 { (case "(($ac_try" in
22337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22338 *) ac_try_echo=$ac_try;;
22340 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22341 (eval "$ac_try") 2>&5
22343 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22344 (exit $ac_status); }; }; then
22345 ac_cv_sizeof_long_long=`cat conftest.val`
22347 echo "$as_me: program exited with status
$ac_status" >&5
22348 echo "$as_me: failed program was
:" >&5
22349 sed 's/^/| /' conftest.$ac_ext >&5
22351 ( exit $ac_status )
22352 if test "$ac_cv_type_long_long" = yes; then
22353 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22354 See \
`config.log' for more details." >&5
22355 echo "$as_me: error: cannot compute sizeof (long long)
22356 See \`config.log
' for more details." >&2;}
22357 { (exit 77); exit 77; }; }
22359 ac_cv_sizeof_long_long=0
22362 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22366 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22367 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22371 cat >>confdefs.h <<_ACEOF
22372 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22376 if test "$ac_cv_sizeof_long_long" != 0; then
22377 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22381 { echo "$as_me:$LINENO: checking for long long" >&5
22382 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22383 if test "${ac_cv_type_long_long+set}" = set; then
22384 echo $ECHO_N "(cached) $ECHO_C" >&6
22386 cat >conftest.$ac_ext <<_ACEOF
22389 cat confdefs.h >>conftest.$ac_ext
22390 cat >>conftest.$ac_ext <<_ACEOF
22391 /* end confdefs.h. */
22392 $ac_includes_default
22393 typedef long long ac__type_new_;
22397 if ((ac__type_new_ *) 0)
22399 if (sizeof (ac__type_new_))
22405 rm -f conftest.$ac_objext
22406 if { (ac_try="$ac_compile"
22407 case "(($ac_try" in
22408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22409 *) ac_try_echo=$ac_try;;
22411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22412 (eval "$ac_compile") 2>conftest.er1
22414 grep -v '^
*+' conftest.er1 >conftest.err
22416 cat conftest.err >&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); } && {
22419 test -z "$ac_c_werror_flag" ||
22420 test ! -s conftest.err
22421 } && test -s conftest.$ac_objext; then
22422 ac_cv_type_long_long=yes
22424 echo "$as_me: failed program was:" >&5
22425 sed 's
/^
/| /' conftest.$ac_ext >&5
22427 ac_cv_type_long_long=no
22430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22432 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22433 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22435 # The cast to long int works around a bug in the HP C Compiler
22436 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22437 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22438 # This bug is HP SR number 8606223364.
22439 { echo "$as_me:$LINENO: checking size of long long" >&5
22440 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22441 if test "${ac_cv_sizeof_long_long+set}" = set; then
22442 echo $ECHO_N "(cached) $ECHO_C" >&6
22444 if test "$cross_compiling" = yes; then
22445 # Depending upon the size, compute the lo and hi bounds.
22446 cat >conftest.
$ac_ext <<_ACEOF
22449 cat confdefs.h
>>conftest.
$ac_ext
22450 cat >>conftest.
$ac_ext <<_ACEOF
22451 /* end confdefs.h. */
22452 $ac_includes_default
22453 typedef long long ac__type_sizeof_;
22457 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22464 rm -f conftest.
$ac_objext
22465 if { (ac_try
="$ac_compile"
22466 case "(($ac_try" in
22467 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22468 *) ac_try_echo=$ac_try;;
22470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22471 (eval "$ac_compile") 2>conftest.er1
22473 grep -v '^ *+' conftest.er1 >conftest.err
22475 cat conftest.err >&5
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); } && {
22478 test -z "$ac_c_werror_flag" ||
22479 test ! -s conftest.err
22480 } && test -s conftest.$ac_objext; then
22483 cat >conftest.$ac_ext <<_ACEOF
22486 cat confdefs.h >>conftest.$ac_ext
22487 cat >>conftest.$ac_ext <<_ACEOF
22488 /* end confdefs.h. */
22489 $ac_includes_default
22490 typedef long long ac__type_sizeof_;
22494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22501 rm -f conftest.$ac_objext
22502 if { (ac_try="$ac_compile"
22503 case "(($ac_try" in
22504 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22505 *) ac_try_echo
=$ac_try;;
22507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22508 (eval "$ac_compile") 2>conftest.er1
22510 grep -v '^ *+' conftest.er1
>conftest.err
22512 cat conftest.err
>&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); } && {
22515 test -z "$ac_c_werror_flag" ||
22516 test ! -s conftest.err
22517 } && test -s conftest.
$ac_objext; then
22518 ac_hi
=$ac_mid; break
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.
$ac_ext >&5
22523 ac_lo
=`expr $ac_mid + 1`
22524 if test $ac_lo -le $ac_mid; then
22528 ac_mid
=`expr 2 '*' $ac_mid + 1`
22531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22534 echo "$as_me: failed program was:" >&5
22535 sed 's/^/| /' conftest.
$ac_ext >&5
22537 cat >conftest.
$ac_ext <<_ACEOF
22540 cat confdefs.h
>>conftest.
$ac_ext
22541 cat >>conftest.
$ac_ext <<_ACEOF
22542 /* end confdefs.h. */
22543 $ac_includes_default
22544 typedef long long ac__type_sizeof_;
22548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22555 rm -f conftest.
$ac_objext
22556 if { (ac_try
="$ac_compile"
22557 case "(($ac_try" in
22558 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22559 *) ac_try_echo=$ac_try;;
22561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22562 (eval "$ac_compile") 2>conftest.er1
22564 grep -v '^ *+' conftest.er1 >conftest.err
22566 cat conftest.err >&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } && {
22569 test -z "$ac_c_werror_flag" ||
22570 test ! -s conftest.err
22571 } && test -s conftest.$ac_objext; then
22574 cat >conftest.$ac_ext <<_ACEOF
22577 cat confdefs.h >>conftest.$ac_ext
22578 cat >>conftest.$ac_ext <<_ACEOF
22579 /* end confdefs.h. */
22580 $ac_includes_default
22581 typedef long long ac__type_sizeof_;
22585 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22592 rm -f conftest.$ac_objext
22593 if { (ac_try="$ac_compile"
22594 case "(($ac_try" in
22595 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22596 *) ac_try_echo
=$ac_try;;
22598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22599 (eval "$ac_compile") 2>conftest.er1
22601 grep -v '^ *+' conftest.er1
>conftest.err
22603 cat conftest.err
>&5
22604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22605 (exit $ac_status); } && {
22606 test -z "$ac_c_werror_flag" ||
22607 test ! -s conftest.err
22608 } && test -s conftest.
$ac_objext; then
22609 ac_lo
=$ac_mid; break
22611 echo "$as_me: failed program was:" >&5
22612 sed 's/^/| /' conftest.
$ac_ext >&5
22614 ac_hi
=`expr '(' $ac_mid ')' - 1`
22615 if test $ac_mid -le $ac_hi; then
22619 ac_mid
=`expr 2 '*' $ac_mid`
22622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22625 echo "$as_me: failed program was:" >&5
22626 sed 's/^/| /' conftest.
$ac_ext >&5
22631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22635 # Binary search between lo and hi bounds.
22636 while test "x$ac_lo" != "x$ac_hi"; do
22637 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22638 cat >conftest.
$ac_ext <<_ACEOF
22641 cat confdefs.h
>>conftest.
$ac_ext
22642 cat >>conftest.
$ac_ext <<_ACEOF
22643 /* end confdefs.h. */
22644 $ac_includes_default
22645 typedef long long ac__type_sizeof_;
22649 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22656 rm -f conftest.
$ac_objext
22657 if { (ac_try
="$ac_compile"
22658 case "(($ac_try" in
22659 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22660 *) ac_try_echo=$ac_try;;
22662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22663 (eval "$ac_compile") 2>conftest.er1
22665 grep -v '^ *+' conftest.er1 >conftest.err
22667 cat conftest.err >&5
22668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22669 (exit $ac_status); } && {
22670 test -z "$ac_c_werror_flag" ||
22671 test ! -s conftest.err
22672 } && test -s conftest.$ac_objext; then
22675 echo "$as_me: failed program was:" >&5
22676 sed 's/^/| /' conftest.$ac_ext >&5
22678 ac_lo=`expr '(' $ac_mid ')' + 1`
22681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22684 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22685 '') if test "$ac_cv_type_long_long" = yes; then
22686 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22687 See \`config.log
' for more details." >&5
22688 echo "$as_me: error: cannot compute sizeof (long long)
22689 See \`config.log' for more details.
" >&2;}
22690 { (exit 77); exit 77; }; }
22692 ac_cv_sizeof_long_long=0
22696 cat >conftest.$ac_ext <<_ACEOF
22699 cat confdefs.h >>conftest.$ac_ext
22700 cat >>conftest.$ac_ext <<_ACEOF
22701 /* end confdefs.h. */
22702 $ac_includes_default
22703 typedef long long ac__type_sizeof_;
22704 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22705 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22707 #include <stdlib.h>
22712 FILE *f = fopen ("conftest.val
", "w
");
22715 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22717 long int i = longval ();
22718 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22720 fprintf (f, "%ld
\n", i);
22724 unsigned long int i = ulongval ();
22725 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22727 fprintf (f, "%lu
\n", i);
22729 return ferror (f) || fclose (f) != 0;
22735 rm -f conftest$ac_exeext
22736 if { (ac_try="$ac_link"
22737 case "(($ac_try" in
22738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22739 *) ac_try_echo=$ac_try;;
22741 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22742 (eval "$ac_link") 2>&5
22744 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22745 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22746 { (case "(($ac_try" in
22747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22748 *) ac_try_echo=$ac_try;;
22750 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22751 (eval "$ac_try") 2>&5
22753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22754 (exit $ac_status); }; }; then
22755 ac_cv_sizeof_long_long=`cat conftest.val`
22757 echo "$as_me: program exited with status
$ac_status" >&5
22758 echo "$as_me: failed program was
:" >&5
22759 sed 's/^/| /' conftest.$ac_ext >&5
22761 ( exit $ac_status )
22762 if test "$ac_cv_type_long_long" = yes; then
22763 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22764 See \
`config.log' for more details." >&5
22765 echo "$as_me: error: cannot compute sizeof (long long)
22766 See \`config.log
' for more details." >&2;}
22767 { (exit 77); exit 77; }; }
22769 ac_cv_sizeof_long_long=0
22772 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22776 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22777 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22781 cat >>confdefs.h <<_ACEOF
22782 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22788 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22789 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22790 if test "${ac_cv_type_wchar_t+set}" = set; then
22791 echo $ECHO_N "(cached) $ECHO_C" >&6
22793 cat >conftest.$ac_ext <<_ACEOF
22796 cat confdefs.h >>conftest.$ac_ext
22797 cat >>conftest.$ac_ext <<_ACEOF
22798 /* end confdefs.h. */
22800 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22801 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22802 # error "fake wchar_t"
22804 #ifdef HAVE_WCHAR_H
22806 # include <stddef.h>
22808 # include <wchar.h>
22810 #ifdef HAVE_STDLIB_H
22811 # include <stdlib.h>
22817 typedef wchar_t ac__type_new_
;
22821 if ((ac__type_new_
*) 0)
22823 if (sizeof
(ac__type_new_
))
22829 rm -f conftest.
$ac_objext
22830 if { (ac_try
="$ac_compile"
22831 case "(($ac_try" in
22832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22833 *) ac_try_echo=$ac_try;;
22835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22836 (eval "$ac_compile") 2>conftest.er1
22838 grep -v '^ *+' conftest.er1 >conftest.err
22840 cat conftest.err >&5
22841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22842 (exit $ac_status); } && {
22843 test -z "$ac_c_werror_flag" ||
22844 test ! -s conftest.err
22845 } && test -s conftest.$ac_objext; then
22846 ac_cv_type_wchar_t=yes
22848 echo "$as_me: failed program was:" >&5
22849 sed 's/^/| /' conftest.$ac_ext >&5
22851 ac_cv_type_wchar_t=no
22854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22856 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22857 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22859 # The cast to long int works around a bug in the HP C Compiler
22860 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22861 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22862 # This bug is HP SR number 8606223364.
22863 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22864 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22865 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22866 echo $ECHO_N "(cached) $ECHO_C" >&6
22868 if test "$cross_compiling" = yes; then
22869 # Depending upon the size, compute the lo and hi bounds.
22870 cat >conftest.$ac_ext <<_ACEOF
22873 cat confdefs.h >>conftest.$ac_ext
22874 cat >>conftest.$ac_ext <<_ACEOF
22875 /* end confdefs.h. */
22877 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22878 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22879 # error "fake wchar_t"
22881 #ifdef HAVE_WCHAR_H
22883 # include <stddef.h>
22885 # include <wchar.h>
22887 #ifdef HAVE_STDLIB_H
22888 # include <stdlib.h>
22894 typedef wchar_t ac__type_sizeof_
;
22898 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22905 rm -f conftest.
$ac_objext
22906 if { (ac_try
="$ac_compile"
22907 case "(($ac_try" in
22908 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22909 *) ac_try_echo=$ac_try;;
22911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22912 (eval "$ac_compile") 2>conftest.er1
22914 grep -v '^ *+' conftest.er1 >conftest.err
22916 cat conftest.err >&5
22917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22918 (exit $ac_status); } && {
22919 test -z "$ac_c_werror_flag" ||
22920 test ! -s conftest.err
22921 } && test -s conftest.$ac_objext; then
22924 cat >conftest.$ac_ext <<_ACEOF
22927 cat confdefs.h >>conftest.$ac_ext
22928 cat >>conftest.$ac_ext <<_ACEOF
22929 /* end confdefs.h. */
22931 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22932 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22933 # error "fake wchar_t"
22935 #ifdef HAVE_WCHAR_H
22937 # include <stddef.h>
22939 # include <wchar.h>
22941 #ifdef HAVE_STDLIB_H
22942 # include <stdlib.h>
22948 typedef wchar_t ac__type_sizeof_;
22952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22959 rm -f conftest.$ac_objext
22960 if { (ac_try="$ac_compile"
22961 case "(($ac_try" in
22962 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22963 *) ac_try_echo
=$ac_try;;
22965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22966 (eval "$ac_compile") 2>conftest.er1
22968 grep -v '^ *+' conftest.er1
>conftest.err
22970 cat conftest.err
>&5
22971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972 (exit $ac_status); } && {
22973 test -z "$ac_c_werror_flag" ||
22974 test ! -s conftest.err
22975 } && test -s conftest.
$ac_objext; then
22976 ac_hi
=$ac_mid; break
22978 echo "$as_me: failed program was:" >&5
22979 sed 's/^/| /' conftest.
$ac_ext >&5
22981 ac_lo
=`expr $ac_mid + 1`
22982 if test $ac_lo -le $ac_mid; then
22986 ac_mid
=`expr 2 '*' $ac_mid + 1`
22989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22992 echo "$as_me: failed program was:" >&5
22993 sed 's/^/| /' conftest.
$ac_ext >&5
22995 cat >conftest.
$ac_ext <<_ACEOF
22998 cat confdefs.h
>>conftest.
$ac_ext
22999 cat >>conftest.
$ac_ext <<_ACEOF
23000 /* end confdefs.h. */
23002 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23003 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23004 # error "fake wchar_t"
23006 #ifdef HAVE_WCHAR_H
23008 # include <stddef.h>
23010 # include <wchar.h>
23012 #ifdef HAVE_STDLIB_H
23013 # include <stdlib.h>
23019 typedef wchar_t ac__type_sizeof_;
23023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23030 rm -f conftest.
$ac_objext
23031 if { (ac_try
="$ac_compile"
23032 case "(($ac_try" in
23033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23034 *) ac_try_echo=$ac_try;;
23036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23037 (eval "$ac_compile") 2>conftest.er1
23039 grep -v '^ *+' conftest.er1 >conftest.err
23041 cat conftest.err >&5
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); } && {
23044 test -z "$ac_c_werror_flag" ||
23045 test ! -s conftest.err
23046 } && test -s conftest.$ac_objext; then
23049 cat >conftest.$ac_ext <<_ACEOF
23052 cat confdefs.h >>conftest.$ac_ext
23053 cat >>conftest.$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23056 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23057 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23058 # error "fake wchar_t"
23060 #ifdef HAVE_WCHAR_H
23062 # include <stddef.h>
23064 # include <wchar.h>
23066 #ifdef HAVE_STDLIB_H
23067 # include <stdlib.h>
23073 typedef wchar_t ac__type_sizeof_;
23077 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23084 rm -f conftest.$ac_objext
23085 if { (ac_try="$ac_compile"
23086 case "(($ac_try" in
23087 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23088 *) ac_try_echo
=$ac_try;;
23090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23091 (eval "$ac_compile") 2>conftest.er1
23093 grep -v '^ *+' conftest.er1
>conftest.err
23095 cat conftest.err
>&5
23096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23097 (exit $ac_status); } && {
23098 test -z "$ac_c_werror_flag" ||
23099 test ! -s conftest.err
23100 } && test -s conftest.
$ac_objext; then
23101 ac_lo
=$ac_mid; break
23103 echo "$as_me: failed program was:" >&5
23104 sed 's/^/| /' conftest.
$ac_ext >&5
23106 ac_hi
=`expr '(' $ac_mid ')' - 1`
23107 if test $ac_mid -le $ac_hi; then
23111 ac_mid
=`expr 2 '*' $ac_mid`
23114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23117 echo "$as_me: failed program was:" >&5
23118 sed 's/^/| /' conftest.
$ac_ext >&5
23123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23127 # Binary search between lo and hi bounds.
23128 while test "x$ac_lo" != "x$ac_hi"; do
23129 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23130 cat >conftest.
$ac_ext <<_ACEOF
23133 cat confdefs.h
>>conftest.
$ac_ext
23134 cat >>conftest.
$ac_ext <<_ACEOF
23135 /* end confdefs.h. */
23137 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23138 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23139 # error "fake wchar_t"
23141 #ifdef HAVE_WCHAR_H
23143 # include <stddef.h>
23145 # include <wchar.h>
23147 #ifdef HAVE_STDLIB_H
23148 # include <stdlib.h>
23154 typedef wchar_t ac__type_sizeof_;
23158 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23165 rm -f conftest.
$ac_objext
23166 if { (ac_try
="$ac_compile"
23167 case "(($ac_try" in
23168 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23169 *) ac_try_echo=$ac_try;;
23171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23172 (eval "$ac_compile") 2>conftest.er1
23174 grep -v '^ *+' conftest.er1 >conftest.err
23176 cat conftest.err >&5
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); } && {
23179 test -z "$ac_c_werror_flag" ||
23180 test ! -s conftest.err
23181 } && test -s conftest.$ac_objext; then
23184 echo "$as_me: failed program was:" >&5
23185 sed 's/^/| /' conftest.$ac_ext >&5
23187 ac_lo=`expr '(' $ac_mid ')' + 1`
23190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23193 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23194 '') if test "$ac_cv_type_wchar_t" = yes; then
23195 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23196 See \`config.log
' for more details." >&5
23197 echo "$as_me: error: cannot compute sizeof (wchar_t)
23198 See \`config.log' for more details.
" >&2;}
23199 { (exit 77); exit 77; }; }
23201 ac_cv_sizeof_wchar_t=0
23205 cat >conftest.$ac_ext <<_ACEOF
23208 cat confdefs.h >>conftest.$ac_ext
23209 cat >>conftest.$ac_ext <<_ACEOF
23210 /* end confdefs.h. */
23212 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23213 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23214 # error "fake wchar_t
"
23216 #ifdef HAVE_WCHAR_H
23218 # include <stddef.h>
23220 # include <wchar.h>
23222 #ifdef HAVE_STDLIB_H
23223 # include <stdlib.h>
23229 typedef wchar_t ac__type_sizeof_;
23230 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23231 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23233 #include <stdlib.h>
23238 FILE *f = fopen ("conftest.val
", "w
");
23241 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23243 long int i = longval ();
23244 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23246 fprintf (f, "%ld
\n", i);
23250 unsigned long int i = ulongval ();
23251 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23253 fprintf (f, "%lu
\n", i);
23255 return ferror (f) || fclose (f) != 0;
23261 rm -f conftest$ac_exeext
23262 if { (ac_try="$ac_link"
23263 case "(($ac_try" in
23264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23265 *) ac_try_echo=$ac_try;;
23267 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23268 (eval "$ac_link") 2>&5
23270 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23271 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23272 { (case "(($ac_try" in
23273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23274 *) ac_try_echo=$ac_try;;
23276 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23277 (eval "$ac_try") 2>&5
23279 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23280 (exit $ac_status); }; }; then
23281 ac_cv_sizeof_wchar_t=`cat conftest.val`
23283 echo "$as_me: program exited with status
$ac_status" >&5
23284 echo "$as_me: failed program was
:" >&5
23285 sed 's/^/| /' conftest.$ac_ext >&5
23287 ( exit $ac_status )
23288 if test "$ac_cv_type_wchar_t" = yes; then
23289 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23290 See \
`config.log' for more details." >&5
23291 echo "$as_me: error: cannot compute sizeof (wchar_t)
23292 See \`config.log
' for more details." >&2;}
23293 { (exit 77); exit 77; }; }
23295 ac_cv_sizeof_wchar_t=0
23298 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23302 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23303 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23307 cat >>confdefs.h <<_ACEOF
23308 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23312 if test "$ac_cv_sizeof_wchar_t" != 0; then
23318 { echo "$as_me:$LINENO: checking for va_copy" >&5
23319 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23320 if test "${wx_cv_func_va_copy+set}" = set; then
23321 echo $ECHO_N "(cached) $ECHO_C" >&6
23325 ac_cpp='$CXXCPP $CPPFLAGS'
23326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23327 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23330 cat >conftest.$ac_ext <<_ACEOF
23332 #include <stdarg.h>
23333 void foo(char *f, ...)
23347 rm -f conftest.$ac_objext conftest$ac_exeext
23348 if { (ac_try="$ac_link"
23349 case "(($ac_try" in
23350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23351 *) ac_try_echo=$ac_try;;
23353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23354 (eval "$ac_link") 2>conftest.er1
23356 grep -v '^
*+' conftest.er1 >conftest.err
23358 cat conftest.err >&5
23359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23360 (exit $ac_status); } && {
23361 test -z "$ac_cxx_werror_flag" ||
23362 test ! -s conftest.err
23363 } && test -s conftest$ac_exeext &&
23364 $as_test_x conftest$ac_exeext; then
23365 wx_cv_func_va_copy=yes
23367 echo "$as_me: failed program was:" >&5
23368 sed 's
/^
/| /' conftest.$ac_ext >&5
23370 wx_cv_func_va_copy=no
23374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23375 conftest$ac_exeext conftest.$ac_ext
23377 ac_cpp='$CPP $CPPFLAGS'
23378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23379 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23385 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23386 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23388 if test $wx_cv_func_va_copy = "yes"; then
23389 cat >>confdefs.h <<\_ACEOF
23390 #define HAVE_VA_COPY 1
23394 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23395 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23396 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23397 echo $ECHO_N "(cached) $ECHO_C" >&6
23400 if test "$cross_compiling" = yes; then
23401 wx_cv_type_va_list_lvalue=yes
23404 cat >conftest.$ac_ext <<_ACEOF
23406 #include <stdarg.h>
23407 int foo(char *f, ...)
23412 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23420 return foo("hi", 17);
23423 rm -f conftest$ac_exeext
23424 if { (ac_try="$ac_link"
23425 case "(($ac_try" in
23426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23427 *) ac_try_echo=$ac_try;;
23429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23430 (eval "$ac_link") 2>&5
23432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23434 { (case "(($ac_try" in
23435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23436 *) ac_try_echo=$ac_try;;
23438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23439 (eval "$ac_try") 2>&5
23441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23442 (exit $ac_status); }; }; then
23443 wx_cv_type_va_list_lvalue=yes
23445 echo "$as_me: program exited with status $ac_status" >&5
23446 echo "$as_me: failed program was:" >&5
23447 sed 's
/^
/| /' conftest.$ac_ext >&5
23449 ( exit $ac_status )
23450 wx_cv_type_va_list_lvalue=no
23452 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23459 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23460 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23462 if test $wx_cv_type_va_list_lvalue != "yes"; then
23463 cat >>confdefs.h <<\_ACEOF
23464 #define VA_LIST_IS_ARRAY 1
23470 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23472 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23473 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23474 if test "${wx_cv_have_variadic_macros+set}" = set; then
23475 echo $ECHO_N "(cached) $ECHO_C" >&6
23479 ac_cpp='$CXXCPP $CPPFLAGS'
23480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23481 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23484 cat >conftest.$ac_ext <<_ACEOF
23487 cat confdefs.h >>conftest.$ac_ext
23488 cat >>conftest.$ac_ext <<_ACEOF
23489 /* end confdefs.h. */
23492 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23498 test("%s %d %p", "test", 1, 0);
23505 rm -f conftest.$ac_objext
23506 if { (ac_try="$ac_compile"
23507 case "(($ac_try" in
23508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23509 *) ac_try_echo=$ac_try;;
23511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23512 (eval "$ac_compile") 2>conftest.er1
23514 grep -v '^
*+' conftest.er1 >conftest.err
23516 cat conftest.err >&5
23517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23518 (exit $ac_status); } && {
23519 test -z "$ac_cxx_werror_flag" ||
23520 test ! -s conftest.err
23521 } && test -s conftest.$ac_objext; then
23522 wx_cv_have_variadic_macros=yes
23524 echo "$as_me: failed program was:" >&5
23525 sed 's
/^
/| /' conftest.$ac_ext >&5
23527 wx_cv_have_variadic_macros=no
23531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23533 ac_cpp='$CPP $CPPFLAGS'
23534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23535 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23541 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23542 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23544 if test $wx_cv_have_variadic_macros = "yes"; then
23545 cat >>confdefs.h <<\_ACEOF
23546 #define HAVE_VARIADIC_MACROS 1
23553 LARGEFILE_CPPFLAGS=
23554 # Check whether --enable-largefile was given.
23555 if test "${enable_largefile+set}" = set; then
23556 enableval=$enable_largefile;
23559 if test "$enable_largefile" != no; then
23562 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23563 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23564 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23565 echo $ECHO_N "(cached) $ECHO_C" >&6
23568 cat >conftest.$ac_ext <<_ACEOF
23571 cat confdefs.h >>conftest.$ac_ext
23572 cat >>conftest.$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23574 #define _FILE_OFFSET_BITS 64
23575 #include <sys/types.h>
23580 unsigned int field: sizeof(off_t) == 8;
23587 rm -f conftest.$ac_objext
23588 if { (ac_try="$ac_compile"
23589 case "(($ac_try" in
23590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23591 *) ac_try_echo=$ac_try;;
23593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23594 (eval "$ac_compile") 2>conftest.er1
23596 grep -v '^
*+' conftest.er1 >conftest.err
23598 cat conftest.err >&5
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); } && {
23601 test -z "$ac_c_werror_flag" ||
23602 test ! -s conftest.err
23603 } && test -s conftest.$ac_objext; then
23604 ac_cv_sys_file_offset_bits=64
23606 echo "$as_me: failed program was:" >&5
23607 sed 's
/^
/| /' conftest.$ac_ext >&5
23609 ac_cv_sys_file_offset_bits=no
23612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23616 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23617 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23619 if test "$ac_cv_sys_file_offset_bits" != no; then
23621 cat >>confdefs.h <<_ACEOF
23622 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23627 if test "x$wx_largefile" != "xyes"; then
23629 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23630 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23631 if test "${ac_cv_sys_large_files+set}" = set; then
23632 echo $ECHO_N "(cached) $ECHO_C" >&6
23635 cat >conftest.$ac_ext <<_ACEOF
23638 cat confdefs.h >>conftest.$ac_ext
23639 cat >>conftest.$ac_ext <<_ACEOF
23640 /* end confdefs.h. */
23641 #define _LARGE_FILES 1
23642 #include <sys/types.h>
23647 unsigned int field: sizeof(off_t) == 8;
23654 rm -f conftest.$ac_objext
23655 if { (ac_try="$ac_compile"
23656 case "(($ac_try" in
23657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23658 *) ac_try_echo=$ac_try;;
23660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23661 (eval "$ac_compile") 2>conftest.er1
23663 grep -v '^
*+' conftest.er1 >conftest.err
23665 cat conftest.err >&5
23666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23667 (exit $ac_status); } && {
23668 test -z "$ac_c_werror_flag" ||
23669 test ! -s conftest.err
23670 } && test -s conftest.$ac_objext; then
23671 ac_cv_sys_large_files=1
23673 echo "$as_me: failed program was:" >&5
23674 sed 's
/^
/| /' conftest.$ac_ext >&5
23676 ac_cv_sys_large_files=no
23679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23683 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23684 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23686 if test "$ac_cv_sys_large_files" != no; then
23688 cat >>confdefs.h <<_ACEOF
23689 #define _LARGE_FILES $ac_cv_sys_large_files
23696 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23697 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23698 if test "x$wx_largefile" = "xyes"; then
23699 cat >>confdefs.h <<\_ACEOF
23700 #define HAVE_LARGEFILE_SUPPORT 1
23704 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23705 echo "${ECHO_T}$wx_largefile" >&6; }
23708 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23709 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23710 elif test "$ac_cv_sys_large_files" = 1; then
23711 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23714 if test -n "$LARGEFILE_CPPFLAGS"; then
23715 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23717 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23718 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23719 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23720 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23721 echo $ECHO_N "(cached) $ECHO_C" >&6
23725 ac_cpp='$CXXCPP $CPPFLAGS'
23726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23727 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23730 cat >conftest.$ac_ext <<_ACEOF
23733 cat confdefs.h >>conftest.$ac_ext
23734 cat >>conftest.$ac_ext <<_ACEOF
23735 /* end confdefs.h. */
23741 #ifndef __STDC_EXT__
23749 rm -f conftest.$ac_objext
23750 if { (ac_try="$ac_compile"
23751 case "(($ac_try" in
23752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23753 *) ac_try_echo=$ac_try;;
23755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23756 (eval "$ac_compile") 2>conftest.er1
23758 grep -v '^
*+' conftest.er1 >conftest.err
23760 cat conftest.err >&5
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); } && {
23763 test -z "$ac_cxx_werror_flag" ||
23764 test ! -s conftest.err
23765 } && test -s conftest.$ac_objext; then
23766 wx_cv_STDC_EXT_required=no
23768 echo "$as_me: failed program was:" >&5
23769 sed 's
/^
/| /' conftest.$ac_ext >&5
23771 wx_cv_STDC_EXT_required=yes
23775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23777 ac_cpp='$CPP $CPPFLAGS'
23778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23779 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23785 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23786 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23787 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23788 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23794 ac_cpp='$CXXCPP $CPPFLAGS'
23795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23796 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23799 old_CPPFLAGS="$CPPFLAGS"
23800 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23801 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23802 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23803 if test "${ac_cv_sys_largefile_source+set}" = set; then
23804 echo $ECHO_N "(cached) $ECHO_C" >&6
23807 cat >conftest.$ac_ext <<_ACEOF
23810 cat confdefs.h >>conftest.$ac_ext
23811 cat >>conftest.$ac_ext <<_ACEOF
23812 /* end confdefs.h. */
23813 #include <sys/types.h> /* for off_t */
23818 int (*fp) (FILE *, off_t, int) = fseeko;
23819 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23824 rm -f conftest.$ac_objext conftest$ac_exeext
23825 if { (ac_try="$ac_link"
23826 case "(($ac_try" in
23827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23828 *) ac_try_echo=$ac_try;;
23830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23831 (eval "$ac_link") 2>conftest.er1
23833 grep -v '^
*+' conftest.er1 >conftest.err
23835 cat conftest.err >&5
23836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23837 (exit $ac_status); } && {
23838 test -z "$ac_cxx_werror_flag" ||
23839 test ! -s conftest.err
23840 } && test -s conftest$ac_exeext &&
23841 $as_test_x conftest$ac_exeext; then
23842 ac_cv_sys_largefile_source=no; break
23844 echo "$as_me: failed program was:" >&5
23845 sed 's
/^
/| /' conftest.$ac_ext >&5
23850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23851 conftest$ac_exeext conftest.$ac_ext
23852 cat >conftest.$ac_ext <<_ACEOF
23855 cat confdefs.h >>conftest.$ac_ext
23856 cat >>conftest.$ac_ext <<_ACEOF
23857 /* end confdefs.h. */
23858 #define _LARGEFILE_SOURCE 1
23859 #include <sys/types.h> /* for off_t */
23864 int (*fp) (FILE *, off_t, int) = fseeko;
23865 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23870 rm -f conftest.$ac_objext conftest$ac_exeext
23871 if { (ac_try="$ac_link"
23872 case "(($ac_try" in
23873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23874 *) ac_try_echo=$ac_try;;
23876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23877 (eval "$ac_link") 2>conftest.er1
23879 grep -v '^
*+' conftest.er1 >conftest.err
23881 cat conftest.err >&5
23882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23883 (exit $ac_status); } && {
23884 test -z "$ac_cxx_werror_flag" ||
23885 test ! -s conftest.err
23886 } && test -s conftest$ac_exeext &&
23887 $as_test_x conftest$ac_exeext; then
23888 ac_cv_sys_largefile_source=1; break
23890 echo "$as_me: failed program was:" >&5
23891 sed 's
/^
/| /' conftest.$ac_ext >&5
23896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23897 conftest$ac_exeext conftest.$ac_ext
23898 ac_cv_sys_largefile_source=unknown
23902 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23903 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23904 case $ac_cv_sys_largefile_source in #(
23907 cat >>confdefs.h <<_ACEOF
23908 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23914 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23915 # in glibc 2.1.3, but that breaks too many other things.
23916 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23917 if test $ac_cv_sys_largefile_source != unknown; then
23919 cat >>confdefs.h <<\_ACEOF
23920 #define HAVE_FSEEKO 1
23925 CPPFLAGS="$old_CPPFLAGS"
23927 ac_cpp='$CPP $CPPFLAGS'
23928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23929 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23932 if test "$ac_cv_sys_largefile_source" != no; then
23933 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23936 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23937 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23938 if test "${ac_cv_c_bigendian+set}" = set; then
23939 echo $ECHO_N "(cached) $ECHO_C" >&6
23941 ac_cv_c_bigendian=unknown
23942 # See if sys/param.h defines the BYTE_ORDER macro.
23943 cat >conftest.$ac_ext <<_ACEOF
23946 cat confdefs.h >>conftest.$ac_ext
23947 cat >>conftest.$ac_ext <<_ACEOF
23948 /* end confdefs.h. */
23949 #include <sys/types.h>
23950 #include <sys/param.h>
23955 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23956 bogus endian macros
23962 rm -f conftest.$ac_objext
23963 if { (ac_try="$ac_compile"
23964 case "(($ac_try" in
23965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23966 *) ac_try_echo=$ac_try;;
23968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23969 (eval "$ac_compile") 2>conftest.er1
23971 grep -v '^
*+' conftest.er1 >conftest.err
23973 cat conftest.err >&5
23974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23975 (exit $ac_status); } && {
23976 test -z "$ac_c_werror_flag" ||
23977 test ! -s conftest.err
23978 } && test -s conftest.$ac_objext; then
23979 # It does; now see whether it defined to BIG_ENDIAN or not.
23980 cat >conftest.$ac_ext <<_ACEOF
23983 cat confdefs.h >>conftest.$ac_ext
23984 cat >>conftest.$ac_ext <<_ACEOF
23985 /* end confdefs.h. */
23986 #include <sys/types.h>
23987 #include <sys/param.h>
23992 #if BYTE_ORDER != BIG_ENDIAN
23999 rm -f conftest.$ac_objext
24000 if { (ac_try="$ac_compile"
24001 case "(($ac_try" in
24002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24003 *) ac_try_echo=$ac_try;;
24005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24006 (eval "$ac_compile") 2>conftest.er1
24008 grep -v '^
*+' conftest.er1 >conftest.err
24010 cat conftest.err >&5
24011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24012 (exit $ac_status); } && {
24013 test -z "$ac_c_werror_flag" ||
24014 test ! -s conftest.err
24015 } && test -s conftest.$ac_objext; then
24016 ac_cv_c_bigendian=yes
24018 echo "$as_me: failed program was:" >&5
24019 sed 's
/^
/| /' conftest.$ac_ext >&5
24021 ac_cv_c_bigendian=no
24024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24026 echo "$as_me: failed program was:" >&5
24027 sed 's
/^
/| /' conftest.$ac_ext >&5
24032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24033 if test $ac_cv_c_bigendian = unknown; then
24034 if test "$cross_compiling" = yes; then
24035 ac_cv_c_bigendian=unknown
24037 cat >conftest.$ac_ext <<_ACEOF
24040 cat confdefs.h >>conftest.$ac_ext
24041 cat >>conftest.$ac_ext <<_ACEOF
24042 /* end confdefs.h. */
24044 /* Are we little or big endian? From Harbison&Steele. */
24048 char c[sizeof (long)];
24051 exit (u.c[sizeof (long) - 1] == 1);
24054 rm -f conftest$ac_exeext
24055 if { (ac_try="$ac_link"
24056 case "(($ac_try" in
24057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24058 *) ac_try_echo=$ac_try;;
24060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24061 (eval "$ac_link") 2>&5
24063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24065 { (case "(($ac_try" in
24066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24067 *) ac_try_echo=$ac_try;;
24069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24070 (eval "$ac_try") 2>&5
24072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24073 (exit $ac_status); }; }; then
24074 ac_cv_c_bigendian=no
24076 echo "$as_me: program exited with status $ac_status" >&5
24077 echo "$as_me: failed program was:" >&5
24078 sed 's
/^
/| /' conftest.$ac_ext >&5
24080 ( exit $ac_status )
24081 ac_cv_c_bigendian=yes
24083 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24089 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24090 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24091 if test $ac_cv_c_bigendian = unknown; then
24092 { 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
24093 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;}
24095 if test $ac_cv_c_bigendian = yes; then
24096 cat >>confdefs.h <<\_ACEOF
24097 #define WORDS_BIGENDIAN 1
24106 ac_cpp='$CXXCPP $CPPFLAGS'
24107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24108 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24113 for ac_header in iostream
24115 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24116 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24118 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24119 echo $ECHO_N "(cached) $ECHO_C" >&6
24121 cat >conftest.$ac_ext <<_ACEOF
24124 cat confdefs.h >>conftest.$ac_ext
24125 cat >>conftest.$ac_ext <<_ACEOF
24126 /* end confdefs.h. */
24129 #include <$ac_header>
24131 rm -f conftest.$ac_objext
24132 if { (ac_try="$ac_compile"
24133 case "(($ac_try" in
24134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24135 *) ac_try_echo=$ac_try;;
24137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24138 (eval "$ac_compile") 2>conftest.er1
24140 grep -v '^
*+' conftest.er1 >conftest.err
24142 cat conftest.err >&5
24143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24144 (exit $ac_status); } && {
24145 test -z "$ac_cxx_werror_flag" ||
24146 test ! -s conftest.err
24147 } && test -s conftest.$ac_objext; then
24148 eval "$as_ac_Header=yes"
24150 echo "$as_me: failed program was:" >&5
24151 sed 's
/^
/| /' conftest.$ac_ext >&5
24153 eval "$as_ac_Header=no"
24156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24158 ac_res=`eval echo '${'$as_ac_Header'}'`
24159 { echo "$as_me:$LINENO: result: $ac_res" >&5
24160 echo "${ECHO_T}$ac_res" >&6; }
24161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24162 cat >>confdefs.h <<_ACEOF
24163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24171 if test "$ac_cv_header_iostream" = "yes" ; then
24174 cat >>confdefs.h <<\_ACEOF
24175 #define wxUSE_IOSTREAMH 1
24181 ac_cpp='$CPP $CPPFLAGS'
24182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24183 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24189 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24190 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24191 if test "${wx_cv_explicit+set}" = set; then
24192 echo $ECHO_N "(cached) $ECHO_C" >&6
24197 ac_cpp='$CXXCPP $CPPFLAGS'
24198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24199 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24203 cat >conftest.$ac_ext <<_ACEOF
24206 cat confdefs.h >>conftest.$ac_ext
24207 cat >>conftest.$ac_ext <<_ACEOF
24208 /* end confdefs.h. */
24210 class Foo { public: explicit Foo(int) {} };
24222 rm -f conftest.$ac_objext
24223 if { (ac_try="$ac_compile"
24224 case "(($ac_try" in
24225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24226 *) ac_try_echo=$ac_try;;
24228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24229 (eval "$ac_compile") 2>conftest.er1
24231 grep -v '^
*+' conftest.er1 >conftest.err
24233 cat conftest.err >&5
24234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235 (exit $ac_status); } && {
24236 test -z "$ac_cxx_werror_flag" ||
24237 test ! -s conftest.err
24238 } && test -s conftest.$ac_objext; then
24240 cat >conftest.$ac_ext <<_ACEOF
24243 cat confdefs.h >>conftest.$ac_ext
24244 cat >>conftest.$ac_ext <<_ACEOF
24245 /* end confdefs.h. */
24247 class Foo { public: explicit Foo(int) {} };
24248 static void TakeFoo(const Foo& foo) { }
24261 rm -f conftest.$ac_objext
24262 if { (ac_try="$ac_compile"
24263 case "(($ac_try" in
24264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24265 *) ac_try_echo=$ac_try;;
24267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24268 (eval "$ac_compile") 2>conftest.er1
24270 grep -v '^
*+' conftest.er1 >conftest.err
24272 cat conftest.err >&5
24273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); } && {
24275 test -z "$ac_cxx_werror_flag" ||
24276 test ! -s conftest.err
24277 } && test -s conftest.$ac_objext; then
24280 echo "$as_me: failed program was:" >&5
24281 sed 's
/^
/| /' conftest.$ac_ext >&5
24287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24290 echo "$as_me: failed program was:" >&5
24291 sed 's
/^
/| /' conftest.$ac_ext >&5
24297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24300 ac_cpp='$CPP $CPPFLAGS'
24301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24302 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24307 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24308 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24310 if test "$wx_cv_explicit" = "yes"; then
24311 cat >>confdefs.h <<\_ACEOF
24312 #define HAVE_EXPLICIT 1
24318 if test "x$SUNCXX" = xyes; then
24319 CXXFLAGS="-features=tmplife $CXXFLAGS"
24322 if test "x$SUNCC" = xyes; then
24323 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24326 if test "x$SGICC" = "xyes"; then
24327 CFLAGS="-woff 3970 $CFLAGS"
24329 if test "x$SGICXX" = "xyes"; then
24330 CXXFLAGS="-woff 3970 $CXXFLAGS"
24333 if test "x$HPCC" = "xyes"; then
24334 CFLAGS="+W 2011,2450 $CFLAGS"
24336 if test "x$HPCXX" = "xyes"; then
24337 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24340 if test "x$COMPAQCXX" = "xyes"; then
24341 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24345 ac_cpp='$CXXCPP $CPPFLAGS'
24346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24347 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24351 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24352 if test "$wxUSE_UNICODE" = "yes"; then
24353 std_string="std::wstring"
24354 char_type="wchar_t"
24356 std_string="std::string"
24360 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24361 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24362 if test "${wx_cv_class_stdstring+set}" = set; then
24363 echo $ECHO_N "(cached) $ECHO_C" >&6
24366 cat >conftest.$ac_ext <<_ACEOF
24369 cat confdefs.h >>conftest.$ac_ext
24370 cat >>conftest.$ac_ext <<_ACEOF
24371 /* end confdefs.h. */
24381 rm -f conftest.$ac_objext
24382 if { (ac_try="$ac_compile"
24383 case "(($ac_try" in
24384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24385 *) ac_try_echo=$ac_try;;
24387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24388 (eval "$ac_compile") 2>conftest.er1
24390 grep -v '^
*+' conftest.er1 >conftest.err
24392 cat conftest.err >&5
24393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24394 (exit $ac_status); } && {
24395 test -z "$ac_cxx_werror_flag" ||
24396 test ! -s conftest.err
24397 } && test -s conftest.$ac_objext; then
24398 wx_cv_class_stdstring=yes
24400 echo "$as_me: failed program was:" >&5
24401 sed 's
/^
/| /' conftest.$ac_ext >&5
24403 wx_cv_class_stdstring=no
24407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24411 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24412 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24414 if test "$wx_cv_class_stdstring" = yes; then
24415 if test "$wxUSE_UNICODE" = "yes"; then
24416 cat >>confdefs.h <<\_ACEOF
24417 #define HAVE_STD_WSTRING 1
24422 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24423 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24424 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24425 echo $ECHO_N "(cached) $ECHO_C" >&6
24428 cat >conftest.$ac_ext <<_ACEOF
24431 cat confdefs.h >>conftest.$ac_ext
24432 cat >>conftest.$ac_ext <<_ACEOF
24433 /* end confdefs.h. */
24435 #ifdef HAVE_WCHAR_H
24437 # include <stddef.h>
24439 # include <wchar.h>
24441 #ifdef HAVE_STDLIB_H
24442 # include <stdlib.h>
24450 std::basic_string<$char_type> foo;
24451 const $char_type* dummy = foo.c_str();
24456 rm -f conftest.$ac_objext
24457 if { (ac_try="$ac_compile"
24458 case "(($ac_try" in
24459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24460 *) ac_try_echo=$ac_try;;
24462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24463 (eval "$ac_compile") 2>conftest.er1
24465 grep -v '^
*+' conftest.er1 >conftest.err
24467 cat conftest.err >&5
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); } && {
24470 test -z "$ac_cxx_werror_flag" ||
24471 test ! -s conftest.err
24472 } && test -s conftest.$ac_objext; then
24473 wx_cv_class_stdbasicstring=yes
24475 echo "$as_me: failed program was:" >&5
24476 sed 's
/^
/| /' conftest.$ac_ext >&5
24478 wx_cv_class_stdbasicstring=no
24482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24486 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24487 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24489 if test "$wx_cv_class_stdbasicstring" != yes; then
24490 if test "$wxUSE_STL" = "yes"; then
24491 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24492 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24493 { (exit 1); exit 1; }; }
24494 elif test "$wxUSE_STD_STRING" = "yes"; then
24495 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24496 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24497 { (exit 1); exit 1; }; }
24499 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24500 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24501 wxUSE_STD_STRING=no
24507 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24508 { echo "$as_me:$LINENO: checking for std::istream" >&5
24509 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24510 if test "${ac_cv_type_std__istream+set}" = set; then
24511 echo $ECHO_N "(cached) $ECHO_C" >&6
24513 cat >conftest.$ac_ext <<_ACEOF
24516 cat confdefs.h >>conftest.$ac_ext
24517 cat >>conftest.$ac_ext <<_ACEOF
24518 /* end confdefs.h. */
24519 #include <iostream>
24521 typedef std::istream ac__type_new_;
24525 if ((ac__type_new_ *) 0)
24527 if (sizeof (ac__type_new_))
24533 rm -f conftest.$ac_objext
24534 if { (ac_try="$ac_compile"
24535 case "(($ac_try" in
24536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24537 *) ac_try_echo=$ac_try;;
24539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24540 (eval "$ac_compile") 2>conftest.er1
24542 grep -v '^
*+' conftest.er1 >conftest.err
24544 cat conftest.err >&5
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); } && {
24547 test -z "$ac_cxx_werror_flag" ||
24548 test ! -s conftest.err
24549 } && test -s conftest.$ac_objext; then
24550 ac_cv_type_std__istream=yes
24552 echo "$as_me: failed program was:" >&5
24553 sed 's
/^
/| /' conftest.$ac_ext >&5
24555 ac_cv_type_std__istream=no
24558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24560 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24561 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24562 if test $ac_cv_type_std__istream = yes; then
24564 cat >>confdefs.h <<_ACEOF
24565 #define HAVE_STD__ISTREAM 1
24570 wxUSE_STD_IOSTREAM=no
24572 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24573 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24574 if test "${ac_cv_type_std__ostream+set}" = set; then
24575 echo $ECHO_N "(cached) $ECHO_C" >&6
24577 cat >conftest.$ac_ext <<_ACEOF
24580 cat confdefs.h >>conftest.$ac_ext
24581 cat >>conftest.$ac_ext <<_ACEOF
24582 /* end confdefs.h. */
24583 #include <iostream>
24585 typedef std::ostream ac__type_new_;
24589 if ((ac__type_new_ *) 0)
24591 if (sizeof (ac__type_new_))
24597 rm -f conftest.$ac_objext
24598 if { (ac_try="$ac_compile"
24599 case "(($ac_try" in
24600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24601 *) ac_try_echo=$ac_try;;
24603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24604 (eval "$ac_compile") 2>conftest.er1
24606 grep -v '^
*+' conftest.er1 >conftest.err
24608 cat conftest.err >&5
24609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24610 (exit $ac_status); } && {
24611 test -z "$ac_cxx_werror_flag" ||
24612 test ! -s conftest.err
24613 } && test -s conftest.$ac_objext; then
24614 ac_cv_type_std__ostream=yes
24616 echo "$as_me: failed program was:" >&5
24617 sed 's
/^
/| /' conftest.$ac_ext >&5
24619 ac_cv_type_std__ostream=no
24622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24624 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24625 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24626 if test $ac_cv_type_std__ostream = yes; then
24628 cat >>confdefs.h <<_ACEOF
24629 #define HAVE_STD__OSTREAM 1
24634 wxUSE_STD_IOSTREAM=no
24638 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24639 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24640 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24641 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24642 { (exit 1); exit 1; }; }
24644 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24645 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24650 if test "$wxUSE_STL" = "yes"; then
24651 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24652 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24653 if test "${wx_cv_lib_stl+set}" = set; then
24654 echo $ECHO_N "(cached) $ECHO_C" >&6
24656 cat >conftest.$ac_ext <<_ACEOF
24659 cat confdefs.h >>conftest.$ac_ext
24660 cat >>conftest.$ac_ext <<_ACEOF
24661 /* end confdefs.h. */
24663 #include <functional>
24664 #include <algorithm>
24670 std::vector<int> moo;
24671 std::list<int> foo;
24672 std::vector<int>::iterator it =
24673 std::find_if(moo.begin(), moo.end(),
24674 std::bind2nd(std::less<int>(), 3));
24679 rm -f conftest.$ac_objext
24680 if { (ac_try="$ac_compile"
24681 case "(($ac_try" in
24682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24683 *) ac_try_echo=$ac_try;;
24685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24686 (eval "$ac_compile") 2>conftest.er1
24688 grep -v '^
*+' conftest.er1 >conftest.err
24690 cat conftest.err >&5
24691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); } && {
24693 test -z "$ac_cxx_werror_flag" ||
24694 test ! -s conftest.err
24695 } && test -s conftest.$ac_objext; then
24698 echo "$as_me: failed program was:" >&5
24699 sed 's
/^
/| /' conftest.$ac_ext >&5
24705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24708 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24709 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24711 if test "$wx_cv_lib_stl" != yes; then
24712 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24713 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24714 { (exit 1); exit 1; }; }
24717 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24718 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24719 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24720 echo $ECHO_N "(cached) $ECHO_C" >&6
24722 cat >conftest.$ac_ext <<_ACEOF
24725 cat confdefs.h >>conftest.$ac_ext
24726 cat >>conftest.$ac_ext <<_ACEOF
24727 /* end confdefs.h. */
24732 std::string foo, bar;
24734 foo.compare(1, 1, bar);
24735 foo.compare(1, 1, bar, 1, 1);
24737 foo.compare(1, 1, "");
24738 foo.compare(1, 1, "", 2);
24743 rm -f conftest.$ac_objext
24744 if { (ac_try="$ac_compile"
24745 case "(($ac_try" in
24746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24747 *) ac_try_echo=$ac_try;;
24749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24750 (eval "$ac_compile") 2>conftest.er1
24752 grep -v '^
*+' conftest.er1 >conftest.err
24754 cat conftest.err >&5
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); } && {
24757 test -z "$ac_cxx_werror_flag" ||
24758 test ! -s conftest.err
24759 } && test -s conftest.$ac_objext; then
24760 wx_cv_func_stdstring_compare=yes
24762 echo "$as_me: failed program was:" >&5
24763 sed 's
/^
/| /' conftest.$ac_ext >&5
24765 wx_cv_func_stdstring_compare=no
24769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24772 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24773 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24775 if test "$wx_cv_func_stdstring_compare" = yes; then
24776 cat >>confdefs.h <<\_ACEOF
24777 #define HAVE_STD_STRING_COMPARE 1
24782 if test "$wx_cv_class_gnuhashmapset" = yes; then
24783 cat >>confdefs.h <<\_ACEOF
24784 #define HAVE_EXT_HASH_MAP 1
24787 cat >>confdefs.h <<\_ACEOF
24788 #define HAVE_GNU_CXX_HASH_MAP 1
24793 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24794 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24795 if test "${ac_cv_header_unordered_map+set}" = set; then
24796 echo $ECHO_N "(cached) $ECHO_C" >&6
24798 cat >conftest.$ac_ext <<_ACEOF
24801 cat confdefs.h >>conftest.$ac_ext
24802 cat >>conftest.$ac_ext <<_ACEOF
24803 /* end confdefs.h. */
24807 #include <unordered_map>
24809 rm -f conftest.$ac_objext
24810 if { (ac_try="$ac_compile"
24811 case "(($ac_try" in
24812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24813 *) ac_try_echo=$ac_try;;
24815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24816 (eval "$ac_compile") 2>conftest.er1
24818 grep -v '^
*+' conftest.er1 >conftest.err
24820 cat conftest.err >&5
24821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24822 (exit $ac_status); } && {
24823 test -z "$ac_cxx_werror_flag" ||
24824 test ! -s conftest.err
24825 } && test -s conftest.$ac_objext; then
24826 ac_cv_header_unordered_map=yes
24828 echo "$as_me: failed program was:" >&5
24829 sed 's
/^
/| /' conftest.$ac_ext >&5
24831 ac_cv_header_unordered_map=no
24834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24836 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24837 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24838 if test $ac_cv_header_unordered_map = yes; then
24839 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24840 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24841 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24842 echo $ECHO_N "(cached) $ECHO_C" >&6
24844 cat >conftest.$ac_ext <<_ACEOF
24847 cat confdefs.h >>conftest.$ac_ext
24848 cat >>conftest.$ac_ext <<_ACEOF
24849 /* end confdefs.h. */
24850 #include <unordered_map>
24851 #include <unordered_set>
24855 std::unordered_map<double*, char*> test1;
24856 std::unordered_set<char*> test2;
24861 rm -f conftest.$ac_objext
24862 if { (ac_try="$ac_compile"
24863 case "(($ac_try" in
24864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24865 *) ac_try_echo=$ac_try;;
24867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24868 (eval "$ac_compile") 2>conftest.er1
24870 grep -v '^
*+' conftest.er1 >conftest.err
24872 cat conftest.err >&5
24873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24874 (exit $ac_status); } && {
24875 test -z "$ac_cxx_werror_flag" ||
24876 test ! -s conftest.err
24877 } && test -s conftest.$ac_objext; then
24878 wx_cv_class_stdunorderedmapset=yes
24880 echo "$as_me: failed program was:" >&5
24881 sed 's
/^
/| /' conftest.$ac_ext >&5
24883 wx_cv_class_stdunorderedmapset=no
24886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24890 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24891 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24896 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24897 cat >>confdefs.h <<\_ACEOF
24898 #define HAVE_STD_UNORDERED_MAP 1
24901 cat >>confdefs.h <<\_ACEOF
24902 #define HAVE_STD_UNORDERED_SET 1
24906 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24907 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24908 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24909 echo $ECHO_N "(cached) $ECHO_C" >&6
24911 cat >conftest.$ac_ext <<_ACEOF
24914 cat confdefs.h >>conftest.$ac_ext
24915 cat >>conftest.$ac_ext <<_ACEOF
24916 /* end confdefs.h. */
24920 #include <tr1/unordered_map>
24922 rm -f conftest.$ac_objext
24923 if { (ac_try="$ac_compile"
24924 case "(($ac_try" in
24925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24926 *) ac_try_echo=$ac_try;;
24928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24929 (eval "$ac_compile") 2>conftest.er1
24931 grep -v '^
*+' conftest.er1 >conftest.err
24933 cat conftest.err >&5
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); } && {
24936 test -z "$ac_cxx_werror_flag" ||
24937 test ! -s conftest.err
24938 } && test -s conftest.$ac_objext; then
24939 ac_cv_header_tr1_unordered_map=yes
24941 echo "$as_me: failed program was:" >&5
24942 sed 's
/^
/| /' conftest.$ac_ext >&5
24944 ac_cv_header_tr1_unordered_map=no
24947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24949 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24950 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24951 if test $ac_cv_header_tr1_unordered_map = yes; then
24952 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24953 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24954 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24955 echo $ECHO_N "(cached) $ECHO_C" >&6
24957 cat >conftest.$ac_ext <<_ACEOF
24960 cat confdefs.h >>conftest.$ac_ext
24961 cat >>conftest.$ac_ext <<_ACEOF
24962 /* end confdefs.h. */
24963 #include <tr1/unordered_map>
24964 #include <tr1/unordered_set>
24968 std::tr1::unordered_map<double*, char*> test1;
24969 std::tr1::unordered_set<char*> test2;
24970 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24971 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
24977 rm -f conftest.
$ac_objext
24978 if { (ac_try
="$ac_compile"
24979 case "(($ac_try" in
24980 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24981 *) ac_try_echo=$ac_try;;
24983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24984 (eval "$ac_compile") 2>conftest.er1
24986 grep -v '^ *+' conftest.er1 >conftest.err
24988 cat conftest.err >&5
24989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990 (exit $ac_status); } && {
24991 test -z "$ac_cxx_werror_flag" ||
24992 test ! -s conftest.err
24993 } && test -s conftest.$ac_objext; then
24994 wx_cv_class_tr1unorderedmapset=yes
24996 echo "$as_me: failed program was:" >&5
24997 sed 's/^/| /' conftest.$ac_ext >&5
24999 wx_cv_class_tr1unorderedmapset=no
25002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25006 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25007 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25012 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25013 cat >>confdefs.h <<\_ACEOF
25014 #define HAVE_TR1_UNORDERED_MAP 1
25017 cat >>confdefs.h <<\_ACEOF
25018 #define HAVE_TR1_UNORDERED_SET 1
25022 { echo "$as_me:$LINENO: checking for hash_map" >&5
25023 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25024 if test "${ac_cv_header_hash_map+set}" = set; then
25025 echo $ECHO_N "(cached) $ECHO_C" >&6
25027 cat >conftest.$ac_ext <<_ACEOF
25030 cat confdefs.h >>conftest.$ac_ext
25031 cat >>conftest.$ac_ext <<_ACEOF
25032 /* end confdefs.h. */
25036 #include <hash_map>
25038 rm -f conftest.$ac_objext
25039 if { (ac_try="$ac_compile"
25040 case "(($ac_try" in
25041 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25042 *) ac_try_echo
=$ac_try;;
25044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25045 (eval "$ac_compile") 2>conftest.er1
25047 grep -v '^ *+' conftest.er1
>conftest.err
25049 cat conftest.err
>&5
25050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25051 (exit $ac_status); } && {
25052 test -z "$ac_cxx_werror_flag" ||
25053 test ! -s conftest.err
25054 } && test -s conftest.
$ac_objext; then
25055 ac_cv_header_hash_map
=yes
25057 echo "$as_me: failed program was:" >&5
25058 sed 's/^/| /' conftest.
$ac_ext >&5
25060 ac_cv_header_hash_map
=no
25063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25065 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25066 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25067 if test $ac_cv_header_hash_map = yes; then
25068 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25069 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25070 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25071 echo $ECHO_N "(cached) $ECHO_C" >&6
25073 cat >conftest.
$ac_ext <<_ACEOF
25076 cat confdefs.h
>>conftest.
$ac_ext
25077 cat >>conftest.
$ac_ext <<_ACEOF
25078 /* end confdefs.h. */
25079 #include <hash_map>
25080 #include <hash_set>
25084 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25085 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25090 rm -f conftest.
$ac_objext
25091 if { (ac_try
="$ac_compile"
25092 case "(($ac_try" in
25093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25094 *) ac_try_echo=$ac_try;;
25096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25097 (eval "$ac_compile") 2>conftest.er1
25099 grep -v '^ *+' conftest.er1 >conftest.err
25101 cat conftest.err >&5
25102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103 (exit $ac_status); } && {
25104 test -z "$ac_cxx_werror_flag" ||
25105 test ! -s conftest.err
25106 } && test -s conftest.$ac_objext; then
25107 wx_cv_class_stdhashmapset=yes
25109 echo "$as_me: failed program was:" >&5
25110 sed 's/^/| /' conftest.$ac_ext >&5
25112 wx_cv_class_stdhashmapset=no
25115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25119 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25120 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25125 if test "$wx_cv_class_stdhashmapset" = yes; then
25126 cat >>confdefs.h <<\_ACEOF
25127 #define HAVE_HASH_MAP 1
25130 cat >>confdefs.h <<\_ACEOF
25131 #define HAVE_STD_HASH_MAP 1
25136 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25137 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25138 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25139 echo $ECHO_N "(cached) $ECHO_C" >&6
25141 cat >conftest.$ac_ext <<_ACEOF
25144 cat confdefs.h >>conftest.$ac_ext
25145 cat >>conftest.$ac_ext <<_ACEOF
25146 /* end confdefs.h. */
25150 #include <ext/hash_map>
25152 rm -f conftest.$ac_objext
25153 if { (ac_try="$ac_compile"
25154 case "(($ac_try" in
25155 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25156 *) ac_try_echo
=$ac_try;;
25158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25159 (eval "$ac_compile") 2>conftest.er1
25161 grep -v '^ *+' conftest.er1
>conftest.err
25163 cat conftest.err
>&5
25164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25165 (exit $ac_status); } && {
25166 test -z "$ac_cxx_werror_flag" ||
25167 test ! -s conftest.err
25168 } && test -s conftest.
$ac_objext; then
25169 ac_cv_header_ext_hash_map
=yes
25171 echo "$as_me: failed program was:" >&5
25172 sed 's/^/| /' conftest.
$ac_ext >&5
25174 ac_cv_header_ext_hash_map
=no
25177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25179 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25180 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25181 if test $ac_cv_header_ext_hash_map = yes; then
25182 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25183 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25184 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25185 echo $ECHO_N "(cached) $ECHO_C" >&6
25187 cat >conftest.
$ac_ext <<_ACEOF
25190 cat confdefs.h
>>conftest.
$ac_ext
25191 cat >>conftest.
$ac_ext <<_ACEOF
25192 /* end confdefs.h. */
25193 #include <ext/hash_map>
25194 #include <ext/hash_set>
25198 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25199 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25204 rm -f conftest.
$ac_objext
25205 if { (ac_try
="$ac_compile"
25206 case "(($ac_try" in
25207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25208 *) ac_try_echo=$ac_try;;
25210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25211 (eval "$ac_compile") 2>conftest.er1
25213 grep -v '^ *+' conftest.er1 >conftest.err
25215 cat conftest.err >&5
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); } && {
25218 test -z "$ac_cxx_werror_flag" ||
25219 test ! -s conftest.err
25220 } && test -s conftest.$ac_objext; then
25221 wx_cv_class_gnuhashmapset=yes
25223 echo "$as_me: failed program was:" >&5
25224 sed 's/^/| /' conftest.$ac_ext >&5
25226 wx_cv_class_gnuhashmapset=no
25229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25233 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25234 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25245 if test -n "$GCC"; then
25246 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25247 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25248 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25249 echo $ECHO_N "(cached) $ECHO_C" >&6
25252 cat >conftest.$ac_ext <<_ACEOF
25255 cat confdefs.h >>conftest.$ac_ext
25256 cat >>conftest.$ac_ext <<_ACEOF
25257 /* end confdefs.h. */
25263 unsigned int value=0;
25264 /* wxAtomicInc doesn't use return value here */
25265 __sync_fetch_and_add(&value, 2);
25266 __sync_sub_and_fetch(&value, 1);
25267 /* but wxAtomicDec does, so mimic that: */
25268 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25274 rm -f conftest.$ac_objext conftest$ac_exeext
25275 if { (ac_try="$ac_link"
25276 case "(($ac_try" in
25277 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25278 *) ac_try_echo
=$ac_try;;
25280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25281 (eval "$ac_link") 2>conftest.er1
25283 grep -v '^ *+' conftest.er1
>conftest.err
25285 cat conftest.err
>&5
25286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25287 (exit $ac_status); } && {
25288 test -z "$ac_cxx_werror_flag" ||
25289 test ! -s conftest.err
25290 } && test -s conftest
$ac_exeext &&
25291 $as_test_x conftest
$ac_exeext; then
25292 wx_cv_cc_gcc_atomic_builtins
=yes
25294 echo "$as_me: failed program was:" >&5
25295 sed 's/^/| /' conftest.
$ac_ext >&5
25297 wx_cv_cc_gcc_atomic_builtins
=no
25300 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25301 conftest
$ac_exeext conftest.
$ac_ext
25305 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25306 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25307 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25308 cat >>confdefs.h
<<\_ACEOF
25309 #define HAVE_GCC_ATOMIC_BUILTINS 1
25317 ac_cpp
='$CPP $CPPFLAGS'
25318 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25319 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25320 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25325 /usr/local/include \
25326 /usr/local/X11/include \
25327 /usr/local/include/X11 \
25328 /usr/local/X11R6/include \
25329 /usr/local/include/X11R6 \
25331 /usr/Motif-2.1/include \
25332 /usr/Motif-1.2/include \
25333 /usr/include/Motif1.2 \
25336 /usr/openwin/include \
25340 /usr/X11R6/include \
25341 /usr/X11R6.4/include \
25343 /usr/include/X11R6 \
25348 /usr/XFree86/include/X11 \
25351 /usr/local/X1R5/include \
25352 /usr/local/include/X11R5 \
25353 /usr/X11R5/include \
25354 /usr/include/X11R5 \
25356 /usr/local/X11R4/include \
25357 /usr/local/include/X11R4 \
25358 /usr/X11R4/include \
25359 /usr/include/X11R4 \
25361 /usr/openwin/share/include"
25363 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25364 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25368 if test "${wx_cv_std_libpath+set}" = set; then
25369 echo $ECHO_N "(cached) $ECHO_C" >&6
25372 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25373 for e
in a so sl dylib dll.a
; do
25375 if test -f $libc; then
25378 cat >conftest.
$ac_ext <<_ACEOF
25379 int main() { return 0; }
25381 rm -f conftest.
$ac_objext conftest
$ac_exeext
25382 if { (ac_try
="$ac_link"
25383 case "(($ac_try" in
25384 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25385 *) ac_try_echo=$ac_try;;
25387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25388 (eval "$ac_link") 2>conftest.er1
25390 grep -v '^ *+' conftest.er1 >conftest.err
25392 cat conftest.err >&5
25393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25394 (exit $ac_status); } && {
25395 test -z "$ac_c_werror_flag" ||
25396 test ! -s conftest.err
25397 } && test -s conftest$ac_exeext &&
25398 $as_test_x conftest$ac_exeext; then
25399 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25401 echo "$as_me: failed program was:" >&5
25402 sed 's/^/| /' conftest.$ac_ext >&5
25407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25408 conftest$ac_exeext conftest.$ac_ext
25410 if test "x$wx_cv_std_libpath" != "x"; then
25416 if test "x$wx_cv_std_libpath" = "x"; then
25417 wx_cv_std_libpath="lib"
25426 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25427 wx_cv_std_libpath="lib/64"
25429 wx_cv_std_libpath="lib"
25434 if test "$ac_cv_sizeof_void_p" = 8 -a \
25435 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25436 wx_cv_std_libpath="lib64"
25438 wx_cv_std_libpath="lib"
25443 wx_cv_std_libpath="lib";
25447 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25448 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25450 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25452 if test "$build" != "$host" -a "$GCC" = yes; then
25453 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25454 cross_root=`dirname $cross_root`
25455 cross_root=`dirname $cross_root`
25457 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25458 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25459 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25461 if test -z "$PKG_CONFIG_PATH"; then
25462 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25463 export PKG_CONFIG_PATH
25466 if test -z "$x_includes" -o "$x_includes" = NONE; then
25469 for ac_dir in $SEARCH_INCLUDE /usr/include;
25471 if test -f "$ac_dir/X11/Intrinsic.h"; then
25472 ac_find_includes=$ac_dir
25477 x_includes=$ac_find_includes
25479 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25482 for ac_dir in $SEARCH_LIB;
25484 for ac_extension in a so sl dylib dll.a; do
25485 if test -f "$ac_dir/libXt.$ac_extension"; then
25486 ac_find_libraries=$ac_dir
25492 x_libraries=$ac_find_libraries
25498 cat >confcache <<\_ACEOF
25499 # This file is a shell script that caches the results of configure
25500 # tests run on this system so they can be shared between configure
25501 # scripts and configure runs, see configure's option --config-cache.
25502 # It is not useful on other systems. If it contains results you don't
25503 # want to keep, you may remove or edit it.
25505 # config.status only pays attention to the cache file if you give it
25506 # the --recheck option to rerun configure.
25508 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25509 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25510 # following values.
25514 # The following way of writing the cache mishandles newlines in values,
25515 # but we know of no workaround that is simple, portable, and efficient.
25516 # So, we kill variables containing newlines.
25517 # Ultrix sh set writes to stderr and can't be redirected directly,
25518 # and sets the high bit in the cache file unless we assign to the vars.
25520 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25521 eval ac_val
=\$
$ac_var
25525 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25526 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25529 _
| IFS
| as_nl
) ;; #(
25530 *) $as_unset $ac_var ;;
25536 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25537 *${as_nl}ac_space
=\
*)
25538 # `set' does not quote correctly, so add quotes (double-quote
25539 # substitution turns \\\\ into \\, and sed turns \\ into \).
25542 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25545 # `set' quotes correctly as required by POSIX, so do not add quotes.
25546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25555 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25557 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25559 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25560 if test -w "$cache_file"; then
25561 test "x$cache_file" != "x/dev/null" &&
25562 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25563 echo "$as_me: updating cache $cache_file" >&6;}
25564 cat confcache
>$cache_file
25566 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25567 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25572 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25573 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25574 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25575 if test "${wx_cv_lib_glibc21+set}" = set; then
25576 echo $ECHO_N "(cached) $ECHO_C" >&6
25579 cat >conftest.
$ac_ext <<_ACEOF
25582 cat confdefs.h
>>conftest.
$ac_ext
25583 cat >>conftest.
$ac_ext <<_ACEOF
25584 /* end confdefs.h. */
25585 #include <features.h>
25590 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25598 rm -f conftest.
$ac_objext
25599 if { (ac_try
="$ac_compile"
25600 case "(($ac_try" in
25601 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25602 *) ac_try_echo=$ac_try;;
25604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25605 (eval "$ac_compile") 2>conftest.er1
25607 grep -v '^ *+' conftest.er1 >conftest.err
25609 cat conftest.err >&5
25610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25611 (exit $ac_status); } && {
25612 test -z "$ac_c_werror_flag" ||
25613 test ! -s conftest.err
25614 } && test -s conftest.$ac_objext; then
25616 wx_cv_lib_glibc21=yes
25619 echo "$as_me: failed program was:" >&5
25620 sed 's/^/| /' conftest.$ac_ext >&5
25623 wx_cv_lib_glibc21=no
25628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25631 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25632 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25633 if test "$wx_cv_lib_glibc21" = "yes"; then
25634 cat >>confdefs.h <<\_ACEOF
25635 #define wxHAVE_GLIBC2 1
25641 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25642 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25643 cat >>confdefs.h <<\_ACEOF
25644 #define _GNU_SOURCE 1
25655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25656 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25658 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25659 echo $ECHO_N "(cached) $ECHO_C" >&6
25661 cat >conftest.$ac_ext <<_ACEOF
25664 cat confdefs.h >>conftest.$ac_ext
25665 cat >>conftest.$ac_ext <<_ACEOF
25666 /* end confdefs.h. */
25667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25669 #define $ac_func innocuous_$ac_func
25671 /* System header to define __stub macros and hopefully few prototypes,
25672 which can conflict with char $ac_func (); below.
25673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25674 <limits.h> exists even on freestanding compilers. */
25677 # include <limits.h>
25679 # include <assert.h>
25684 /* Override any GCC internal prototype to avoid an error.
25685 Use char because int might match the return type of a GCC
25686 builtin and then its argument prototype would still apply. */
25691 /* The GNU C library defines this for functions which it implements
25692 to always fail with ENOSYS. Some functions are actually named
25693 something starting with __ and the normal name is an alias. */
25694 #if defined __stub_$ac_func || defined __stub___$ac_func
25701 return $ac_func ();
25706 rm -f conftest.$ac_objext conftest$ac_exeext
25707 if { (ac_try="$ac_link"
25708 case "(($ac_try" in
25709 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25710 *) ac_try_echo
=$ac_try;;
25712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25713 (eval "$ac_link") 2>conftest.er1
25715 grep -v '^ *+' conftest.er1
>conftest.err
25717 cat conftest.err
>&5
25718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25719 (exit $ac_status); } && {
25720 test -z "$ac_c_werror_flag" ||
25721 test ! -s conftest.err
25722 } && test -s conftest
$ac_exeext &&
25723 $as_test_x conftest
$ac_exeext; then
25724 eval "$as_ac_var=yes"
25726 echo "$as_me: failed program was:" >&5
25727 sed 's/^/| /' conftest.
$ac_ext >&5
25729 eval "$as_ac_var=no"
25732 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25733 conftest
$ac_exeext conftest.
$ac_ext
25735 ac_res
=`eval echo '${'$as_ac_var'}'`
25736 { echo "$as_me:$LINENO: result: $ac_res" >&5
25737 echo "${ECHO_T}$ac_res" >&6; }
25738 if test `eval echo '${'$as_ac_var'}'` = yes; then
25739 cat >>confdefs.h
<<_ACEOF
25740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25747 for ac_func
in floor
25749 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25750 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25752 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25753 echo $ECHO_N "(cached) $ECHO_C" >&6
25755 cat >conftest.
$ac_ext <<_ACEOF
25758 cat confdefs.h
>>conftest.
$ac_ext
25759 cat >>conftest.
$ac_ext <<_ACEOF
25760 /* end confdefs.h. */
25761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25763 #define $ac_func innocuous_$ac_func
25765 /* System header to define __stub macros and hopefully few prototypes,
25766 which can conflict with char $ac_func (); below.
25767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25768 <limits.h> exists even on freestanding compilers. */
25771 # include <limits.h>
25773 # include <assert.h>
25778 /* Override any GCC internal prototype to avoid an error.
25779 Use char because int might match the return type of a GCC
25780 builtin and then its argument prototype would still apply. */
25785 /* The GNU C library defines this for functions which it implements
25786 to always fail with ENOSYS. Some functions are actually named
25787 something starting with __ and the normal name is an alias. */
25788 #if defined __stub_$ac_func || defined __stub___$ac_func
25795 return $ac_func ();
25800 rm -f conftest.
$ac_objext conftest
$ac_exeext
25801 if { (ac_try
="$ac_link"
25802 case "(($ac_try" in
25803 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25804 *) ac_try_echo=$ac_try;;
25806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25807 (eval "$ac_link") 2>conftest.er1
25809 grep -v '^ *+' conftest.er1 >conftest.err
25811 cat conftest.err >&5
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); } && {
25814 test -z "$ac_c_werror_flag" ||
25815 test ! -s conftest.err
25816 } && test -s conftest$ac_exeext &&
25817 $as_test_x conftest$ac_exeext; then
25818 eval "$as_ac_var=yes"
25820 echo "$as_me: failed program was:" >&5
25821 sed 's/^/| /' conftest.$ac_ext >&5
25823 eval "$as_ac_var=no"
25826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25827 conftest$ac_exeext conftest.$ac_ext
25829 ac_res=`eval echo '${'$as_ac_var'}'`
25830 { echo "$as_me:$LINENO: result: $ac_res" >&5
25831 echo "${ECHO_T}$ac_res" >&6; }
25832 if test `eval echo '${'$as_ac_var'}'` = yes; then
25833 cat >>confdefs.h <<_ACEOF
25834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25840 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25841 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25842 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25843 { echo "$as_me:$LINENO: result: yes" >&5
25844 echo "${ECHO_T}yes" >&6; }
25846 { echo "$as_me:$LINENO: result: no" >&5
25847 echo "${ECHO_T}no" >&6; }
25849 # use different functions to avoid configure caching
25855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25856 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25858 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25859 echo $ECHO_N "(cached) $ECHO_C" >&6
25861 cat >conftest.$ac_ext <<_ACEOF
25864 cat confdefs.h >>conftest.$ac_ext
25865 cat >>conftest.$ac_ext <<_ACEOF
25866 /* end confdefs.h. */
25867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25869 #define $ac_func innocuous_$ac_func
25871 /* System header to define __stub macros and hopefully few prototypes,
25872 which can conflict with char $ac_func (); below.
25873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25874 <limits.h> exists even on freestanding compilers. */
25877 # include <limits.h>
25879 # include <assert.h>
25884 /* Override any GCC internal prototype to avoid an error.
25885 Use char because int might match the return type of a GCC
25886 builtin and then its argument prototype would still apply. */
25891 /* The GNU C library defines this for functions which it implements
25892 to always fail with ENOSYS. Some functions are actually named
25893 something starting with __ and the normal name is an alias. */
25894 #if defined __stub_$ac_func || defined __stub___$ac_func
25901 return $ac_func ();
25906 rm -f conftest.$ac_objext conftest$ac_exeext
25907 if { (ac_try="$ac_link"
25908 case "(($ac_try" in
25909 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25910 *) ac_try_echo
=$ac_try;;
25912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25913 (eval "$ac_link") 2>conftest.er1
25915 grep -v '^ *+' conftest.er1
>conftest.err
25917 cat conftest.err
>&5
25918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25919 (exit $ac_status); } && {
25920 test -z "$ac_c_werror_flag" ||
25921 test ! -s conftest.err
25922 } && test -s conftest
$ac_exeext &&
25923 $as_test_x conftest
$ac_exeext; then
25924 eval "$as_ac_var=yes"
25926 echo "$as_me: failed program was:" >&5
25927 sed 's/^/| /' conftest.
$ac_ext >&5
25929 eval "$as_ac_var=no"
25932 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25933 conftest
$ac_exeext conftest.
$ac_ext
25935 ac_res
=`eval echo '${'$as_ac_var'}'`
25936 { echo "$as_me:$LINENO: result: $ac_res" >&5
25937 echo "${ECHO_T}$ac_res" >&6; }
25938 if test `eval echo '${'$as_ac_var'}'` = yes; then
25939 cat >>confdefs.h
<<_ACEOF
25940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25947 for ac_func
in ceil
25949 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25950 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25952 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25953 echo $ECHO_N "(cached) $ECHO_C" >&6
25955 cat >conftest.
$ac_ext <<_ACEOF
25958 cat confdefs.h
>>conftest.
$ac_ext
25959 cat >>conftest.
$ac_ext <<_ACEOF
25960 /* end confdefs.h. */
25961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25963 #define $ac_func innocuous_$ac_func
25965 /* System header to define __stub macros and hopefully few prototypes,
25966 which can conflict with char $ac_func (); below.
25967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25968 <limits.h> exists even on freestanding compilers. */
25971 # include <limits.h>
25973 # include <assert.h>
25978 /* Override any GCC internal prototype to avoid an error.
25979 Use char because int might match the return type of a GCC
25980 builtin and then its argument prototype would still apply. */
25985 /* The GNU C library defines this for functions which it implements
25986 to always fail with ENOSYS. Some functions are actually named
25987 something starting with __ and the normal name is an alias. */
25988 #if defined __stub_$ac_func || defined __stub___$ac_func
25995 return $ac_func ();
26000 rm -f conftest.
$ac_objext conftest
$ac_exeext
26001 if { (ac_try
="$ac_link"
26002 case "(($ac_try" in
26003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26004 *) ac_try_echo=$ac_try;;
26006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26007 (eval "$ac_link") 2>conftest.er1
26009 grep -v '^ *+' conftest.er1 >conftest.err
26011 cat conftest.err >&5
26012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013 (exit $ac_status); } && {
26014 test -z "$ac_c_werror_flag" ||
26015 test ! -s conftest.err
26016 } && test -s conftest$ac_exeext &&
26017 $as_test_x conftest$ac_exeext; then
26018 eval "$as_ac_var=yes"
26020 echo "$as_me: failed program was:" >&5
26021 sed 's/^/| /' conftest.$ac_ext >&5
26023 eval "$as_ac_var=no"
26026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26027 conftest$ac_exeext conftest.$ac_ext
26029 ac_res=`eval echo '${'$as_ac_var'}'`
26030 { echo "$as_me:$LINENO: result: $ac_res" >&5
26031 echo "${ECHO_T}$ac_res" >&6; }
26032 if test `eval echo '${'$as_ac_var'}'` = yes; then
26033 cat >>confdefs.h <<_ACEOF
26034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26040 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26041 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26042 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26043 { echo "$as_me:$LINENO: result: yes" >&5
26044 echo "${ECHO_T}yes" >&6; }
26046 { echo "$as_me:$LINENO: result: no" >&5
26047 echo "${ECHO_T}no" >&6; }
26048 # not sure we should warn the user, crash, etc.
26053 ac_cpp='$CXXCPP $CPPFLAGS'
26054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26058 if test "wxUSE_UNICODE" = "yes"; then
26060 for wx_func in wcstoull
26062 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26063 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26064 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26065 echo $ECHO_N "(cached) $ECHO_C" >&6
26068 cat >conftest.$ac_ext <<_ACEOF
26072 cat confdefs.h >>conftest.$ac_ext
26073 cat >>conftest.$ac_ext <<_ACEOF
26074 /* end confdefs.h. */
26077 $ac_includes_default
26093 rm -f conftest.$ac_objext conftest$ac_exeext
26094 if { (ac_try="$ac_link"
26095 case "(($ac_try" in
26096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26097 *) ac_try_echo
=$ac_try;;
26099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26100 (eval "$ac_link") 2>conftest.er1
26102 grep -v '^ *+' conftest.er1
>conftest.err
26104 cat conftest.err
>&5
26105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26106 (exit $ac_status); } && {
26107 test -z "$ac_cxx_werror_flag" ||
26108 test ! -s conftest.err
26109 } && test -s conftest
$ac_exeext &&
26110 $as_test_x conftest
$ac_exeext; then
26111 eval wx_cv_func_
$wx_func=yes
26113 echo "$as_me: failed program was:" >&5
26114 sed 's/^/| /' conftest.
$ac_ext >&5
26116 eval wx_cv_func_
$wx_func=no
26119 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26120 conftest
$ac_exeext conftest.
$ac_ext
26123 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26124 { echo "$as_me:$LINENO: result: $ac_res" >&5
26125 echo "${ECHO_T}$ac_res" >&6; }
26127 if eval test \
$wx_cv_func_$wx_func = yes
26129 cat >>confdefs.h
<<_ACEOF
26130 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26142 for wx_func
in strtoull
26144 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26145 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26146 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26147 echo $ECHO_N "(cached) $ECHO_C" >&6
26150 cat >conftest.
$ac_ext <<_ACEOF
26154 cat confdefs.h
>>conftest.
$ac_ext
26155 cat >>conftest.
$ac_ext <<_ACEOF
26156 /* end confdefs.h. */
26159 $ac_includes_default
26175 rm -f conftest.
$ac_objext conftest
$ac_exeext
26176 if { (ac_try
="$ac_link"
26177 case "(($ac_try" in
26178 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26179 *) ac_try_echo=$ac_try;;
26181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26182 (eval "$ac_link") 2>conftest.er1
26184 grep -v '^ *+' conftest.er1 >conftest.err
26186 cat conftest.err >&5
26187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26188 (exit $ac_status); } && {
26189 test -z "$ac_cxx_werror_flag" ||
26190 test ! -s conftest.err
26191 } && test -s conftest$ac_exeext &&
26192 $as_test_x conftest$ac_exeext; then
26193 eval wx_cv_func_$wx_func=yes
26195 echo "$as_me: failed program was:" >&5
26196 sed 's/^/| /' conftest.$ac_ext >&5
26198 eval wx_cv_func_$wx_func=no
26201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26202 conftest$ac_exeext conftest.$ac_ext
26205 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26206 { echo "$as_me:$LINENO: result: $ac_res" >&5
26207 echo "${ECHO_T}$ac_res" >&6; }
26209 if eval test \$wx_cv_func_$wx_func = yes
26211 cat >>confdefs.h <<_ACEOF
26212 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26224 ac_cpp='$CPP $CPPFLAGS'
26225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26232 if test "$wxUSE_REGEX" != "no"; then
26233 cat >>confdefs.h <<\_ACEOF
26234 #define wxUSE_REGEX 1
26238 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26239 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26240 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26241 wxUSE_REGEX=builtin
26244 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26245 { echo "$as_me:$LINENO: checking for regex.h" >&5
26246 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26247 if test "${ac_cv_header_regex_h+set}" = set; then
26248 echo $ECHO_N "(cached) $ECHO_C" >&6
26250 cat >conftest.$ac_ext <<_ACEOF
26253 cat confdefs.h >>conftest.$ac_ext
26254 cat >>conftest.$ac_ext <<_ACEOF
26255 /* end confdefs.h. */
26260 rm -f conftest.$ac_objext
26261 if { (ac_try="$ac_compile"
26262 case "(($ac_try" in
26263 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26264 *) ac_try_echo
=$ac_try;;
26266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26267 (eval "$ac_compile") 2>conftest.er1
26269 grep -v '^ *+' conftest.er1
>conftest.err
26271 cat conftest.err
>&5
26272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26273 (exit $ac_status); } && {
26274 test -z "$ac_c_werror_flag" ||
26275 test ! -s conftest.err
26276 } && test -s conftest.
$ac_objext; then
26277 ac_cv_header_regex_h
=yes
26279 echo "$as_me: failed program was:" >&5
26280 sed 's/^/| /' conftest.
$ac_ext >&5
26282 ac_cv_header_regex_h
=no
26285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26287 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26288 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26289 if test $ac_cv_header_regex_h = yes; then
26292 for ac_func
in regcomp re_search
26294 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26295 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26297 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26298 echo $ECHO_N "(cached) $ECHO_C" >&6
26300 cat >conftest.
$ac_ext <<_ACEOF
26303 cat confdefs.h
>>conftest.
$ac_ext
26304 cat >>conftest.
$ac_ext <<_ACEOF
26305 /* end confdefs.h. */
26306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26308 #define $ac_func innocuous_$ac_func
26310 /* System header to define __stub macros and hopefully few prototypes,
26311 which can conflict with char $ac_func (); below.
26312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26313 <limits.h> exists even on freestanding compilers. */
26316 # include <limits.h>
26318 # include <assert.h>
26323 /* Override any GCC internal prototype to avoid an error.
26324 Use char because int might match the return type of a GCC
26325 builtin and then its argument prototype would still apply. */
26330 /* The GNU C library defines this for functions which it implements
26331 to always fail with ENOSYS. Some functions are actually named
26332 something starting with __ and the normal name is an alias. */
26333 #if defined __stub_$ac_func || defined __stub___$ac_func
26340 return $ac_func ();
26345 rm -f conftest.
$ac_objext conftest
$ac_exeext
26346 if { (ac_try
="$ac_link"
26347 case "(($ac_try" in
26348 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26349 *) ac_try_echo=$ac_try;;
26351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26352 (eval "$ac_link") 2>conftest.er1
26354 grep -v '^ *+' conftest.er1 >conftest.err
26356 cat conftest.err >&5
26357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358 (exit $ac_status); } && {
26359 test -z "$ac_c_werror_flag" ||
26360 test ! -s conftest.err
26361 } && test -s conftest$ac_exeext &&
26362 $as_test_x conftest$ac_exeext; then
26363 eval "$as_ac_var=yes"
26365 echo "$as_me: failed program was:" >&5
26366 sed 's/^/| /' conftest.$ac_ext >&5
26368 eval "$as_ac_var=no"
26371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26372 conftest$ac_exeext conftest.$ac_ext
26374 ac_res=`eval echo '${'$as_ac_var'}'`
26375 { echo "$as_me:$LINENO: result: $ac_res" >&5
26376 echo "${ECHO_T}$ac_res" >&6; }
26377 if test `eval echo '${'$as_ac_var'}'` = yes; then
26378 cat >>confdefs.h <<_ACEOF
26379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26389 if test "x$ac_cv_func_regcomp" != "xyes"; then
26390 if test "$wxUSE_REGEX" = "sys" ; then
26391 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26392 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26393 { (exit 1); exit 1; }; }
26395 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26396 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26397 wxUSE_REGEX=builtin
26401 cat >>confdefs.h <<\_ACEOF
26402 #define WX_NO_REGEX_ADVANCED 1
26411 if test "$wxUSE_ZLIB" != "no" ; then
26412 cat >>confdefs.h <<\_ACEOF
26413 #define wxUSE_ZLIB 1
26417 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26418 if test "$USE_DARWIN" = 1; then
26419 system_zlib_h_ok="yes"
26421 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26422 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26423 if test "${ac_cv_header_zlib_h+set}" = set; then
26424 echo $ECHO_N "(cached) $ECHO_C" >&6
26426 if test "$cross_compiling" = yes; then
26427 unset ac_cv_header_zlib_h
26430 cat >conftest.$ac_ext <<_ACEOF
26433 cat confdefs.h >>conftest.$ac_ext
26434 cat >>conftest.$ac_ext <<_ACEOF
26435 /* end confdefs.h. */
26442 FILE *f=fopen("conftestval", "w");
26445 ZLIB_VERSION[0] == '1' &&
26446 (ZLIB_VERSION[2] > '1' ||
26447 (ZLIB_VERSION[2] == '1' &&
26448 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26453 rm -f conftest$ac_exeext
26454 if { (ac_try="$ac_link"
26455 case "(($ac_try" in
26456 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26457 *) ac_try_echo
=$ac_try;;
26459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26460 (eval "$ac_link") 2>&5
26462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26464 { (case "(($ac_try" in
26465 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26466 *) ac_try_echo=$ac_try;;
26468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26469 (eval "$ac_try") 2>&5
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); }; }; then
26473 ac_cv_header_zlib_h=`cat conftestval
`
26475 echo "$as_me: program exited with status $ac_status" >&5
26476 echo "$as_me: failed program was:" >&5
26477 sed 's/^/| /' conftest.$ac_ext >&5
26479 ( exit $ac_status )
26480 ac_cv_header_zlib_h=no
26482 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26488 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26489 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26490 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26491 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26492 if test "${ac_cv_header_zlib_h+set}" = set; then
26493 echo $ECHO_N "(cached) $ECHO_C" >&6
26495 cat >conftest.$ac_ext <<_ACEOF
26498 cat confdefs.h >>conftest.$ac_ext
26499 cat >>conftest.$ac_ext <<_ACEOF
26500 /* end confdefs.h. */
26505 rm -f conftest.$ac_objext
26506 if { (ac_try="$ac_compile"
26507 case "(($ac_try" in
26508 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26509 *) ac_try_echo
=$ac_try;;
26511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26512 (eval "$ac_compile") 2>conftest.er1
26514 grep -v '^ *+' conftest.er1
>conftest.err
26516 cat conftest.err
>&5
26517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26518 (exit $ac_status); } && {
26519 test -z "$ac_c_werror_flag" ||
26520 test ! -s conftest.err
26521 } && test -s conftest.
$ac_objext; then
26522 ac_cv_header_zlib_h
=yes
26524 echo "$as_me: failed program was:" >&5
26525 sed 's/^/| /' conftest.
$ac_ext >&5
26527 ac_cv_header_zlib_h
=no
26530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26532 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26533 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26537 system_zlib_h_ok
=$ac_cv_header_zlib_h
26540 if test "$system_zlib_h_ok" = "yes"; then
26541 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26542 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26543 if test "${ac_cv_lib_z_deflate+set}" = set; then
26544 echo $ECHO_N "(cached) $ECHO_C" >&6
26546 ac_check_lib_save_LIBS
=$LIBS
26548 cat >conftest.
$ac_ext <<_ACEOF
26551 cat confdefs.h
>>conftest.
$ac_ext
26552 cat >>conftest.
$ac_ext <<_ACEOF
26553 /* end confdefs.h. */
26555 /* Override any GCC internal prototype to avoid an error.
26556 Use char because int might match the return type of a GCC
26557 builtin and then its argument prototype would still apply. */
26570 rm -f conftest.
$ac_objext conftest
$ac_exeext
26571 if { (ac_try
="$ac_link"
26572 case "(($ac_try" in
26573 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26574 *) ac_try_echo=$ac_try;;
26576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26577 (eval "$ac_link") 2>conftest.er1
26579 grep -v '^ *+' conftest.er1 >conftest.err
26581 cat conftest.err >&5
26582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26583 (exit $ac_status); } && {
26584 test -z "$ac_c_werror_flag" ||
26585 test ! -s conftest.err
26586 } && test -s conftest$ac_exeext &&
26587 $as_test_x conftest$ac_exeext; then
26588 ac_cv_lib_z_deflate=yes
26590 echo "$as_me: failed program was:" >&5
26591 sed 's/^/| /' conftest.$ac_ext >&5
26593 ac_cv_lib_z_deflate=no
26596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26597 conftest$ac_exeext conftest.$ac_ext
26598 LIBS=$ac_check_lib_save_LIBS
26600 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26601 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26602 if test $ac_cv_lib_z_deflate = yes; then
26608 if test "x$ZLIB_LINK" = "x" ; then
26609 if test "$wxUSE_ZLIB" = "sys" ; then
26610 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26611 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26612 { (exit 1); exit 1; }; }
26614 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26615 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26626 if test "$wxUSE_LIBPNG" != "no" ; then
26627 cat >>confdefs.h <<\_ACEOF
26628 #define wxUSE_LIBPNG 1
26632 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26633 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26634 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26638 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26639 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26640 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26641 wxUSE_LIBPNG=builtin
26644 if test "$wxUSE_MGL" != 1 ; then
26645 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26646 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26647 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26648 if test "${ac_cv_header_png_h+set}" = set; then
26649 echo $ECHO_N "(cached) $ECHO_C" >&6
26651 if test "$cross_compiling" = yes; then
26652 unset ac_cv_header_png_h
26655 cat >conftest.$ac_ext <<_ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26667 FILE *f=fopen("conftestval", "w");
26670 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26675 rm -f conftest$ac_exeext
26676 if { (ac_try="$ac_link"
26677 case "(($ac_try" in
26678 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26679 *) ac_try_echo
=$ac_try;;
26681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26682 (eval "$ac_link") 2>&5
26684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26685 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26686 { (case "(($ac_try" in
26687 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26688 *) ac_try_echo=$ac_try;;
26690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26691 (eval "$ac_try") 2>&5
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); }; }; then
26695 ac_cv_header_png_h=`cat conftestval
`
26697 echo "$as_me: program exited with status $ac_status" >&5
26698 echo "$as_me: failed program was:" >&5
26699 sed 's/^/| /' conftest.$ac_ext >&5
26701 ( exit $ac_status )
26702 ac_cv_header_png_h=no
26704 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26710 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26711 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26712 { echo "$as_me:$LINENO: checking for png.h" >&5
26713 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26714 if test "${ac_cv_header_png_h+set}" = set; then
26715 echo $ECHO_N "(cached) $ECHO_C" >&6
26717 cat >conftest.$ac_ext <<_ACEOF
26720 cat confdefs.h >>conftest.$ac_ext
26721 cat >>conftest.$ac_ext <<_ACEOF
26722 /* end confdefs.h. */
26727 rm -f conftest.$ac_objext
26728 if { (ac_try="$ac_compile"
26729 case "(($ac_try" in
26730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26731 *) ac_try_echo
=$ac_try;;
26733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26734 (eval "$ac_compile") 2>conftest.er1
26736 grep -v '^ *+' conftest.er1
>conftest.err
26738 cat conftest.err
>&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); } && {
26741 test -z "$ac_c_werror_flag" ||
26742 test ! -s conftest.err
26743 } && test -s conftest.
$ac_objext; then
26744 ac_cv_header_png_h
=yes
26746 echo "$as_me: failed program was:" >&5
26747 sed 's/^/| /' conftest.
$ac_ext >&5
26749 ac_cv_header_png_h
=no
26752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26754 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26755 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26759 if test "$ac_cv_header_png_h" = "yes"; then
26760 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26761 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26762 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26763 echo $ECHO_N "(cached) $ECHO_C" >&6
26765 ac_check_lib_save_LIBS
=$LIBS
26766 LIBS
="-lpng -lz -lm $LIBS"
26767 cat >conftest.
$ac_ext <<_ACEOF
26770 cat confdefs.h
>>conftest.
$ac_ext
26771 cat >>conftest.
$ac_ext <<_ACEOF
26772 /* end confdefs.h. */
26774 /* Override any GCC internal prototype to avoid an error.
26775 Use char because int might match the return type of a GCC
26776 builtin and then its argument prototype would still apply. */
26780 char png_check_sig ();
26784 return png_check_sig ();
26789 rm -f conftest.
$ac_objext conftest
$ac_exeext
26790 if { (ac_try
="$ac_link"
26791 case "(($ac_try" in
26792 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26793 *) ac_try_echo=$ac_try;;
26795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26796 (eval "$ac_link") 2>conftest.er1
26798 grep -v '^ *+' conftest.er1 >conftest.err
26800 cat conftest.err >&5
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); } && {
26803 test -z "$ac_c_werror_flag" ||
26804 test ! -s conftest.err
26805 } && test -s conftest$ac_exeext &&
26806 $as_test_x conftest$ac_exeext; then
26807 ac_cv_lib_png_png_check_sig=yes
26809 echo "$as_me: failed program was:" >&5
26810 sed 's/^/| /' conftest.$ac_ext >&5
26812 ac_cv_lib_png_png_check_sig=no
26815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26816 conftest$ac_exeext conftest.$ac_ext
26817 LIBS=$ac_check_lib_save_LIBS
26819 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26820 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26821 if test $ac_cv_lib_png_png_check_sig = yes; then
26822 PNG_LINK=" -lpng -lz"
26827 if test "x$PNG_LINK" = "x" ; then
26828 if test "$wxUSE_LIBPNG" = "sys" ; then
26829 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26830 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26831 { (exit 1); exit 1; }; }
26833 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26834 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26835 wxUSE_LIBPNG=builtin
26846 if test "$wxUSE_LIBJPEG" != "no" ; then
26847 cat >>confdefs.h <<\_ACEOF
26848 #define wxUSE_LIBJPEG 1
26852 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26853 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26854 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26858 if test "$wxUSE_MGL" != 1 ; then
26859 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26860 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26861 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26862 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26863 echo $ECHO_N "(cached) $ECHO_C" >&6
26865 cat >conftest.$ac_ext <<_ACEOF
26868 cat confdefs.h >>conftest.$ac_ext
26869 cat >>conftest.$ac_ext <<_ACEOF
26870 /* end confdefs.h. */
26872 #undef HAVE_STDLIB_H
26874 #include <jpeglib.h>
26885 rm -f conftest.$ac_objext
26886 if { (ac_try="$ac_compile"
26887 case "(($ac_try" in
26888 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26889 *) ac_try_echo
=$ac_try;;
26891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26892 (eval "$ac_compile") 2>conftest.er1
26894 grep -v '^ *+' conftest.er1
>conftest.err
26896 cat conftest.err
>&5
26897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898 (exit $ac_status); } && {
26899 test -z "$ac_c_werror_flag" ||
26900 test ! -s conftest.err
26901 } && test -s conftest.
$ac_objext; then
26902 ac_cv_header_jpeglib_h
=yes
26904 echo "$as_me: failed program was:" >&5
26905 sed 's/^/| /' conftest.
$ac_ext >&5
26907 ac_cv_header_jpeglib_h
=no
26911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26915 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26916 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26918 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26919 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26920 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26921 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26922 echo $ECHO_N "(cached) $ECHO_C" >&6
26924 ac_check_lib_save_LIBS
=$LIBS
26925 LIBS
="-ljpeg $LIBS"
26926 cat >conftest.
$ac_ext <<_ACEOF
26929 cat confdefs.h
>>conftest.
$ac_ext
26930 cat >>conftest.
$ac_ext <<_ACEOF
26931 /* end confdefs.h. */
26933 /* Override any GCC internal prototype to avoid an error.
26934 Use char because int might match the return type of a GCC
26935 builtin and then its argument prototype would still apply. */
26939 char jpeg_read_header ();
26943 return jpeg_read_header ();
26948 rm -f conftest.
$ac_objext conftest
$ac_exeext
26949 if { (ac_try
="$ac_link"
26950 case "(($ac_try" in
26951 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26952 *) ac_try_echo=$ac_try;;
26954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26955 (eval "$ac_link") 2>conftest.er1
26957 grep -v '^ *+' conftest.er1 >conftest.err
26959 cat conftest.err >&5
26960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26961 (exit $ac_status); } && {
26962 test -z "$ac_c_werror_flag" ||
26963 test ! -s conftest.err
26964 } && test -s conftest$ac_exeext &&
26965 $as_test_x conftest$ac_exeext; then
26966 ac_cv_lib_jpeg_jpeg_read_header=yes
26968 echo "$as_me: failed program was:" >&5
26969 sed 's/^/| /' conftest.$ac_ext >&5
26971 ac_cv_lib_jpeg_jpeg_read_header=no
26974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26975 conftest$ac_exeext conftest.$ac_ext
26976 LIBS=$ac_check_lib_save_LIBS
26978 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26979 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26980 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26981 JPEG_LINK=" -ljpeg"
26986 if test "x$JPEG_LINK" = "x" ; then
26987 if test "$wxUSE_LIBJPEG" = "sys" ; then
26988 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26989 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26990 { (exit 1); exit 1; }; }
26992 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26993 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26994 wxUSE_LIBJPEG=builtin
26999 if test "$wxUSE_MSW" = 1; then
27000 { echo "$as_me:$LINENO: checking for boolean" >&5
27001 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27002 if test "${ac_cv_type_boolean+set}" = set; then
27003 echo $ECHO_N "(cached) $ECHO_C" >&6
27005 cat >conftest.$ac_ext <<_ACEOF
27008 cat confdefs.h >>conftest.$ac_ext
27009 cat >>conftest.$ac_ext <<_ACEOF
27010 /* end confdefs.h. */
27011 #include <windows.h>
27013 typedef boolean ac__type_new_;
27017 if ((ac__type_new_ *) 0)
27019 if (sizeof (ac__type_new_))
27025 rm -f conftest.$ac_objext
27026 if { (ac_try="$ac_compile"
27027 case "(($ac_try" in
27028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27029 *) ac_try_echo
=$ac_try;;
27031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27032 (eval "$ac_compile") 2>conftest.er1
27034 grep -v '^ *+' conftest.er1
>conftest.err
27036 cat conftest.err
>&5
27037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038 (exit $ac_status); } && {
27039 test -z "$ac_c_werror_flag" ||
27040 test ! -s conftest.err
27041 } && test -s conftest.
$ac_objext; then
27042 ac_cv_type_boolean
=yes
27044 echo "$as_me: failed program was:" >&5
27045 sed 's/^/| /' conftest.
$ac_ext >&5
27047 ac_cv_type_boolean
=no
27050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27052 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27053 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27054 if test $ac_cv_type_boolean = yes; then
27056 cat >>confdefs.h
<<_ACEOF
27057 #define HAVE_BOOLEAN 1
27061 { echo "$as_me:$LINENO: checking for boolean" >&5
27062 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27063 if test "${ac_cv_type_boolean+set}" = set; then
27064 echo $ECHO_N "(cached) $ECHO_C" >&6
27066 cat >conftest.
$ac_ext <<_ACEOF
27069 cat confdefs.h
>>conftest.
$ac_ext
27070 cat >>conftest.
$ac_ext <<_ACEOF
27071 /* end confdefs.h. */
27073 #undef HAVE_BOOLEAN
27075 #include <jpeglib.h>
27078 typedef boolean ac__type_new_;
27082 if ((ac__type_new_ *) 0)
27084 if (sizeof (ac__type_new_))
27090 rm -f conftest.
$ac_objext
27091 if { (ac_try
="$ac_compile"
27092 case "(($ac_try" in
27093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27094 *) ac_try_echo=$ac_try;;
27096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27097 (eval "$ac_compile") 2>conftest.er1
27099 grep -v '^ *+' conftest.er1 >conftest.err
27101 cat conftest.err >&5
27102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27103 (exit $ac_status); } && {
27104 test -z "$ac_c_werror_flag" ||
27105 test ! -s conftest.err
27106 } && test -s conftest.$ac_objext; then
27107 ac_cv_type_boolean=yes
27109 echo "$as_me: failed program was:" >&5
27110 sed 's/^/| /' conftest.$ac_ext >&5
27112 ac_cv_type_boolean=no
27115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27117 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27118 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27120 # The cast to long int works around a bug in the HP C Compiler
27121 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27122 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27123 # This bug is HP SR number 8606223364.
27124 { echo "$as_me:$LINENO: checking size of boolean" >&5
27125 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27126 if test "${ac_cv_sizeof_boolean+set}" = set; then
27127 echo $ECHO_N "(cached) $ECHO_C" >&6
27129 if test "$cross_compiling" = yes; then
27130 # Depending upon the size, compute the lo and hi bounds.
27131 cat >conftest.$ac_ext <<_ACEOF
27134 cat confdefs.h >>conftest.$ac_ext
27135 cat >>conftest.$ac_ext <<_ACEOF
27136 /* end confdefs.h. */
27138 #undef HAVE_BOOLEAN
27140 #include <jpeglib.h>
27143 typedef boolean ac__type_sizeof_;
27147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27154 rm -f conftest.$ac_objext
27155 if { (ac_try="$ac_compile"
27156 case "(($ac_try" in
27157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27158 *) ac_try_echo=$ac_try;;
27160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27161 (eval "$ac_compile") 2>conftest.er1
27163 grep -v '^
*+' conftest.er1 >conftest.err
27165 cat conftest.err >&5
27166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27167 (exit $ac_status); } && {
27168 test -z "$ac_c_werror_flag" ||
27169 test ! -s conftest.err
27170 } && test -s conftest.$ac_objext; then
27173 cat >conftest.$ac_ext <<_ACEOF
27176 cat confdefs.h >>conftest.$ac_ext
27177 cat >>conftest.$ac_ext <<_ACEOF
27178 /* end confdefs.h. */
27180 #undef HAVE_BOOLEAN
27182 #include <jpeglib.h>
27185 typedef boolean ac__type_sizeof_;
27189 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27196 rm -f conftest.$ac_objext
27197 if { (ac_try="$ac_compile"
27198 case "(($ac_try" in
27199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27200 *) ac_try_echo=$ac_try;;
27202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27203 (eval "$ac_compile") 2>conftest.er1
27205 grep -v '^
*+' conftest.er1 >conftest.err
27207 cat conftest.err >&5
27208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27209 (exit $ac_status); } && {
27210 test -z "$ac_c_werror_flag" ||
27211 test ! -s conftest.err
27212 } && test -s conftest.$ac_objext; then
27213 ac_hi=$ac_mid; break
27215 echo "$as_me: failed program was:" >&5
27216 sed 's
/^
/| /' conftest.$ac_ext >&5
27218 ac_lo=`expr $ac_mid + 1`
27219 if test $ac_lo -le $ac_mid; then
27223 ac_mid=`expr 2 '*' $ac_mid + 1`
27226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27229 echo "$as_me: failed program was:" >&5
27230 sed 's
/^
/| /' conftest.$ac_ext >&5
27232 cat >conftest.$ac_ext <<_ACEOF
27235 cat confdefs.h >>conftest.$ac_ext
27236 cat >>conftest.$ac_ext <<_ACEOF
27237 /* end confdefs.h. */
27239 #undef HAVE_BOOLEAN
27241 #include <jpeglib.h>
27244 typedef boolean ac__type_sizeof_;
27248 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27255 rm -f conftest.$ac_objext
27256 if { (ac_try="$ac_compile"
27257 case "(($ac_try" in
27258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27259 *) ac_try_echo=$ac_try;;
27261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27262 (eval "$ac_compile") 2>conftest.er1
27264 grep -v '^
*+' conftest.er1 >conftest.err
27266 cat conftest.err >&5
27267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27268 (exit $ac_status); } && {
27269 test -z "$ac_c_werror_flag" ||
27270 test ! -s conftest.err
27271 } && test -s conftest.$ac_objext; then
27274 cat >conftest.$ac_ext <<_ACEOF
27277 cat confdefs.h >>conftest.$ac_ext
27278 cat >>conftest.$ac_ext <<_ACEOF
27279 /* end confdefs.h. */
27281 #undef HAVE_BOOLEAN
27283 #include <jpeglib.h>
27286 typedef boolean ac__type_sizeof_;
27290 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27297 rm -f conftest.$ac_objext
27298 if { (ac_try="$ac_compile"
27299 case "(($ac_try" in
27300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27301 *) ac_try_echo=$ac_try;;
27303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27304 (eval "$ac_compile") 2>conftest.er1
27306 grep -v '^
*+' conftest.er1 >conftest.err
27308 cat conftest.err >&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); } && {
27311 test -z "$ac_c_werror_flag" ||
27312 test ! -s conftest.err
27313 } && test -s conftest.$ac_objext; then
27314 ac_lo=$ac_mid; break
27316 echo "$as_me: failed program was:" >&5
27317 sed 's
/^
/| /' conftest.$ac_ext >&5
27319 ac_hi=`expr '(' $ac_mid ')' - 1`
27320 if test $ac_mid -le $ac_hi; then
27324 ac_mid=`expr 2 '*' $ac_mid`
27327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27330 echo "$as_me: failed program was:" >&5
27331 sed 's
/^
/| /' conftest.$ac_ext >&5
27336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27340 # Binary search between lo and hi bounds.
27341 while test "x$ac_lo" != "x$ac_hi"; do
27342 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27343 cat >conftest.$ac_ext <<_ACEOF
27346 cat confdefs.h >>conftest.$ac_ext
27347 cat >>conftest.$ac_ext <<_ACEOF
27348 /* end confdefs.h. */
27350 #undef HAVE_BOOLEAN
27352 #include <jpeglib.h>
27355 typedef boolean ac__type_sizeof_;
27359 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27366 rm -f conftest.$ac_objext
27367 if { (ac_try="$ac_compile"
27368 case "(($ac_try" in
27369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27370 *) ac_try_echo=$ac_try;;
27372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27373 (eval "$ac_compile") 2>conftest.er1
27375 grep -v '^
*+' conftest.er1 >conftest.err
27377 cat conftest.err >&5
27378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379 (exit $ac_status); } && {
27380 test -z "$ac_c_werror_flag" ||
27381 test ! -s conftest.err
27382 } && test -s conftest.$ac_objext; then
27385 echo "$as_me: failed program was:" >&5
27386 sed 's
/^
/| /' conftest.$ac_ext >&5
27388 ac_lo=`expr '(' $ac_mid ')' + 1`
27391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27394 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27395 '') if test "$ac_cv_type_boolean" = yes; then
27396 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27397 See \`config.log' for more details.
" >&5
27398 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27399 See \
`config.log' for more details." >&2;}
27400 { (exit 77); exit 77; }; }
27402 ac_cv_sizeof_boolean=0
27406 cat >conftest.$ac_ext <<_ACEOF
27409 cat confdefs.h >>conftest.$ac_ext
27410 cat >>conftest.$ac_ext <<_ACEOF
27411 /* end confdefs.h. */
27413 #undef HAVE_BOOLEAN
27415 #include <jpeglib.h>
27418 typedef boolean ac__type_sizeof_;
27419 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27420 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27422 #include <stdlib.h>
27427 FILE *f = fopen ("conftest.val", "w");
27430 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27432 long int i = longval ();
27433 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27435 fprintf (f, "%ld\n", i);
27439 unsigned long int i = ulongval ();
27440 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27442 fprintf (f, "%lu\n", i);
27444 return ferror (f) || fclose (f) != 0;
27450 rm -f conftest$ac_exeext
27451 if { (ac_try="$ac_link"
27452 case "(($ac_try" in
27453 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27454 *) ac_try_echo
=$ac_try;;
27456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27457 (eval "$ac_link") 2>&5
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27461 { (case "(($ac_try" in
27462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27463 *) ac_try_echo=$ac_try;;
27465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27466 (eval "$ac_try") 2>&5
27468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469 (exit $ac_status); }; }; then
27470 ac_cv_sizeof_boolean=`cat conftest.val
`
27472 echo "$as_me: program exited with status $ac_status" >&5
27473 echo "$as_me: failed program was:" >&5
27474 sed 's/^/| /' conftest.$ac_ext >&5
27476 ( exit $ac_status )
27477 if test "$ac_cv_type_boolean" = yes; then
27478 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27479 See \`config.log
' for more details." >&5
27480 echo "$as_me: error: cannot compute sizeof (boolean)
27481 See \`config.log' for more details.
" >&2;}
27482 { (exit 77); exit 77; }; }
27484 ac_cv_sizeof_boolean=0
27487 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27491 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27492 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27496 cat >>confdefs.h <<_ACEOF
27497 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27501 cat >>confdefs.h <<_ACEOF
27502 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27516 TIFF_PREREQ_LINKS=-lm
27517 if test "$wxUSE_LIBTIFF" != "no
" ; then
27518 cat >>confdefs.h <<\_ACEOF
27519 #define wxUSE_LIBTIFF 1
27523 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27524 if test "$wxUSE_LIBJPEG" = "sys
"; then
27525 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27527 if test "$wxUSE_ZLIB" = "sys
"; then
27528 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27530 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27531 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27532 if test "${ac_cv_header_tiffio_h+set}" = set; then
27533 echo $ECHO_N "(cached
) $ECHO_C" >&6
27535 cat >conftest.$ac_ext <<_ACEOF
27538 cat confdefs.h >>conftest.$ac_ext
27539 cat >>conftest.$ac_ext <<_ACEOF
27540 /* end confdefs.h. */
27544 #include <tiffio.h>
27546 rm -f conftest.$ac_objext
27547 if { (ac_try="$ac_compile"
27548 case "(($ac_try" in
27549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27550 *) ac_try_echo=$ac_try;;
27552 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27553 (eval "$ac_compile") 2>conftest.er1
27555 grep -v '^ *+' conftest.er1 >conftest.err
27557 cat conftest.err >&5
27558 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27559 (exit $ac_status); } && {
27560 test -z "$ac_c_werror_flag" ||
27561 test ! -s conftest.err
27562 } && test -s conftest.$ac_objext; then
27563 ac_cv_header_tiffio_h=yes
27565 echo "$as_me: failed program was
:" >&5
27566 sed 's/^/| /' conftest.$ac_ext >&5
27568 ac_cv_header_tiffio_h=no
27571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27573 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27574 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27575 if test $ac_cv_header_tiffio_h = yes; then
27577 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27578 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27579 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27580 echo $ECHO_N "(cached
) $ECHO_C" >&6
27582 ac_check_lib_save_LIBS=$LIBS
27583 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27584 cat >conftest.$ac_ext <<_ACEOF
27587 cat confdefs.h >>conftest.$ac_ext
27588 cat >>conftest.$ac_ext <<_ACEOF
27589 /* end confdefs.h. */
27591 /* Override any GCC internal prototype to avoid an error.
27592 Use char because int might match the return type of a GCC
27593 builtin and then its argument prototype would still apply. */
27601 return TIFFError ();
27606 rm -f conftest.$ac_objext conftest$ac_exeext
27607 if { (ac_try="$ac_link"
27608 case "(($ac_try" in
27609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27610 *) ac_try_echo=$ac_try;;
27612 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27613 (eval "$ac_link") 2>conftest.er1
27615 grep -v '^ *+' conftest.er1 >conftest.err
27617 cat conftest.err >&5
27618 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27619 (exit $ac_status); } && {
27620 test -z "$ac_c_werror_flag" ||
27621 test ! -s conftest.err
27622 } && test -s conftest$ac_exeext &&
27623 $as_test_x conftest$ac_exeext; then
27624 ac_cv_lib_tiff_TIFFError=yes
27626 echo "$as_me: failed program was
:" >&5
27627 sed 's/^/| /' conftest.$ac_ext >&5
27629 ac_cv_lib_tiff_TIFFError=no
27632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27633 conftest$ac_exeext conftest.$ac_ext
27634 LIBS=$ac_check_lib_save_LIBS
27636 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27637 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27638 if test $ac_cv_lib_tiff_TIFFError = yes; then
27639 TIFF_LINK=" -ltiff"
27647 if test "x
$TIFF_LINK" = "x
" ; then
27648 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27649 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27650 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27651 { (exit 1); exit 1; }; }
27653 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27654 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27655 wxUSE_LIBTIFF=builtin
27661 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27662 if test "$wxUSE_LIBJPEG" = "no
"; then
27663 ac_configure_args="$ac_configure_args --disable-jpeg"
27665 subdirs="$subdirs src
/tiff
"
27671 if test "$wxUSE_WCHAR_T" != "yes"; then
27672 if test "$wxUSE_EXPAT" != "no
"; then
27673 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27674 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27677 if test "$wxUSE_XML" != "no
"; then
27678 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27679 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27684 if test "$wxUSE_EXPAT" != "no
"; then
27686 cat >>confdefs.h <<\_ACEOF
27687 #define wxUSE_EXPAT 1
27690 cat >>confdefs.h <<\_ACEOF
27691 #define wxUSE_XML 1
27695 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27696 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27697 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27698 if test "${ac_cv_header_expat_h+set}" = set; then
27699 echo $ECHO_N "(cached
) $ECHO_C" >&6
27701 cat >conftest.$ac_ext <<_ACEOF
27704 cat confdefs.h >>conftest.$ac_ext
27705 cat >>conftest.$ac_ext <<_ACEOF
27706 /* end confdefs.h. */
27711 rm -f conftest.$ac_objext
27712 if { (ac_try="$ac_compile"
27713 case "(($ac_try" in
27714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27715 *) ac_try_echo=$ac_try;;
27717 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27718 (eval "$ac_compile") 2>conftest.er1
27720 grep -v '^ *+' conftest.er1 >conftest.err
27722 cat conftest.err >&5
27723 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27724 (exit $ac_status); } && {
27725 test -z "$ac_c_werror_flag" ||
27726 test ! -s conftest.err
27727 } && test -s conftest.$ac_objext; then
27728 ac_cv_header_expat_h=yes
27730 echo "$as_me: failed program was
:" >&5
27731 sed 's/^/| /' conftest.$ac_ext >&5
27733 ac_cv_header_expat_h=no
27736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27738 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27739 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27740 if test $ac_cv_header_expat_h = yes; then
27745 if test "x
$found_expat_h" = "x1
"; then
27746 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27747 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27748 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27749 echo $ECHO_N "(cached
) $ECHO_C" >&6
27753 ac_cpp='$CXXCPP $CPPFLAGS'
27754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27758 cat >conftest.$ac_ext <<_ACEOF
27761 cat confdefs.h >>conftest.$ac_ext
27762 cat >>conftest.$ac_ext <<_ACEOF
27763 /* end confdefs.h. */
27773 rm -f conftest.$ac_objext
27774 if { (ac_try="$ac_compile"
27775 case "(($ac_try" in
27776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27777 *) ac_try_echo=$ac_try;;
27779 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27780 (eval "$ac_compile") 2>conftest.er1
27782 grep -v '^ *+' conftest.er1 >conftest.err
27784 cat conftest.err >&5
27785 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27786 (exit $ac_status); } && {
27787 test -z "$ac_cxx_werror_flag" ||
27788 test ! -s conftest.err
27789 } && test -s conftest.$ac_objext; then
27790 wx_cv_expat_is_not_broken=yes
27792 echo "$as_me: failed program was
:" >&5
27793 sed 's/^/| /' conftest.$ac_ext >&5
27795 wx_cv_expat_is_not_broken=no
27799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27801 ac_cpp='$CPP $CPPFLAGS'
27802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27809 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27810 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27811 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27812 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27813 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27814 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27815 echo $ECHO_N "(cached
) $ECHO_C" >&6
27817 ac_check_lib_save_LIBS=$LIBS
27818 LIBS="-lexpat $LIBS"
27819 cat >conftest.$ac_ext <<_ACEOF
27822 cat confdefs.h >>conftest.$ac_ext
27823 cat >>conftest.$ac_ext <<_ACEOF
27824 /* end confdefs.h. */
27826 /* Override any GCC internal prototype to avoid an error.
27827 Use char because int might match the return type of a GCC
27828 builtin and then its argument prototype would still apply. */
27832 char XML_ParserCreate ();
27836 return XML_ParserCreate ();
27841 rm -f conftest.$ac_objext conftest$ac_exeext
27842 if { (ac_try="$ac_link"
27843 case "(($ac_try" in
27844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27845 *) ac_try_echo=$ac_try;;
27847 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27848 (eval "$ac_link") 2>conftest.er1
27850 grep -v '^ *+' conftest.er1 >conftest.err
27852 cat conftest.err >&5
27853 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27854 (exit $ac_status); } && {
27855 test -z "$ac_c_werror_flag" ||
27856 test ! -s conftest.err
27857 } && test -s conftest$ac_exeext &&
27858 $as_test_x conftest$ac_exeext; then
27859 ac_cv_lib_expat_XML_ParserCreate=yes
27861 echo "$as_me: failed program was
:" >&5
27862 sed 's/^/| /' conftest.$ac_ext >&5
27864 ac_cv_lib_expat_XML_ParserCreate=no
27867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27868 conftest$ac_exeext conftest.$ac_ext
27869 LIBS=$ac_check_lib_save_LIBS
27871 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27872 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27873 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27874 EXPAT_LINK=" -lexpat"
27879 if test "x
$EXPAT_LINK" = "x
" ; then
27880 if test "$wxUSE_EXPAT" = "sys
" ; then
27881 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27882 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27883 { (exit 1); exit 1; }; }
27885 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27886 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27887 wxUSE_EXPAT=builtin
27893 if test "$wxUSE_EXPAT" = "builtin" ; then
27894 subdirs="$subdirs src
/expat
"
27901 if test "$wxUSE_LIBMSPACK" != "no
"; then
27902 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27903 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27904 if test "${ac_cv_header_mspack_h+set}" = set; then
27905 echo $ECHO_N "(cached
) $ECHO_C" >&6
27907 cat >conftest.$ac_ext <<_ACEOF
27910 cat confdefs.h >>conftest.$ac_ext
27911 cat >>conftest.$ac_ext <<_ACEOF
27912 /* end confdefs.h. */
27915 #include <mspack.h>
27917 rm -f conftest.$ac_objext
27918 if { (ac_try="$ac_compile"
27919 case "(($ac_try" in
27920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27921 *) ac_try_echo=$ac_try;;
27923 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27924 (eval "$ac_compile") 2>conftest.er1
27926 grep -v '^ *+' conftest.er1 >conftest.err
27928 cat conftest.err >&5
27929 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27930 (exit $ac_status); } && {
27931 test -z "$ac_c_werror_flag" ||
27932 test ! -s conftest.err
27933 } && test -s conftest.$ac_objext; then
27934 ac_cv_header_mspack_h=yes
27936 echo "$as_me: failed program was
:" >&5
27937 sed 's/^/| /' conftest.$ac_ext >&5
27939 ac_cv_header_mspack_h=no
27942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27944 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27945 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27946 if test $ac_cv_header_mspack_h = yes; then
27951 if test "x
$found_mspack_h" = "x1
"; then
27952 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27953 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27954 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27955 echo $ECHO_N "(cached
) $ECHO_C" >&6
27957 ac_check_lib_save_LIBS=$LIBS
27958 LIBS="-lmspack $LIBS"
27959 cat >conftest.$ac_ext <<_ACEOF
27962 cat confdefs.h >>conftest.$ac_ext
27963 cat >>conftest.$ac_ext <<_ACEOF
27964 /* end confdefs.h. */
27966 /* Override any GCC internal prototype to avoid an error.
27967 Use char because int might match the return type of a GCC
27968 builtin and then its argument prototype would still apply. */
27972 char mspack_create_chm_decompressor ();
27976 return mspack_create_chm_decompressor ();
27981 rm -f conftest.$ac_objext conftest$ac_exeext
27982 if { (ac_try="$ac_link"
27983 case "(($ac_try" in
27984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27985 *) ac_try_echo=$ac_try;;
27987 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27988 (eval "$ac_link") 2>conftest.er1
27990 grep -v '^ *+' conftest.er1 >conftest.err
27992 cat conftest.err >&5
27993 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27994 (exit $ac_status); } && {
27995 test -z "$ac_c_werror_flag" ||
27996 test ! -s conftest.err
27997 } && test -s conftest$ac_exeext &&
27998 $as_test_x conftest$ac_exeext; then
27999 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28001 echo "$as_me: failed program was
:" >&5
28002 sed 's/^/| /' conftest.$ac_ext >&5
28004 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28008 conftest$ac_exeext conftest.$ac_ext
28009 LIBS=$ac_check_lib_save_LIBS
28011 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28012 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28013 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28014 MSPACK_LINK=" -lmspack"
28018 if test "x
$MSPACK_LINK" = "x
" ; then
28023 if test "$wxUSE_LIBMSPACK" != "no
"; then
28024 cat >>confdefs.h <<\_ACEOF
28025 #define wxUSE_LIBMSPACK 1
28039 if test "$USE_WIN32" = 1 ; then
28041 for ac_header in w32api.h
28043 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28044 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28045 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28046 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28047 echo $ECHO_N "(cached
) $ECHO_C" >&6
28049 cat >conftest.$ac_ext <<_ACEOF
28052 cat confdefs.h >>conftest.$ac_ext
28053 cat >>conftest.$ac_ext <<_ACEOF
28054 /* end confdefs.h. */
28057 #include <$ac_header>
28059 rm -f conftest.$ac_objext
28060 if { (ac_try="$ac_compile"
28061 case "(($ac_try" in
28062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28063 *) ac_try_echo=$ac_try;;
28065 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28066 (eval "$ac_compile") 2>conftest.er1
28068 grep -v '^ *+' conftest.er1 >conftest.err
28070 cat conftest.err >&5
28071 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28072 (exit $ac_status); } && {
28073 test -z "$ac_c_werror_flag" ||
28074 test ! -s conftest.err
28075 } && test -s conftest.$ac_objext; then
28076 eval "$as_ac_Header=yes"
28078 echo "$as_me: failed program was
:" >&5
28079 sed 's/^/| /' conftest.$ac_ext >&5
28081 eval "$as_ac_Header=no
"
28084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28086 ac_res=`eval echo '${'$as_ac_Header'}'`
28087 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28088 echo "${ECHO_T}$ac_res" >&6; }
28089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28090 cat >>confdefs.h <<_ACEOF
28091 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28098 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28099 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28100 if test "${ac_cv_header_windows_h+set}" = set; then
28101 echo $ECHO_N "(cached
) $ECHO_C" >&6
28103 cat >conftest.$ac_ext <<_ACEOF
28106 cat confdefs.h >>conftest.$ac_ext
28107 cat >>conftest.$ac_ext <<_ACEOF
28108 /* end confdefs.h. */
28111 #include <windows.h>
28113 rm -f conftest.$ac_objext
28114 if { (ac_try="$ac_compile"
28115 case "(($ac_try" in
28116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28117 *) ac_try_echo=$ac_try;;
28119 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28120 (eval "$ac_compile") 2>conftest.er1
28122 grep -v '^ *+' conftest.er1 >conftest.err
28124 cat conftest.err >&5
28125 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28126 (exit $ac_status); } && {
28127 test -z "$ac_c_werror_flag" ||
28128 test ! -s conftest.err
28129 } && test -s conftest.$ac_objext; then
28130 ac_cv_header_windows_h=yes
28132 echo "$as_me: failed program was
:" >&5
28133 sed 's/^/| /' conftest.$ac_ext >&5
28135 ac_cv_header_windows_h=no
28138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28140 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28141 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28142 if test $ac_cv_header_windows_h = yes; then
28146 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28147 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28148 { (exit 1); exit 1; }; }
28155 x86_64-*-mingw32* )
28156 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28159 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28162 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28163 LIBS="$LIBS -loleacc"
28168 LIBS="$LIBS -lkernel32 -luser32"
28171 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28172 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28174 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28176 WIN32INSTALL=win32install
28178 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28179 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28180 if test "${ac_cv_header_pbt_h+set}" = set; then
28181 echo $ECHO_N "(cached
) $ECHO_C" >&6
28183 cat >conftest.$ac_ext <<_ACEOF
28186 cat confdefs.h >>conftest.$ac_ext
28187 cat >>conftest.$ac_ext <<_ACEOF
28188 /* end confdefs.h. */
28193 rm -f conftest.$ac_objext
28194 if { (ac_try="$ac_compile"
28195 case "(($ac_try" in
28196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28197 *) ac_try_echo=$ac_try;;
28199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28200 (eval "$ac_compile") 2>conftest.er1
28202 grep -v '^ *+' conftest.er1 >conftest.err
28204 cat conftest.err >&5
28205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28206 (exit $ac_status); } && {
28207 test -z "$ac_c_werror_flag" ||
28208 test ! -s conftest.err
28209 } && test -s conftest.$ac_objext; then
28210 ac_cv_header_pbt_h=yes
28212 echo "$as_me: failed program was
:" >&5
28213 sed 's/^/| /' conftest.$ac_ext >&5
28215 ac_cv_header_pbt_h=no
28218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28220 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28221 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28222 if test $ac_cv_header_pbt_h = yes; then
28225 cat >>confdefs.h <<\_ACEOF
28226 #define NEED_PBT_H 1
28234 if test "$wxUSE_GUI" = "yes"; then
28244 if test "$wxUSE_COCOA" = 1 ; then
28245 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28246 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28247 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28248 wxUSE_PRINTING_ARCHITECTURE=no
28250 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28251 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28252 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28253 wxUSE_DRAG_AND_DROP=no
28255 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28256 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28257 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28262 if test "$wxUSE_MSW" = 1 ; then
28268 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28272 if test "$wxUSE_GTK" = 1; then
28273 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28274 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28276 gtk_version_cached=1
28277 if test "${wx_cv_lib_gtk+set}" = set; then
28278 echo $ECHO_N "(cached
) $ECHO_C" >&6
28281 gtk_version_cached=0
28282 { echo "$as_me:$LINENO: result
: " >&5
28283 echo "${ECHO_T}" >&6; }
28286 if test "$wxUSE_THREADS" = "yes"; then
28287 GTK_MODULES=gthread
28291 if test "x
$wxGTK_VERSION" != "x1
"
28295 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28300 # Check whether --enable-gtktest was given.
28301 if test "${enable_gtktest+set}" = set; then
28302 enableval=$enable_gtktest;
28308 pkg_config_args=gtk+-2.0
28309 for module in . $GTK_MODULES
28313 pkg_config_args="$pkg_config_args gthread
-2.0
"
28320 # Extract the first word of "pkg
-config", so it can be a program name with args.
28321 set dummy pkg-config; ac_word=$2
28322 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28323 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28324 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28325 echo $ECHO_N "(cached
) $ECHO_C" >&6
28327 case $PKG_CONFIG in
28329 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28333 for as_dir in $PATH
28336 test -z "$as_dir" && as_dir=.
28337 for ac_exec_ext in '' $ac_executable_extensions; do
28338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28339 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28340 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28347 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28351 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28352 if test -n "$PKG_CONFIG"; then
28353 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28354 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28356 { echo "$as_me:$LINENO: result
: no
" >&5
28357 echo "${ECHO_T}no
" >&6; }
28362 if test x$PKG_CONFIG != xno ; then
28363 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28366 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28374 min_gtk_version=2.4.0
28375 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28376 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28378 if test x$PKG_CONFIG != xno ; then
28379 ## don't try to run the test against uninstalled libtool libs
28380 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28381 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28385 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28392 if test x"$no_gtk" = x ; then
28393 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28394 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28395 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28396 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28397 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28399 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28400 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28401 if test "x
$enable_gtktest" = "xyes
" ; then
28402 ac_save_CFLAGS="$CFLAGS"
28403 ac_save_LIBS="$LIBS"
28404 CFLAGS="$CFLAGS $GTK_CFLAGS"
28405 LIBS="$GTK_LIBS $LIBS"
28407 if test "$cross_compiling" = yes; then
28408 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28410 cat >conftest.$ac_ext <<_ACEOF
28413 cat confdefs.h >>conftest.$ac_ext
28414 cat >>conftest.$ac_ext <<_ACEOF
28415 /* end confdefs.h. */
28417 #include <gtk/gtk.h>
28419 #include <stdlib.h>
28424 int major, minor, micro;
28427 system ("touch conf.gtktest
");
28429 /* HP/UX 9 (%@#!) writes to sscanf strings */
28430 tmp_version = g_strdup("$min_gtk_version");
28431 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28432 printf("%s
, bad version string
\n", "$min_gtk_version");
28436 if ((gtk_major_version != $gtk_config_major_version) ||
28437 (gtk_minor_version != $gtk_config_minor_version) ||
28438 (gtk_micro_version != $gtk_config_micro_version))
28440 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28441 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28442 gtk_major_version, gtk_minor_version, gtk_micro_version);
28443 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28444 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28445 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28446 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28447 printf("*** required on your system.
\n");
28448 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28449 printf("*** to point to the correct configuration files
\n");
28451 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28452 (gtk_minor_version != GTK_MINOR_VERSION) ||
28453 (gtk_micro_version != GTK_MICRO_VERSION))
28455 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28456 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28457 printf("*** library
(version
%d.
%d.
%d
)\n",
28458 gtk_major_version, gtk_minor_version, gtk_micro_version);
28462 if ((gtk_major_version > major) ||
28463 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28464 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28470 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28471 gtk_major_version, gtk_minor_version, gtk_micro_version);
28472 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28473 major, minor, micro);
28474 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28476 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28477 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28478 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28479 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28480 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28481 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28482 printf("*** so that the correct libraries are found
at run
-time))\n");
28489 rm -f conftest$ac_exeext
28490 if { (ac_try="$ac_link"
28491 case "(($ac_try" in
28492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28493 *) ac_try_echo=$ac_try;;
28495 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28496 (eval "$ac_link") 2>&5
28498 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28499 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28500 { (case "(($ac_try" in
28501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28502 *) ac_try_echo=$ac_try;;
28504 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28505 (eval "$ac_try") 2>&5
28507 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28508 (exit $ac_status); }; }; then
28511 echo "$as_me: program exited with status
$ac_status" >&5
28512 echo "$as_me: failed program was
:" >&5
28513 sed 's/^/| /' conftest.$ac_ext >&5
28515 ( exit $ac_status )
28518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28522 CFLAGS="$ac_save_CFLAGS"
28523 LIBS="$ac_save_LIBS"
28526 if test "x
$no_gtk" = x ; then
28527 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28528 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28531 { echo "$as_me:$LINENO: result
: no
" >&5
28532 echo "${ECHO_T}no
" >&6; }
28533 if test "$PKG_CONFIG" = "no
" ; then
28534 echo "*** A new enough version of pkg
-config was not found.
"
28535 echo "*** See http
://pkgconfig.sourceforge.net
"
28537 if test -f conf.gtktest ; then
28540 echo "*** Could not run GTK
+ test program
, checking why...
"
28541 ac_save_CFLAGS="$CFLAGS"
28542 ac_save_LIBS="$LIBS"
28543 CFLAGS="$CFLAGS $GTK_CFLAGS"
28544 LIBS="$LIBS $GTK_LIBS"
28545 cat >conftest.$ac_ext <<_ACEOF
28548 cat confdefs.h >>conftest.$ac_ext
28549 cat >>conftest.$ac_ext <<_ACEOF
28550 /* end confdefs.h. */
28552 #include <gtk/gtk.h>
28558 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28563 rm -f conftest.$ac_objext conftest$ac_exeext
28564 if { (ac_try="$ac_link"
28565 case "(($ac_try" in
28566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28567 *) ac_try_echo=$ac_try;;
28569 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28570 (eval "$ac_link") 2>conftest.er1
28572 grep -v '^ *+' conftest.er1 >conftest.err
28574 cat conftest.err >&5
28575 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28576 (exit $ac_status); } && {
28577 test -z "$ac_c_werror_flag" ||
28578 test ! -s conftest.err
28579 } && test -s conftest$ac_exeext &&
28580 $as_test_x conftest$ac_exeext; then
28581 echo "*** The
test program compiled
, but did not run. This usually means
"
28582 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28583 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28584 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28585 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28586 echo "*** is required on your system"
28588 echo "*** If you have an old version installed, it is best to remove it, although"
28589 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28591 echo "$as_me: failed program was:" >&5
28592 sed 's
/^
/| /' conftest.$ac_ext >&5
28594 echo "*** The test program failed to compile or link. See the file config.log for the"
28595 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28599 conftest$ac_exeext conftest.$ac_ext
28600 CFLAGS="$ac_save_CFLAGS"
28601 LIBS="$ac_save_LIBS"
28615 if test "$wxUSE_SHARED" != "yes"; then
28616 GTK_LIBS="$GTK_LIBS -lX11"
28621 if test -z "$wx_cv_lib_gtk"; then
28622 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28624 # Check whether --with-gtk-prefix was given.
28625 if test "${with_gtk_prefix+set}" = set; then
28626 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28628 gtk_config_prefix=""
28632 # Check whether --with-gtk-exec-prefix was given.
28633 if test "${with_gtk_exec_prefix+set}" = set; then
28634 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28636 gtk_config_exec_prefix=""
28639 # Check whether --enable-gtktest was given.
28640 if test "${enable_gtktest+set}" = set; then
28641 enableval=$enable_gtktest;
28647 for module in . $GTK_MODULES
28651 gtk_config_args="$gtk_config_args gthread"
28656 if test x$gtk_config_exec_prefix != x ; then
28657 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28658 if test x${GTK_CONFIG+set} != xset ; then
28659 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28662 if test x$gtk_config_prefix != x ; then
28663 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28664 if test x${GTK_CONFIG+set} != xset ; then
28665 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28669 # Extract the first word of "gtk-config", so it can be a program name with args.
28670 set dummy gtk-config; ac_word=$2
28671 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28673 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28674 echo $ECHO_N "(cached) $ECHO_C" >&6
28676 case $GTK_CONFIG in
28678 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28682 for as_dir in $PATH
28685 test -z "$as_dir" && as_dir=.
28686 for ac_exec_ext in '' $ac_executable_extensions; do
28687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28688 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28696 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28700 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28701 if test -n "$GTK_CONFIG"; then
28702 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28703 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28705 { echo "$as_me:$LINENO: result: no" >&5
28706 echo "${ECHO_T}no" >&6; }
28710 min_gtk_version=1.2.7
28711 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28712 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28714 if test "$GTK_CONFIG" = "no" ; then
28717 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28718 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28719 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28720 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28721 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28722 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28723 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28724 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28725 if test "x$enable_gtktest" = "xyes" ; then
28726 ac_save_CFLAGS="$CFLAGS"
28727 ac_save_LIBS="$LIBS"
28728 CFLAGS="$CFLAGS $GTK_CFLAGS"
28729 LIBS="$GTK_LIBS $LIBS"
28731 if test "$cross_compiling" = yes; then
28732 echo $ac_n "cross compiling; assumed OK... $ac_c"
28734 cat >conftest.$ac_ext <<_ACEOF
28737 cat confdefs.h >>conftest.$ac_ext
28738 cat >>conftest.$ac_ext <<_ACEOF
28739 /* end confdefs.h. */
28741 #include <gtk/gtk.h>
28743 #include <stdlib.h>
28748 int major, minor, micro;
28751 system ("touch conf.gtktest");
28753 /* HP/UX 9 (%@#!) writes to sscanf strings */
28754 tmp_version = g_strdup("$min_gtk_version");
28755 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28756 printf("%s, bad version string\n", "$min_gtk_version");
28760 if ((gtk_major_version != $gtk_config_major_version) ||
28761 (gtk_minor_version != $gtk_config_minor_version) ||
28762 (gtk_micro_version != $gtk_config_micro_version))
28764 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28765 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28766 gtk_major_version, gtk_minor_version, gtk_micro_version);
28767 printf ("*** was found! If gtk-config was correct, then it is best\n");
28768 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28769 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28770 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28771 printf("*** required on your system.\n");
28772 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28773 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28774 printf("*** before re-running configure\n");
28776 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28777 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28778 (gtk_minor_version != GTK_MINOR_VERSION) ||
28779 (gtk_micro_version != GTK_MICRO_VERSION))
28781 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28782 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28783 printf("*** library (version %d.%d.%d)\n",
28784 gtk_major_version, gtk_minor_version, gtk_micro_version);
28786 #endif /* defined (GTK_MAJOR_VERSION) ... */
28789 if ((gtk_major_version > major) ||
28790 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28791 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28797 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28798 gtk_major_version, gtk_minor_version, gtk_micro_version);
28799 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28800 major, minor, micro);
28801 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28803 printf("*** If you have already installed a sufficiently new version, this error\n");
28804 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28805 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28806 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28807 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28808 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28809 printf("*** so that the correct libraries are found at run-time))\n");
28816 rm -f conftest$ac_exeext
28817 if { (ac_try="$ac_link"
28818 case "(($ac_try" in
28819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28820 *) ac_try_echo=$ac_try;;
28822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28823 (eval "$ac_link") 2>&5
28825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28826 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28827 { (case "(($ac_try" in
28828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28829 *) ac_try_echo=$ac_try;;
28831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28832 (eval "$ac_try") 2>&5
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); }; }; then
28838 echo "$as_me: program exited with status $ac_status" >&5
28839 echo "$as_me: failed program was:" >&5
28840 sed 's
/^
/| /' conftest.$ac_ext >&5
28842 ( exit $ac_status )
28845 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28849 CFLAGS="$ac_save_CFLAGS"
28850 LIBS="$ac_save_LIBS"
28853 if test "x$no_gtk" = x ; then
28854 { echo "$as_me:$LINENO: result: yes" >&5
28855 echo "${ECHO_T}yes" >&6; }
28856 wx_cv_lib_gtk=1.2.7
28858 { echo "$as_me:$LINENO: result: no" >&5
28859 echo "${ECHO_T}no" >&6; }
28860 if test "$GTK_CONFIG" = "no" ; then
28861 echo "*** The gtk-config script installed by GTK could not be found"
28862 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28863 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28864 echo "*** full path to gtk-config."
28866 if test -f conf.gtktest ; then
28869 echo "*** Could not run GTK test program, checking why..."
28870 CFLAGS="$CFLAGS $GTK_CFLAGS"
28871 LIBS="$LIBS $GTK_LIBS"
28872 cat >conftest.$ac_ext <<_ACEOF
28875 cat confdefs.h >>conftest.$ac_ext
28876 cat >>conftest.$ac_ext <<_ACEOF
28877 /* end confdefs.h. */
28879 #include <gtk/gtk.h>
28885 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28890 rm -f conftest.$ac_objext conftest$ac_exeext
28891 if { (ac_try="$ac_link"
28892 case "(($ac_try" in
28893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28894 *) ac_try_echo=$ac_try;;
28896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28897 (eval "$ac_link") 2>conftest.er1
28899 grep -v '^
*+' conftest.er1 >conftest.err
28901 cat conftest.err >&5
28902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28903 (exit $ac_status); } && {
28904 test -z "$ac_c_werror_flag" ||
28905 test ! -s conftest.err
28906 } && test -s conftest$ac_exeext &&
28907 $as_test_x conftest$ac_exeext; then
28908 echo "*** The test program compiled, but did not run. This usually means"
28909 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28910 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28911 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28912 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28913 echo "*** is required on your system
"
28915 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28916 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28918 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28919 echo "*** came with the system with the
command"
28921 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28923 echo "$as_me: failed program was
:" >&5
28924 sed 's/^/| /' conftest.$ac_ext >&5
28926 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28927 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28928 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28929 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28933 conftest$ac_exeext conftest.$ac_ext
28934 CFLAGS="$ac_save_CFLAGS"
28935 LIBS="$ac_save_LIBS"
28947 if test -z "$wx_cv_lib_gtk"; then
28949 # Check whether --with-gtk-prefix was given.
28950 if test "${with_gtk_prefix+set}" = set; then
28951 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28953 gtk_config_prefix=""
28957 # Check whether --with-gtk-exec-prefix was given.
28958 if test "${with_gtk_exec_prefix+set}" = set; then
28959 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28961 gtk_config_exec_prefix=""
28964 # Check whether --enable-gtktest was given.
28965 if test "${enable_gtktest+set}" = set; then
28966 enableval=$enable_gtktest;
28972 for module in . $GTK_MODULES
28976 gtk_config_args="$gtk_config_args gthread
"
28981 if test x$gtk_config_exec_prefix != x ; then
28982 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28983 if test x${GTK_CONFIG+set} != xset ; then
28984 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28987 if test x$gtk_config_prefix != x ; then
28988 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28989 if test x${GTK_CONFIG+set} != xset ; then
28990 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28994 # Extract the first word of "gtk
-config", so it can be a program name with args.
28995 set dummy gtk-config; ac_word=$2
28996 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28997 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28998 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28999 echo $ECHO_N "(cached
) $ECHO_C" >&6
29001 case $GTK_CONFIG in
29003 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29007 for as_dir in $PATH
29010 test -z "$as_dir" && as_dir=.
29011 for ac_exec_ext in '' $ac_executable_extensions; do
29012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29013 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29014 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29021 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29025 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29026 if test -n "$GTK_CONFIG"; then
29027 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29028 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29030 { echo "$as_me:$LINENO: result
: no
" >&5
29031 echo "${ECHO_T}no
" >&6; }
29035 min_gtk_version=1.2.3
29036 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29037 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29039 if test "$GTK_CONFIG" = "no
" ; then
29042 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29043 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29044 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29045 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29046 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29048 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29049 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29050 if test "x
$enable_gtktest" = "xyes
" ; then
29051 ac_save_CFLAGS="$CFLAGS"
29052 ac_save_LIBS="$LIBS"
29053 CFLAGS="$CFLAGS $GTK_CFLAGS"
29054 LIBS="$GTK_LIBS $LIBS"
29056 if test "$cross_compiling" = yes; then
29057 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29059 cat >conftest.$ac_ext <<_ACEOF
29062 cat confdefs.h >>conftest.$ac_ext
29063 cat >>conftest.$ac_ext <<_ACEOF
29064 /* end confdefs.h. */
29066 #include <gtk/gtk.h>
29068 #include <stdlib.h>
29073 int major, minor, micro;
29076 system ("touch conf.gtktest
");
29078 /* HP/UX 9 (%@#!) writes to sscanf strings */
29079 tmp_version = g_strdup("$min_gtk_version");
29080 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29081 printf("%s
, bad version string
\n", "$min_gtk_version");
29085 if ((gtk_major_version != $gtk_config_major_version) ||
29086 (gtk_minor_version != $gtk_config_minor_version) ||
29087 (gtk_micro_version != $gtk_config_micro_version))
29089 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29090 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29091 gtk_major_version, gtk_minor_version, gtk_micro_version);
29092 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29093 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29094 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29095 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29096 printf("*** required on your system.
\n");
29097 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29098 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29099 printf("*** before re
-running configure
\n");
29101 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29102 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29103 (gtk_minor_version != GTK_MINOR_VERSION) ||
29104 (gtk_micro_version != GTK_MICRO_VERSION))
29106 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29107 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29108 printf("*** library
(version
%d.
%d.
%d
)\n",
29109 gtk_major_version, gtk_minor_version, gtk_micro_version);
29111 #endif /* defined (GTK_MAJOR_VERSION) ... */
29114 if ((gtk_major_version > major) ||
29115 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29116 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29122 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29123 gtk_major_version, gtk_minor_version, gtk_micro_version);
29124 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29125 major, minor, micro);
29126 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29128 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29129 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29130 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29131 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29132 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29133 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29134 printf("*** so that the correct libraries are found
at run
-time))\n");
29141 rm -f conftest$ac_exeext
29142 if { (ac_try="$ac_link"
29143 case "(($ac_try" in
29144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29145 *) ac_try_echo=$ac_try;;
29147 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29148 (eval "$ac_link") 2>&5
29150 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29151 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29152 { (case "(($ac_try" in
29153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29154 *) ac_try_echo=$ac_try;;
29156 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29157 (eval "$ac_try") 2>&5
29159 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29160 (exit $ac_status); }; }; then
29163 echo "$as_me: program exited with status
$ac_status" >&5
29164 echo "$as_me: failed program was
:" >&5
29165 sed 's/^/| /' conftest.$ac_ext >&5
29167 ( exit $ac_status )
29170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29174 CFLAGS="$ac_save_CFLAGS"
29175 LIBS="$ac_save_LIBS"
29178 if test "x
$no_gtk" = x ; then
29179 { echo "$as_me:$LINENO: result
: yes" >&5
29180 echo "${ECHO_T}yes" >&6; }
29181 wx_cv_lib_gtk=1.2.3
29183 { echo "$as_me:$LINENO: result
: no
" >&5
29184 echo "${ECHO_T}no
" >&6; }
29185 if test "$GTK_CONFIG" = "no
" ; then
29186 echo "*** The gtk
-config script installed by GTK could not be found
"
29187 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29188 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29189 echo "*** full path to gtk
-config.
"
29191 if test -f conf.gtktest ; then
29194 echo "*** Could not run GTK
test program
, checking why...
"
29195 CFLAGS="$CFLAGS $GTK_CFLAGS"
29196 LIBS="$LIBS $GTK_LIBS"
29197 cat >conftest.$ac_ext <<_ACEOF
29200 cat confdefs.h >>conftest.$ac_ext
29201 cat >>conftest.$ac_ext <<_ACEOF
29202 /* end confdefs.h. */
29204 #include <gtk/gtk.h>
29210 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29215 rm -f conftest.$ac_objext conftest$ac_exeext
29216 if { (ac_try="$ac_link"
29217 case "(($ac_try" in
29218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29219 *) ac_try_echo=$ac_try;;
29221 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29222 (eval "$ac_link") 2>conftest.er1
29224 grep -v '^ *+' conftest.er1 >conftest.err
29226 cat conftest.err >&5
29227 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29228 (exit $ac_status); } && {
29229 test -z "$ac_c_werror_flag" ||
29230 test ! -s conftest.err
29231 } && test -s conftest$ac_exeext &&
29232 $as_test_x conftest$ac_exeext; then
29233 echo "*** The
test program compiled
, but did not run. This usually means
"
29234 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29235 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29236 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29237 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29238 echo "*** is required on your system"
29240 echo "*** If you have an old version installed, it is best to remove it, although"
29241 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29243 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29244 echo "*** came with the system with the command"
29246 echo "*** rpm --erase --nodeps gtk gtk-devel"
29248 echo "$as_me: failed program was:" >&5
29249 sed 's
/^
/| /' conftest.$ac_ext >&5
29251 echo "*** The test program failed to compile or link. See the file config.log for the"
29252 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29253 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29254 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29258 conftest$ac_exeext conftest.$ac_ext
29259 CFLAGS="$ac_save_CFLAGS"
29260 LIBS="$ac_save_LIBS"
29275 if test -z "$wx_cv_lib_gtk"; then
29278 wx_cv_cflags_gtk=$GTK_CFLAGS
29279 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29286 if test "$gtk_version_cached" = 1; then
29287 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29288 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29291 case "$wx_cv_lib_gtk" in
29300 *) { { echo "$as_me:$LINENO: error:
29301 The development files for GTK+ were not found. For GTK+ 2, please
29302 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29303 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29304 and that the version is 1.2.3 or above. Also check that the
29305 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29306 --libs' are in the LD_LIBRARY_PATH or equivalent.
29308 echo "$as_me: error:
29309 The development files for GTK+ were not found. For GTK+ 2, please
29310 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29311 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29312 and that the version is 1.2.3 or above. Also check that the
29313 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29314 --libs' are in the LD_LIBRARY_PATH or equivalent.
29316 { (exit 1); exit 1; }; }
29320 if test "$WXGTK2" = 1; then
29321 save_CFLAGS="$CFLAGS"
29323 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29324 LIBS="$LIBS $wx_cv_libs_gtk"
29326 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29327 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29328 cat >conftest.$ac_ext <<_ACEOF
29331 cat confdefs.h >>conftest.$ac_ext
29332 cat >>conftest.$ac_ext <<_ACEOF
29333 /* end confdefs.h. */
29335 #include <gtk/gtk.h>
29341 #if !GTK_CHECK_VERSION(2,10,0)
29349 rm -f conftest.$ac_objext
29350 if { (ac_try="$ac_compile"
29351 case "(($ac_try" in
29352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29353 *) ac_try_echo=$ac_try;;
29355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29356 (eval "$ac_compile") 2>conftest.er1
29358 grep -v '^
*+' conftest.er1 >conftest.err
29360 cat conftest.err >&5
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); } && {
29363 test -z "$ac_c_werror_flag" ||
29364 test ! -s conftest.err
29365 } && test -s conftest.$ac_objext; then
29367 cat >>confdefs.h <<\_ACEOF
29368 #define __WXGTK210__ 1
29371 cat >>confdefs.h <<\_ACEOF
29372 #define __WXGTK26__ 1
29375 { echo "$as_me:$LINENO: result: yes" >&5
29376 echo "${ECHO_T}yes" >&6; }
29380 echo "$as_me: failed program was:" >&5
29381 sed 's
/^
/| /' conftest.$ac_ext >&5
29384 { echo "$as_me:$LINENO: result: no" >&5
29385 echo "${ECHO_T}no" >&6; }
29390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29392 if test "$ac_wxgtk210" = 0; then
29393 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29394 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29395 cat >conftest.$ac_ext <<_ACEOF
29398 cat confdefs.h >>conftest.$ac_ext
29399 cat >>conftest.$ac_ext <<_ACEOF
29400 /* end confdefs.h. */
29402 #include <gtk/gtk.h>
29408 #if !GTK_CHECK_VERSION(2,6,0)
29416 rm -f conftest.$ac_objext
29417 if { (ac_try="$ac_compile"
29418 case "(($ac_try" in
29419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29420 *) ac_try_echo=$ac_try;;
29422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29423 (eval "$ac_compile") 2>conftest.er1
29425 grep -v '^
*+' conftest.er1 >conftest.err
29427 cat conftest.err >&5
29428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429 (exit $ac_status); } && {
29430 test -z "$ac_c_werror_flag" ||
29431 test ! -s conftest.err
29432 } && test -s conftest.$ac_objext; then
29434 cat >>confdefs.h <<\_ACEOF
29435 #define __WXGTK26__ 1
29438 { echo "$as_me:$LINENO: result: yes" >&5
29439 echo "${ECHO_T}yes" >&6; }
29443 echo "$as_me: failed program was:" >&5
29444 sed 's
/^
/| /' conftest.$ac_ext >&5
29447 { echo "$as_me:$LINENO: result: no" >&5
29448 echo "${ECHO_T}no" >&6; }
29453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29456 CFLAGS="$save_CFLAGS"
29459 if test "$wxUSE_UNICODE" = "yes"; then
29460 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29461 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29465 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29466 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29467 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29468 echo $ECHO_N "(cached) $ECHO_C" >&6
29470 ac_check_lib_save_LIBS=$LIBS
29472 cat >conftest.$ac_ext <<_ACEOF
29475 cat confdefs.h >>conftest.$ac_ext
29476 cat >>conftest.$ac_ext <<_ACEOF
29477 /* end confdefs.h. */
29479 /* Override any GCC internal prototype to avoid an error.
29480 Use char because int might match the return type of a GCC
29481 builtin and then its argument prototype would still apply. */
29485 char gdk_im_open ();
29489 return gdk_im_open ();
29494 rm -f conftest.$ac_objext conftest$ac_exeext
29495 if { (ac_try="$ac_link"
29496 case "(($ac_try" in
29497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29498 *) ac_try_echo=$ac_try;;
29500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29501 (eval "$ac_link") 2>conftest.er1
29503 grep -v '^
*+' conftest.er1 >conftest.err
29505 cat conftest.err >&5
29506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29507 (exit $ac_status); } && {
29508 test -z "$ac_c_werror_flag" ||
29509 test ! -s conftest.err
29510 } && test -s conftest$ac_exeext &&
29511 $as_test_x conftest$ac_exeext; then
29512 ac_cv_lib_gdk_gdk_im_open=yes
29514 echo "$as_me: failed program was:" >&5
29515 sed 's
/^
/| /' conftest.$ac_ext >&5
29517 ac_cv_lib_gdk_gdk_im_open=no
29520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29521 conftest$ac_exeext conftest.$ac_ext
29522 LIBS=$ac_check_lib_save_LIBS
29524 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29525 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29526 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29527 cat >>confdefs.h <<\_ACEOF
29534 if test "$USE_DARWIN" != 1; then
29536 for ac_func in poll
29538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29539 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29541 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29542 echo $ECHO_N "(cached) $ECHO_C" >&6
29544 cat >conftest.$ac_ext <<_ACEOF
29547 cat confdefs.h >>conftest.$ac_ext
29548 cat >>conftest.$ac_ext <<_ACEOF
29549 /* end confdefs.h. */
29550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29552 #define $ac_func innocuous_$ac_func
29554 /* System header to define __stub macros and hopefully few prototypes,
29555 which can conflict with char $ac_func (); below.
29556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29557 <limits.h> exists even on freestanding compilers. */
29560 # include <limits.h>
29562 # include <assert.h>
29567 /* Override any GCC internal prototype to avoid an error.
29568 Use char because int might match the return type of a GCC
29569 builtin and then its argument prototype would still apply. */
29574 /* The GNU C library defines this for functions which it implements
29575 to always fail with ENOSYS. Some functions are actually named
29576 something starting with __ and the normal name is an alias. */
29577 #if defined __stub_$ac_func || defined __stub___$ac_func
29584 return $ac_func ();
29589 rm -f conftest.$ac_objext conftest$ac_exeext
29590 if { (ac_try="$ac_link"
29591 case "(($ac_try" in
29592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29593 *) ac_try_echo=$ac_try;;
29595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29596 (eval "$ac_link") 2>conftest.er1
29598 grep -v '^
*+' conftest.er1 >conftest.err
29600 cat conftest.err >&5
29601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29602 (exit $ac_status); } && {
29603 test -z "$ac_c_werror_flag" ||
29604 test ! -s conftest.err
29605 } && test -s conftest$ac_exeext &&
29606 $as_test_x conftest$ac_exeext; then
29607 eval "$as_ac_var=yes"
29609 echo "$as_me: failed program was:" >&5
29610 sed 's
/^
/| /' conftest.$ac_ext >&5
29612 eval "$as_ac_var=no"
29615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29616 conftest$ac_exeext conftest.$ac_ext
29618 ac_res=`eval echo '${'$as_ac_var'}'`
29619 { echo "$as_me:$LINENO: result: $ac_res" >&5
29620 echo "${ECHO_T}$ac_res" >&6; }
29621 if test `eval echo '${'$as_ac_var'}'` = yes; then
29622 cat >>confdefs.h <<_ACEOF
29623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29632 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29633 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29635 AFMINSTALL=afminstall
29639 if test "$wxUSE_GPE" = "yes"; then
29640 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29641 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29644 for ac_dir in $SEARCH_LIB;
29646 for ac_extension in a so sl dylib dll.a; do
29647 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29648 ac_find_libraries=$ac_dir
29654 if test "$ac_find_libraries" != "" ; then
29656 if test "$ac_find_libraries" = "default location"; then
29659 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29661 if test $result = 0; then
29664 ac_path_to_link=" -L$ac_find_libraries"
29668 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29670 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29671 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29673 { echo "$as_me:$LINENO: result: not found" >&5
29674 echo "${ECHO_T}not found" >&6; }
29680 if test "$wxUSE_MGL" = 1; then
29681 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29682 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29683 if test "x$MGL_ROOT" = x ; then
29684 { echo "$as_me:$LINENO: result: not found" >&5
29685 echo "${ECHO_T}not found" >&6; }
29686 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29687 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29688 { (exit 1); exit 1; }; }
29690 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29691 echo "${ECHO_T}$MGL_ROOT" >&6; }
29694 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29695 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29698 if test "x$wxUSE_SHARED" = xyes ; then
29699 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29701 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29705 mgl_os_candidates="dos32/dj2"
29708 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29709 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29710 { (exit 1); exit 1; }; }
29716 for mgl_os_i in $mgl_os_candidates ; do
29717 if test "x$mgl_os" = x ; then
29718 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29719 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29720 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29725 if test "x$mgl_lib_type" = x ; then
29726 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29727 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29728 mgl_lib_type=release
29735 if test "x$mgl_os" = x ; then
29736 { echo "$as_me:$LINENO: result: not found" >&5
29737 echo "${ECHO_T}not found" >&6; }
29738 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29739 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29740 { (exit 1); exit 1; }; }
29742 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29743 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29745 wxUSE_UNIVERSAL="yes"
29747 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29748 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29750 AFMINSTALL=afminstall
29755 if test "$wxUSE_DFB" = 1; then
29758 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29759 if test -n "$ac_tool_prefix"; then
29760 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29761 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29764 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29765 echo $ECHO_N "(cached) $ECHO_C" >&6
29767 case $PKG_CONFIG in
29769 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29773 for as_dir in $PATH
29776 test -z "$as_dir" && as_dir=.
29777 for ac_exec_ext in '' $ac_executable_extensions; do
29778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29779 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29790 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29791 if test -n "$PKG_CONFIG"; then
29792 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29793 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29795 { echo "$as_me:$LINENO: result: no" >&5
29796 echo "${ECHO_T}no" >&6; }
29801 if test -z "$ac_cv_path_PKG_CONFIG"; then
29802 ac_pt_PKG_CONFIG=$PKG_CONFIG
29803 # Extract the first word of "pkg-config", so it can be a program name with args.
29804 set dummy pkg-config; ac_word=$2
29805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29807 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29808 echo $ECHO_N "(cached) $ECHO_C" >&6
29810 case $ac_pt_PKG_CONFIG in
29812 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29816 for as_dir in $PATH
29819 test -z "$as_dir" && as_dir=.
29820 for ac_exec_ext in '' $ac_executable_extensions; do
29821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29822 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29833 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29834 if test -n "$ac_pt_PKG_CONFIG"; then
29835 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29836 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29838 { echo "$as_me:$LINENO: result: no" >&5
29839 echo "${ECHO_T}no" >&6; }
29842 if test "x$ac_pt_PKG_CONFIG" = x; then
29845 case $cross_compiling:$ac_tool_warned in
29847 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29848 whose name does not start with the host triplet. If you think this
29849 configuration is useful to you, please write to autoconf@gnu.org." >&5
29850 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29851 whose name does not start with the host triplet. If you think this
29852 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29853 ac_tool_warned=yes ;;
29855 PKG_CONFIG=$ac_pt_PKG_CONFIG
29858 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29862 if test -n "$PKG_CONFIG"; then
29863 _pkg_min_version=0.9.0
29864 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29865 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29866 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29867 { echo "$as_me:$LINENO: result: yes" >&5
29868 echo "${ECHO_T}yes" >&6; }
29870 { echo "$as_me:$LINENO: result: no" >&5
29871 echo "${ECHO_T}no" >&6; }
29879 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29880 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29882 if test -n "$PKG_CONFIG"; then
29883 if test -n "$DIRECTFB_CFLAGS"; then
29884 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29886 if test -n "$PKG_CONFIG" && \
29887 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29888 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); }; then
29892 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29900 if test -n "$PKG_CONFIG"; then
29901 if test -n "$DIRECTFB_LIBS"; then
29902 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29904 if test -n "$PKG_CONFIG" && \
29905 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29906 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29909 (exit $ac_status); }; then
29910 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29921 if test $pkg_failed = yes; then
29923 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29924 _pkg_short_errors_supported=yes
29926 _pkg_short_errors_supported=no
29928 if test $_pkg_short_errors_supported = yes; then
29929 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29931 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29933 # Put the nasty error message in config.log where it belongs
29934 echo "$DIRECTFB_PKG_ERRORS" >&5
29937 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29938 echo "$as_me: error: DirectFB not found." >&2;}
29939 { (exit 1); exit 1; }; }
29942 elif test $pkg_failed = untried; then
29944 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29945 echo "$as_me: error: DirectFB not found." >&2;}
29946 { (exit 1); exit 1; }; }
29950 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29951 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29952 { echo "$as_me:$LINENO: result: yes" >&5
29953 echo "${ECHO_T}yes" >&6; }
29955 wxUSE_UNIVERSAL="yes"
29956 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29957 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29964 if test "$wxUSE_MICROWIN" = 1; then
29965 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29966 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29967 if test "x$MICROWINDOWS" = x ; then
29968 { echo "$as_me:$LINENO: result: not found" >&5
29969 echo "${ECHO_T}not found" >&6; }
29970 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29971 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29972 { (exit 1); exit 1; }; }
29974 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29975 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29978 if test -f $MICROWINDOWS/lib/libmwin.a; then
29979 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29980 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29982 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29983 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29984 { (exit 1); exit 1; }; }
29987 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29988 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29990 wxUSE_UNIVERSAL="yes"
29992 AFMINSTALL=afminstall
29994 GUIDIST=MICROWIN_DIST
29996 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29999 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30000 { echo "$as_me:$LINENO: checking for X" >&5
30001 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30004 # Check whether --with-x was given.
30005 if test "${with_x+set}" = set; then
30009 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30010 if test "x$with_x" = xno; then
30011 # The user explicitly disabled X.
30014 case $x_includes,$x_libraries in #(
30015 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30016 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30017 { (exit 1); exit 1; }; };; #(
30018 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30019 echo $ECHO_N "(cached) $ECHO_C" >&6
30021 # One or both of the vars are not set, and there is no cached value.
30022 ac_x_includes=no ac_x_libraries=no
30023 rm -f -r conftest.dir
30024 if mkdir conftest.dir; then
30026 cat >Imakefile <<'_ACEOF'
30028 @echo incroot='${INCROOT}'
30030 @echo usrlibdir='${USRLIBDIR}'
30032 @echo libdir='${LIBDIR}'
30034 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30035 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30036 for ac_var in incroot usrlibdir libdir; do
30037 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30039 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30040 for ac_extension in a so sl; do
30041 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30042 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30043 ac_im_usrlibdir=$ac_im_libdir; break
30046 # Screen out bogus values from the imake configuration. They are
30047 # bogus both because they are the default anyway, and because
30048 # using them would break gcc on systems where it needs fixed includes.
30049 case $ac_im_incroot in
30050 /usr/include) ac_x_includes= ;;
30051 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30053 case $ac_im_usrlibdir in
30054 /usr/lib | /lib) ;;
30055 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30059 rm -f -r conftest.dir
30062 # Standard set of common directories for X headers.
30063 # Check X11 before X11Rn because it is often a symlink to the current release.
30075 /usr
/local
/X
11/include
30076 /usr
/local
/X
11R
6/include
30077 /usr
/local
/X
11R
5/include
30078 /usr
/local
/X
11R
4/include
30080 /usr
/local
/include
/X11
30081 /usr
/local
/include
/X11R6
30082 /usr
/local
/include
/X11R5
30083 /usr
/local
/include
/X11R4
30087 /usr
/XFree
86/include
/X11
30091 /usr
/unsupported
/include
30092 /usr
/athena
/include
30093 /usr
/local
/x
11r
5/include
30094 /usr
/lpp
/Xamples
/include
30096 /usr
/openwin
/include
30097 /usr
/openwin
/share
/include
'
30099 if test "$ac_x_includes" = no; then
30100 # Guess where to find include files, by looking for Xlib.h.
30101 # First, try using that file with no special directory specified.
30102 cat >conftest.$ac_ext <<_ACEOF
30105 cat confdefs.h >>conftest.$ac_ext
30106 cat >>conftest.$ac_ext <<_ACEOF
30107 /* end confdefs.h. */
30108 #include <X11/Xlib.h>
30110 if { (ac_try="$ac_cpp conftest.$ac_ext"
30111 case "(($ac_try" in
30112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30113 *) ac_try_echo=$ac_try;;
30115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30116 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30118 grep -v '^
*+' conftest.er1 >conftest.err
30120 cat conftest.err >&5
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); } >/dev/null && {
30123 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30124 test ! -s conftest.err
30126 # We can compile using X headers with no special include directory.
30129 echo "$as_me: failed program was:" >&5
30130 sed 's
/^
/| /' conftest.$ac_ext >&5
30132 for ac_dir in $ac_x_header_dirs; do
30133 if test -r "$ac_dir/X11/Xlib.h"; then
30134 ac_x_includes=$ac_dir
30140 rm -f conftest.err conftest.$ac_ext
30141 fi # $ac_x_includes = no
30143 if test "$ac_x_libraries" = no; then
30144 # Check for the libraries.
30145 # See if we find them without any special options.
30146 # Don't add to
$LIBS permanently.
30149 cat >conftest.
$ac_ext <<_ACEOF
30152 cat confdefs.h
>>conftest.
$ac_ext
30153 cat >>conftest.
$ac_ext <<_ACEOF
30154 /* end confdefs.h. */
30155 #include <X11/Xlib.h>
30164 rm -f conftest.
$ac_objext conftest
$ac_exeext
30165 if { (ac_try
="$ac_link"
30166 case "(($ac_try" in
30167 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30168 *) ac_try_echo=$ac_try;;
30170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30171 (eval "$ac_link") 2>conftest.er1
30173 grep -v '^ *+' conftest.er1 >conftest.err
30175 cat conftest.err >&5
30176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30177 (exit $ac_status); } && {
30178 test -z "$ac_c_werror_flag" ||
30179 test ! -s conftest.err
30180 } && test -s conftest$ac_exeext &&
30181 $as_test_x conftest$ac_exeext; then
30183 # We can link X programs with no special library path.
30186 echo "$as_me: failed program was:" >&5
30187 sed 's/^/| /' conftest.$ac_ext >&5
30190 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30192 # Don't even attempt the hair of trying to link an X program!
30193 for ac_extension in a so sl; do
30194 if test -r "$ac_dir/libX11.$ac_extension"; then
30195 ac_x_libraries=$ac_dir
30202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30203 conftest$ac_exeext conftest.$ac_ext
30204 fi # $ac_x_libraries = no
30206 case $ac_x_includes,$ac_x_libraries in #(
30207 no,* | *,no | *\'*)
30208 # Didn't find X, or a directory has "'" in its name.
30209 ac_cv_have_x="have_x=no";; #(
30211 # Record where we found X for the cache.
30212 ac_cv_have_x="have_x=yes\
30213 ac_x_includes='$ac_x_includes'\
30214 ac_x_libraries='$ac_x_libraries'"
30220 eval "$ac_cv_have_x"
30223 if test "$have_x" != yes; then
30224 { echo "$as_me:$LINENO: result: $have_x" >&5
30225 echo "${ECHO_T}$have_x" >&6; }
30228 # If each of the values was on the command line, it overrides each guess.
30229 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30230 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30231 # Update the cache value to reflect the command line values.
30232 ac_cv_have_x="have_x=yes\
30233 ac_x_includes='$x_includes'\
30234 ac_x_libraries='$x_libraries'"
30235 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30236 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30239 if test "$no_x" = yes; then
30240 # Not all programs may use this symbol, but it does not hurt to define it.
30242 cat >>confdefs.h <<\_ACEOF
30243 #define X_DISPLAY_MISSING 1
30246 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30248 if test -n "$x_includes"; then
30249 X_CFLAGS="$X_CFLAGS -I$x_includes"
30252 # It would also be nice to do this for all -L options, not just this one.
30253 if test -n "$x_libraries"; then
30254 X_LIBS="$X_LIBS -L$x_libraries"
30255 # For Solaris; some versions of Sun CC require a space after -R and
30256 # others require no space. Words are not sufficient . . . .
30257 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30258 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30259 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30260 ac_xsave_c_werror_flag=$ac_c_werror_flag
30261 ac_c_werror_flag=yes
30262 cat >conftest.$ac_ext <<_ACEOF
30265 cat confdefs.h >>conftest.$ac_ext
30266 cat >>conftest.$ac_ext <<_ACEOF
30267 /* end confdefs.h. */
30277 rm -f conftest.$ac_objext conftest$ac_exeext
30278 if { (ac_try="$ac_link"
30279 case "(($ac_try" in
30280 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30281 *) ac_try_echo
=$ac_try;;
30283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30284 (eval "$ac_link") 2>conftest.er1
30286 grep -v '^ *+' conftest.er1
>conftest.err
30288 cat conftest.err
>&5
30289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30290 (exit $ac_status); } && {
30291 test -z "$ac_c_werror_flag" ||
30292 test ! -s conftest.err
30293 } && test -s conftest
$ac_exeext &&
30294 $as_test_x conftest
$ac_exeext; then
30295 { echo "$as_me:$LINENO: result: no" >&5
30296 echo "${ECHO_T}no" >&6; }
30297 X_LIBS
="$X_LIBS -R$x_libraries"
30299 echo "$as_me: failed program was:" >&5
30300 sed 's/^/| /' conftest.
$ac_ext >&5
30302 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30303 cat >conftest.
$ac_ext <<_ACEOF
30306 cat confdefs.h
>>conftest.
$ac_ext
30307 cat >>conftest.
$ac_ext <<_ACEOF
30308 /* end confdefs.h. */
30318 rm -f conftest.
$ac_objext conftest
$ac_exeext
30319 if { (ac_try
="$ac_link"
30320 case "(($ac_try" in
30321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30322 *) ac_try_echo=$ac_try;;
30324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30325 (eval "$ac_link") 2>conftest.er1
30327 grep -v '^ *+' conftest.er1 >conftest.err
30329 cat conftest.err >&5
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); } && {
30332 test -z "$ac_c_werror_flag" ||
30333 test ! -s conftest.err
30334 } && test -s conftest$ac_exeext &&
30335 $as_test_x conftest$ac_exeext; then
30336 { echo "$as_me:$LINENO: result: yes" >&5
30337 echo "${ECHO_T}yes" >&6; }
30338 X_LIBS="$X_LIBS -R $x_libraries"
30340 echo "$as_me: failed program was:" >&5
30341 sed 's/^/| /' conftest.$ac_ext >&5
30343 { echo "$as_me:$LINENO: result: neither works" >&5
30344 echo "${ECHO_T}neither works" >&6; }
30347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30348 conftest$ac_exeext conftest.$ac_ext
30351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30352 conftest$ac_exeext conftest.$ac_ext
30353 ac_c_werror_flag=$ac_xsave_c_werror_flag
30354 LIBS=$ac_xsave_LIBS
30357 # Check for system-dependent libraries X programs must link with.
30358 # Do this before checking for the system-independent R6 libraries
30359 # (-lICE), since we may need -lsocket or whatever for X linking.
30361 if test "$ISC" = yes; then
30362 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30364 # Martyn Johnson says this is needed for Ultrix, if the X
30365 # libraries were built with DECnet support. And Karl Berry says
30366 # the Alpha needs dnet_stub (dnet does not exist).
30367 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30368 cat >conftest.$ac_ext <<_ACEOF
30371 cat confdefs.h >>conftest.$ac_ext
30372 cat >>conftest.$ac_ext <<_ACEOF
30373 /* end confdefs.h. */
30375 /* Override any GCC internal prototype to avoid an error.
30376 Use char because int might match the return type of a GCC
30377 builtin and then its argument prototype would still apply. */
30381 char XOpenDisplay ();
30385 return XOpenDisplay ();
30390 rm -f conftest.$ac_objext conftest$ac_exeext
30391 if { (ac_try="$ac_link"
30392 case "(($ac_try" in
30393 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30394 *) ac_try_echo
=$ac_try;;
30396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30397 (eval "$ac_link") 2>conftest.er1
30399 grep -v '^ *+' conftest.er1
>conftest.err
30401 cat conftest.err
>&5
30402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30403 (exit $ac_status); } && {
30404 test -z "$ac_c_werror_flag" ||
30405 test ! -s conftest.err
30406 } && test -s conftest
$ac_exeext &&
30407 $as_test_x conftest
$ac_exeext; then
30410 echo "$as_me: failed program was:" >&5
30411 sed 's/^/| /' conftest.
$ac_ext >&5
30413 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30414 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30415 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30416 echo $ECHO_N "(cached) $ECHO_C" >&6
30418 ac_check_lib_save_LIBS
=$LIBS
30419 LIBS
="-ldnet $LIBS"
30420 cat >conftest.
$ac_ext <<_ACEOF
30423 cat confdefs.h
>>conftest.
$ac_ext
30424 cat >>conftest.
$ac_ext <<_ACEOF
30425 /* end confdefs.h. */
30427 /* Override any GCC internal prototype to avoid an error.
30428 Use char because int might match the return type of a GCC
30429 builtin and then its argument prototype would still apply. */
30437 return dnet_ntoa ();
30442 rm -f conftest.
$ac_objext conftest
$ac_exeext
30443 if { (ac_try
="$ac_link"
30444 case "(($ac_try" in
30445 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30446 *) ac_try_echo=$ac_try;;
30448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30449 (eval "$ac_link") 2>conftest.er1
30451 grep -v '^ *+' conftest.er1 >conftest.err
30453 cat conftest.err >&5
30454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30455 (exit $ac_status); } && {
30456 test -z "$ac_c_werror_flag" ||
30457 test ! -s conftest.err
30458 } && test -s conftest$ac_exeext &&
30459 $as_test_x conftest$ac_exeext; then
30460 ac_cv_lib_dnet_dnet_ntoa=yes
30462 echo "$as_me: failed program was:" >&5
30463 sed 's/^/| /' conftest.$ac_ext >&5
30465 ac_cv_lib_dnet_dnet_ntoa=no
30468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30469 conftest$ac_exeext conftest.$ac_ext
30470 LIBS=$ac_check_lib_save_LIBS
30472 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30473 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30474 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30475 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30478 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30479 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30480 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30481 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30482 echo $ECHO_N "(cached) $ECHO_C" >&6
30484 ac_check_lib_save_LIBS=$LIBS
30485 LIBS="-ldnet_stub $LIBS"
30486 cat >conftest.$ac_ext <<_ACEOF
30489 cat confdefs.h >>conftest.$ac_ext
30490 cat >>conftest.$ac_ext <<_ACEOF
30491 /* end confdefs.h. */
30493 /* Override any GCC internal prototype to avoid an error.
30494 Use char because int might match the return type of a GCC
30495 builtin and then its argument prototype would still apply. */
30503 return dnet_ntoa ();
30508 rm -f conftest.$ac_objext conftest$ac_exeext
30509 if { (ac_try="$ac_link"
30510 case "(($ac_try" in
30511 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30512 *) ac_try_echo
=$ac_try;;
30514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30515 (eval "$ac_link") 2>conftest.er1
30517 grep -v '^ *+' conftest.er1
>conftest.err
30519 cat conftest.err
>&5
30520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30521 (exit $ac_status); } && {
30522 test -z "$ac_c_werror_flag" ||
30523 test ! -s conftest.err
30524 } && test -s conftest
$ac_exeext &&
30525 $as_test_x conftest
$ac_exeext; then
30526 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30528 echo "$as_me: failed program was:" >&5
30529 sed 's/^/| /' conftest.
$ac_ext >&5
30531 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30534 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30535 conftest
$ac_exeext conftest.
$ac_ext
30536 LIBS
=$ac_check_lib_save_LIBS
30538 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30539 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30540 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30541 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30547 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30548 conftest
$ac_exeext conftest.
$ac_ext
30549 LIBS
="$ac_xsave_LIBS"
30551 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30552 # to get the SysV transport functions.
30553 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30555 # The nsl library prevents programs from opening the X display
30556 # on Irix 5.2, according to T.E. Dickey.
30557 # The functions gethostbyname, getservbyname, and inet_addr are
30558 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30559 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30560 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30561 if test "${ac_cv_func_gethostbyname+set}" = set; then
30562 echo $ECHO_N "(cached) $ECHO_C" >&6
30564 cat >conftest.
$ac_ext <<_ACEOF
30567 cat confdefs.h
>>conftest.
$ac_ext
30568 cat >>conftest.
$ac_ext <<_ACEOF
30569 /* end confdefs.h. */
30570 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30572 #define gethostbyname innocuous_gethostbyname
30574 /* System header to define __stub macros and hopefully few prototypes,
30575 which can conflict with char gethostbyname (); below.
30576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30577 <limits.h> exists even on freestanding compilers. */
30580 # include <limits.h>
30582 # include <assert.h>
30585 #undef gethostbyname
30587 /* Override any GCC internal prototype to avoid an error.
30588 Use char because int might match the return type of a GCC
30589 builtin and then its argument prototype would still apply. */
30593 char gethostbyname ();
30594 /* The GNU C library defines this for functions which it implements
30595 to always fail with ENOSYS. Some functions are actually named
30596 something starting with __ and the normal name is an alias. */
30597 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30604 return gethostbyname ();
30609 rm -f conftest.
$ac_objext conftest
$ac_exeext
30610 if { (ac_try
="$ac_link"
30611 case "(($ac_try" in
30612 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30613 *) ac_try_echo=$ac_try;;
30615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30616 (eval "$ac_link") 2>conftest.er1
30618 grep -v '^ *+' conftest.er1 >conftest.err
30620 cat conftest.err >&5
30621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30622 (exit $ac_status); } && {
30623 test -z "$ac_c_werror_flag" ||
30624 test ! -s conftest.err
30625 } && test -s conftest$ac_exeext &&
30626 $as_test_x conftest$ac_exeext; then
30627 ac_cv_func_gethostbyname=yes
30629 echo "$as_me: failed program was:" >&5
30630 sed 's/^/| /' conftest.$ac_ext >&5
30632 ac_cv_func_gethostbyname=no
30635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30636 conftest$ac_exeext conftest.$ac_ext
30638 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30639 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30641 if test $ac_cv_func_gethostbyname = no; then
30642 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30643 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30644 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30645 echo $ECHO_N "(cached) $ECHO_C" >&6
30647 ac_check_lib_save_LIBS=$LIBS
30649 cat >conftest.$ac_ext <<_ACEOF
30652 cat confdefs.h >>conftest.$ac_ext
30653 cat >>conftest.$ac_ext <<_ACEOF
30654 /* end confdefs.h. */
30656 /* Override any GCC internal prototype to avoid an error.
30657 Use char because int might match the return type of a GCC
30658 builtin and then its argument prototype would still apply. */
30662 char gethostbyname ();
30666 return gethostbyname ();
30671 rm -f conftest.$ac_objext conftest$ac_exeext
30672 if { (ac_try="$ac_link"
30673 case "(($ac_try" in
30674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30675 *) ac_try_echo
=$ac_try;;
30677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30678 (eval "$ac_link") 2>conftest.er1
30680 grep -v '^ *+' conftest.er1
>conftest.err
30682 cat conftest.err
>&5
30683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 (exit $ac_status); } && {
30685 test -z "$ac_c_werror_flag" ||
30686 test ! -s conftest.err
30687 } && test -s conftest
$ac_exeext &&
30688 $as_test_x conftest
$ac_exeext; then
30689 ac_cv_lib_nsl_gethostbyname
=yes
30691 echo "$as_me: failed program was:" >&5
30692 sed 's/^/| /' conftest.
$ac_ext >&5
30694 ac_cv_lib_nsl_gethostbyname
=no
30697 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30698 conftest
$ac_exeext conftest.
$ac_ext
30699 LIBS
=$ac_check_lib_save_LIBS
30701 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30702 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30703 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30704 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30707 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30708 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30709 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30710 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30711 echo $ECHO_N "(cached) $ECHO_C" >&6
30713 ac_check_lib_save_LIBS
=$LIBS
30715 cat >conftest.
$ac_ext <<_ACEOF
30718 cat confdefs.h
>>conftest.
$ac_ext
30719 cat >>conftest.
$ac_ext <<_ACEOF
30720 /* end confdefs.h. */
30722 /* Override any GCC internal prototype to avoid an error.
30723 Use char because int might match the return type of a GCC
30724 builtin and then its argument prototype would still apply. */
30728 char gethostbyname ();
30732 return gethostbyname ();
30737 rm -f conftest.
$ac_objext conftest
$ac_exeext
30738 if { (ac_try
="$ac_link"
30739 case "(($ac_try" in
30740 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30741 *) ac_try_echo=$ac_try;;
30743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30744 (eval "$ac_link") 2>conftest.er1
30746 grep -v '^ *+' conftest.er1 >conftest.err
30748 cat conftest.err >&5
30749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750 (exit $ac_status); } && {
30751 test -z "$ac_c_werror_flag" ||
30752 test ! -s conftest.err
30753 } && test -s conftest$ac_exeext &&
30754 $as_test_x conftest$ac_exeext; then
30755 ac_cv_lib_bsd_gethostbyname=yes
30757 echo "$as_me: failed program was:" >&5
30758 sed 's/^/| /' conftest.$ac_ext >&5
30760 ac_cv_lib_bsd_gethostbyname=no
30763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30764 conftest$ac_exeext conftest.$ac_ext
30765 LIBS=$ac_check_lib_save_LIBS
30767 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30768 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30769 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30770 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30776 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30777 # socket/setsockopt and other routines are undefined under SCO ODT
30778 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30779 # on later versions), says Simon Leinen: it contains gethostby*
30780 # variants that don't use the name server (or something). -lsocket
30781 # must be given before -lnsl if both are needed. We assume that
30782 # if connect needs -lnsl, so does gethostbyname.
30783 { echo "$as_me:$LINENO: checking for connect" >&5
30784 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30785 if test "${ac_cv_func_connect+set}" = set; then
30786 echo $ECHO_N "(cached) $ECHO_C" >&6
30788 cat >conftest.$ac_ext <<_ACEOF
30791 cat confdefs.h >>conftest.$ac_ext
30792 cat >>conftest.$ac_ext <<_ACEOF
30793 /* end confdefs.h. */
30794 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30796 #define connect innocuous_connect
30798 /* System header to define __stub macros and hopefully few prototypes,
30799 which can conflict with char connect (); below.
30800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30801 <limits.h> exists even on freestanding compilers. */
30804 # include <limits.h>
30806 # include <assert.h>
30811 /* Override any GCC internal prototype to avoid an error.
30812 Use char because int might match the return type of a GCC
30813 builtin and then its argument prototype would still apply. */
30818 /* The GNU C library defines this for functions which it implements
30819 to always fail with ENOSYS. Some functions are actually named
30820 something starting with __ and the normal name is an alias. */
30821 #if defined __stub_connect || defined __stub___connect
30833 rm -f conftest.$ac_objext conftest$ac_exeext
30834 if { (ac_try="$ac_link"
30835 case "(($ac_try" in
30836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30837 *) ac_try_echo
=$ac_try;;
30839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30840 (eval "$ac_link") 2>conftest.er1
30842 grep -v '^ *+' conftest.er1
>conftest.err
30844 cat conftest.err
>&5
30845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30846 (exit $ac_status); } && {
30847 test -z "$ac_c_werror_flag" ||
30848 test ! -s conftest.err
30849 } && test -s conftest
$ac_exeext &&
30850 $as_test_x conftest
$ac_exeext; then
30851 ac_cv_func_connect
=yes
30853 echo "$as_me: failed program was:" >&5
30854 sed 's/^/| /' conftest.
$ac_ext >&5
30856 ac_cv_func_connect
=no
30859 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30860 conftest
$ac_exeext conftest.
$ac_ext
30862 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30863 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30865 if test $ac_cv_func_connect = no
; then
30866 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30867 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30868 if test "${ac_cv_lib_socket_connect+set}" = set; then
30869 echo $ECHO_N "(cached) $ECHO_C" >&6
30871 ac_check_lib_save_LIBS
=$LIBS
30872 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30873 cat >conftest.
$ac_ext <<_ACEOF
30876 cat confdefs.h
>>conftest.
$ac_ext
30877 cat >>conftest.
$ac_ext <<_ACEOF
30878 /* end confdefs.h. */
30880 /* Override any GCC internal prototype to avoid an error.
30881 Use char because int might match the return type of a GCC
30882 builtin and then its argument prototype would still apply. */
30895 rm -f conftest.
$ac_objext conftest
$ac_exeext
30896 if { (ac_try
="$ac_link"
30897 case "(($ac_try" in
30898 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30899 *) ac_try_echo=$ac_try;;
30901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30902 (eval "$ac_link") 2>conftest.er1
30904 grep -v '^ *+' conftest.er1 >conftest.err
30906 cat conftest.err >&5
30907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30908 (exit $ac_status); } && {
30909 test -z "$ac_c_werror_flag" ||
30910 test ! -s conftest.err
30911 } && test -s conftest$ac_exeext &&
30912 $as_test_x conftest$ac_exeext; then
30913 ac_cv_lib_socket_connect=yes
30915 echo "$as_me: failed program was:" >&5
30916 sed 's/^/| /' conftest.$ac_ext >&5
30918 ac_cv_lib_socket_connect=no
30921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30922 conftest$ac_exeext conftest.$ac_ext
30923 LIBS=$ac_check_lib_save_LIBS
30925 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30926 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30927 if test $ac_cv_lib_socket_connect = yes; then
30928 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30933 # Guillermo Gomez says -lposix is necessary on A/UX.
30934 { echo "$as_me:$LINENO: checking for remove" >&5
30935 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30936 if test "${ac_cv_func_remove+set}" = set; then
30937 echo $ECHO_N "(cached) $ECHO_C" >&6
30939 cat >conftest.$ac_ext <<_ACEOF
30942 cat confdefs.h >>conftest.$ac_ext
30943 cat >>conftest.$ac_ext <<_ACEOF
30944 /* end confdefs.h. */
30945 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30947 #define remove innocuous_remove
30949 /* System header to define __stub macros and hopefully few prototypes,
30950 which can conflict with char remove (); below.
30951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30952 <limits.h> exists even on freestanding compilers. */
30955 # include <limits.h>
30957 # include <assert.h>
30962 /* Override any GCC internal prototype to avoid an error.
30963 Use char because int might match the return type of a GCC
30964 builtin and then its argument prototype would still apply. */
30969 /* The GNU C library defines this for functions which it implements
30970 to always fail with ENOSYS. Some functions are actually named
30971 something starting with __ and the normal name is an alias. */
30972 #if defined __stub_remove || defined __stub___remove
30984 rm -f conftest.$ac_objext conftest$ac_exeext
30985 if { (ac_try="$ac_link"
30986 case "(($ac_try" in
30987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30988 *) ac_try_echo
=$ac_try;;
30990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30991 (eval "$ac_link") 2>conftest.er1
30993 grep -v '^ *+' conftest.er1
>conftest.err
30995 cat conftest.err
>&5
30996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30997 (exit $ac_status); } && {
30998 test -z "$ac_c_werror_flag" ||
30999 test ! -s conftest.err
31000 } && test -s conftest
$ac_exeext &&
31001 $as_test_x conftest
$ac_exeext; then
31002 ac_cv_func_remove
=yes
31004 echo "$as_me: failed program was:" >&5
31005 sed 's/^/| /' conftest.
$ac_ext >&5
31007 ac_cv_func_remove
=no
31010 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31011 conftest
$ac_exeext conftest.
$ac_ext
31013 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31014 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31016 if test $ac_cv_func_remove = no
; then
31017 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31018 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31019 if test "${ac_cv_lib_posix_remove+set}" = set; then
31020 echo $ECHO_N "(cached) $ECHO_C" >&6
31022 ac_check_lib_save_LIBS
=$LIBS
31023 LIBS
="-lposix $LIBS"
31024 cat >conftest.
$ac_ext <<_ACEOF
31027 cat confdefs.h
>>conftest.
$ac_ext
31028 cat >>conftest.
$ac_ext <<_ACEOF
31029 /* end confdefs.h. */
31031 /* Override any GCC internal prototype to avoid an error.
31032 Use char because int might match the return type of a GCC
31033 builtin and then its argument prototype would still apply. */
31046 rm -f conftest.
$ac_objext conftest
$ac_exeext
31047 if { (ac_try
="$ac_link"
31048 case "(($ac_try" in
31049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31050 *) ac_try_echo=$ac_try;;
31052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31053 (eval "$ac_link") 2>conftest.er1
31055 grep -v '^ *+' conftest.er1 >conftest.err
31057 cat conftest.err >&5
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); } && {
31060 test -z "$ac_c_werror_flag" ||
31061 test ! -s conftest.err
31062 } && test -s conftest$ac_exeext &&
31063 $as_test_x conftest$ac_exeext; then
31064 ac_cv_lib_posix_remove=yes
31066 echo "$as_me: failed program was:" >&5
31067 sed 's/^/| /' conftest.$ac_ext >&5
31069 ac_cv_lib_posix_remove=no
31072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31073 conftest$ac_exeext conftest.$ac_ext
31074 LIBS=$ac_check_lib_save_LIBS
31076 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31077 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31078 if test $ac_cv_lib_posix_remove = yes; then
31079 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31084 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31085 { echo "$as_me:$LINENO: checking for shmat" >&5
31086 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31087 if test "${ac_cv_func_shmat+set}" = set; then
31088 echo $ECHO_N "(cached) $ECHO_C" >&6
31090 cat >conftest.$ac_ext <<_ACEOF
31093 cat confdefs.h >>conftest.$ac_ext
31094 cat >>conftest.$ac_ext <<_ACEOF
31095 /* end confdefs.h. */
31096 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31098 #define shmat innocuous_shmat
31100 /* System header to define __stub macros and hopefully few prototypes,
31101 which can conflict with char shmat (); below.
31102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31103 <limits.h> exists even on freestanding compilers. */
31106 # include <limits.h>
31108 # include <assert.h>
31113 /* Override any GCC internal prototype to avoid an error.
31114 Use char because int might match the return type of a GCC
31115 builtin and then its argument prototype would still apply. */
31120 /* The GNU C library defines this for functions which it implements
31121 to always fail with ENOSYS. Some functions are actually named
31122 something starting with __ and the normal name is an alias. */
31123 #if defined __stub_shmat || defined __stub___shmat
31135 rm -f conftest.$ac_objext conftest$ac_exeext
31136 if { (ac_try="$ac_link"
31137 case "(($ac_try" in
31138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31139 *) ac_try_echo
=$ac_try;;
31141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31142 (eval "$ac_link") 2>conftest.er1
31144 grep -v '^ *+' conftest.er1
>conftest.err
31146 cat conftest.err
>&5
31147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148 (exit $ac_status); } && {
31149 test -z "$ac_c_werror_flag" ||
31150 test ! -s conftest.err
31151 } && test -s conftest
$ac_exeext &&
31152 $as_test_x conftest
$ac_exeext; then
31153 ac_cv_func_shmat
=yes
31155 echo "$as_me: failed program was:" >&5
31156 sed 's/^/| /' conftest.
$ac_ext >&5
31158 ac_cv_func_shmat
=no
31161 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31162 conftest
$ac_exeext conftest.
$ac_ext
31164 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31165 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31167 if test $ac_cv_func_shmat = no
; then
31168 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31169 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31170 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31171 echo $ECHO_N "(cached) $ECHO_C" >&6
31173 ac_check_lib_save_LIBS
=$LIBS
31175 cat >conftest.
$ac_ext <<_ACEOF
31178 cat confdefs.h
>>conftest.
$ac_ext
31179 cat >>conftest.
$ac_ext <<_ACEOF
31180 /* end confdefs.h. */
31182 /* Override any GCC internal prototype to avoid an error.
31183 Use char because int might match the return type of a GCC
31184 builtin and then its argument prototype would still apply. */
31197 rm -f conftest.
$ac_objext conftest
$ac_exeext
31198 if { (ac_try
="$ac_link"
31199 case "(($ac_try" in
31200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31201 *) ac_try_echo=$ac_try;;
31203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31204 (eval "$ac_link") 2>conftest.er1
31206 grep -v '^ *+' conftest.er1 >conftest.err
31208 cat conftest.err >&5
31209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31210 (exit $ac_status); } && {
31211 test -z "$ac_c_werror_flag" ||
31212 test ! -s conftest.err
31213 } && test -s conftest$ac_exeext &&
31214 $as_test_x conftest$ac_exeext; then
31215 ac_cv_lib_ipc_shmat=yes
31217 echo "$as_me: failed program was:" >&5
31218 sed 's/^/| /' conftest.$ac_ext >&5
31220 ac_cv_lib_ipc_shmat=no
31223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31224 conftest$ac_exeext conftest.$ac_ext
31225 LIBS=$ac_check_lib_save_LIBS
31227 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31228 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31229 if test $ac_cv_lib_ipc_shmat = yes; then
31230 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31236 # Check for libraries that X11R6 Xt/Xaw programs need.
31237 ac_save_LDFLAGS=$LDFLAGS
31238 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31239 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31240 # check for ICE first), but we must link in the order -lSM -lICE or
31241 # we get undefined symbols. So assume we have SM if we have ICE.
31242 # These have to be linked with before -lX11, unlike the other
31243 # libraries we check for below, so use a different variable.
31244 # John Interrante, Karl Berry
31245 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31246 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31247 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31248 echo $ECHO_N "(cached) $ECHO_C" >&6
31250 ac_check_lib_save_LIBS=$LIBS
31251 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31252 cat >conftest.$ac_ext <<_ACEOF
31255 cat confdefs.h >>conftest.$ac_ext
31256 cat >>conftest.$ac_ext <<_ACEOF
31257 /* end confdefs.h. */
31259 /* Override any GCC internal prototype to avoid an error.
31260 Use char because int might match the return type of a GCC
31261 builtin and then its argument prototype would still apply. */
31265 char IceConnectionNumber ();
31269 return IceConnectionNumber ();
31274 rm -f conftest.$ac_objext conftest$ac_exeext
31275 if { (ac_try="$ac_link"
31276 case "(($ac_try" in
31277 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31278 *) ac_try_echo
=$ac_try;;
31280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31281 (eval "$ac_link") 2>conftest.er1
31283 grep -v '^ *+' conftest.er1
>conftest.err
31285 cat conftest.err
>&5
31286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31287 (exit $ac_status); } && {
31288 test -z "$ac_c_werror_flag" ||
31289 test ! -s conftest.err
31290 } && test -s conftest
$ac_exeext &&
31291 $as_test_x conftest
$ac_exeext; then
31292 ac_cv_lib_ICE_IceConnectionNumber
=yes
31294 echo "$as_me: failed program was:" >&5
31295 sed 's/^/| /' conftest.
$ac_ext >&5
31297 ac_cv_lib_ICE_IceConnectionNumber
=no
31300 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31301 conftest
$ac_exeext conftest.
$ac_ext
31302 LIBS
=$ac_check_lib_save_LIBS
31304 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31305 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31306 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31307 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31310 LDFLAGS
=$ac_save_LDFLAGS
31315 if test "$no_x" = "yes"; then
31316 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31317 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31318 { (exit 1); exit 1; }; }
31321 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31322 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31323 AFMINSTALL
=afminstall
31324 COMPILED_X_PROGRAM
=0
31328 if test "$wxUSE_X11" = 1; then
31329 if test "$wxUSE_NANOX" = "yes"; then
31330 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31331 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31332 if test "x$MICROWIN" = x
; then
31333 { echo "$as_me:$LINENO: result: not found" >&5
31334 echo "${ECHO_T}not found" >&6; }
31335 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31336 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31337 { (exit 1); exit 1; }; }
31339 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31340 echo "${ECHO_T}$MICROWIN" >&6; }
31341 cat >>confdefs.h
<<\_ACEOF
31342 #define wxUSE_NANOX 1
31348 if test "$wxUSE_UNICODE" = "yes"; then
31351 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31352 if test -n "$ac_tool_prefix"; then
31353 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31354 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31357 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31358 echo $ECHO_N "(cached) $ECHO_C" >&6
31360 case $PKG_CONFIG in
31362 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31366 for as_dir
in $PATH
31369 test -z "$as_dir" && as_dir
=.
31370 for ac_exec_ext
in '' $ac_executable_extensions; do
31371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31372 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31383 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31384 if test -n "$PKG_CONFIG"; then
31385 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31386 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31388 { echo "$as_me:$LINENO: result: no" >&5
31389 echo "${ECHO_T}no" >&6; }
31394 if test -z "$ac_cv_path_PKG_CONFIG"; then
31395 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31396 # Extract the first word of "pkg-config", so it can be a program name with args.
31397 set dummy pkg
-config; ac_word
=$2
31398 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31400 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31401 echo $ECHO_N "(cached) $ECHO_C" >&6
31403 case $ac_pt_PKG_CONFIG in
31405 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31409 for as_dir
in $PATH
31412 test -z "$as_dir" && as_dir
=.
31413 for ac_exec_ext
in '' $ac_executable_extensions; do
31414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31415 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31426 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31427 if test -n "$ac_pt_PKG_CONFIG"; then
31428 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31429 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31431 { echo "$as_me:$LINENO: result: no" >&5
31432 echo "${ECHO_T}no" >&6; }
31435 if test "x$ac_pt_PKG_CONFIG" = x
; then
31438 case $cross_compiling:$ac_tool_warned in
31440 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31441 whose name does not start with the host triplet. If you think this
31442 configuration is useful to you, please write to autoconf@gnu.org." >&5
31443 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31444 whose name does not start with the host triplet. If you think this
31445 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31446 ac_tool_warned
=yes ;;
31448 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31451 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31455 if test -n "$PKG_CONFIG"; then
31456 _pkg_min_version
=0.9.0
31457 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31458 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31459 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31460 { echo "$as_me:$LINENO: result: yes" >&5
31461 echo "${ECHO_T}yes" >&6; }
31463 { echo "$as_me:$LINENO: result: no" >&5
31464 echo "${ECHO_T}no" >&6; }
31472 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31473 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31475 if test -n "$PKG_CONFIG"; then
31476 if test -n "$PANGOX_CFLAGS"; then
31477 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31479 if test -n "$PKG_CONFIG" && \
31480 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31481 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); }; then
31485 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31493 if test -n "$PKG_CONFIG"; then
31494 if test -n "$PANGOX_LIBS"; then
31495 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31497 if test -n "$PKG_CONFIG" && \
31498 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31499 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31502 (exit $ac_status); }; then
31503 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31514 if test $pkg_failed = yes; then
31516 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31517 _pkg_short_errors_supported
=yes
31519 _pkg_short_errors_supported
=no
31521 if test $_pkg_short_errors_supported = yes; then
31522 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31524 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31526 # Put the nasty error message in config.log where it belongs
31527 echo "$PANGOX_PKG_ERRORS" >&5
31530 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31531 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31532 { (exit 1); exit 1; }; }
31535 elif test $pkg_failed = untried
; then
31537 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31538 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31539 { (exit 1); exit 1; }; }
31543 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31544 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31545 { echo "$as_me:$LINENO: result: yes" >&5
31546 echo "${ECHO_T}yes" >&6; }
31548 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31549 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31550 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31555 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31556 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31558 if test -n "$PKG_CONFIG"; then
31559 if test -n "$PANGOFT2_CFLAGS"; then
31560 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31562 if test -n "$PKG_CONFIG" && \
31563 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31564 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); }; then
31568 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31576 if test -n "$PKG_CONFIG"; then
31577 if test -n "$PANGOFT2_LIBS"; then
31578 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31580 if test -n "$PKG_CONFIG" && \
31581 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31582 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); }; then
31586 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31597 if test $pkg_failed = yes; then
31599 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31600 _pkg_short_errors_supported
=yes
31602 _pkg_short_errors_supported
=no
31604 if test $_pkg_short_errors_supported = yes; then
31605 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31607 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31609 # Put the nasty error message in config.log where it belongs
31610 echo "$PANGOFT2_PKG_ERRORS" >&5
31613 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31614 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31615 wxUSE_PRINTING_ARCHITECTURE
="no"
31618 elif test $pkg_failed = untried
; then
31620 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31621 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31622 wxUSE_PRINTING_ARCHITECTURE
="no"
31626 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31627 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31628 { echo "$as_me:$LINENO: result: yes" >&5
31629 echo "${ECHO_T}yes" >&6; }
31631 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31632 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31633 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31638 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31639 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31641 if test -n "$PKG_CONFIG"; then
31642 if test -n "$PANGOXFT_CFLAGS"; then
31643 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31645 if test -n "$PKG_CONFIG" && \
31646 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31647 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650 (exit $ac_status); }; then
31651 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31659 if test -n "$PKG_CONFIG"; then
31660 if test -n "$PANGOXFT_LIBS"; then
31661 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31663 if test -n "$PKG_CONFIG" && \
31664 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31665 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668 (exit $ac_status); }; then
31669 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31680 if test $pkg_failed = yes; then
31682 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31683 _pkg_short_errors_supported
=yes
31685 _pkg_short_errors_supported
=no
31687 if test $_pkg_short_errors_supported = yes; then
31688 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31690 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31692 # Put the nasty error message in config.log where it belongs
31693 echo "$PANGOXFT_PKG_ERRORS" >&5
31696 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31697 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31700 elif test $pkg_failed = untried
; then
31702 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31703 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31707 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31708 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31709 { echo "$as_me:$LINENO: result: yes" >&5
31710 echo "${ECHO_T}yes" >&6; }
31712 cat >>confdefs.h
<<\_ACEOF
31713 #define HAVE_PANGO_XFT 1
31716 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31717 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31718 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31722 LIBS
="$LIBS $PANGOX_LIBS"
31724 for ac_func
in pango_font_family_is_monospace
31726 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31727 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31729 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31730 echo $ECHO_N "(cached) $ECHO_C" >&6
31732 cat >conftest.
$ac_ext <<_ACEOF
31735 cat confdefs.h
>>conftest.
$ac_ext
31736 cat >>conftest.
$ac_ext <<_ACEOF
31737 /* end confdefs.h. */
31738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31740 #define $ac_func innocuous_$ac_func
31742 /* System header to define __stub macros and hopefully few prototypes,
31743 which can conflict with char $ac_func (); below.
31744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31745 <limits.h> exists even on freestanding compilers. */
31748 # include <limits.h>
31750 # include <assert.h>
31755 /* Override any GCC internal prototype to avoid an error.
31756 Use char because int might match the return type of a GCC
31757 builtin and then its argument prototype would still apply. */
31762 /* The GNU C library defines this for functions which it implements
31763 to always fail with ENOSYS. Some functions are actually named
31764 something starting with __ and the normal name is an alias. */
31765 #if defined __stub_$ac_func || defined __stub___$ac_func
31772 return $ac_func ();
31777 rm -f conftest.
$ac_objext conftest
$ac_exeext
31778 if { (ac_try
="$ac_link"
31779 case "(($ac_try" in
31780 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31781 *) ac_try_echo=$ac_try;;
31783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31784 (eval "$ac_link") 2>conftest.er1
31786 grep -v '^ *+' conftest.er1 >conftest.err
31788 cat conftest.err >&5
31789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31790 (exit $ac_status); } && {
31791 test -z "$ac_c_werror_flag" ||
31792 test ! -s conftest.err
31793 } && test -s conftest$ac_exeext &&
31794 $as_test_x conftest$ac_exeext; then
31795 eval "$as_ac_var=yes"
31797 echo "$as_me: failed program was:" >&5
31798 sed 's/^/| /' conftest.$ac_ext >&5
31800 eval "$as_ac_var=no"
31803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31804 conftest$ac_exeext conftest.$ac_ext
31806 ac_res=`eval echo '${'$as_ac_var'}'`
31807 { echo "$as_me:$LINENO: result: $ac_res" >&5
31808 echo "${ECHO_T}$ac_res" >&6; }
31809 if test `eval echo '${'$as_ac_var'}'` = yes; then
31810 cat >>confdefs.h <<_ACEOF
31811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31820 wxUSE_UNIVERSAL="yes"
31822 if test "$wxUSE_NANOX" = "yes"; then
31823 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31824 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"
31825 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31827 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31834 if test "$wxUSE_MOTIF" = 1; then
31835 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31836 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31839 for ac_dir in $SEARCH_INCLUDE /usr/include;
31841 if test -f "$ac_dir/Xm/Xm.h"; then
31842 ac_find_includes=$ac_dir
31847 if test "$ac_find_includes" != "" ; then
31848 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31849 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31851 if test "x$ac_find_includes" = "x/usr/include"; then
31852 ac_path_to_include=""
31854 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31856 if test $result = 0; then
31857 ac_path_to_include=""
31859 ac_path_to_include=" -I$ac_find_includes"
31863 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31865 save_CFLAGS=$CFLAGS
31866 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31868 cat >conftest.$ac_ext <<_ACEOF
31871 cat confdefs.h >>conftest.$ac_ext
31872 cat >>conftest.$ac_ext <<_ACEOF
31873 /* end confdefs.h. */
31882 version = xmUseVersion;
31888 rm -f conftest.$ac_objext
31889 if { (ac_try="$ac_compile"
31890 case "(($ac_try" in
31891 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31892 *) ac_try_echo
=$ac_try;;
31894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31895 (eval "$ac_compile") 2>conftest.er1
31897 grep -v '^ *+' conftest.er1
>conftest.err
31899 cat conftest.err
>&5
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); } && {
31902 test -z "$ac_c_werror_flag" ||
31903 test ! -s conftest.err
31904 } && test -s conftest.
$ac_objext; then
31906 { echo "$as_me:$LINENO: result: found in default search path" >&5
31907 echo "${ECHO_T}found in default search path" >&6; }
31908 COMPILED_X_PROGRAM
=1
31911 echo "$as_me: failed program was:" >&5
31912 sed 's/^/| /' conftest.
$ac_ext >&5
31915 { echo "$as_me:$LINENO: result: no" >&5
31916 echo "${ECHO_T}no" >&6; }
31917 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31918 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31919 { (exit 1); exit 1; }; }
31924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31926 CFLAGS
=$save_CFLAGS
31930 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31931 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31934 for ac_dir
in $SEARCH_LIB;
31936 for ac_extension
in a so sl dylib dll.a
; do
31937 if test -f "$ac_dir/libXm.$ac_extension"; then
31938 ac_find_libraries
=$ac_dir
31945 if test "x$ac_find_libraries" != "x" ; then
31946 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31947 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31950 if test "$ac_find_libraries" = "default location"; then
31953 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31955 if test $result = 0; then
31958 ac_path_to_link
=" -L$ac_find_libraries"
31962 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31964 save_CFLAGS
=$CFLAGS
31965 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31967 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31969 cat >conftest.
$ac_ext <<_ACEOF
31972 cat confdefs.h
>>conftest.
$ac_ext
31973 cat >>conftest.
$ac_ext <<_ACEOF
31974 /* end confdefs.h. */
31983 version = xmUseVersion;
31989 rm -f conftest.
$ac_objext conftest
$ac_exeext
31990 if { (ac_try
="$ac_link"
31991 case "(($ac_try" in
31992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31993 *) ac_try_echo=$ac_try;;
31995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31996 (eval "$ac_link") 2>conftest.er1
31998 grep -v '^ *+' conftest.er1 >conftest.err
32000 cat conftest.err >&5
32001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002 (exit $ac_status); } && {
32003 test -z "$ac_c_werror_flag" ||
32004 test ! -s conftest.err
32005 } && test -s conftest$ac_exeext &&
32006 $as_test_x conftest$ac_exeext; then
32008 { echo "$as_me:$LINENO: result: found in default search path" >&5
32009 echo "${ECHO_T}found in default search path" >&6; }
32010 COMPILED_X_PROGRAM=1
32013 echo "$as_me: failed program was:" >&5
32014 sed 's/^/| /' conftest.$ac_ext >&5
32017 { echo "$as_me:$LINENO: result: no" >&5
32018 echo "${ECHO_T}no" >&6; }
32019 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32020 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32021 { (exit 1); exit 1; }; }
32026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32027 conftest$ac_exeext conftest.$ac_ext
32029 CFLAGS=$save_CFLAGS
32033 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32034 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32038 for libp in "" " -lXp"; do
32039 if test "$libs_found" = 0; then
32040 for libsm_ice in "" " -lSM -lICE"; do
32041 if test "$libs_found" = 0; then
32043 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32044 save_CFLAGS=$CFLAGS
32045 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32047 cat >conftest.$ac_ext <<_ACEOF
32050 cat confdefs.h >>conftest.$ac_ext
32051 cat >>conftest.$ac_ext <<_ACEOF
32052 /* end confdefs.h. */
32055 #include <Xm/List.h>
32061 XmString string = NULL;
32064 XmListAddItem(w, string, position);
32070 rm -f conftest.$ac_objext conftest$ac_exeext
32071 if { (ac_try="$ac_link"
32072 case "(($ac_try" in
32073 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32074 *) ac_try_echo
=$ac_try;;
32076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32077 (eval "$ac_link") 2>conftest.er1
32079 grep -v '^ *+' conftest.er1
>conftest.err
32081 cat conftest.err
>&5
32082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32083 (exit $ac_status); } && {
32084 test -z "$ac_c_werror_flag" ||
32085 test ! -s conftest.err
32086 } && test -s conftest
$ac_exeext &&
32087 $as_test_x conftest
$ac_exeext; then
32090 libsm_ice_link
="$libsm_ice"
32091 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32092 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32096 echo "$as_me: failed program was:" >&5
32097 sed 's/^/| /' conftest.
$ac_ext >&5
32103 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32104 conftest
$ac_exeext conftest.
$ac_ext
32107 CFLAGS
=$save_CFLAGS
32113 if test "$libs_found" = 0; then
32114 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32115 echo "${ECHO_T}can't find the right libraries" >&6; }
32116 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32117 echo "$as_me: error: can't link a simple motif program" >&2;}
32118 { (exit 1); exit 1; }; }
32121 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32122 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32123 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32124 echo $ECHO_N "(cached) $ECHO_C" >&6
32126 ac_check_lib_save_LIBS
=$LIBS
32128 cat >conftest.
$ac_ext <<_ACEOF
32131 cat confdefs.h
>>conftest.
$ac_ext
32132 cat >>conftest.
$ac_ext <<_ACEOF
32133 /* end confdefs.h. */
32135 /* Override any GCC internal prototype to avoid an error.
32136 Use char because int might match the return type of a GCC
32137 builtin and then its argument prototype would still apply. */
32141 char SgCreateList ();
32145 return SgCreateList ();
32150 rm -f conftest.
$ac_objext conftest
$ac_exeext
32151 if { (ac_try
="$ac_link"
32152 case "(($ac_try" in
32153 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32154 *) ac_try_echo=$ac_try;;
32156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32157 (eval "$ac_link") 2>conftest.er1
32159 grep -v '^ *+' conftest.er1 >conftest.err
32161 cat conftest.err >&5
32162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32163 (exit $ac_status); } && {
32164 test -z "$ac_c_werror_flag" ||
32165 test ! -s conftest.err
32166 } && test -s conftest$ac_exeext &&
32167 $as_test_x conftest$ac_exeext; then
32168 ac_cv_lib_Sgm_SgCreateList=yes
32170 echo "$as_me: failed program was:" >&5
32171 sed 's/^/| /' conftest.$ac_ext >&5
32173 ac_cv_lib_Sgm_SgCreateList=no
32176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32177 conftest$ac_exeext conftest.$ac_ext
32178 LIBS=$ac_check_lib_save_LIBS
32180 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32181 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32182 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32183 libsgm_link=" -lSgm"
32187 save_CFLAGS=$CFLAGS
32188 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32190 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32191 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32192 if test "${wx_cv_lib_motif2+set}" = set; then
32193 echo $ECHO_N "(cached) $ECHO_C" >&6
32195 cat >conftest.$ac_ext <<_ACEOF
32198 cat confdefs.h >>conftest.$ac_ext
32199 cat >>conftest.$ac_ext <<_ACEOF
32200 /* end confdefs.h. */
32208 #if XmVersion < 2000
32216 rm -f conftest.$ac_objext
32217 if { (ac_try="$ac_compile"
32218 case "(($ac_try" in
32219 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32220 *) ac_try_echo
=$ac_try;;
32222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32223 (eval "$ac_compile") 2>conftest.er1
32225 grep -v '^ *+' conftest.er1
>conftest.err
32227 cat conftest.err
>&5
32228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32229 (exit $ac_status); } && {
32230 test -z "$ac_c_werror_flag" ||
32231 test ! -s conftest.err
32232 } && test -s conftest.
$ac_objext; then
32233 wx_cv_lib_motif2
="yes"
32235 echo "$as_me: failed program was:" >&5
32236 sed 's/^/| /' conftest.
$ac_ext >&5
32238 wx_cv_lib_motif2
="no"
32241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32243 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32244 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32245 if test "$wx_cv_lib_motif2" = "yes"; then
32246 cat >>confdefs.h
<<\_ACEOF
32247 #define __WXMOTIF20__ 1
32251 cat >>confdefs.h
<<\_ACEOF
32252 #define __WXMOTIF20__ 0
32257 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32258 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32259 if test "${wx_cv_lib_lesstif+set}" = set; then
32260 echo $ECHO_N "(cached) $ECHO_C" >&6
32262 cat >conftest.
$ac_ext <<_ACEOF
32265 cat confdefs.h
>>conftest.
$ac_ext
32266 cat >>conftest.
$ac_ext <<_ACEOF
32267 /* end confdefs.h. */
32275 #if !defined(LesstifVersion) || LesstifVersion <= 0
32283 rm -f conftest.
$ac_objext
32284 if { (ac_try
="$ac_compile"
32285 case "(($ac_try" in
32286 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32287 *) ac_try_echo=$ac_try;;
32289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32290 (eval "$ac_compile") 2>conftest.er1
32292 grep -v '^ *+' conftest.er1 >conftest.err
32294 cat conftest.err >&5
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); } && {
32297 test -z "$ac_c_werror_flag" ||
32298 test ! -s conftest.err
32299 } && test -s conftest.$ac_objext; then
32300 wx_cv_lib_lesstif="yes"
32302 echo "$as_me: failed program was:" >&5
32303 sed 's/^/| /' conftest.$ac_ext >&5
32305 wx_cv_lib_lesstif="no"
32308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32311 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32312 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32313 if test "$wx_cv_lib_lesstif" = "yes"; then
32314 cat >>confdefs.h <<\_ACEOF
32315 #define __WXLESSTIF__ 1
32319 cat >>confdefs.h <<\_ACEOF
32320 #define __WXLESSTIF__ 0
32325 CFLAGS=$save_CFLAGS
32327 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32332 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32333 if test "$wxUSE_LIBXPM" = "sys"; then
32334 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32335 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32338 for ac_dir in $SEARCH_LIB;
32340 for ac_extension in a so sl dylib dll.a; do
32341 if test -f "$ac_dir/libXpm.$ac_extension"; then
32342 ac_find_libraries=$ac_dir
32348 if test "$ac_find_libraries" != "" ; then
32350 if test "$ac_find_libraries" = "default location"; then
32353 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32355 if test $result = 0; then
32358 ac_path_to_link=" -L$ac_find_libraries"
32362 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32363 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32364 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32366 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32367 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32368 if test "${wx_cv_x11_xpm_h+set}" = set; then
32369 echo $ECHO_N "(cached) $ECHO_C" >&6
32372 save_CFLAGS=$CFLAGS
32373 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32375 cat >conftest.$ac_ext <<_ACEOF
32378 cat confdefs.h >>conftest.$ac_ext
32379 cat >>conftest.$ac_ext <<_ACEOF
32380 /* end confdefs.h. */
32382 #include <X11/xpm.h>
32389 version = XpmLibraryVersion();
32395 rm -f conftest.$ac_objext
32396 if { (ac_try="$ac_compile"
32397 case "(($ac_try" in
32398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32399 *) ac_try_echo
=$ac_try;;
32401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32402 (eval "$ac_compile") 2>conftest.er1
32404 grep -v '^ *+' conftest.er1
>conftest.err
32406 cat conftest.err
>&5
32407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32408 (exit $ac_status); } && {
32409 test -z "$ac_c_werror_flag" ||
32410 test ! -s conftest.err
32411 } && test -s conftest.
$ac_objext; then
32412 wx_cv_x11_xpm_h
=yes
32414 echo "$as_me: failed program was:" >&5
32415 sed 's/^/| /' conftest.
$ac_ext >&5
32421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32423 CFLAGS
=$save_CFLAGS
32427 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32428 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32430 if test $wx_cv_x11_xpm_h = "yes"; then
32431 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32432 cat >>confdefs.h
<<\_ACEOF
32433 #define wxHAVE_LIB_XPM 1
32437 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32438 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32444 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32445 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32446 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32447 echo $ECHO_N "(cached) $ECHO_C" >&6
32449 ac_check_lib_save_LIBS
=$LIBS
32450 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32451 cat >conftest.
$ac_ext <<_ACEOF
32454 cat confdefs.h
>>conftest.
$ac_ext
32455 cat >>conftest.
$ac_ext <<_ACEOF
32456 /* end confdefs.h. */
32458 /* Override any GCC internal prototype to avoid an error.
32459 Use char because int might match the return type of a GCC
32460 builtin and then its argument prototype would still apply. */
32464 char XShapeQueryExtension ();
32468 return XShapeQueryExtension ();
32473 rm -f conftest.
$ac_objext conftest
$ac_exeext
32474 if { (ac_try
="$ac_link"
32475 case "(($ac_try" in
32476 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32477 *) ac_try_echo=$ac_try;;
32479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32480 (eval "$ac_link") 2>conftest.er1
32482 grep -v '^ *+' conftest.er1 >conftest.err
32484 cat conftest.err >&5
32485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32486 (exit $ac_status); } && {
32487 test -z "$ac_c_werror_flag" ||
32488 test ! -s conftest.err
32489 } && test -s conftest$ac_exeext &&
32490 $as_test_x conftest$ac_exeext; then
32491 ac_cv_lib_Xext_XShapeQueryExtension=yes
32493 echo "$as_me: failed program was:" >&5
32494 sed 's/^/| /' conftest.$ac_ext >&5
32496 ac_cv_lib_Xext_XShapeQueryExtension=no
32499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32500 conftest$ac_exeext conftest.$ac_ext
32501 LIBS=$ac_check_lib_save_LIBS
32503 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32504 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32505 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32507 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32513 if test "$wxHAVE_XEXT_LIB" = 1; then
32514 save_CFLAGS="$CFLAGS"
32515 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32517 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32518 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32519 cat >conftest.$ac_ext <<_ACEOF
32522 cat confdefs.h >>conftest.$ac_ext
32523 cat >>conftest.$ac_ext <<_ACEOF
32524 /* end confdefs.h. */
32526 #include <X11/Xlib.h>
32527 #include <X11/extensions/shape.h>
32533 int dummy1, dummy2;
32534 XShapeQueryExtension((Display*)NULL,
32535 (int*)NULL, (int*)NULL);
32541 rm -f conftest.$ac_objext
32542 if { (ac_try="$ac_compile"
32543 case "(($ac_try" in
32544 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32545 *) ac_try_echo
=$ac_try;;
32547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32548 (eval "$ac_compile") 2>conftest.er1
32550 grep -v '^ *+' conftest.er1
>conftest.err
32552 cat conftest.err
>&5
32553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32554 (exit $ac_status); } && {
32555 test -z "$ac_c_werror_flag" ||
32556 test ! -s conftest.err
32557 } && test -s conftest.
$ac_objext; then
32559 cat >>confdefs.h
<<\_ACEOF
32560 #define HAVE_XSHAPE 1
32563 { echo "$as_me:$LINENO: result: found" >&5
32564 echo "${ECHO_T}found" >&6; }
32567 echo "$as_me: failed program was:" >&5
32568 sed 's/^/| /' conftest.
$ac_ext >&5
32571 { echo "$as_me:$LINENO: result: not found" >&5
32572 echo "${ECHO_T}not found" >&6; }
32576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32577 CFLAGS
="$save_CFLAGS"
32582 if test "$wxUSE_OSX_CARBON" = 1; then
32583 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32584 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32585 if test "$GCC" = yes; then
32586 { echo "$as_me:$LINENO: result: gcc" >&5
32587 echo "${ECHO_T}gcc" >&6; }
32588 CPPFLAGS_PASCAL
="-fpascal-strings"
32589 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32590 { echo "$as_me:$LINENO: result: xlc" >&5
32591 echo "${ECHO_T}xlc" >&6; }
32592 CPPFLAGS_PASCAL
="-qmacpstr"
32594 { echo "$as_me:$LINENO: result: none" >&5
32595 echo "${ECHO_T}none" >&6; }
32598 if test "x$wxUSE_UNIX" = "xyes"; then
32599 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32601 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32605 GUIDIST
=OSX_CARBON_DIST
32606 WXBASEPORT
="_carbon"
32609 if test "$wxUSE_OSX_COCOA" = 1; then
32611 GUIDIST
=OSX_COCOA_DIST
32614 if test "$wxUSE_COCOA" = 1; then
32619 if test "$wxUSE_PM" = 1; then
32622 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32623 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32624 if test "${wx_cv_spbcdata+set}" = set; then
32625 echo $ECHO_N "(cached) $ECHO_C" >&6
32628 cat >conftest.
$ac_ext <<_ACEOF
32631 cat confdefs.h
>>conftest.
$ac_ext
32632 cat >>conftest.
$ac_ext <<_ACEOF
32633 /* end confdefs.h. */
32648 rm -f conftest.
$ac_objext
32649 if { (ac_try
="$ac_compile"
32650 case "(($ac_try" in
32651 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32652 *) ac_try_echo=$ac_try;;
32654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32655 (eval "$ac_compile") 2>conftest.er1
32657 grep -v '^ *+' conftest.er1 >conftest.err
32659 cat conftest.err >&5
32660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32661 (exit $ac_status); } && {
32662 test -z "$ac_c_werror_flag" ||
32663 test ! -s conftest.err
32664 } && test -s conftest.$ac_objext; then
32667 echo "$as_me: failed program was:" >&5
32668 sed 's/^/| /' conftest.$ac_ext >&5
32674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32678 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32679 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32681 if test $wx_cv_spbcdata = "yes"; then
32682 cat >>confdefs.h <<\_ACEOF
32683 #define HAVE_SPBCDATA 1
32689 if test "$TOOLKIT" = "PM" ; then
32692 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32695 if test "$wxUSE_UNIVERSAL" = "yes"; then
32696 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32700 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32701 DISTDIR="wx\$(TOOLKIT)"
32707 if test "$USE_WIN32" = 1 ; then
32711 GUIDIST="BASE_DIST"
32717 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32718 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32719 wxUSE_UNICODE_UTF8=yes
32720 elif test "$USE_OS2" = 1 ; then
32721 wxUSE_UNICODE_UTF8=yes
32723 wxUSE_UNICODE_UTF8=no
32728 if test "$wxUSE_GUI" = "yes"; then
32729 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32731 for ac_header in X11/Xlib.h
32733 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32734 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32736 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32737 echo $ECHO_N "(cached) $ECHO_C" >&6
32739 cat >conftest.$ac_ext <<_ACEOF
32742 cat confdefs.h >>conftest.$ac_ext
32743 cat >>conftest.$ac_ext <<_ACEOF
32744 /* end confdefs.h. */
32747 #include <$ac_header>
32749 rm -f conftest.$ac_objext
32750 if { (ac_try="$ac_compile"
32751 case "(($ac_try" in
32752 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32753 *) ac_try_echo
=$ac_try;;
32755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32756 (eval "$ac_compile") 2>conftest.er1
32758 grep -v '^ *+' conftest.er1
>conftest.err
32760 cat conftest.err
>&5
32761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32762 (exit $ac_status); } && {
32763 test -z "$ac_c_werror_flag" ||
32764 test ! -s conftest.err
32765 } && test -s conftest.
$ac_objext; then
32766 eval "$as_ac_Header=yes"
32768 echo "$as_me: failed program was:" >&5
32769 sed 's/^/| /' conftest.
$ac_ext >&5
32771 eval "$as_ac_Header=no"
32774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32776 ac_res
=`eval echo '${'$as_ac_Header'}'`
32777 { echo "$as_me:$LINENO: result: $ac_res" >&5
32778 echo "${ECHO_T}$ac_res" >&6; }
32779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32780 cat >>confdefs.h
<<_ACEOF
32781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32789 for ac_header
in X
11/XKBlib.h
32791 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32792 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32794 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32795 echo $ECHO_N "(cached) $ECHO_C" >&6
32797 cat >conftest.
$ac_ext <<_ACEOF
32800 cat confdefs.h
>>conftest.
$ac_ext
32801 cat >>conftest.
$ac_ext <<_ACEOF
32802 /* end confdefs.h. */
32804 #if HAVE_X11_XLIB_H
32805 #include <X11/Xlib.h>
32809 #include <$ac_header>
32811 rm -f conftest.
$ac_objext
32812 if { (ac_try
="$ac_compile"
32813 case "(($ac_try" in
32814 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32815 *) ac_try_echo=$ac_try;;
32817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32818 (eval "$ac_compile") 2>conftest.er1
32820 grep -v '^ *+' conftest.er1 >conftest.err
32822 cat conftest.err >&5
32823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824 (exit $ac_status); } && {
32825 test -z "$ac_c_werror_flag" ||
32826 test ! -s conftest.err
32827 } && test -s conftest.$ac_objext; then
32828 eval "$as_ac_Header=yes"
32830 echo "$as_me: failed program was:" >&5
32831 sed 's/^/| /' conftest.$ac_ext >&5
32833 eval "$as_ac_Header=no"
32836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32838 ac_res=`eval echo '${'$as_ac_Header'}'`
32839 { echo "$as_me:$LINENO: result: $ac_res" >&5
32840 echo "${ECHO_T}$ac_res" >&6; }
32841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32842 cat >>confdefs.h <<_ACEOF
32843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32855 if test "$wxUSE_DISPLAY" = "yes"; then
32856 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32857 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32858 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32861 for ac_dir in $SEARCH_LIB;
32863 for ac_extension in a so sl dylib dll.a; do
32864 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32865 ac_find_libraries=$ac_dir
32871 if test "$ac_find_libraries" != "" ; then
32873 if test "$ac_find_libraries" = "default location"; then
32876 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32878 if test $result = 0; then
32881 ac_path_to_link=" -L$ac_find_libraries"
32885 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32886 LDFLAGS="$LDFLAGS $ac_path_to_link"
32888 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32889 { echo "$as_me:$LINENO: result: yes" >&5
32890 echo "${ECHO_T}yes" >&6; }
32892 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32893 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32896 for ac_dir in $SEARCH_LIB;
32898 for ac_extension in a so sl dylib dll.a; do
32899 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32900 ac_find_libraries=$ac_dir
32906 if test "$ac_find_libraries" != "" ; then
32907 { echo "$as_me:$LINENO: result: yes" >&5
32908 echo "${ECHO_T}yes" >&6; }
32910 for ac_header in X11/extensions/xf86vmode.h
32912 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32913 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32915 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32916 echo $ECHO_N "(cached) $ECHO_C" >&6
32918 cat >conftest.$ac_ext <<_ACEOF
32921 cat confdefs.h >>conftest.$ac_ext
32922 cat >>conftest.$ac_ext <<_ACEOF
32923 /* end confdefs.h. */
32925 #if HAVE_X11_XLIB_H
32926 #include <X11/Xlib.h>
32930 #include <$ac_header>
32932 rm -f conftest.$ac_objext
32933 if { (ac_try="$ac_compile"
32934 case "(($ac_try" in
32935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32936 *) ac_try_echo
=$ac_try;;
32938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32939 (eval "$ac_compile") 2>conftest.er1
32941 grep -v '^ *+' conftest.er1
>conftest.err
32943 cat conftest.err
>&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); } && {
32946 test -z "$ac_c_werror_flag" ||
32947 test ! -s conftest.err
32948 } && test -s conftest.
$ac_objext; then
32949 eval "$as_ac_Header=yes"
32951 echo "$as_me: failed program was:" >&5
32952 sed 's/^/| /' conftest.
$ac_ext >&5
32954 eval "$as_ac_Header=no"
32957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32959 ac_res
=`eval echo '${'$as_ac_Header'}'`
32960 { echo "$as_me:$LINENO: result: $ac_res" >&5
32961 echo "${ECHO_T}$ac_res" >&6; }
32962 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32963 cat >>confdefs.h
<<_ACEOF
32964 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32967 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32974 { echo "$as_me:$LINENO: result: no" >&5
32975 echo "${ECHO_T}no" >&6; }
32979 { echo "$as_me:$LINENO: result: no" >&5
32980 echo "${ECHO_T}no" >&6; }
32981 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32982 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32985 elif test "$wxUSE_MSW" = 1; then
32986 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32987 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32988 if test "${ac_cv_header_ddraw_h+set}" = set; then
32989 echo $ECHO_N "(cached) $ECHO_C" >&6
32991 cat >conftest.
$ac_ext <<_ACEOF
32994 cat confdefs.h
>>conftest.
$ac_ext
32995 cat >>conftest.
$ac_ext <<_ACEOF
32996 /* end confdefs.h. */
32997 #include <windows.h>
33001 rm -f conftest.
$ac_objext
33002 if { (ac_try
="$ac_compile"
33003 case "(($ac_try" in
33004 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33005 *) ac_try_echo=$ac_try;;
33007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33008 (eval "$ac_compile") 2>conftest.er1
33010 grep -v '^ *+' conftest.er1 >conftest.err
33012 cat conftest.err >&5
33013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33014 (exit $ac_status); } && {
33015 test -z "$ac_c_werror_flag" ||
33016 test ! -s conftest.err
33017 } && test -s conftest.$ac_objext; then
33018 ac_cv_header_ddraw_h=yes
33020 echo "$as_me: failed program was:" >&5
33021 sed 's/^/| /' conftest.$ac_ext >&5
33023 ac_cv_header_ddraw_h=no
33026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33028 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33029 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33035 if test "$wxUSE_DETECT_SM" = "yes"; then
33036 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33037 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33038 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33041 for ac_dir in $SEARCH_LIB;
33043 for ac_extension in a so sl dylib dll.a; do
33044 if test -f "$ac_dir/libSM.$ac_extension"; then
33045 ac_find_libraries=$ac_dir
33051 if test "$ac_find_libraries" != "" ; then
33053 if test "$ac_find_libraries" = "default location"; then
33056 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33058 if test $result = 0; then
33061 ac_path_to_link=" -L$ac_find_libraries"
33065 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33066 LDFLAGS="$LDFLAGS $ac_path_to_link"
33068 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33069 { echo "$as_me:$LINENO: result: yes" >&5
33070 echo "${ECHO_T}yes" >&6; }
33072 { echo "$as_me:$LINENO: result: no" >&5
33073 echo "${ECHO_T}no" >&6; }
33074 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33075 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33076 wxUSE_DETECT_SM="no"
33079 wxUSE_DETECT_SM="no"
33086 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33089 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33090 OPENGL_LIBS="-framework OpenGL -framework AGL"
33091 elif test "$wxUSE_MSW" = 1; then
33092 OPENGL_LIBS="-lopengl32 -lglu32"
33093 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33095 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33096 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33099 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33101 if test -f "$ac_dir/GL/gl.h"; then
33102 ac_find_includes=$ac_dir
33107 if test "$ac_find_includes" != "" ; then
33108 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33109 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33111 if test "x$ac_find_includes" = "x/usr/include"; then
33112 ac_path_to_include=""
33114 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33116 if test $result = 0; then
33117 ac_path_to_include=""
33119 ac_path_to_include=" -I$ac_find_includes"
33123 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33125 { echo "$as_me:$LINENO: result: not found" >&5
33126 echo "${ECHO_T}not found" >&6; }
33129 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33130 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33131 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33132 echo $ECHO_N "(cached) $ECHO_C" >&6
33134 cat >conftest.$ac_ext <<_ACEOF
33137 cat confdefs.h >>conftest.$ac_ext
33138 cat >>conftest.$ac_ext <<_ACEOF
33139 /* end confdefs.h. */
33144 rm -f conftest.$ac_objext
33145 if { (ac_try="$ac_compile"
33146 case "(($ac_try" in
33147 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33148 *) ac_try_echo
=$ac_try;;
33150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33151 (eval "$ac_compile") 2>conftest.er1
33153 grep -v '^ *+' conftest.er1
>conftest.err
33155 cat conftest.err
>&5
33156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33157 (exit $ac_status); } && {
33158 test -z "$ac_c_werror_flag" ||
33159 test ! -s conftest.err
33160 } && test -s conftest.
$ac_objext; then
33161 ac_cv_header_GL_gl_h
=yes
33163 echo "$as_me: failed program was:" >&5
33164 sed 's/^/| /' conftest.
$ac_ext >&5
33166 ac_cv_header_GL_gl_h
=no
33169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33171 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33172 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33173 if test $ac_cv_header_GL_gl_h = yes; then
33175 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33176 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33177 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33178 echo $ECHO_N "(cached) $ECHO_C" >&6
33180 cat >conftest.
$ac_ext <<_ACEOF
33183 cat confdefs.h
>>conftest.
$ac_ext
33184 cat >>conftest.
$ac_ext <<_ACEOF
33185 /* end confdefs.h. */
33188 #include <GL/glu.h>
33190 rm -f conftest.
$ac_objext
33191 if { (ac_try
="$ac_compile"
33192 case "(($ac_try" in
33193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33194 *) ac_try_echo=$ac_try;;
33196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33197 (eval "$ac_compile") 2>conftest.er1
33199 grep -v '^ *+' conftest.er1 >conftest.err
33201 cat conftest.err >&5
33202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203 (exit $ac_status); } && {
33204 test -z "$ac_c_werror_flag" ||
33205 test ! -s conftest.err
33206 } && test -s conftest.$ac_objext; then
33207 ac_cv_header_GL_glu_h=yes
33209 echo "$as_me: failed program was:" >&5
33210 sed 's/^/| /' conftest.$ac_ext >&5
33212 ac_cv_header_GL_glu_h=no
33215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33217 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33218 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33219 if test $ac_cv_header_GL_glu_h = yes; then
33223 { echo "$as_me:$LINENO: checking for -lGL" >&5
33224 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33227 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33229 for ac_extension in a so sl dylib dll.a; do
33230 if test -f "$ac_dir/libGL.$ac_extension"; then
33231 ac_find_libraries=$ac_dir
33237 if test "$ac_find_libraries" != "" ; then
33238 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33239 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33242 if test "$ac_find_libraries" = "default location"; then
33245 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33247 if test $result = 0; then
33250 ac_path_to_link=" -L$ac_find_libraries"
33254 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33255 LDFLAGS_GL="$ac_path_to_link"
33258 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33259 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33262 for ac_dir in $SEARCH_LIB;
33264 for ac_extension in a so sl dylib dll.a; do
33265 if test -f "$ac_dir/libGLU.$ac_extension"; then
33266 ac_find_libraries=$ac_dir
33272 if test "$ac_find_libraries" != "" ; then
33274 if test "$ac_find_libraries" = "default location"; then
33277 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33279 if test $result = 0; then
33282 ac_path_to_link=" -L$ac_find_libraries"
33286 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33287 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33288 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33292 OPENGL_LIBS="-lGL -lGLU"
33293 { echo "$as_me:$LINENO: result: yes" >&5
33294 echo "${ECHO_T}yes" >&6; }
33296 { echo "$as_me:$LINENO: result: no" >&5
33297 echo "${ECHO_T}no" >&6; }
33300 { echo "$as_me:$LINENO: result: no" >&5
33301 echo "${ECHO_T}no" >&6; }
33304 if test "$found_gl" != 1; then
33305 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33306 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33309 for ac_dir in $SEARCH_LIB;
33311 for ac_extension in a so sl dylib dll.a; do
33312 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33313 ac_find_libraries=$ac_dir
33319 if test "$ac_find_libraries" != "" ; then
33321 if test "$ac_find_libraries" = "default location"; then
33324 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33326 if test $result = 0; then
33329 ac_path_to_link=" -L$ac_find_libraries"
33333 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33334 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33335 { echo "$as_me:$LINENO: result: yes" >&5
33336 echo "${ECHO_T}yes" >&6; }
33338 { echo "$as_me:$LINENO: result: no" >&5
33339 echo "${ECHO_T}no" >&6; }
33351 if test "x$OPENGL_LIBS" = "x"; then
33352 if test "$wxUSE_OPENGL" = "yes"; then
33353 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33354 echo "$as_me: error: OpenGL libraries not available" >&2;}
33355 { (exit 1); exit 1; }; }
33357 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33358 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33366 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33367 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33371 if test "$wxUSE_OPENGL" = "yes"; then
33373 cat >>confdefs.h <<\_ACEOF
33374 #define wxUSE_OPENGL 1
33377 cat >>confdefs.h <<\_ACEOF
33378 #define wxUSE_GLCANVAS 1
33381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33386 if test -n "$TOOLKIT" ; then
33387 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33392 if test "$wxUSE_SHARED" = "yes"; then
33396 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33397 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33402 if test "$wxUSE_SHARED" = "yes"; then
33406 *-*-cygwin* | *-*-mingw* )
33407 wx_cv_version_script=no
33411 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33412 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33413 if test "${wx_cv_version_script+set}" = set; then
33414 echo $ECHO_N "(cached) $ECHO_C" >&6
33417 echo "VER_1 { *; };" >conftest.sym
33418 echo "int main() { return 0; }" >conftest.cpp
33421 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33422 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33424 (eval $ac_try) 2>&5
33426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33427 (exit $ac_status); }; } ; then
33428 if test -s conftest.stderr ; then
33429 wx_cv_version_script=no
33431 wx_cv_version_script=yes
33434 wx_cv_version_script=no
33437 if test $wx_cv_version_script = yes
33439 echo "struct B { virtual ~B() { } }; \
33440 struct D : public B { }; \
33441 void F() { D d; }" > conftest.cpp
33444 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33445 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33447 (eval $ac_try) 2>&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); }; } &&
33452 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33453 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33455 (eval $ac_try) 2>&5
33457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33458 (exit $ac_status); }; }
33461 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33462 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33464 (eval $ac_try) 2>&5
33466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33467 (exit $ac_status); }; }
33469 wx_cv_version_script=yes
33471 wx_cv_version_script=no
33476 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33477 rm -f conftest1.output conftest2.output conftest3.output
33480 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33481 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33483 if test $wx_cv_version_script = yes ; then
33484 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33490 if test "$wxUSE_VISIBILITY" != "no"; then
33493 if test -n "$GCC"; then
33494 CFLAGS_VISIBILITY="-fvisibility=hidden"
33495 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33496 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33497 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33498 if test "${wx_cv_cc_visibility+set}" = set; then
33499 echo $ECHO_N "(cached) $ECHO_C" >&6
33502 wx_save_CXXFLAGS="$CXXFLAGS"
33503 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33505 ac_cpp='$CXXCPP $CPPFLAGS'
33506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33510 cat >conftest.$ac_ext <<_ACEOF
33513 cat confdefs.h >>conftest.$ac_ext
33514 cat >>conftest.$ac_ext <<_ACEOF
33515 /* end confdefs.h. */
33517 /* we need gcc >= 4.0, older versions with visibility support
33518 didn't have class visibility: */
33519 #if defined(__GNUC__) && __GNUC__ < 4
33520 error this gcc is too old;
33523 /* visibility only makes sense for ELF shared libs: */
33524 #if !defined(__ELF__) && !defined(__APPLE__)
33525 error this platform has no visibility;
33528 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33529 extern __attribute__((__visibility__("default"))) int exportedvar;
33530 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33531 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33532 class __attribute__((__visibility__("default"))) Foo {
33544 rm -f conftest.$ac_objext
33545 if { (ac_try="$ac_compile"
33546 case "(($ac_try" in
33547 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33548 *) ac_try_echo
=$ac_try;;
33550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33551 (eval "$ac_compile") 2>conftest.er1
33553 grep -v '^ *+' conftest.er1
>conftest.err
33555 cat conftest.err
>&5
33556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33557 (exit $ac_status); } && {
33558 test -z "$ac_cxx_werror_flag" ||
33559 test ! -s conftest.err
33560 } && test -s conftest.
$ac_objext; then
33561 wx_cv_cc_visibility
=yes
33563 echo "$as_me: failed program was:" >&5
33564 sed 's/^/| /' conftest.
$ac_ext >&5
33566 wx_cv_cc_visibility
=no
33569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33571 ac_cpp
='$CPP $CPPFLAGS'
33572 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33573 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33574 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33576 CXXFLAGS
="$wx_save_CXXFLAGS"
33579 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33580 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33581 if test $wx_cv_cc_visibility = yes; then
33582 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33583 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33584 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33585 echo $ECHO_N "(cached) $ECHO_C" >&6
33588 wx_save_CXXFLAGS
="$CXXFLAGS"
33589 wx_save_LDFLAGS
="$LDFLAGS"
33590 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33591 LDFLAGS
="$LDFLAGS -shared -fPIC"
33593 ac_cpp
='$CXXCPP $CPPFLAGS'
33594 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33595 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33596 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33598 cat >conftest.
$ac_ext <<_ACEOF
33601 cat confdefs.h
>>conftest.
$ac_ext
33602 cat >>conftest.
$ac_ext <<_ACEOF
33603 /* end confdefs.h. */
33611 std::string s("hello");
33618 rm -f conftest.
$ac_objext conftest
$ac_exeext
33619 if { (ac_try
="$ac_link"
33620 case "(($ac_try" in
33621 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33622 *) ac_try_echo=$ac_try;;
33624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33625 (eval "$ac_link") 2>conftest.er1
33627 grep -v '^ *+' conftest.er1 >conftest.err
33629 cat conftest.err >&5
33630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33631 (exit $ac_status); } && {
33632 test -z "$ac_cxx_werror_flag" ||
33633 test ! -s conftest.err
33634 } && test -s conftest$ac_exeext &&
33635 $as_test_x conftest$ac_exeext; then
33636 wx_cv_cc_broken_libstdcxx_visibility=no
33638 echo "$as_me: failed program was:" >&5
33639 sed 's/^/| /' conftest.$ac_ext >&5
33641 wx_cv_cc_broken_libstdcxx_visibility=yes
33644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33645 conftest$ac_exeext conftest.$ac_ext
33647 ac_cpp='$CPP $CPPFLAGS'
33648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33652 CXXFLAGS="$wx_save_CXXFLAGS"
33653 LDFLAGS="$wx_save_LDFLAGS"
33656 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33657 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33659 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33660 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33661 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33662 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33663 echo $ECHO_N "(cached) $ECHO_C" >&6
33667 ac_cpp='$CXXCPP $CPPFLAGS'
33668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33672 cat >conftest.$ac_ext <<_ACEOF
33675 cat confdefs.h >>conftest.$ac_ext
33676 cat >>conftest.$ac_ext <<_ACEOF
33677 /* end confdefs.h. */
33679 #pragma GCC visibility push(default)
33681 #pragma GCC visibility pop
33687 std::string s("hello");
33694 rm -f conftest.$ac_objext conftest$ac_exeext
33695 if { (ac_try="$ac_link"
33696 case "(($ac_try" in
33697 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33698 *) ac_try_echo
=$ac_try;;
33700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33701 (eval "$ac_link") 2>conftest.er1
33703 grep -v '^ *+' conftest.er1
>conftest.err
33705 cat conftest.err
>&5
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); } && {
33708 test -z "$ac_cxx_werror_flag" ||
33709 test ! -s conftest.err
33710 } && test -s conftest
$ac_exeext &&
33711 $as_test_x conftest
$ac_exeext; then
33712 wx_cv_cc_visibility_workaround
=no
33714 echo "$as_me: failed program was:" >&5
33715 sed 's/^/| /' conftest.
$ac_ext >&5
33717 wx_cv_cc_visibility_workaround
=yes
33720 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33721 conftest
$ac_exeext conftest.
$ac_ext
33723 ac_cpp
='$CPP $CPPFLAGS'
33724 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33725 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33726 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33731 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33732 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33734 if test $wx_cv_cc_visibility_workaround = no
; then
33735 wx_cv_cc_visibility
=no
33740 if test $wx_cv_cc_visibility = yes; then
33741 cat >>confdefs.h
<<\_ACEOF
33742 #define HAVE_VISIBILITY 1
33745 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33746 cat >>confdefs.h
<<\_ACEOF
33747 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33752 CFLAGS_VISIBILITY
=""
33753 CXXFLAGS_VISIBILITY
=""
33761 if test "x$SUNCXX" = xyes
; then
33762 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33763 WXCONFIG_RPATH
="-R\$libdir"
33766 *-*-linux* | *-*-gnu* )
33767 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33768 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33773 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33775 saveLdflags
="$LDFLAGS"
33776 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33777 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33778 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33779 cat >conftest.
$ac_ext <<_ACEOF
33782 cat confdefs.h
>>conftest.
$ac_ext
33783 cat >>conftest.
$ac_ext <<_ACEOF
33784 /* end confdefs.h. */
33794 rm -f conftest.
$ac_objext conftest
$ac_exeext
33795 if { (ac_try
="$ac_link"
33796 case "(($ac_try" in
33797 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33798 *) ac_try_echo=$ac_try;;
33800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33801 (eval "$ac_link") 2>conftest.er1
33803 grep -v '^ *+' conftest.er1 >conftest.err
33805 cat conftest.err >&5
33806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33807 (exit $ac_status); } && {
33808 test -z "$ac_c_werror_flag" ||
33809 test ! -s conftest.err
33810 } && test -s conftest$ac_exeext &&
33811 $as_test_x conftest$ac_exeext; then
33813 { echo "$as_me:$LINENO: result: yes" >&5
33814 echo "${ECHO_T}yes" >&6; }
33815 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33816 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33819 echo "$as_me: failed program was:" >&5
33820 sed 's/^/| /' conftest.$ac_ext >&5
33823 { echo "$as_me:$LINENO: result: no" >&5
33824 echo "${ECHO_T}no" >&6; }
33825 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33826 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33827 LDFLAGS="$saveLdflags -Wl,-R,/"
33828 cat >conftest.$ac_ext <<_ACEOF
33831 cat confdefs.h >>conftest.$ac_ext
33832 cat >>conftest.$ac_ext <<_ACEOF
33833 /* end confdefs.h. */
33843 rm -f conftest.$ac_objext conftest$ac_exeext
33844 if { (ac_try="$ac_link"
33845 case "(($ac_try" in
33846 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33847 *) ac_try_echo
=$ac_try;;
33849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33850 (eval "$ac_link") 2>conftest.er1
33852 grep -v '^ *+' conftest.er1
>conftest.err
33854 cat conftest.err
>&5
33855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33856 (exit $ac_status); } && {
33857 test -z "$ac_c_werror_flag" ||
33858 test ! -s conftest.err
33859 } && test -s conftest
$ac_exeext &&
33860 $as_test_x conftest
$ac_exeext; then
33862 { echo "$as_me:$LINENO: result: yes" >&5
33863 echo "${ECHO_T}yes" >&6; }
33864 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33865 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33868 echo "$as_me: failed program was:" >&5
33869 sed 's/^/| /' conftest.
$ac_ext >&5
33872 { echo "$as_me:$LINENO: result: no" >&5
33873 echo "${ECHO_T}no" >&6; }
33877 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33878 conftest
$ac_exeext conftest.
$ac_ext
33882 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33883 conftest
$ac_exeext conftest.
$ac_ext
33884 LDFLAGS
="$saveLdflags"
33888 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
33889 if test "$install_name_tool" -a -x "$install_name_tool"; then
33890 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33891 cat <<EOF >change-install-names
33893 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33894 inst_cmd="${HOST_PREFIX}install_name_tool "
33895 for i in \${libnames} ; do
33896 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33900 chmod +x change
-install-names
33903 HEADER_PAD_OPTION
="-headerpad_max_install_names"
33906 *-*-cygwin* | *-*-mingw32* )
33910 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33911 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33917 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33919 if test $wxUSE_RPATH = "no"; then
33920 SAMPLES_RPATH_FLAG
=''
33921 SAMPLES_RPATH_POSTLINK
=''
33929 config_linkage_component
="-static"
33936 lib_unicode_suffix
=
33938 if test "$wxUSE_UNICODE" = "yes"; then
33939 lib_unicode_suffix
=u
33940 WX_CHARTYPE
="unicode"
33945 WX_DEBUGTYPE
="release"
33947 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33949 WX_DEBUGTYPE
="debug"
33953 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33954 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33957 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33961 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33963 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33965 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33967 if test "$cross_compiling" = "yes"; then
33968 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33969 TOOLCHAIN_FULLNAME
="$HOST_PREFIX$TOOLCHAIN_FULLNAME"
33973 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33974 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33976 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33978 if test "${TOOLKIT_DIR}" = "os2"; then
33979 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33981 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33986 if test "$wxUSE_COCOA" = 1; then
33989 ac_cpp
='$CPP $CPPFLAGS'
33990 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33991 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33992 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33996 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33997 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33998 cat >conftest.
$ac_ext <<_ACEOF
34001 cat confdefs.h
>>conftest.
$ac_ext
34002 cat >>conftest.
$ac_ext <<_ACEOF
34003 /* end confdefs.h. */
34004 #include <AppKit/NSEvent.h>
34005 #include <CoreFoundation/CoreFoundation.h>
34015 rm -f conftest.
$ac_objext
34016 if { (ac_try
="$ac_compile"
34017 case "(($ac_try" in
34018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34019 *) ac_try_echo=$ac_try;;
34021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34022 (eval "$ac_compile") 2>conftest.er1
34024 grep -v '^ *+' conftest.er1 >conftest.err
34026 cat conftest.err >&5
34027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34028 (exit $ac_status); } && {
34029 test -z "$ac_c_werror_flag" ||
34030 test ! -s conftest.err
34031 } && test -s conftest.$ac_objext; then
34032 { echo "$as_me:$LINENO: result: no" >&5
34033 echo "${ECHO_T}no" >&6; }
34035 echo "$as_me: failed program was:" >&5
34036 sed 's/^/| /' conftest.$ac_ext >&5
34038 { echo "$as_me:$LINENO: result: yes" >&5
34039 echo "${ECHO_T}yes" >&6; }
34040 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34041 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34042 cat >conftest.$ac_ext <<_ACEOF
34045 cat confdefs.h >>conftest.$ac_ext
34046 cat >>conftest.$ac_ext <<_ACEOF
34047 /* end confdefs.h. */
34048 #define __Point__ 1
34049 #include <AppKit/NSEvent.h>
34050 #include <CoreFoundation/CoreFoundation.h>
34060 rm -f conftest.$ac_objext
34061 if { (ac_try="$ac_compile"
34062 case "(($ac_try" in
34063 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34064 *) ac_try_echo
=$ac_try;;
34066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34067 (eval "$ac_compile") 2>conftest.er1
34069 grep -v '^ *+' conftest.er1
>conftest.err
34071 cat conftest.err
>&5
34072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34073 (exit $ac_status); } && {
34074 test -z "$ac_c_werror_flag" ||
34075 test ! -s conftest.err
34076 } && test -s conftest.
$ac_objext; then
34077 { echo "$as_me:$LINENO: result: yes" >&5
34078 echo "${ECHO_T}yes" >&6; }
34079 cat >>confdefs.h
<<\_ACEOF
34080 #define __Point__ 1
34085 echo "$as_me: failed program was:" >&5
34086 sed 's/^/| /' conftest.
$ac_ext >&5
34088 { { echo "$as_me:$LINENO: error: no
34089 See \`config.log' for more details." >&5
34090 echo "$as_me: error: no
34091 See \`config.log' for more details." >&2;}
34092 { (exit 1); exit 1; }; }
34096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34102 ac_cpp
='$CPP $CPPFLAGS'
34103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34110 { echo "$as_me:$LINENO: checking for mode_t" >&5
34111 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34112 if test "${ac_cv_type_mode_t+set}" = set; then
34113 echo $ECHO_N "(cached) $ECHO_C" >&6
34115 cat >conftest.
$ac_ext <<_ACEOF
34118 cat confdefs.h
>>conftest.
$ac_ext
34119 cat >>conftest.
$ac_ext <<_ACEOF
34120 /* end confdefs.h. */
34121 $ac_includes_default
34122 typedef mode_t ac__type_new_;
34126 if ((ac__type_new_ *) 0)
34128 if (sizeof (ac__type_new_))
34134 rm -f conftest.
$ac_objext
34135 if { (ac_try
="$ac_compile"
34136 case "(($ac_try" in
34137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34138 *) ac_try_echo=$ac_try;;
34140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34141 (eval "$ac_compile") 2>conftest.er1
34143 grep -v '^ *+' conftest.er1 >conftest.err
34145 cat conftest.err >&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); } && {
34148 test -z "$ac_c_werror_flag" ||
34149 test ! -s conftest.err
34150 } && test -s conftest.$ac_objext; then
34151 ac_cv_type_mode_t=yes
34153 echo "$as_me: failed program was:" >&5
34154 sed 's/^/| /' conftest.$ac_ext >&5
34156 ac_cv_type_mode_t=no
34159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34161 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34162 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34163 if test $ac_cv_type_mode_t = yes; then
34167 cat >>confdefs.h <<_ACEOF
34173 { echo "$as_me:$LINENO: checking for off_t" >&5
34174 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34175 if test "${ac_cv_type_off_t+set}" = set; then
34176 echo $ECHO_N "(cached) $ECHO_C" >&6
34178 cat >conftest.$ac_ext <<_ACEOF
34181 cat confdefs.h >>conftest.$ac_ext
34182 cat >>conftest.$ac_ext <<_ACEOF
34183 /* end confdefs.h. */
34184 $ac_includes_default
34185 typedef off_t ac__type_new_;
34189 if ((ac__type_new_ *) 0)
34191 if (sizeof (ac__type_new_))
34197 rm -f conftest.$ac_objext
34198 if { (ac_try="$ac_compile"
34199 case "(($ac_try" in
34200 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34201 *) ac_try_echo
=$ac_try;;
34203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34204 (eval "$ac_compile") 2>conftest.er1
34206 grep -v '^ *+' conftest.er1
>conftest.err
34208 cat conftest.err
>&5
34209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34210 (exit $ac_status); } && {
34211 test -z "$ac_c_werror_flag" ||
34212 test ! -s conftest.err
34213 } && test -s conftest.
$ac_objext; then
34214 ac_cv_type_off_t
=yes
34216 echo "$as_me: failed program was:" >&5
34217 sed 's/^/| /' conftest.
$ac_ext >&5
34219 ac_cv_type_off_t
=no
34222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34224 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34225 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34226 if test $ac_cv_type_off_t = yes; then
34230 cat >>confdefs.h
<<_ACEOF
34231 #define off_t long int
34236 { echo "$as_me:$LINENO: checking for pid_t" >&5
34237 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34238 if test "${ac_cv_type_pid_t+set}" = set; then
34239 echo $ECHO_N "(cached) $ECHO_C" >&6
34241 cat >conftest.
$ac_ext <<_ACEOF
34244 cat confdefs.h
>>conftest.
$ac_ext
34245 cat >>conftest.
$ac_ext <<_ACEOF
34246 /* end confdefs.h. */
34247 $ac_includes_default
34248 typedef pid_t ac__type_new_;
34252 if ((ac__type_new_ *) 0)
34254 if (sizeof (ac__type_new_))
34260 rm -f conftest.
$ac_objext
34261 if { (ac_try
="$ac_compile"
34262 case "(($ac_try" in
34263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34264 *) ac_try_echo=$ac_try;;
34266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34267 (eval "$ac_compile") 2>conftest.er1
34269 grep -v '^ *+' conftest.er1 >conftest.err
34271 cat conftest.err >&5
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); } && {
34274 test -z "$ac_c_werror_flag" ||
34275 test ! -s conftest.err
34276 } && test -s conftest.$ac_objext; then
34277 ac_cv_type_pid_t=yes
34279 echo "$as_me: failed program was:" >&5
34280 sed 's/^/| /' conftest.$ac_ext >&5
34282 ac_cv_type_pid_t=no
34285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34287 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34288 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34289 if test $ac_cv_type_pid_t = yes; then
34293 cat >>confdefs.h <<_ACEOF
34299 { echo "$as_me:$LINENO: checking for size_t" >&5
34300 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34301 if test "${ac_cv_type_size_t+set}" = set; then
34302 echo $ECHO_N "(cached) $ECHO_C" >&6
34304 cat >conftest.$ac_ext <<_ACEOF
34307 cat confdefs.h >>conftest.$ac_ext
34308 cat >>conftest.$ac_ext <<_ACEOF
34309 /* end confdefs.h. */
34310 $ac_includes_default
34311 typedef size_t ac__type_new_;
34315 if ((ac__type_new_ *) 0)
34317 if (sizeof (ac__type_new_))
34323 rm -f conftest.$ac_objext
34324 if { (ac_try="$ac_compile"
34325 case "(($ac_try" in
34326 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34327 *) ac_try_echo
=$ac_try;;
34329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34330 (eval "$ac_compile") 2>conftest.er1
34332 grep -v '^ *+' conftest.er1
>conftest.err
34334 cat conftest.err
>&5
34335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336 (exit $ac_status); } && {
34337 test -z "$ac_c_werror_flag" ||
34338 test ! -s conftest.err
34339 } && test -s conftest.
$ac_objext; then
34340 ac_cv_type_size_t
=yes
34342 echo "$as_me: failed program was:" >&5
34343 sed 's/^/| /' conftest.
$ac_ext >&5
34345 ac_cv_type_size_t
=no
34348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34350 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34351 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34352 if test $ac_cv_type_size_t = yes; then
34356 cat >>confdefs.h
<<_ACEOF
34357 #define size_t unsigned int
34363 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34364 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34365 if test "${ac_cv_type_ssize_t+set}" = set; then
34366 echo $ECHO_N "(cached) $ECHO_C" >&6
34368 cat >conftest.
$ac_ext <<_ACEOF
34371 cat confdefs.h
>>conftest.
$ac_ext
34372 cat >>conftest.
$ac_ext <<_ACEOF
34373 /* end confdefs.h. */
34374 $ac_includes_default
34375 typedef ssize_t ac__type_new_;
34379 if ((ac__type_new_ *) 0)
34381 if (sizeof (ac__type_new_))
34387 rm -f conftest.
$ac_objext
34388 if { (ac_try
="$ac_compile"
34389 case "(($ac_try" in
34390 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34391 *) ac_try_echo=$ac_try;;
34393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34394 (eval "$ac_compile") 2>conftest.er1
34396 grep -v '^ *+' conftest.er1 >conftest.err
34398 cat conftest.err >&5
34399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34400 (exit $ac_status); } && {
34401 test -z "$ac_c_werror_flag" ||
34402 test ! -s conftest.err
34403 } && test -s conftest.$ac_objext; then
34404 ac_cv_type_ssize_t=yes
34406 echo "$as_me: failed program was:" >&5
34407 sed 's/^/| /' conftest.$ac_ext >&5
34409 ac_cv_type_ssize_t=no
34412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34414 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34415 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34416 if test $ac_cv_type_ssize_t = yes; then
34418 cat >>confdefs.h <<_ACEOF
34419 #define HAVE_SSIZE_T 1
34427 ac_cpp='$CXXCPP $CPPFLAGS'
34428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34431 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34432 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34433 if test "${wx_cv_size_t_is_uint+set}" = set; then
34434 echo $ECHO_N "(cached) $ECHO_C" >&6
34437 cat >conftest.$ac_ext <<_ACEOF
34440 cat confdefs.h >>conftest.$ac_ext
34441 cat >>conftest.$ac_ext <<_ACEOF
34442 /* end confdefs.h. */
34443 #include <stddef.h>
34450 struct Foo { void foo(size_t); void foo(unsigned int); };
34458 rm -f conftest.$ac_objext
34459 if { (ac_try="$ac_compile"
34460 case "(($ac_try" in
34461 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34462 *) ac_try_echo
=$ac_try;;
34464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34465 (eval "$ac_compile") 2>conftest.er1
34467 grep -v '^ *+' conftest.er1
>conftest.err
34469 cat conftest.err
>&5
34470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34471 (exit $ac_status); } && {
34472 test -z "$ac_cxx_werror_flag" ||
34473 test ! -s conftest.err
34474 } && test -s conftest.
$ac_objext; then
34475 wx_cv_size_t_is_uint
=no
34477 echo "$as_me: failed program was:" >&5
34478 sed 's/^/| /' conftest.
$ac_ext >&5
34480 wx_cv_size_t_is_uint
=yes
34484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34488 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34489 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34491 if test "$wx_cv_size_t_is_uint" = "yes"; then
34492 cat >>confdefs.h
<<\_ACEOF
34493 #define wxSIZE_T_IS_UINT 1
34497 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34498 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34499 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34500 echo $ECHO_N "(cached) $ECHO_C" >&6
34502 cat >conftest.
$ac_ext <<_ACEOF
34505 cat confdefs.h
>>conftest.
$ac_ext
34506 cat >>conftest.
$ac_ext <<_ACEOF
34507 /* end confdefs.h. */
34508 #include <stddef.h>
34515 struct Foo { void foo(size_t); void foo(unsigned long); };
34523 rm -f conftest.
$ac_objext
34524 if { (ac_try
="$ac_compile"
34525 case "(($ac_try" in
34526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34527 *) ac_try_echo=$ac_try;;
34529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34530 (eval "$ac_compile") 2>conftest.er1
34532 grep -v '^ *+' conftest.er1 >conftest.err
34534 cat conftest.err >&5
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); } && {
34537 test -z "$ac_cxx_werror_flag" ||
34538 test ! -s conftest.err
34539 } && test -s conftest.$ac_objext; then
34540 wx_cv_size_t_is_ulong=no
34542 echo "$as_me: failed program was:" >&5
34543 sed 's/^/| /' conftest.$ac_ext >&5
34545 wx_cv_size_t_is_ulong=yes
34549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34552 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34553 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34555 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34556 cat >>confdefs.h <<\_ACEOF
34557 #define wxSIZE_T_IS_ULONG 1
34563 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34564 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34565 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34566 echo $ECHO_N "(cached) $ECHO_C" >&6
34568 cat >conftest.$ac_ext <<_ACEOF
34571 cat confdefs.h >>conftest.$ac_ext
34572 cat >>conftest.$ac_ext <<_ACEOF
34573 /* end confdefs.h. */
34581 struct Foo { void foo(wchar_t);
34582 void foo(unsigned short);
34583 void foo(unsigned int);
34584 void foo(unsigned long); };
34592 rm -f conftest.$ac_objext
34593 if { (ac_try="$ac_compile"
34594 case "(($ac_try" in
34595 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34596 *) ac_try_echo
=$ac_try;;
34598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34599 (eval "$ac_compile") 2>conftest.er1
34601 grep -v '^ *+' conftest.er1
>conftest.err
34603 cat conftest.err
>&5
34604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34605 (exit $ac_status); } && {
34606 test -z "$ac_cxx_werror_flag" ||
34607 test ! -s conftest.err
34608 } && test -s conftest.
$ac_objext; then
34609 wx_cv_wchar_t_is_separate_type
=yes
34611 echo "$as_me: failed program was:" >&5
34612 sed 's/^/| /' conftest.
$ac_ext >&5
34614 wx_cv_wchar_t_is_separate_type
=no
34618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34621 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34622 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34624 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34625 cat >>confdefs.h
<<\_ACEOF
34626 #define wxWCHAR_T_IS_REAL_TYPE 1
34630 cat >>confdefs.h
<<\_ACEOF
34631 #define wxWCHAR_T_IS_REAL_TYPE 0
34637 ac_cpp
='$CPP $CPPFLAGS'
34638 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34639 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34640 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34643 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34644 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34645 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34646 echo $ECHO_N "(cached) $ECHO_C" >&6
34649 cat >conftest.
$ac_ext <<_ACEOF
34652 cat confdefs.h
>>conftest.
$ac_ext
34653 cat >>conftest.
$ac_ext <<_ACEOF
34654 /* end confdefs.h. */
34668 rm -f conftest.
$ac_objext
34669 if { (ac_try
="$ac_compile"
34670 case "(($ac_try" in
34671 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34672 *) ac_try_echo=$ac_try;;
34674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34675 (eval "$ac_compile") 2>conftest.er1
34677 grep -v '^ *+' conftest.er1 >conftest.err
34679 cat conftest.err >&5
34680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34681 (exit $ac_status); } && {
34682 test -z "$ac_c_werror_flag" ||
34683 test ! -s conftest.err
34684 } && test -s conftest.$ac_objext; then
34686 wx_cv_struct_pw_gecos=yes
34689 echo "$as_me: failed program was:" >&5
34690 sed 's/^/| /' conftest.$ac_ext >&5
34693 wx_cv_struct_pw_gecos=no
34698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34702 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34703 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34705 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34706 cat >>confdefs.h <<\_ACEOF
34707 #define HAVE_PW_GECOS 1
34713 if test "$wxUSE_WCHAR_T" = "yes"; then
34714 cat >>confdefs.h <<\_ACEOF
34715 #define wxUSE_WCHAR_T 1
34722 for ac_func in wcslen
34724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34725 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34727 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34728 echo $ECHO_N "(cached) $ECHO_C" >&6
34730 cat >conftest.$ac_ext <<_ACEOF
34733 cat confdefs.h >>conftest.$ac_ext
34734 cat >>conftest.$ac_ext <<_ACEOF
34735 /* end confdefs.h. */
34736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34738 #define $ac_func innocuous_$ac_func
34740 /* System header to define __stub macros and hopefully few prototypes,
34741 which can conflict with char $ac_func (); below.
34742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34743 <limits.h> exists even on freestanding compilers. */
34746 # include <limits.h>
34748 # include <assert.h>
34753 /* Override any GCC internal prototype to avoid an error.
34754 Use char because int might match the return type of a GCC
34755 builtin and then its argument prototype would still apply. */
34760 /* The GNU C library defines this for functions which it implements
34761 to always fail with ENOSYS. Some functions are actually named
34762 something starting with __ and the normal name is an alias. */
34763 #if defined __stub_$ac_func || defined __stub___$ac_func
34770 return $ac_func ();
34775 rm -f conftest.$ac_objext conftest$ac_exeext
34776 if { (ac_try="$ac_link"
34777 case "(($ac_try" in
34778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34779 *) ac_try_echo
=$ac_try;;
34781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34782 (eval "$ac_link") 2>conftest.er1
34784 grep -v '^ *+' conftest.er1
>conftest.err
34786 cat conftest.err
>&5
34787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788 (exit $ac_status); } && {
34789 test -z "$ac_c_werror_flag" ||
34790 test ! -s conftest.err
34791 } && test -s conftest
$ac_exeext &&
34792 $as_test_x conftest
$ac_exeext; then
34793 eval "$as_ac_var=yes"
34795 echo "$as_me: failed program was:" >&5
34796 sed 's/^/| /' conftest.
$ac_ext >&5
34798 eval "$as_ac_var=no"
34801 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34802 conftest
$ac_exeext conftest.
$ac_ext
34804 ac_res
=`eval echo '${'$as_ac_var'}'`
34805 { echo "$as_me:$LINENO: result: $ac_res" >&5
34806 echo "${ECHO_T}$ac_res" >&6; }
34807 if test `eval echo '${'$as_ac_var'}'` = yes; then
34808 cat >>confdefs.h
<<_ACEOF
34809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34816 if test "$WCSLEN_FOUND" = 0; then
34817 if test "$TOOLKIT" = "MSW"; then
34818 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34819 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34820 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34821 echo $ECHO_N "(cached) $ECHO_C" >&6
34823 ac_check_lib_save_LIBS
=$LIBS
34824 LIBS
="-lmsvcrt $LIBS"
34825 cat >conftest.
$ac_ext <<_ACEOF
34828 cat confdefs.h
>>conftest.
$ac_ext
34829 cat >>conftest.
$ac_ext <<_ACEOF
34830 /* end confdefs.h. */
34832 /* Override any GCC internal prototype to avoid an error.
34833 Use char because int might match the return type of a GCC
34834 builtin and then its argument prototype would still apply. */
34847 rm -f conftest.
$ac_objext conftest
$ac_exeext
34848 if { (ac_try
="$ac_link"
34849 case "(($ac_try" in
34850 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34851 *) ac_try_echo=$ac_try;;
34853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34854 (eval "$ac_link") 2>conftest.er1
34856 grep -v '^ *+' conftest.er1 >conftest.err
34858 cat conftest.err >&5
34859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34860 (exit $ac_status); } && {
34861 test -z "$ac_c_werror_flag" ||
34862 test ! -s conftest.err
34863 } && test -s conftest$ac_exeext &&
34864 $as_test_x conftest$ac_exeext; then
34865 ac_cv_lib_msvcrt_wcslen=yes
34867 echo "$as_me: failed program was:" >&5
34868 sed 's/^/| /' conftest.$ac_ext >&5
34870 ac_cv_lib_msvcrt_wcslen=no
34873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34874 conftest$ac_exeext conftest.$ac_ext
34875 LIBS=$ac_check_lib_save_LIBS
34877 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34878 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34879 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34884 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34885 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34886 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34887 echo $ECHO_N "(cached) $ECHO_C" >&6
34889 ac_check_lib_save_LIBS=$LIBS
34891 cat >conftest.$ac_ext <<_ACEOF
34894 cat confdefs.h >>conftest.$ac_ext
34895 cat >>conftest.$ac_ext <<_ACEOF
34896 /* end confdefs.h. */
34898 /* Override any GCC internal prototype to avoid an error.
34899 Use char because int might match the return type of a GCC
34900 builtin and then its argument prototype would still apply. */
34913 rm -f conftest.$ac_objext conftest$ac_exeext
34914 if { (ac_try="$ac_link"
34915 case "(($ac_try" in
34916 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34917 *) ac_try_echo
=$ac_try;;
34919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34920 (eval "$ac_link") 2>conftest.er1
34922 grep -v '^ *+' conftest.er1
>conftest.err
34924 cat conftest.err
>&5
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); } && {
34927 test -z "$ac_c_werror_flag" ||
34928 test ! -s conftest.err
34929 } && test -s conftest
$ac_exeext &&
34930 $as_test_x conftest
$ac_exeext; then
34931 ac_cv_lib_w_wcslen
=yes
34933 echo "$as_me: failed program was:" >&5
34934 sed 's/^/| /' conftest.
$ac_ext >&5
34936 ac_cv_lib_w_wcslen
=no
34939 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34940 conftest
$ac_exeext conftest.
$ac_ext
34941 LIBS
=$ac_check_lib_save_LIBS
34943 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34944 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34945 if test $ac_cv_lib_w_wcslen = yes; then
34955 if test "$WCSLEN_FOUND" = 1; then
34956 cat >>confdefs.h
<<\_ACEOF
34957 #define HAVE_WCSLEN 1
34967 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
34969 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34970 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34972 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34973 echo $ECHO_N "(cached) $ECHO_C" >&6
34975 cat >conftest.
$ac_ext <<_ACEOF
34978 cat confdefs.h
>>conftest.
$ac_ext
34979 cat >>conftest.
$ac_ext <<_ACEOF
34980 /* end confdefs.h. */
34981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34983 #define $ac_func innocuous_$ac_func
34985 /* System header to define __stub macros and hopefully few prototypes,
34986 which can conflict with char $ac_func (); below.
34987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34988 <limits.h> exists even on freestanding compilers. */
34991 # include <limits.h>
34993 # include <assert.h>
34998 /* Override any GCC internal prototype to avoid an error.
34999 Use char because int might match the return type of a GCC
35000 builtin and then its argument prototype would still apply. */
35005 /* The GNU C library defines this for functions which it implements
35006 to always fail with ENOSYS. Some functions are actually named
35007 something starting with __ and the normal name is an alias. */
35008 #if defined __stub_$ac_func || defined __stub___$ac_func
35015 return $ac_func ();
35020 rm -f conftest.
$ac_objext conftest
$ac_exeext
35021 if { (ac_try
="$ac_link"
35022 case "(($ac_try" in
35023 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35024 *) ac_try_echo=$ac_try;;
35026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35027 (eval "$ac_link") 2>conftest.er1
35029 grep -v '^ *+' conftest.er1 >conftest.err
35031 cat conftest.err >&5
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); } && {
35034 test -z "$ac_c_werror_flag" ||
35035 test ! -s conftest.err
35036 } && test -s conftest$ac_exeext &&
35037 $as_test_x conftest$ac_exeext; then
35038 eval "$as_ac_var=yes"
35040 echo "$as_me: failed program was:" >&5
35041 sed 's/^/| /' conftest.$ac_ext >&5
35043 eval "$as_ac_var=no"
35046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35047 conftest$ac_exeext conftest.$ac_ext
35049 ac_res=`eval echo '${'$as_ac_var'}'`
35050 { echo "$as_me:$LINENO: result: $ac_res" >&5
35051 echo "${ECHO_T}$ac_res" >&6; }
35052 if test `eval echo '${'$as_ac_var'}'` = yes; then
35053 cat >>confdefs.h <<_ACEOF
35054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35061 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35062 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35065 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35066 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35067 if test "${ac_cv_type_mbstate_t+set}" = set; then
35068 echo $ECHO_N "(cached) $ECHO_C" >&6
35070 cat >conftest.$ac_ext <<_ACEOF
35073 cat confdefs.h >>conftest.$ac_ext
35074 cat >>conftest.$ac_ext <<_ACEOF
35075 /* end confdefs.h. */
35078 typedef mbstate_t ac__type_new_;
35082 if ((ac__type_new_ *) 0)
35084 if (sizeof (ac__type_new_))
35090 rm -f conftest.$ac_objext
35091 if { (ac_try="$ac_compile"
35092 case "(($ac_try" in
35093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35094 *) ac_try_echo
=$ac_try;;
35096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35097 (eval "$ac_compile") 2>conftest.er1
35099 grep -v '^ *+' conftest.er1
>conftest.err
35101 cat conftest.err
>&5
35102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35103 (exit $ac_status); } && {
35104 test -z "$ac_c_werror_flag" ||
35105 test ! -s conftest.err
35106 } && test -s conftest.
$ac_objext; then
35107 ac_cv_type_mbstate_t
=yes
35109 echo "$as_me: failed program was:" >&5
35110 sed 's/^/| /' conftest.
$ac_ext >&5
35112 ac_cv_type_mbstate_t
=no
35115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35117 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35118 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35119 if test $ac_cv_type_mbstate_t = yes; then
35121 cat >>confdefs.h
<<_ACEOF
35122 #define HAVE_MBSTATE_T 1
35126 for ac_func
in wcsrtombs
35128 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35129 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35131 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35132 echo $ECHO_N "(cached) $ECHO_C" >&6
35134 cat >conftest.
$ac_ext <<_ACEOF
35137 cat confdefs.h
>>conftest.
$ac_ext
35138 cat >>conftest.
$ac_ext <<_ACEOF
35139 /* end confdefs.h. */
35140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35142 #define $ac_func innocuous_$ac_func
35144 /* System header to define __stub macros and hopefully few prototypes,
35145 which can conflict with char $ac_func (); below.
35146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35147 <limits.h> exists even on freestanding compilers. */
35150 # include <limits.h>
35152 # include <assert.h>
35157 /* Override any GCC internal prototype to avoid an error.
35158 Use char because int might match the return type of a GCC
35159 builtin and then its argument prototype would still apply. */
35164 /* The GNU C library defines this for functions which it implements
35165 to always fail with ENOSYS. Some functions are actually named
35166 something starting with __ and the normal name is an alias. */
35167 #if defined __stub_$ac_func || defined __stub___$ac_func
35174 return $ac_func ();
35179 rm -f conftest.
$ac_objext conftest
$ac_exeext
35180 if { (ac_try
="$ac_link"
35181 case "(($ac_try" in
35182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35183 *) ac_try_echo=$ac_try;;
35185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35186 (eval "$ac_link") 2>conftest.er1
35188 grep -v '^ *+' conftest.er1 >conftest.err
35190 cat conftest.err >&5
35191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35192 (exit $ac_status); } && {
35193 test -z "$ac_c_werror_flag" ||
35194 test ! -s conftest.err
35195 } && test -s conftest$ac_exeext &&
35196 $as_test_x conftest$ac_exeext; then
35197 eval "$as_ac_var=yes"
35199 echo "$as_me: failed program was:" >&5
35200 sed 's/^/| /' conftest.$ac_ext >&5
35202 eval "$as_ac_var=no"
35205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35206 conftest$ac_exeext conftest.$ac_ext
35208 ac_res=`eval echo '${'$as_ac_var'}'`
35209 { echo "$as_me:$LINENO: result: $ac_res" >&5
35210 echo "${ECHO_T}$ac_res" >&6; }
35211 if test `eval echo '${'$as_ac_var'}'` = yes; then
35212 cat >>confdefs.h <<_ACEOF
35213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35222 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35223 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35229 for ac_func in snprintf vsnprintf vsscanf
35231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35232 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35234 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35235 echo $ECHO_N "(cached) $ECHO_C" >&6
35237 cat >conftest.$ac_ext <<_ACEOF
35240 cat confdefs.h >>conftest.$ac_ext
35241 cat >>conftest.$ac_ext <<_ACEOF
35242 /* end confdefs.h. */
35243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35245 #define $ac_func innocuous_$ac_func
35247 /* System header to define __stub macros and hopefully few prototypes,
35248 which can conflict with char $ac_func (); below.
35249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35250 <limits.h> exists even on freestanding compilers. */
35253 # include <limits.h>
35255 # include <assert.h>
35260 /* Override any GCC internal prototype to avoid an error.
35261 Use char because int might match the return type of a GCC
35262 builtin and then its argument prototype would still apply. */
35267 /* The GNU C library defines this for functions which it implements
35268 to always fail with ENOSYS. Some functions are actually named
35269 something starting with __ and the normal name is an alias. */
35270 #if defined __stub_$ac_func || defined __stub___$ac_func
35277 return $ac_func ();
35282 rm -f conftest.$ac_objext conftest$ac_exeext
35283 if { (ac_try="$ac_link"
35284 case "(($ac_try" in
35285 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35286 *) ac_try_echo
=$ac_try;;
35288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35289 (eval "$ac_link") 2>conftest.er1
35291 grep -v '^ *+' conftest.er1
>conftest.err
35293 cat conftest.err
>&5
35294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35295 (exit $ac_status); } && {
35296 test -z "$ac_c_werror_flag" ||
35297 test ! -s conftest.err
35298 } && test -s conftest
$ac_exeext &&
35299 $as_test_x conftest
$ac_exeext; then
35300 eval "$as_ac_var=yes"
35302 echo "$as_me: failed program was:" >&5
35303 sed 's/^/| /' conftest.
$ac_ext >&5
35305 eval "$as_ac_var=no"
35308 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35309 conftest
$ac_exeext conftest.
$ac_ext
35311 ac_res
=`eval echo '${'$as_ac_var'}'`
35312 { echo "$as_me:$LINENO: result: $ac_res" >&5
35313 echo "${ECHO_T}$ac_res" >&6; }
35314 if test `eval echo '${'$as_ac_var'}'` = yes; then
35315 cat >>confdefs.h
<<_ACEOF
35316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35324 ac_cpp
='$CXXCPP $CPPFLAGS'
35325 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35326 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35327 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35329 if test "$ac_cv_func_vsnprintf" = "yes"; then
35330 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35331 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35332 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35333 echo $ECHO_N "(cached) $ECHO_C" >&6
35336 cat >conftest.
$ac_ext <<_ACEOF
35339 cat confdefs.h
>>conftest.
$ac_ext
35340 cat >>conftest.
$ac_ext <<_ACEOF
35341 /* end confdefs.h. */
35344 #include <stdarg.h>
35346 #if __MSL__ >= 0x6000
35348 using namespace std;
35358 vsnprintf(buf, 10u, "%s", ap);
35364 rm -f conftest.
$ac_objext
35365 if { (ac_try
="$ac_compile"
35366 case "(($ac_try" in
35367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35368 *) ac_try_echo=$ac_try;;
35370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35371 (eval "$ac_compile") 2>conftest.er1
35373 grep -v '^ *+' conftest.er1 >conftest.err
35375 cat conftest.err >&5
35376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35377 (exit $ac_status); } && {
35378 test -z "$ac_cxx_werror_flag" ||
35379 test ! -s conftest.err
35380 } && test -s conftest.$ac_objext; then
35381 wx_cv_func_vsnprintf_decl=yes
35383 echo "$as_me: failed program was:" >&5
35384 sed 's/^/| /' conftest.$ac_ext >&5
35386 wx_cv_func_vsnprintf_decl=no
35390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35394 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35395 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35397 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35398 cat >>confdefs.h <<\_ACEOF
35399 #define HAVE_VSNPRINTF_DECL 1
35403 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35404 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35405 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35406 echo $ECHO_N "(cached) $ECHO_C" >&6
35409 cat >conftest.$ac_ext <<_ACEOF
35412 cat confdefs.h >>conftest.$ac_ext
35413 cat >>conftest.$ac_ext <<_ACEOF
35414 /* end confdefs.h. */
35417 #include <stdarg.h>
35419 #if __MSL__ >= 0x6000
35421 using namespace std;
35431 const char *fmt = "%s";
35432 vsnprintf(buf, 10u, fmt, ap);
35438 rm -f conftest.$ac_objext
35439 if { (ac_try="$ac_compile"
35440 case "(($ac_try" in
35441 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35442 *) ac_try_echo
=$ac_try;;
35444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35445 (eval "$ac_compile") 2>conftest.er1
35447 grep -v '^ *+' conftest.er1
>conftest.err
35449 cat conftest.err
>&5
35450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35451 (exit $ac_status); } && {
35452 test -z "$ac_cxx_werror_flag" ||
35453 test ! -s conftest.err
35454 } && test -s conftest.
$ac_objext; then
35455 wx_cv_func_broken_vsnprintf_decl
=no
35457 echo "$as_me: failed program was:" >&5
35458 sed 's/^/| /' conftest.
$ac_ext >&5
35460 wx_cv_func_broken_vsnprintf_decl
=yes
35464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35468 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35469 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35471 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35472 cat >>confdefs.h
<<\_ACEOF
35473 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35480 if test "$ac_cv_func_snprintf" = "yes"; then
35481 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35482 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35483 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35484 echo $ECHO_N "(cached) $ECHO_C" >&6
35487 cat >conftest.
$ac_ext <<_ACEOF
35490 cat confdefs.h
>>conftest.
$ac_ext
35491 cat >>conftest.
$ac_ext <<_ACEOF
35492 /* end confdefs.h. */
35495 #include <stdarg.h>
35497 #if __MSL__ >= 0x6000
35499 using namespace std;
35508 snprintf(buf, 10u, "%s", "wx");
35514 rm -f conftest.
$ac_objext
35515 if { (ac_try
="$ac_compile"
35516 case "(($ac_try" in
35517 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35518 *) ac_try_echo=$ac_try;;
35520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35521 (eval "$ac_compile") 2>conftest.er1
35523 grep -v '^ *+' conftest.er1 >conftest.err
35525 cat conftest.err >&5
35526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35527 (exit $ac_status); } && {
35528 test -z "$ac_cxx_werror_flag" ||
35529 test ! -s conftest.err
35530 } && test -s conftest.$ac_objext; then
35531 wx_cv_func_snprintf_decl=yes
35533 echo "$as_me: failed program was:" >&5
35534 sed 's/^/| /' conftest.$ac_ext >&5
35536 wx_cv_func_snprintf_decl=no
35540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35544 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35545 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35547 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35548 cat >>confdefs.h <<\_ACEOF
35549 #define HAVE_SNPRINTF_DECL 1
35554 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35556 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35557 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35558 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35559 echo $ECHO_N "(cached) $ECHO_C" >&6
35562 if test "$cross_compiling" = yes; then
35564 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35565 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35566 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35567 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35568 wx_cv_func_snprintf_pos_params=no
35572 cat >conftest.$ac_ext <<_ACEOF
35575 cat confdefs.h >>conftest.$ac_ext
35576 cat >>conftest.$ac_ext <<_ACEOF
35577 /* end confdefs.h. */
35584 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35585 if (strcmp ("2 3 1", buffer) == 0)
35591 rm -f conftest$ac_exeext
35592 if { (ac_try="$ac_link"
35593 case "(($ac_try" in
35594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35595 *) ac_try_echo
=$ac_try;;
35597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35598 (eval "$ac_link") 2>&5
35600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35601 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35602 { (case "(($ac_try" in
35603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35604 *) ac_try_echo=$ac_try;;
35606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35607 (eval "$ac_try") 2>&5
35609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35610 (exit $ac_status); }; }; then
35611 wx_cv_func_snprintf_pos_params=no
35613 echo "$as_me: program exited with status $ac_status" >&5
35614 echo "$as_me: failed program was:" >&5
35615 sed 's/^/| /' conftest.$ac_ext >&5
35617 ( exit $ac_status )
35618 wx_cv_func_snprintf_pos_params=yes
35620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35627 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35628 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35630 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35631 cat >>confdefs.h <<\_ACEOF
35632 #define HAVE_UNIX98_PRINTF 1
35639 if test "$ac_cv_func_vsscanf" = "yes"; then
35640 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35641 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35642 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35643 echo $ECHO_N "(cached) $ECHO_C" >&6
35646 cat >conftest.$ac_ext <<_ACEOF
35649 cat confdefs.h >>conftest.$ac_ext
35650 cat >>conftest.$ac_ext <<_ACEOF
35651 /* end confdefs.h. */
35654 #include <stdarg.h>
35656 #if __MSL__ >= 0x6000
35658 using namespace std;
35668 vsscanf(buf, "%s", args);
35674 rm -f conftest.$ac_objext
35675 if { (ac_try="$ac_compile"
35676 case "(($ac_try" in
35677 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35678 *) ac_try_echo
=$ac_try;;
35680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35681 (eval "$ac_compile") 2>conftest.er1
35683 grep -v '^ *+' conftest.er1
>conftest.err
35685 cat conftest.err
>&5
35686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35687 (exit $ac_status); } && {
35688 test -z "$ac_cxx_werror_flag" ||
35689 test ! -s conftest.err
35690 } && test -s conftest.
$ac_objext; then
35691 wx_cv_func_vsscanf_decl
=yes
35693 echo "$as_me: failed program was:" >&5
35694 sed 's/^/| /' conftest.
$ac_ext >&5
35696 wx_cv_func_vsscanf_decl
=no
35700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35704 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35705 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35707 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35708 cat >>confdefs.h
<<\_ACEOF
35709 #define HAVE_VSSCANF_DECL 1
35715 ac_cpp
='$CPP $CPPFLAGS'
35716 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35717 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35718 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35721 if test "$wxUSE_UNICODE" = yes; then
35723 wchar_headers
="#include <stdio.h>
35724 #include <wchar.h>"
35728 for ac_header
in widec.h
35730 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35731 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35733 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35734 echo $ECHO_N "(cached) $ECHO_C" >&6
35736 cat >conftest.
$ac_ext <<_ACEOF
35739 cat confdefs.h
>>conftest.
$ac_ext
35740 cat >>conftest.
$ac_ext <<_ACEOF
35741 /* end confdefs.h. */
35742 $ac_includes_default
35744 #include <$ac_header>
35746 rm -f conftest.
$ac_objext
35747 if { (ac_try
="$ac_compile"
35748 case "(($ac_try" in
35749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35750 *) ac_try_echo=$ac_try;;
35752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35753 (eval "$ac_compile") 2>conftest.er1
35755 grep -v '^ *+' conftest.er1 >conftest.err
35757 cat conftest.err >&5
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); } && {
35760 test -z "$ac_c_werror_flag" ||
35761 test ! -s conftest.err
35762 } && test -s conftest.$ac_objext; then
35763 eval "$as_ac_Header=yes"
35765 echo "$as_me: failed program was:" >&5
35766 sed 's/^/| /' conftest.$ac_ext >&5
35768 eval "$as_ac_Header=no"
35771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35773 ac_res=`eval echo '${'$as_ac_Header'}'`
35774 { echo "$as_me:$LINENO: result: $ac_res" >&5
35775 echo "${ECHO_T}$ac_res" >&6; }
35776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35777 cat >>confdefs.h <<_ACEOF
35778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35785 if test "$ac_cv_header_widec_h" = "yes"; then
35786 wchar_headers="$wchar_headers
35787 #include <widec.h>"
35792 for wx_func in putws fputws wprintf vswprintf vswscanf
35794 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35795 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35796 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35797 echo $ECHO_N "(cached) $ECHO_C" >&6
35800 cat >conftest.$ac_ext <<_ACEOF
35804 cat confdefs.h >>conftest.$ac_ext
35805 cat >>conftest.$ac_ext <<_ACEOF
35806 /* end confdefs.h. */
35809 $ac_includes_default
35825 rm -f conftest.$ac_objext conftest$ac_exeext
35826 if { (ac_try="$ac_link"
35827 case "(($ac_try" in
35828 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35829 *) ac_try_echo
=$ac_try;;
35831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35832 (eval "$ac_link") 2>conftest.er1
35834 grep -v '^ *+' conftest.er1
>conftest.err
35836 cat conftest.err
>&5
35837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35838 (exit $ac_status); } && {
35839 test -z "$ac_c_werror_flag" ||
35840 test ! -s conftest.err
35841 } && test -s conftest
$ac_exeext &&
35842 $as_test_x conftest
$ac_exeext; then
35843 eval wx_cv_func_
$wx_func=yes
35845 echo "$as_me: failed program was:" >&5
35846 sed 's/^/| /' conftest.
$ac_ext >&5
35848 eval wx_cv_func_
$wx_func=no
35851 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35852 conftest
$ac_exeext conftest.
$ac_ext
35855 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35856 { echo "$as_me:$LINENO: result: $ac_res" >&5
35857 echo "${ECHO_T}$ac_res" >&6; }
35859 if eval test \
$wx_cv_func_$wx_func = yes
35861 cat >>confdefs.h
<<_ACEOF
35862 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35873 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35874 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35875 cat >conftest.
$ac_ext <<_ACEOF
35878 cat confdefs.h
>>conftest.
$ac_ext
35879 cat >>conftest.
$ac_ext <<_ACEOF
35880 /* end confdefs.h. */
35890 rm -f conftest.
$ac_objext
35891 if { (ac_try
="$ac_compile"
35892 case "(($ac_try" in
35893 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35894 *) ac_try_echo=$ac_try;;
35896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35897 (eval "$ac_compile") 2>conftest.er1
35899 grep -v '^ *+' conftest.er1 >conftest.err
35901 cat conftest.err >&5
35902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35903 (exit $ac_status); } && {
35904 test -z "$ac_c_werror_flag" ||
35905 test ! -s conftest.err
35906 } && test -s conftest.$ac_objext; then
35907 { echo "$as_me:$LINENO: result: yes" >&5
35908 echo "${ECHO_T}yes" >&6; }
35909 cat >>confdefs.h <<\_ACEOF
35910 #define HAVE__VSNWPRINTF 1
35914 echo "$as_me: failed program was:" >&5
35915 sed 's/^/| /' conftest.$ac_ext >&5
35917 { echo "$as_me:$LINENO: result: no" >&5
35918 echo "${ECHO_T}no" >&6; }
35921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35924 if test "$wxUSE_FILE" = "yes"; then
35926 for wx_func in fsync
35928 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35929 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35930 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35931 echo $ECHO_N "(cached) $ECHO_C" >&6
35934 cat >conftest.$ac_ext <<_ACEOF
35938 cat confdefs.h >>conftest.$ac_ext
35939 cat >>conftest.$ac_ext <<_ACEOF
35940 /* end confdefs.h. */
35943 $ac_includes_default
35959 rm -f conftest.$ac_objext conftest$ac_exeext
35960 if { (ac_try="$ac_link"
35961 case "(($ac_try" in
35962 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35963 *) ac_try_echo
=$ac_try;;
35965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35966 (eval "$ac_link") 2>conftest.er1
35968 grep -v '^ *+' conftest.er1
>conftest.err
35970 cat conftest.err
>&5
35971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35972 (exit $ac_status); } && {
35973 test -z "$ac_c_werror_flag" ||
35974 test ! -s conftest.err
35975 } && test -s conftest
$ac_exeext &&
35976 $as_test_x conftest
$ac_exeext; then
35977 eval wx_cv_func_
$wx_func=yes
35979 echo "$as_me: failed program was:" >&5
35980 sed 's/^/| /' conftest.
$ac_ext >&5
35982 eval wx_cv_func_
$wx_func=no
35985 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35986 conftest
$ac_exeext conftest.
$ac_ext
35989 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35990 { echo "$as_me:$LINENO: result: $ac_res" >&5
35991 echo "${ECHO_T}$ac_res" >&6; }
35993 if eval test \
$wx_cv_func_$wx_func = yes
35995 cat >>confdefs.h
<<_ACEOF
35996 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36009 ac_cpp
='$CXXCPP $CPPFLAGS'
36010 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36011 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36012 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36015 for wx_func
in round
36017 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36018 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36019 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36020 echo $ECHO_N "(cached) $ECHO_C" >&6
36023 cat >conftest.
$ac_ext <<_ACEOF
36027 cat confdefs.h
>>conftest.
$ac_ext
36028 cat >>conftest.
$ac_ext <<_ACEOF
36029 /* end confdefs.h. */
36032 $ac_includes_default
36048 rm -f conftest.
$ac_objext conftest
$ac_exeext
36049 if { (ac_try
="$ac_link"
36050 case "(($ac_try" in
36051 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36052 *) ac_try_echo=$ac_try;;
36054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36055 (eval "$ac_link") 2>conftest.er1
36057 grep -v '^ *+' conftest.er1 >conftest.err
36059 cat conftest.err >&5
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); } && {
36062 test -z "$ac_cxx_werror_flag" ||
36063 test ! -s conftest.err
36064 } && test -s conftest$ac_exeext &&
36065 $as_test_x conftest$ac_exeext; then
36066 eval wx_cv_func_$wx_func=yes
36068 echo "$as_me: failed program was:" >&5
36069 sed 's/^/| /' conftest.$ac_ext >&5
36071 eval wx_cv_func_$wx_func=no
36074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36075 conftest$ac_exeext conftest.$ac_ext
36078 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36079 { echo "$as_me:$LINENO: result: $ac_res" >&5
36080 echo "${ECHO_T}$ac_res" >&6; }
36082 if eval test \$wx_cv_func_$wx_func = yes
36084 cat >>confdefs.h <<_ACEOF
36085 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36096 ac_cpp='$CPP $CPPFLAGS'
36097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36102 if test "$TOOLKIT" != "MSW"; then
36104 if test "$wxUSE_LIBICONV" != "no" ; then
36108 # Check whether --with-libiconv-prefix was given.
36109 if test "${with_libiconv_prefix+set}" = set; then
36110 withval=$with_libiconv_prefix;
36111 for dir in `echo "$withval" | tr : ' '`; do
36112 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36113 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36119 { echo "$as_me:$LINENO: checking for iconv" >&5
36120 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36121 if test "${am_cv_func_iconv+set}" = set; then
36122 echo $ECHO_N "(cached) $ECHO_C" >&6
36125 am_cv_func_iconv="no, consider installing GNU libiconv"
36127 cat >conftest.$ac_ext <<_ACEOF
36130 cat confdefs.h >>conftest.$ac_ext
36131 cat >>conftest.$ac_ext <<_ACEOF
36132 /* end confdefs.h. */
36133 #include <stdlib.h>
36138 iconv_t cd = iconv_open("","");
36139 iconv(cd,NULL,NULL,NULL,NULL);
36145 rm -f conftest.$ac_objext conftest$ac_exeext
36146 if { (ac_try="$ac_link"
36147 case "(($ac_try" in
36148 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36149 *) ac_try_echo
=$ac_try;;
36151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36152 (eval "$ac_link") 2>conftest.er1
36154 grep -v '^ *+' conftest.er1
>conftest.err
36156 cat conftest.err
>&5
36157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36158 (exit $ac_status); } && {
36159 test -z "$ac_c_werror_flag" ||
36160 test ! -s conftest.err
36161 } && test -s conftest
$ac_exeext &&
36162 $as_test_x conftest
$ac_exeext; then
36163 am_cv_func_iconv
=yes
36165 echo "$as_me: failed program was:" >&5
36166 sed 's/^/| /' conftest.
$ac_ext >&5
36171 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36172 conftest
$ac_exeext conftest.
$ac_ext
36173 if test "$am_cv_func_iconv" != yes; then
36174 am_save_LIBS
="$LIBS"
36175 LIBS
="$LIBS -liconv"
36176 cat >conftest.
$ac_ext <<_ACEOF
36179 cat confdefs.h
>>conftest.
$ac_ext
36180 cat >>conftest.
$ac_ext <<_ACEOF
36181 /* end confdefs.h. */
36182 #include <stdlib.h>
36187 iconv_t cd = iconv_open("","");
36188 iconv(cd,NULL,NULL,NULL,NULL);
36194 rm -f conftest.
$ac_objext conftest
$ac_exeext
36195 if { (ac_try
="$ac_link"
36196 case "(($ac_try" in
36197 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36198 *) ac_try_echo=$ac_try;;
36200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36201 (eval "$ac_link") 2>conftest.er1
36203 grep -v '^ *+' conftest.er1 >conftest.err
36205 cat conftest.err >&5
36206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36207 (exit $ac_status); } && {
36208 test -z "$ac_c_werror_flag" ||
36209 test ! -s conftest.err
36210 } && test -s conftest$ac_exeext &&
36211 $as_test_x conftest$ac_exeext; then
36212 am_cv_lib_iconv=yes
36213 am_cv_func_iconv=yes
36215 echo "$as_me: failed program was:" >&5
36216 sed 's/^/| /' conftest.$ac_ext >&5
36221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36222 conftest$ac_exeext conftest.$ac_ext
36223 LIBS="$am_save_LIBS"
36227 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36228 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36229 if test "$am_cv_func_iconv" = yes; then
36231 cat >>confdefs.h <<\_ACEOF
36232 #define HAVE_ICONV 1
36235 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36236 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36237 if test "${wx_cv_func_iconv_const+set}" = set; then
36238 echo $ECHO_N "(cached) $ECHO_C" >&6
36240 cat >conftest.$ac_ext <<_ACEOF
36243 cat confdefs.h >>conftest.$ac_ext
36244 cat >>conftest.$ac_ext <<_ACEOF
36245 /* end confdefs.h. */
36247 #include <stdlib.h>
36253 #if defined(__STDC__) || defined(__cplusplus)
36254 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36267 rm -f conftest.$ac_objext
36268 if { (ac_try="$ac_compile"
36269 case "(($ac_try" in
36270 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36271 *) ac_try_echo
=$ac_try;;
36273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36274 (eval "$ac_compile") 2>conftest.er1
36276 grep -v '^ *+' conftest.er1
>conftest.err
36278 cat conftest.err
>&5
36279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36280 (exit $ac_status); } && {
36281 test -z "$ac_c_werror_flag" ||
36282 test ! -s conftest.err
36283 } && test -s conftest.
$ac_objext; then
36284 wx_cv_func_iconv_const
="no"
36286 echo "$as_me: failed program was:" >&5
36287 sed 's/^/| /' conftest.
$ac_ext >&5
36289 wx_cv_func_iconv_const
="yes"
36293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36296 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36297 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36300 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36301 iconv_const
="const"
36305 cat >>confdefs.h
<<_ACEOF
36306 #define ICONV_CONST $iconv_const
36311 if test "$am_cv_lib_iconv" = yes; then
36316 LIBS
="$LIBICONV $LIBS"
36319 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36321 for ac_func
in sigaction
36323 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36324 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36326 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36327 echo $ECHO_N "(cached) $ECHO_C" >&6
36329 cat >conftest.
$ac_ext <<_ACEOF
36332 cat confdefs.h
>>conftest.
$ac_ext
36333 cat >>conftest.
$ac_ext <<_ACEOF
36334 /* end confdefs.h. */
36335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36337 #define $ac_func innocuous_$ac_func
36339 /* System header to define __stub macros and hopefully few prototypes,
36340 which can conflict with char $ac_func (); below.
36341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36342 <limits.h> exists even on freestanding compilers. */
36345 # include <limits.h>
36347 # include <assert.h>
36352 /* Override any GCC internal prototype to avoid an error.
36353 Use char because int might match the return type of a GCC
36354 builtin and then its argument prototype would still apply. */
36359 /* The GNU C library defines this for functions which it implements
36360 to always fail with ENOSYS. Some functions are actually named
36361 something starting with __ and the normal name is an alias. */
36362 #if defined __stub_$ac_func || defined __stub___$ac_func
36369 return $ac_func ();
36374 rm -f conftest.
$ac_objext conftest
$ac_exeext
36375 if { (ac_try
="$ac_link"
36376 case "(($ac_try" in
36377 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36378 *) ac_try_echo=$ac_try;;
36380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36381 (eval "$ac_link") 2>conftest.er1
36383 grep -v '^ *+' conftest.er1 >conftest.err
36385 cat conftest.err >&5
36386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36387 (exit $ac_status); } && {
36388 test -z "$ac_c_werror_flag" ||
36389 test ! -s conftest.err
36390 } && test -s conftest$ac_exeext &&
36391 $as_test_x conftest$ac_exeext; then
36392 eval "$as_ac_var=yes"
36394 echo "$as_me: failed program was:" >&5
36395 sed 's/^/| /' conftest.$ac_ext >&5
36397 eval "$as_ac_var=no"
36400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36401 conftest$ac_exeext conftest.$ac_ext
36403 ac_res=`eval echo '${'$as_ac_var'}'`
36404 { echo "$as_me:$LINENO: result: $ac_res" >&5
36405 echo "${ECHO_T}$ac_res" >&6; }
36406 if test `eval echo '${'$as_ac_var'}'` = yes; then
36407 cat >>confdefs.h <<_ACEOF
36408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36415 if test "$ac_cv_func_sigaction" = "no"; then
36416 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36417 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36418 wxUSE_ON_FATAL_EXCEPTION=no
36421 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36422 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36423 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36424 if test "${wx_cv_type_sa_handler+set}" = set; then
36425 echo $ECHO_N "(cached) $ECHO_C" >&6
36429 ac_cpp='$CXXCPP $CPPFLAGS'
36430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36434 cat >conftest.$ac_ext <<_ACEOF
36437 cat confdefs.h >>conftest.$ac_ext
36438 cat >>conftest.$ac_ext <<_ACEOF
36439 /* end confdefs.h. */
36440 #include <signal.h>
36445 extern void testSigHandler(int);
36447 struct sigaction sa;
36448 sa.sa_handler = testSigHandler;
36454 rm -f conftest.$ac_objext
36455 if { (ac_try="$ac_compile"
36456 case "(($ac_try" in
36457 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36458 *) ac_try_echo
=$ac_try;;
36460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36461 (eval "$ac_compile") 2>conftest.er1
36463 grep -v '^ *+' conftest.er1
>conftest.err
36465 cat conftest.err
>&5
36466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36467 (exit $ac_status); } && {
36468 test -z "$ac_cxx_werror_flag" ||
36469 test ! -s conftest.err
36470 } && test -s conftest.
$ac_objext; then
36472 wx_cv_type_sa_handler
=int
36475 echo "$as_me: failed program was:" >&5
36476 sed 's/^/| /' conftest.
$ac_ext >&5
36479 wx_cv_type_sa_handler
=void
36483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36485 ac_cpp
='$CPP $CPPFLAGS'
36486 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36487 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36488 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36492 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36493 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36495 cat >>confdefs.h
<<_ACEOF
36496 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36502 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36503 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36504 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36505 if test "${wx_cv_func_backtrace+set}" = set; then
36506 echo $ECHO_N "(cached) $ECHO_C" >&6
36510 ac_cpp
='$CXXCPP $CPPFLAGS'
36511 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36512 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36513 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36515 cat >conftest.
$ac_ext <<_ACEOF
36518 cat confdefs.h
>>conftest.
$ac_ext
36519 cat >>conftest.
$ac_ext <<_ACEOF
36520 /* end confdefs.h. */
36521 #include <execinfo.h>
36529 backtrace(trace, 1);
36530 messages = backtrace_symbols(trace, 1);
36536 rm -f conftest.
$ac_objext
36537 if { (ac_try
="$ac_compile"
36538 case "(($ac_try" in
36539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36540 *) ac_try_echo=$ac_try;;
36542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36543 (eval "$ac_compile") 2>conftest.er1
36545 grep -v '^ *+' conftest.er1 >conftest.err
36547 cat conftest.err >&5
36548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36549 (exit $ac_status); } && {
36550 test -z "$ac_cxx_werror_flag" ||
36551 test ! -s conftest.err
36552 } && test -s conftest.$ac_objext; then
36553 wx_cv_func_backtrace=yes
36555 echo "$as_me: failed program was:" >&5
36556 sed 's/^/| /' conftest.$ac_ext >&5
36558 wx_cv_func_backtrace=no
36562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36564 ac_cpp='$CPP $CPPFLAGS'
36565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36572 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36573 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36576 if test "$wx_cv_func_backtrace" = "no"; then
36577 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36578 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36579 wxUSE_STACKWALKER=no
36581 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36582 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36583 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36584 echo $ECHO_N "(cached) $ECHO_C" >&6
36588 ac_cpp='$CXXCPP $CPPFLAGS'
36589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36593 cat >conftest.$ac_ext <<_ACEOF
36596 cat confdefs.h >>conftest.$ac_ext
36597 cat >>conftest.$ac_ext <<_ACEOF
36598 /* end confdefs.h. */
36599 #include <cxxabi.h>
36605 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36611 rm -f conftest.$ac_objext conftest$ac_exeext
36612 if { (ac_try="$ac_link"
36613 case "(($ac_try" in
36614 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36615 *) ac_try_echo
=$ac_try;;
36617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36618 (eval "$ac_link") 2>conftest.er1
36620 grep -v '^ *+' conftest.er1
>conftest.err
36622 cat conftest.err
>&5
36623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36624 (exit $ac_status); } && {
36625 test -z "$ac_cxx_werror_flag" ||
36626 test ! -s conftest.err
36627 } && test -s conftest
$ac_exeext &&
36628 $as_test_x conftest
$ac_exeext; then
36629 wx_cv_func_cxa_demangle
=yes
36631 echo "$as_me: failed program was:" >&5
36632 sed 's/^/| /' conftest.
$ac_ext >&5
36634 wx_cv_func_cxa_demangle
=no
36638 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36639 conftest
$ac_exeext conftest.
$ac_ext
36641 ac_cpp
='$CPP $CPPFLAGS'
36642 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36643 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36644 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36649 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36650 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36652 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36653 cat >>confdefs.h
<<\_ACEOF
36654 #define HAVE_CXA_DEMANGLE 1
36661 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36662 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36663 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36664 wxUSE_STACKWALKER
=no
36670 for ac_func
in mkstemp mktemp
36672 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36673 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36675 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36676 echo $ECHO_N "(cached) $ECHO_C" >&6
36678 cat >conftest.
$ac_ext <<_ACEOF
36681 cat confdefs.h
>>conftest.
$ac_ext
36682 cat >>conftest.
$ac_ext <<_ACEOF
36683 /* end confdefs.h. */
36684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36686 #define $ac_func innocuous_$ac_func
36688 /* System header to define __stub macros and hopefully few prototypes,
36689 which can conflict with char $ac_func (); below.
36690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36691 <limits.h> exists even on freestanding compilers. */
36694 # include <limits.h>
36696 # include <assert.h>
36701 /* Override any GCC internal prototype to avoid an error.
36702 Use char because int might match the return type of a GCC
36703 builtin and then its argument prototype would still apply. */
36708 /* The GNU C library defines this for functions which it implements
36709 to always fail with ENOSYS. Some functions are actually named
36710 something starting with __ and the normal name is an alias. */
36711 #if defined __stub_$ac_func || defined __stub___$ac_func
36718 return $ac_func ();
36723 rm -f conftest.
$ac_objext conftest
$ac_exeext
36724 if { (ac_try
="$ac_link"
36725 case "(($ac_try" in
36726 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36727 *) ac_try_echo=$ac_try;;
36729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36730 (eval "$ac_link") 2>conftest.er1
36732 grep -v '^ *+' conftest.er1 >conftest.err
36734 cat conftest.err >&5
36735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36736 (exit $ac_status); } && {
36737 test -z "$ac_c_werror_flag" ||
36738 test ! -s conftest.err
36739 } && test -s conftest$ac_exeext &&
36740 $as_test_x conftest$ac_exeext; then
36741 eval "$as_ac_var=yes"
36743 echo "$as_me: failed program was:" >&5
36744 sed 's/^/| /' conftest.$ac_ext >&5
36746 eval "$as_ac_var=no"
36749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36750 conftest$ac_exeext conftest.$ac_ext
36752 ac_res=`eval echo '${'$as_ac_var'}'`
36753 { echo "$as_me:$LINENO: result: $ac_res" >&5
36754 echo "${ECHO_T}$ac_res" >&6; }
36755 if test `eval echo '${'$as_ac_var'}'` = yes; then
36756 cat >>confdefs.h <<_ACEOF
36757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36764 { echo "$as_me:$LINENO: checking for statfs" >&5
36765 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36766 if test "${wx_cv_func_statfs+set}" = set; then
36767 echo $ECHO_N "(cached) $ECHO_C" >&6
36769 cat >conftest.$ac_ext <<_ACEOF
36772 cat confdefs.h >>conftest.$ac_ext
36773 cat >>conftest.$ac_ext <<_ACEOF
36774 /* end confdefs.h. */
36776 #if defined(__BSD__)
36777 #include <sys/param.h>
36778 #include <sys/mount.h>
36780 #include <sys/vfs.h>
36798 rm -f conftest.$ac_objext
36799 if { (ac_try="$ac_compile"
36800 case "(($ac_try" in
36801 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36802 *) ac_try_echo
=$ac_try;;
36804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36805 (eval "$ac_compile") 2>conftest.er1
36807 grep -v '^ *+' conftest.er1
>conftest.err
36809 cat conftest.err
>&5
36810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811 (exit $ac_status); } && {
36812 test -z "$ac_c_werror_flag" ||
36813 test ! -s conftest.err
36814 } && test -s conftest.
$ac_objext; then
36815 wx_cv_func_statfs
=yes
36817 echo "$as_me: failed program was:" >&5
36818 sed 's/^/| /' conftest.
$ac_ext >&5
36820 wx_cv_func_statfs
=no
36824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36827 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36828 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36830 if test "$wx_cv_func_statfs" = "yes"; then
36831 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36832 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36833 if test "${wx_cv_func_statfs_decl+set}" = set; then
36834 echo $ECHO_N "(cached) $ECHO_C" >&6
36837 ac_cpp
='$CXXCPP $CPPFLAGS'
36838 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36839 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36840 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36842 cat >conftest.
$ac_ext <<_ACEOF
36845 cat confdefs.h
>>conftest.
$ac_ext
36846 cat >>conftest.
$ac_ext <<_ACEOF
36847 /* end confdefs.h. */
36849 #if defined(__BSD__)
36850 #include <sys/param.h>
36851 #include <sys/mount.h>
36853 #include <sys/vfs.h>
36867 rm -f conftest.
$ac_objext
36868 if { (ac_try
="$ac_compile"
36869 case "(($ac_try" in
36870 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36871 *) ac_try_echo=$ac_try;;
36873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36874 (eval "$ac_compile") 2>conftest.er1
36876 grep -v '^ *+' conftest.er1 >conftest.err
36878 cat conftest.err >&5
36879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36880 (exit $ac_status); } && {
36881 test -z "$ac_cxx_werror_flag" ||
36882 test ! -s conftest.err
36883 } && test -s conftest.$ac_objext; then
36884 wx_cv_func_statfs_decl=yes
36886 echo "$as_me: failed program was:" >&5
36887 sed 's/^/| /' conftest.$ac_ext >&5
36889 wx_cv_func_statfs_decl=no
36893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36895 ac_cpp='$CPP $CPPFLAGS'
36896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36902 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36903 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36905 if test "$wx_cv_func_statfs_decl" = "yes"; then
36906 cat >>confdefs.h <<\_ACEOF
36907 #define HAVE_STATFS_DECL 1
36912 wx_cv_type_statvfs_t="struct statfs"
36913 cat >>confdefs.h <<\_ACEOF
36914 #define HAVE_STATFS 1
36918 { echo "$as_me:$LINENO: checking for statvfs" >&5
36919 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36920 if test "${wx_cv_func_statvfs+set}" = set; then
36921 echo $ECHO_N "(cached) $ECHO_C" >&6
36923 cat >conftest.$ac_ext <<_ACEOF
36926 cat confdefs.h >>conftest.$ac_ext
36927 cat >>conftest.$ac_ext <<_ACEOF
36928 /* end confdefs.h. */
36930 #include <stddef.h>
36931 #include <sys/statvfs.h>
36937 statvfs("/", NULL);
36943 rm -f conftest.$ac_objext
36944 if { (ac_try="$ac_compile"
36945 case "(($ac_try" in
36946 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36947 *) ac_try_echo
=$ac_try;;
36949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36950 (eval "$ac_compile") 2>conftest.er1
36952 grep -v '^ *+' conftest.er1
>conftest.err
36954 cat conftest.err
>&5
36955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36956 (exit $ac_status); } && {
36957 test -z "$ac_c_werror_flag" ||
36958 test ! -s conftest.err
36959 } && test -s conftest.
$ac_objext; then
36960 wx_cv_func_statvfs
=yes
36962 echo "$as_me: failed program was:" >&5
36963 sed 's/^/| /' conftest.
$ac_ext >&5
36965 wx_cv_func_statvfs
=no
36969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36972 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36973 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36975 if test "$wx_cv_func_statvfs" = "yes"; then
36976 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36977 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36978 if test "${wx_cv_type_statvfs_t+set}" = set; then
36979 echo $ECHO_N "(cached) $ECHO_C" >&6
36982 ac_cpp
='$CXXCPP $CPPFLAGS'
36983 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36984 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36985 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36987 cat >conftest.
$ac_ext <<_ACEOF
36990 cat confdefs.h
>>conftest.
$ac_ext
36991 cat >>conftest.
$ac_ext <<_ACEOF
36992 /* end confdefs.h. */
36994 #include <sys/statvfs.h>
37011 rm -f conftest.
$ac_objext
37012 if { (ac_try
="$ac_compile"
37013 case "(($ac_try" in
37014 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37015 *) ac_try_echo=$ac_try;;
37017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37018 (eval "$ac_compile") 2>conftest.er1
37020 grep -v '^ *+' conftest.er1 >conftest.err
37022 cat conftest.err >&5
37023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37024 (exit $ac_status); } && {
37025 test -z "$ac_cxx_werror_flag" ||
37026 test ! -s conftest.err
37027 } && test -s conftest.$ac_objext; then
37028 wx_cv_type_statvfs_t=statvfs_t
37030 echo "$as_me: failed program was:" >&5
37031 sed 's/^/| /' conftest.$ac_ext >&5
37034 cat >conftest.$ac_ext <<_ACEOF
37037 cat confdefs.h >>conftest.$ac_ext
37038 cat >>conftest.$ac_ext <<_ACEOF
37039 /* end confdefs.h. */
37041 #include <sys/statvfs.h>
37058 rm -f conftest.$ac_objext
37059 if { (ac_try="$ac_compile"
37060 case "(($ac_try" in
37061 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37062 *) ac_try_echo
=$ac_try;;
37064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37065 (eval "$ac_compile") 2>conftest.er1
37067 grep -v '^ *+' conftest.er1
>conftest.err
37069 cat conftest.err
>&5
37070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37071 (exit $ac_status); } && {
37072 test -z "$ac_cxx_werror_flag" ||
37073 test ! -s conftest.err
37074 } && test -s conftest.
$ac_objext; then
37075 wx_cv_type_statvfs_t
="struct statvfs"
37077 echo "$as_me: failed program was:" >&5
37078 sed 's/^/| /' conftest.
$ac_ext >&5
37080 wx_cv_type_statvfs_t
="unknown"
37084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37091 ac_cpp
='$CPP $CPPFLAGS'
37092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37098 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37099 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37101 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37102 cat >>confdefs.h
<<\_ACEOF
37103 #define HAVE_STATVFS 1
37108 wx_cv_type_statvfs_t
="unknown"
37112 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37113 cat >>confdefs.h
<<_ACEOF
37114 #define WX_STATFS_T $wx_cv_type_statvfs_t
37118 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37119 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37122 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37125 for ac_func
in fcntl flock
37127 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37130 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37131 echo $ECHO_N "(cached) $ECHO_C" >&6
37133 cat >conftest.
$ac_ext <<_ACEOF
37136 cat confdefs.h
>>conftest.
$ac_ext
37137 cat >>conftest.
$ac_ext <<_ACEOF
37138 /* end confdefs.h. */
37139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37141 #define $ac_func innocuous_$ac_func
37143 /* System header to define __stub macros and hopefully few prototypes,
37144 which can conflict with char $ac_func (); below.
37145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37146 <limits.h> exists even on freestanding compilers. */
37149 # include <limits.h>
37151 # include <assert.h>
37156 /* Override any GCC internal prototype to avoid an error.
37157 Use char because int might match the return type of a GCC
37158 builtin and then its argument prototype would still apply. */
37163 /* The GNU C library defines this for functions which it implements
37164 to always fail with ENOSYS. Some functions are actually named
37165 something starting with __ and the normal name is an alias. */
37166 #if defined __stub_$ac_func || defined __stub___$ac_func
37173 return $ac_func ();
37178 rm -f conftest.
$ac_objext conftest
$ac_exeext
37179 if { (ac_try
="$ac_link"
37180 case "(($ac_try" in
37181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37182 *) ac_try_echo=$ac_try;;
37184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37185 (eval "$ac_link") 2>conftest.er1
37187 grep -v '^ *+' conftest.er1 >conftest.err
37189 cat conftest.err >&5
37190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37191 (exit $ac_status); } && {
37192 test -z "$ac_c_werror_flag" ||
37193 test ! -s conftest.err
37194 } && test -s conftest$ac_exeext &&
37195 $as_test_x conftest$ac_exeext; then
37196 eval "$as_ac_var=yes"
37198 echo "$as_me: failed program was:" >&5
37199 sed 's/^/| /' conftest.$ac_ext >&5
37201 eval "$as_ac_var=no"
37204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37205 conftest$ac_exeext conftest.$ac_ext
37207 ac_res=`eval echo '${'$as_ac_var'}'`
37208 { echo "$as_me:$LINENO: result: $ac_res" >&5
37209 echo "${ECHO_T}$ac_res" >&6; }
37210 if test `eval echo '${'$as_ac_var'}'` = yes; then
37211 cat >>confdefs.h <<_ACEOF
37212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37219 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37220 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37221 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37222 wxUSE_SNGLINST_CHECKER=no
37228 for ac_func in setenv putenv
37230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37231 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37233 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37234 echo $ECHO_N "(cached) $ECHO_C" >&6
37236 cat >conftest.$ac_ext <<_ACEOF
37239 cat confdefs.h >>conftest.$ac_ext
37240 cat >>conftest.$ac_ext <<_ACEOF
37241 /* end confdefs.h. */
37242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37244 #define $ac_func innocuous_$ac_func
37246 /* System header to define __stub macros and hopefully few prototypes,
37247 which can conflict with char $ac_func (); below.
37248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37249 <limits.h> exists even on freestanding compilers. */
37252 # include <limits.h>
37254 # include <assert.h>
37259 /* Override any GCC internal prototype to avoid an error.
37260 Use char because int might match the return type of a GCC
37261 builtin and then its argument prototype would still apply. */
37266 /* The GNU C library defines this for functions which it implements
37267 to always fail with ENOSYS. Some functions are actually named
37268 something starting with __ and the normal name is an alias. */
37269 #if defined __stub_$ac_func || defined __stub___$ac_func
37276 return $ac_func ();
37281 rm -f conftest.$ac_objext conftest$ac_exeext
37282 if { (ac_try="$ac_link"
37283 case "(($ac_try" in
37284 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37285 *) ac_try_echo
=$ac_try;;
37287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37288 (eval "$ac_link") 2>conftest.er1
37290 grep -v '^ *+' conftest.er1
>conftest.err
37292 cat conftest.err
>&5
37293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37294 (exit $ac_status); } && {
37295 test -z "$ac_c_werror_flag" ||
37296 test ! -s conftest.err
37297 } && test -s conftest
$ac_exeext &&
37298 $as_test_x conftest
$ac_exeext; then
37299 eval "$as_ac_var=yes"
37301 echo "$as_me: failed program was:" >&5
37302 sed 's/^/| /' conftest.
$ac_ext >&5
37304 eval "$as_ac_var=no"
37307 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37308 conftest
$ac_exeext conftest.
$ac_ext
37310 ac_res
=`eval echo '${'$as_ac_var'}'`
37311 { echo "$as_me:$LINENO: result: $ac_res" >&5
37312 echo "${ECHO_T}$ac_res" >&6; }
37313 if test `eval echo '${'$as_ac_var'}'` = yes; then
37314 cat >>confdefs.h
<<_ACEOF
37315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37321 if test "$ac_cv_func_setenv" = "yes"; then
37323 for ac_func
in unsetenv
37325 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37328 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37329 echo $ECHO_N "(cached) $ECHO_C" >&6
37331 cat >conftest.
$ac_ext <<_ACEOF
37334 cat confdefs.h
>>conftest.
$ac_ext
37335 cat >>conftest.
$ac_ext <<_ACEOF
37336 /* end confdefs.h. */
37337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37339 #define $ac_func innocuous_$ac_func
37341 /* System header to define __stub macros and hopefully few prototypes,
37342 which can conflict with char $ac_func (); below.
37343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37344 <limits.h> exists even on freestanding compilers. */
37347 # include <limits.h>
37349 # include <assert.h>
37354 /* Override any GCC internal prototype to avoid an error.
37355 Use char because int might match the return type of a GCC
37356 builtin and then its argument prototype would still apply. */
37361 /* The GNU C library defines this for functions which it implements
37362 to always fail with ENOSYS. Some functions are actually named
37363 something starting with __ and the normal name is an alias. */
37364 #if defined __stub_$ac_func || defined __stub___$ac_func
37371 return $ac_func ();
37376 rm -f conftest.
$ac_objext conftest
$ac_exeext
37377 if { (ac_try
="$ac_link"
37378 case "(($ac_try" in
37379 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37380 *) ac_try_echo=$ac_try;;
37382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37383 (eval "$ac_link") 2>conftest.er1
37385 grep -v '^ *+' conftest.er1 >conftest.err
37387 cat conftest.err >&5
37388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37389 (exit $ac_status); } && {
37390 test -z "$ac_c_werror_flag" ||
37391 test ! -s conftest.err
37392 } && test -s conftest$ac_exeext &&
37393 $as_test_x conftest$ac_exeext; then
37394 eval "$as_ac_var=yes"
37396 echo "$as_me: failed program was:" >&5
37397 sed 's/^/| /' conftest.$ac_ext >&5
37399 eval "$as_ac_var=no"
37402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37403 conftest$ac_exeext conftest.$ac_ext
37405 ac_res=`eval echo '${'$as_ac_var'}'`
37406 { echo "$as_me:$LINENO: result: $ac_res" >&5
37407 echo "${ECHO_T}$ac_res" >&6; }
37408 if test `eval echo '${'$as_ac_var'}'` = yes; then
37409 cat >>confdefs.h <<_ACEOF
37410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37418 HAVE_SOME_SLEEP_FUNC=0
37419 if test "$USE_BEOS" = 1; then
37420 cat >>confdefs.h <<\_ACEOF
37421 #define HAVE_SLEEP 1
37424 HAVE_SOME_SLEEP_FUNC=1
37427 if test "$USE_DARWIN" = 1; then
37428 cat >>confdefs.h <<\_ACEOF
37429 #define HAVE_USLEEP 1
37432 HAVE_SOME_SLEEP_FUNC=1
37435 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37438 for ac_func in nanosleep
37440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37441 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37443 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37444 echo $ECHO_N "(cached) $ECHO_C" >&6
37446 cat >conftest.$ac_ext <<_ACEOF
37449 cat confdefs.h >>conftest.$ac_ext
37450 cat >>conftest.$ac_ext <<_ACEOF
37451 /* end confdefs.h. */
37452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37454 #define $ac_func innocuous_$ac_func
37456 /* System header to define __stub macros and hopefully few prototypes,
37457 which can conflict with char $ac_func (); below.
37458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37459 <limits.h> exists even on freestanding compilers. */
37462 # include <limits.h>
37464 # include <assert.h>
37469 /* Override any GCC internal prototype to avoid an error.
37470 Use char because int might match the return type of a GCC
37471 builtin and then its argument prototype would still apply. */
37476 /* The GNU C library defines this for functions which it implements
37477 to always fail with ENOSYS. Some functions are actually named
37478 something starting with __ and the normal name is an alias. */
37479 #if defined __stub_$ac_func || defined __stub___$ac_func
37486 return $ac_func ();
37491 rm -f conftest.$ac_objext conftest$ac_exeext
37492 if { (ac_try="$ac_link"
37493 case "(($ac_try" in
37494 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37495 *) ac_try_echo
=$ac_try;;
37497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37498 (eval "$ac_link") 2>conftest.er1
37500 grep -v '^ *+' conftest.er1
>conftest.err
37502 cat conftest.err
>&5
37503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37504 (exit $ac_status); } && {
37505 test -z "$ac_c_werror_flag" ||
37506 test ! -s conftest.err
37507 } && test -s conftest
$ac_exeext &&
37508 $as_test_x conftest
$ac_exeext; then
37509 eval "$as_ac_var=yes"
37511 echo "$as_me: failed program was:" >&5
37512 sed 's/^/| /' conftest.
$ac_ext >&5
37514 eval "$as_ac_var=no"
37517 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37518 conftest
$ac_exeext conftest.
$ac_ext
37520 ac_res
=`eval echo '${'$as_ac_var'}'`
37521 { echo "$as_me:$LINENO: result: $ac_res" >&5
37522 echo "${ECHO_T}$ac_res" >&6; }
37523 if test `eval echo '${'$as_ac_var'}'` = yes; then
37524 cat >>confdefs.h
<<_ACEOF
37525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37527 cat >>confdefs.h
<<\_ACEOF
37528 #define HAVE_NANOSLEEP 1
37533 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37534 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37535 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37536 echo $ECHO_N "(cached) $ECHO_C" >&6
37538 ac_check_lib_save_LIBS
=$LIBS
37539 LIBS
="-lposix4 $LIBS"
37540 cat >conftest.
$ac_ext <<_ACEOF
37543 cat confdefs.h
>>conftest.
$ac_ext
37544 cat >>conftest.
$ac_ext <<_ACEOF
37545 /* end confdefs.h. */
37547 /* Override any GCC internal prototype to avoid an error.
37548 Use char because int might match the return type of a GCC
37549 builtin and then its argument prototype would still apply. */
37557 return nanosleep ();
37562 rm -f conftest.
$ac_objext conftest
$ac_exeext
37563 if { (ac_try
="$ac_link"
37564 case "(($ac_try" in
37565 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37566 *) ac_try_echo=$ac_try;;
37568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37569 (eval "$ac_link") 2>conftest.er1
37571 grep -v '^ *+' conftest.er1 >conftest.err
37573 cat conftest.err >&5
37574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37575 (exit $ac_status); } && {
37576 test -z "$ac_c_werror_flag" ||
37577 test ! -s conftest.err
37578 } && test -s conftest$ac_exeext &&
37579 $as_test_x conftest$ac_exeext; then
37580 ac_cv_lib_posix4_nanosleep=yes
37582 echo "$as_me: failed program was:" >&5
37583 sed 's/^/| /' conftest.$ac_ext >&5
37585 ac_cv_lib_posix4_nanosleep=no
37588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37589 conftest$ac_exeext conftest.$ac_ext
37590 LIBS=$ac_check_lib_save_LIBS
37592 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37593 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37594 if test $ac_cv_lib_posix4_nanosleep = yes; then
37596 cat >>confdefs.h <<\_ACEOF
37597 #define HAVE_NANOSLEEP 1
37600 POSIX4_LINK=" -lposix4"
37605 for wx_func in usleep
37607 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37608 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37609 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37610 echo $ECHO_N "(cached) $ECHO_C" >&6
37613 cat >conftest.$ac_ext <<_ACEOF
37617 cat confdefs.h >>conftest.$ac_ext
37618 cat >>conftest.$ac_ext <<_ACEOF
37619 /* end confdefs.h. */
37622 $ac_includes_default
37638 rm -f conftest.$ac_objext conftest$ac_exeext
37639 if { (ac_try="$ac_link"
37640 case "(($ac_try" in
37641 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37642 *) ac_try_echo
=$ac_try;;
37644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37645 (eval "$ac_link") 2>conftest.er1
37647 grep -v '^ *+' conftest.er1
>conftest.err
37649 cat conftest.err
>&5
37650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37651 (exit $ac_status); } && {
37652 test -z "$ac_c_werror_flag" ||
37653 test ! -s conftest.err
37654 } && test -s conftest
$ac_exeext &&
37655 $as_test_x conftest
$ac_exeext; then
37656 eval wx_cv_func_
$wx_func=yes
37658 echo "$as_me: failed program was:" >&5
37659 sed 's/^/| /' conftest.
$ac_ext >&5
37661 eval wx_cv_func_
$wx_func=no
37664 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37665 conftest
$ac_exeext conftest.
$ac_ext
37668 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37669 { echo "$as_me:$LINENO: result: $ac_res" >&5
37670 echo "${ECHO_T}$ac_res" >&6; }
37672 if eval test \
$wx_cv_func_$wx_func = yes
37674 cat >>confdefs.h
<<_ACEOF
37675 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37681 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37682 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37699 for wx_func
in uname
37701 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37702 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37703 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37704 echo $ECHO_N "(cached) $ECHO_C" >&6
37707 cat >conftest.
$ac_ext <<_ACEOF
37711 cat confdefs.h
>>conftest.
$ac_ext
37712 cat >>conftest.
$ac_ext <<_ACEOF
37713 /* end confdefs.h. */
37715 #include <sys/utsname.h>
37716 $ac_includes_default
37732 rm -f conftest.
$ac_objext conftest
$ac_exeext
37733 if { (ac_try
="$ac_link"
37734 case "(($ac_try" in
37735 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37736 *) ac_try_echo=$ac_try;;
37738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37739 (eval "$ac_link") 2>conftest.er1
37741 grep -v '^ *+' conftest.er1 >conftest.err
37743 cat conftest.err >&5
37744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37745 (exit $ac_status); } && {
37746 test -z "$ac_c_werror_flag" ||
37747 test ! -s conftest.err
37748 } && test -s conftest$ac_exeext &&
37749 $as_test_x conftest$ac_exeext; then
37750 eval wx_cv_func_$wx_func=yes
37752 echo "$as_me: failed program was:" >&5
37753 sed 's/^/| /' conftest.$ac_ext >&5
37755 eval wx_cv_func_$wx_func=no
37758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37759 conftest$ac_exeext conftest.$ac_ext
37762 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37763 { echo "$as_me:$LINENO: result: $ac_res" >&5
37764 echo "${ECHO_T}$ac_res" >&6; }
37766 if eval test \$wx_cv_func_$wx_func = yes
37768 cat >>confdefs.h <<_ACEOF
37769 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37779 if test "$wx_cv_func_uname" != yes; then
37781 for wx_func in gethostname
37783 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37784 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37785 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37786 echo $ECHO_N "(cached) $ECHO_C" >&6
37789 cat >conftest.$ac_ext <<_ACEOF
37793 cat confdefs.h >>conftest.$ac_ext
37794 cat >>conftest.$ac_ext <<_ACEOF
37795 /* end confdefs.h. */
37798 $ac_includes_default
37814 rm -f conftest.$ac_objext conftest$ac_exeext
37815 if { (ac_try="$ac_link"
37816 case "(($ac_try" in
37817 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37818 *) ac_try_echo
=$ac_try;;
37820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37821 (eval "$ac_link") 2>conftest.er1
37823 grep -v '^ *+' conftest.er1
>conftest.err
37825 cat conftest.err
>&5
37826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37827 (exit $ac_status); } && {
37828 test -z "$ac_c_werror_flag" ||
37829 test ! -s conftest.err
37830 } && test -s conftest
$ac_exeext &&
37831 $as_test_x conftest
$ac_exeext; then
37832 eval wx_cv_func_
$wx_func=yes
37834 echo "$as_me: failed program was:" >&5
37835 sed 's/^/| /' conftest.
$ac_ext >&5
37837 eval wx_cv_func_
$wx_func=no
37840 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37841 conftest
$ac_exeext conftest.
$ac_ext
37844 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37845 { echo "$as_me:$LINENO: result: $ac_res" >&5
37846 echo "${ECHO_T}$ac_res" >&6; }
37848 if eval test \
$wx_cv_func_$wx_func = yes
37850 cat >>confdefs.h
<<_ACEOF
37851 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37864 for wx_func
in strtok_r
37866 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37867 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37868 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37869 echo $ECHO_N "(cached) $ECHO_C" >&6
37872 cat >conftest.
$ac_ext <<_ACEOF
37876 cat confdefs.h
>>conftest.
$ac_ext
37877 cat >>conftest.
$ac_ext <<_ACEOF
37878 /* end confdefs.h. */
37881 $ac_includes_default
37897 rm -f conftest.
$ac_objext conftest
$ac_exeext
37898 if { (ac_try
="$ac_link"
37899 case "(($ac_try" in
37900 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37901 *) ac_try_echo=$ac_try;;
37903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37904 (eval "$ac_link") 2>conftest.er1
37906 grep -v '^ *+' conftest.er1 >conftest.err
37908 cat conftest.err >&5
37909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37910 (exit $ac_status); } && {
37911 test -z "$ac_c_werror_flag" ||
37912 test ! -s conftest.err
37913 } && test -s conftest$ac_exeext &&
37914 $as_test_x conftest$ac_exeext; then
37915 eval wx_cv_func_$wx_func=yes
37917 echo "$as_me: failed program was:" >&5
37918 sed 's/^/| /' conftest.$ac_ext >&5
37920 eval wx_cv_func_$wx_func=no
37923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37924 conftest$ac_exeext conftest.$ac_ext
37927 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37928 { echo "$as_me:$LINENO: result: $ac_res" >&5
37929 echo "${ECHO_T}$ac_res" >&6; }
37931 if eval test \$wx_cv_func_$wx_func = yes
37933 cat >>confdefs.h <<_ACEOF
37934 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37947 for ac_func in inet_addr
37949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37950 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37952 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37953 echo $ECHO_N "(cached) $ECHO_C" >&6
37955 cat >conftest.$ac_ext <<_ACEOF
37958 cat confdefs.h >>conftest.$ac_ext
37959 cat >>conftest.$ac_ext <<_ACEOF
37960 /* end confdefs.h. */
37961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37963 #define $ac_func innocuous_$ac_func
37965 /* System header to define __stub macros and hopefully few prototypes,
37966 which can conflict with char $ac_func (); below.
37967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37968 <limits.h> exists even on freestanding compilers. */
37971 # include <limits.h>
37973 # include <assert.h>
37978 /* Override any GCC internal prototype to avoid an error.
37979 Use char because int might match the return type of a GCC
37980 builtin and then its argument prototype would still apply. */
37985 /* The GNU C library defines this for functions which it implements
37986 to always fail with ENOSYS. Some functions are actually named
37987 something starting with __ and the normal name is an alias. */
37988 #if defined __stub_$ac_func || defined __stub___$ac_func
37995 return $ac_func ();
38000 rm -f conftest.$ac_objext conftest$ac_exeext
38001 if { (ac_try="$ac_link"
38002 case "(($ac_try" in
38003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38004 *) ac_try_echo
=$ac_try;;
38006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38007 (eval "$ac_link") 2>conftest.er1
38009 grep -v '^ *+' conftest.er1
>conftest.err
38011 cat conftest.err
>&5
38012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38013 (exit $ac_status); } && {
38014 test -z "$ac_c_werror_flag" ||
38015 test ! -s conftest.err
38016 } && test -s conftest
$ac_exeext &&
38017 $as_test_x conftest
$ac_exeext; then
38018 eval "$as_ac_var=yes"
38020 echo "$as_me: failed program was:" >&5
38021 sed 's/^/| /' conftest.
$ac_ext >&5
38023 eval "$as_ac_var=no"
38026 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38027 conftest
$ac_exeext conftest.
$ac_ext
38029 ac_res
=`eval echo '${'$as_ac_var'}'`
38030 { echo "$as_me:$LINENO: result: $ac_res" >&5
38031 echo "${ECHO_T}$ac_res" >&6; }
38032 if test `eval echo '${'$as_ac_var'}'` = yes; then
38033 cat >>confdefs.h
<<_ACEOF
38034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38036 cat >>confdefs.h
<<\_ACEOF
38037 #define HAVE_INET_ADDR 1
38042 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38043 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38044 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38045 echo $ECHO_N "(cached) $ECHO_C" >&6
38047 ac_check_lib_save_LIBS
=$LIBS
38049 cat >conftest.
$ac_ext <<_ACEOF
38052 cat confdefs.h
>>conftest.
$ac_ext
38053 cat >>conftest.
$ac_ext <<_ACEOF
38054 /* end confdefs.h. */
38056 /* Override any GCC internal prototype to avoid an error.
38057 Use char because int might match the return type of a GCC
38058 builtin and then its argument prototype would still apply. */
38066 return inet_addr ();
38071 rm -f conftest.
$ac_objext conftest
$ac_exeext
38072 if { (ac_try
="$ac_link"
38073 case "(($ac_try" in
38074 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38075 *) ac_try_echo=$ac_try;;
38077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38078 (eval "$ac_link") 2>conftest.er1
38080 grep -v '^ *+' conftest.er1 >conftest.err
38082 cat conftest.err >&5
38083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38084 (exit $ac_status); } && {
38085 test -z "$ac_c_werror_flag" ||
38086 test ! -s conftest.err
38087 } && test -s conftest$ac_exeext &&
38088 $as_test_x conftest$ac_exeext; then
38089 ac_cv_lib_nsl_inet_addr=yes
38091 echo "$as_me: failed program was:" >&5
38092 sed 's/^/| /' conftest.$ac_ext >&5
38094 ac_cv_lib_nsl_inet_addr=no
38097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38098 conftest$ac_exeext conftest.$ac_ext
38099 LIBS=$ac_check_lib_save_LIBS
38101 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38102 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38103 if test $ac_cv_lib_nsl_inet_addr = yes; then
38107 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38108 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38109 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38110 echo $ECHO_N "(cached) $ECHO_C" >&6
38112 ac_check_lib_save_LIBS=$LIBS
38113 LIBS="-lresolv $LIBS"
38114 cat >conftest.$ac_ext <<_ACEOF
38117 cat confdefs.h >>conftest.$ac_ext
38118 cat >>conftest.$ac_ext <<_ACEOF
38119 /* end confdefs.h. */
38121 /* Override any GCC internal prototype to avoid an error.
38122 Use char because int might match the return type of a GCC
38123 builtin and then its argument prototype would still apply. */
38131 return inet_addr ();
38136 rm -f conftest.$ac_objext conftest$ac_exeext
38137 if { (ac_try="$ac_link"
38138 case "(($ac_try" in
38139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38140 *) ac_try_echo
=$ac_try;;
38142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38143 (eval "$ac_link") 2>conftest.er1
38145 grep -v '^ *+' conftest.er1
>conftest.err
38147 cat conftest.err
>&5
38148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38149 (exit $ac_status); } && {
38150 test -z "$ac_c_werror_flag" ||
38151 test ! -s conftest.err
38152 } && test -s conftest
$ac_exeext &&
38153 $as_test_x conftest
$ac_exeext; then
38154 ac_cv_lib_resolv_inet_addr
=yes
38156 echo "$as_me: failed program was:" >&5
38157 sed 's/^/| /' conftest.
$ac_ext >&5
38159 ac_cv_lib_resolv_inet_addr
=no
38162 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38163 conftest
$ac_exeext conftest.
$ac_ext
38164 LIBS
=$ac_check_lib_save_LIBS
38166 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38167 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38168 if test $ac_cv_lib_resolv_inet_addr = yes; then
38172 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38173 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38174 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38175 echo $ECHO_N "(cached) $ECHO_C" >&6
38177 ac_check_lib_save_LIBS
=$LIBS
38178 LIBS
="-lsocket $LIBS"
38179 cat >conftest.
$ac_ext <<_ACEOF
38182 cat confdefs.h
>>conftest.
$ac_ext
38183 cat >>conftest.
$ac_ext <<_ACEOF
38184 /* end confdefs.h. */
38186 /* Override any GCC internal prototype to avoid an error.
38187 Use char because int might match the return type of a GCC
38188 builtin and then its argument prototype would still apply. */
38196 return inet_addr ();
38201 rm -f conftest.
$ac_objext conftest
$ac_exeext
38202 if { (ac_try
="$ac_link"
38203 case "(($ac_try" in
38204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38205 *) ac_try_echo=$ac_try;;
38207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38208 (eval "$ac_link") 2>conftest.er1
38210 grep -v '^ *+' conftest.er1 >conftest.err
38212 cat conftest.err >&5
38213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38214 (exit $ac_status); } && {
38215 test -z "$ac_c_werror_flag" ||
38216 test ! -s conftest.err
38217 } && test -s conftest$ac_exeext &&
38218 $as_test_x conftest$ac_exeext; then
38219 ac_cv_lib_socket_inet_addr=yes
38221 echo "$as_me: failed program was:" >&5
38222 sed 's/^/| /' conftest.$ac_ext >&5
38224 ac_cv_lib_socket_inet_addr=no
38227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38228 conftest$ac_exeext conftest.$ac_ext
38229 LIBS=$ac_check_lib_save_LIBS
38231 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38232 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38233 if test $ac_cv_lib_socket_inet_addr = yes; then
38253 for ac_func in inet_aton
38255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38256 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38258 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38259 echo $ECHO_N "(cached) $ECHO_C" >&6
38261 cat >conftest.$ac_ext <<_ACEOF
38264 cat confdefs.h >>conftest.$ac_ext
38265 cat >>conftest.$ac_ext <<_ACEOF
38266 /* end confdefs.h. */
38267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38269 #define $ac_func innocuous_$ac_func
38271 /* System header to define __stub macros and hopefully few prototypes,
38272 which can conflict with char $ac_func (); below.
38273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38274 <limits.h> exists even on freestanding compilers. */
38277 # include <limits.h>
38279 # include <assert.h>
38284 /* Override any GCC internal prototype to avoid an error.
38285 Use char because int might match the return type of a GCC
38286 builtin and then its argument prototype would still apply. */
38291 /* The GNU C library defines this for functions which it implements
38292 to always fail with ENOSYS. Some functions are actually named
38293 something starting with __ and the normal name is an alias. */
38294 #if defined __stub_$ac_func || defined __stub___$ac_func
38301 return $ac_func ();
38306 rm -f conftest.$ac_objext conftest$ac_exeext
38307 if { (ac_try="$ac_link"
38308 case "(($ac_try" in
38309 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38310 *) ac_try_echo
=$ac_try;;
38312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38313 (eval "$ac_link") 2>conftest.er1
38315 grep -v '^ *+' conftest.er1
>conftest.err
38317 cat conftest.err
>&5
38318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38319 (exit $ac_status); } && {
38320 test -z "$ac_c_werror_flag" ||
38321 test ! -s conftest.err
38322 } && test -s conftest
$ac_exeext &&
38323 $as_test_x conftest
$ac_exeext; then
38324 eval "$as_ac_var=yes"
38326 echo "$as_me: failed program was:" >&5
38327 sed 's/^/| /' conftest.
$ac_ext >&5
38329 eval "$as_ac_var=no"
38332 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38333 conftest
$ac_exeext conftest.
$ac_ext
38335 ac_res
=`eval echo '${'$as_ac_var'}'`
38336 { echo "$as_me:$LINENO: result: $ac_res" >&5
38337 echo "${ECHO_T}$ac_res" >&6; }
38338 if test `eval echo '${'$as_ac_var'}'` = yes; then
38339 cat >>confdefs.h
<<_ACEOF
38340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38342 cat >>confdefs.h
<<\_ACEOF
38343 #define HAVE_INET_ATON 1
38348 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38349 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38350 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38351 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38352 echo $ECHO_N "(cached) $ECHO_C" >&6
38354 ac_check_lib_save_LIBS
=$LIBS
38355 LIBS
="-l$INET_LINK $LIBS"
38356 cat >conftest.
$ac_ext <<_ACEOF
38359 cat confdefs.h
>>conftest.
$ac_ext
38360 cat >>conftest.
$ac_ext <<_ACEOF
38361 /* end confdefs.h. */
38363 /* Override any GCC internal prototype to avoid an error.
38364 Use char because int might match the return type of a GCC
38365 builtin and then its argument prototype would still apply. */
38373 return inet_aton ();
38378 rm -f conftest.
$ac_objext conftest
$ac_exeext
38379 if { (ac_try
="$ac_link"
38380 case "(($ac_try" in
38381 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38382 *) ac_try_echo=$ac_try;;
38384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38385 (eval "$ac_link") 2>conftest.er1
38387 grep -v '^ *+' conftest.er1 >conftest.err
38389 cat conftest.err >&5
38390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38391 (exit $ac_status); } && {
38392 test -z "$ac_c_werror_flag" ||
38393 test ! -s conftest.err
38394 } && test -s conftest$ac_exeext &&
38395 $as_test_x conftest$ac_exeext; then
38396 eval "$as_ac_Lib=yes"
38398 echo "$as_me: failed program was:" >&5
38399 sed 's/^/| /' conftest.$ac_ext >&5
38401 eval "$as_ac_Lib=no"
38404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38405 conftest$ac_exeext conftest.$ac_ext
38406 LIBS=$ac_check_lib_save_LIBS
38408 ac_res=`eval echo '${'$as_ac_Lib'}'`
38409 { echo "$as_me:$LINENO: result: $ac_res" >&5
38410 echo "${ECHO_T}$ac_res" >&6; }
38411 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38412 cat >>confdefs.h <<\_ACEOF
38413 #define HAVE_INET_ATON 1
38423 if test "x$INET_LINK" != "x"; then
38424 cat >>confdefs.h <<\_ACEOF
38425 #define HAVE_INET_ADDR 1
38428 INET_LINK=" -l$INET_LINK"
38432 for wx_func in fdopen
38434 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38435 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38436 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38437 echo $ECHO_N "(cached) $ECHO_C" >&6
38440 cat >conftest.$ac_ext <<_ACEOF
38444 cat confdefs.h >>conftest.$ac_ext
38445 cat >>conftest.$ac_ext <<_ACEOF
38446 /* end confdefs.h. */
38449 $ac_includes_default
38465 rm -f conftest.$ac_objext conftest$ac_exeext
38466 if { (ac_try="$ac_link"
38467 case "(($ac_try" in
38468 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38469 *) ac_try_echo
=$ac_try;;
38471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38472 (eval "$ac_link") 2>conftest.er1
38474 grep -v '^ *+' conftest.er1
>conftest.err
38476 cat conftest.err
>&5
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); } && {
38479 test -z "$ac_c_werror_flag" ||
38480 test ! -s conftest.err
38481 } && test -s conftest
$ac_exeext &&
38482 $as_test_x conftest
$ac_exeext; then
38483 eval wx_cv_func_
$wx_func=yes
38485 echo "$as_me: failed program was:" >&5
38486 sed 's/^/| /' conftest.
$ac_ext >&5
38488 eval wx_cv_func_
$wx_func=no
38491 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38492 conftest
$ac_exeext conftest.
$ac_ext
38495 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38496 { echo "$as_me:$LINENO: result: $ac_res" >&5
38497 echo "${ECHO_T}$ac_res" >&6; }
38499 if eval test \
$wx_cv_func_$wx_func = yes
38501 cat >>confdefs.h
<<_ACEOF
38502 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38513 if test "$wxUSE_TARSTREAM" = "yes"; then
38515 for wx_func
in sysconf
38517 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38518 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38519 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38520 echo $ECHO_N "(cached) $ECHO_C" >&6
38523 cat >conftest.
$ac_ext <<_ACEOF
38527 cat confdefs.h
>>conftest.
$ac_ext
38528 cat >>conftest.
$ac_ext <<_ACEOF
38529 /* end confdefs.h. */
38532 $ac_includes_default
38548 rm -f conftest.
$ac_objext conftest
$ac_exeext
38549 if { (ac_try
="$ac_link"
38550 case "(($ac_try" in
38551 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38552 *) ac_try_echo=$ac_try;;
38554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38555 (eval "$ac_link") 2>conftest.er1
38557 grep -v '^ *+' conftest.er1 >conftest.err
38559 cat conftest.err >&5
38560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38561 (exit $ac_status); } && {
38562 test -z "$ac_c_werror_flag" ||
38563 test ! -s conftest.err
38564 } && test -s conftest$ac_exeext &&
38565 $as_test_x conftest$ac_exeext; then
38566 eval wx_cv_func_$wx_func=yes
38568 echo "$as_me: failed program was:" >&5
38569 sed 's/^/| /' conftest.$ac_ext >&5
38571 eval wx_cv_func_$wx_func=no
38574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38575 conftest$ac_exeext conftest.$ac_ext
38578 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38579 { echo "$as_me:$LINENO: result: $ac_res" >&5
38580 echo "${ECHO_T}$ac_res" >&6; }
38582 if eval test \$wx_cv_func_$wx_func = yes
38584 cat >>confdefs.h <<_ACEOF
38585 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38597 for wx_func in getpwuid_r
38599 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38600 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38601 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38602 echo $ECHO_N "(cached) $ECHO_C" >&6
38605 cat >conftest.$ac_ext <<_ACEOF
38609 cat confdefs.h >>conftest.$ac_ext
38610 cat >>conftest.$ac_ext <<_ACEOF
38611 /* end confdefs.h. */
38617 $ac_includes_default
38627 struct passwd pw, *ppw;
38629 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38637 rm -f conftest.$ac_objext conftest$ac_exeext
38638 if { (ac_try="$ac_link"
38639 case "(($ac_try" in
38640 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38641 *) ac_try_echo
=$ac_try;;
38643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38644 (eval "$ac_link") 2>conftest.er1
38646 grep -v '^ *+' conftest.er1
>conftest.err
38648 cat conftest.err
>&5
38649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38650 (exit $ac_status); } && {
38651 test -z "$ac_c_werror_flag" ||
38652 test ! -s conftest.err
38653 } && test -s conftest
$ac_exeext &&
38654 $as_test_x conftest
$ac_exeext; then
38655 eval wx_cv_func_
$wx_func=yes
38657 echo "$as_me: failed program was:" >&5
38658 sed 's/^/| /' conftest.
$ac_ext >&5
38660 eval wx_cv_func_
$wx_func=no
38663 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38664 conftest
$ac_exeext conftest.
$ac_ext
38667 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38668 { echo "$as_me:$LINENO: result: $ac_res" >&5
38669 echo "${ECHO_T}$ac_res" >&6; }
38671 if eval test \
$wx_cv_func_$wx_func = yes
38673 cat >>confdefs.h
<<_ACEOF
38674 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38686 for wx_func
in getgrgid_r
38688 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38689 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38690 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38691 echo $ECHO_N "(cached) $ECHO_C" >&6
38694 cat >conftest.
$ac_ext <<_ACEOF
38698 cat confdefs.h
>>conftest.
$ac_ext
38699 cat >>conftest.
$ac_ext <<_ACEOF
38700 /* end confdefs.h. */
38706 $ac_includes_default
38716 struct group grp, *pgrp;
38718 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38726 rm -f conftest.
$ac_objext conftest
$ac_exeext
38727 if { (ac_try
="$ac_link"
38728 case "(($ac_try" in
38729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38730 *) ac_try_echo=$ac_try;;
38732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38733 (eval "$ac_link") 2>conftest.er1
38735 grep -v '^ *+' conftest.er1 >conftest.err
38737 cat conftest.err >&5
38738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38739 (exit $ac_status); } && {
38740 test -z "$ac_c_werror_flag" ||
38741 test ! -s conftest.err
38742 } && test -s conftest$ac_exeext &&
38743 $as_test_x conftest$ac_exeext; then
38744 eval wx_cv_func_$wx_func=yes
38746 echo "$as_me: failed program was:" >&5
38747 sed 's/^/| /' conftest.$ac_ext >&5
38749 eval wx_cv_func_$wx_func=no
38752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38753 conftest$ac_exeext conftest.$ac_ext
38756 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38757 { echo "$as_me:$LINENO: result: $ac_res" >&5
38758 echo "${ECHO_T}$ac_res" >&6; }
38760 if eval test \$wx_cv_func_$wx_func = yes
38762 cat >>confdefs.h <<_ACEOF
38763 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38779 cat >confcache <<\_ACEOF
38780 # This file is a shell script that caches the results of configure
38781 # tests run on this system so they can be shared between configure
38782 # scripts and configure runs, see configure's option --config-cache.
38783 # It is not useful on other systems. If it contains results you don't
38784 # want to keep, you may remove or edit it.
38786 # config.status only pays attention to the cache file if you give it
38787 # the --recheck option to rerun configure.
38789 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38790 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38791 # following values.
38795 # The following way of writing the cache mishandles newlines in values,
38796 # but we know of no workaround that is simple, portable, and efficient.
38797 # So, we kill variables containing newlines.
38798 # Ultrix sh set writes to stderr and can't be redirected directly,
38799 # and sets the high bit in the cache file unless we assign to the vars.
38801 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38802 eval ac_val
=\$
$ac_var
38806 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38807 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38810 _
| IFS
| as_nl
) ;; #(
38811 *) $as_unset $ac_var ;;
38817 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38818 *${as_nl}ac_space
=\
*)
38819 # `set' does not quote correctly, so add quotes (double-quote
38820 # substitution turns \\\\ into \\, and sed turns \\ into \).
38823 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38826 # `set' quotes correctly as required by POSIX, so do not add quotes.
38827 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38836 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38838 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38840 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38841 if test -w "$cache_file"; then
38842 test "x$cache_file" != "x/dev/null" &&
38843 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38844 echo "$as_me: updating cache $cache_file" >&6;}
38845 cat confcache
>$cache_file
38847 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38848 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38854 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38860 if test "$wxUSE_THREADS" = "yes" ; then
38861 if test "$USE_BEOS" = 1; then
38862 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38863 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38868 if test "$wxUSE_THREADS" = "yes" ; then
38871 THREAD_OPTS
="-pthread"
38872 if test "x$SUNCXX" = xyes
; then
38873 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38877 *-*-solaris2* | *-*-sunos4* )
38878 if test "x$GCC" = "xyes"; then
38879 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38883 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38885 *-*-darwin* | *-*-cygwin* )
38889 THREAD_OPTS
="pthreads"
38892 if test "x$GCC" = "xyes"; then
38893 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38901 if test "x$GCC" = "xyes"; then
38907 if test "x$GCC" != "xyes"; then
38908 THREAD_OPTS
="-Ethread"
38913 THREAD_OPTS
="$THREAD_OPTS pthread none"
38916 for flag
in $THREAD_OPTS; do
38919 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38920 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38924 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38925 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38926 THREADS_CFLAGS
="$flag"
38930 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38931 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38932 THREADS_LINK
="-l$flag"
38937 save_CFLAGS
="$CFLAGS"
38938 LIBS
="$THREADS_LINK $LIBS"
38939 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38941 cat >conftest.
$ac_ext <<_ACEOF
38944 cat confdefs.h
>>conftest.
$ac_ext
38945 cat >>conftest.
$ac_ext <<_ACEOF
38946 /* end confdefs.h. */
38947 #include <pthread.h>
38951 pthread_create(0,0,0,0);
38956 rm -f conftest.
$ac_objext conftest
$ac_exeext
38957 if { (ac_try
="$ac_link"
38958 case "(($ac_try" in
38959 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38960 *) ac_try_echo=$ac_try;;
38962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38963 (eval "$ac_link") 2>conftest.er1
38965 grep -v '^ *+' conftest.er1 >conftest.err
38967 cat conftest.err >&5
38968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38969 (exit $ac_status); } && {
38970 test -z "$ac_c_werror_flag" ||
38971 test ! -s conftest.err
38972 } && test -s conftest$ac_exeext &&
38973 $as_test_x conftest$ac_exeext; then
38976 echo "$as_me: failed program was:" >&5
38977 sed 's/^/| /' conftest.$ac_ext >&5
38982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38983 conftest$ac_exeext conftest.$ac_ext
38986 CFLAGS="$save_CFLAGS"
38988 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38989 echo "${ECHO_T}$THREADS_OK" >&6; }
38990 if test "x$THREADS_OK" = "xyes"; then
38998 if test "x$THREADS_OK" != "xyes"; then
39000 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39001 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39003 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39004 LIBS="$THREADS_LINK $LIBS"
39006 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39007 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39011 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39012 flag="-D_THREAD_SAFE"
39015 flag="-D_THREAD_SAFE"
39018 flag="-D_REENTRANT"
39019 if test "x$GCC" != "xyes"; then
39020 flag="$flag -D_RWSTD_MULTI_THREAD"
39023 *solaris* | alpha*-osf*)
39024 flag="-D_REENTRANT"
39027 { echo "$as_me:$LINENO: result: ${flag}" >&5
39028 echo "${ECHO_T}${flag}" >&6; }
39029 if test "x$flag" != xno; then
39030 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39033 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39037 if test "$wxUSE_THREADS" = "yes" ; then
39039 for ac_func in thr_setconcurrency
39041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39042 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39044 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39045 echo $ECHO_N "(cached) $ECHO_C" >&6
39047 cat >conftest.$ac_ext <<_ACEOF
39050 cat confdefs.h >>conftest.$ac_ext
39051 cat >>conftest.$ac_ext <<_ACEOF
39052 /* end confdefs.h. */
39053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39055 #define $ac_func innocuous_$ac_func
39057 /* System header to define __stub macros and hopefully few prototypes,
39058 which can conflict with char $ac_func (); below.
39059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39060 <limits.h> exists even on freestanding compilers. */
39063 # include <limits.h>
39065 # include <assert.h>
39070 /* Override any GCC internal prototype to avoid an error.
39071 Use char because int might match the return type of a GCC
39072 builtin and then its argument prototype would still apply. */
39077 /* The GNU C library defines this for functions which it implements
39078 to always fail with ENOSYS. Some functions are actually named
39079 something starting with __ and the normal name is an alias. */
39080 #if defined __stub_$ac_func || defined __stub___$ac_func
39087 return $ac_func ();
39092 rm -f conftest.$ac_objext conftest$ac_exeext
39093 if { (ac_try="$ac_link"
39094 case "(($ac_try" in
39095 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39096 *) ac_try_echo
=$ac_try;;
39098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39099 (eval "$ac_link") 2>conftest.er1
39101 grep -v '^ *+' conftest.er1
>conftest.err
39103 cat conftest.err
>&5
39104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39105 (exit $ac_status); } && {
39106 test -z "$ac_c_werror_flag" ||
39107 test ! -s conftest.err
39108 } && test -s conftest
$ac_exeext &&
39109 $as_test_x conftest
$ac_exeext; then
39110 eval "$as_ac_var=yes"
39112 echo "$as_me: failed program was:" >&5
39113 sed 's/^/| /' conftest.
$ac_ext >&5
39115 eval "$as_ac_var=no"
39118 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39119 conftest
$ac_exeext conftest.
$ac_ext
39121 ac_res
=`eval echo '${'$as_ac_var'}'`
39122 { echo "$as_me:$LINENO: result: $ac_res" >&5
39123 echo "${ECHO_T}$ac_res" >&6; }
39124 if test `eval echo '${'$as_ac_var'}'` = yes; then
39125 cat >>confdefs.h
<<_ACEOF
39126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39133 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39134 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39135 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39136 echo $ECHO_N "(cached) $ECHO_C" >&6
39140 ac_cpp
='$CXXCPP $CPPFLAGS'
39141 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39142 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39143 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39145 cat >conftest.
$ac_ext <<_ACEOF
39148 cat confdefs.h
>>conftest.
$ac_ext
39149 cat >>conftest.
$ac_ext <<_ACEOF
39150 /* end confdefs.h. */
39151 #include <pthread.h>
39152 void ThreadCleanupFunc(void *p);
39159 pthread_cleanup_push(ThreadCleanupFunc, p);
39160 pthread_cleanup_pop(0);
39166 rm -f conftest.
$ac_objext
39167 if { (ac_try
="$ac_compile"
39168 case "(($ac_try" in
39169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39170 *) ac_try_echo=$ac_try;;
39172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39173 (eval "$ac_compile") 2>conftest.er1
39175 grep -v '^ *+' conftest.er1 >conftest.err
39177 cat conftest.err >&5
39178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39179 (exit $ac_status); } && {
39180 test -z "$ac_cxx_werror_flag" ||
39181 test ! -s conftest.err
39182 } && test -s conftest.$ac_objext; then
39184 wx_cv_func_pthread_cleanup=yes
39187 echo "$as_me: failed program was:" >&5
39188 sed 's/^/| /' conftest.$ac_ext >&5
39191 wx_cv_func_pthread_cleanup=no
39196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39198 ac_cpp='$CPP $CPPFLAGS'
39199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39205 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39206 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39207 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39208 cat >>confdefs.h <<\_ACEOF
39209 #define wxHAVE_PTHREAD_CLEANUP 1
39215 for ac_header in sched.h
39217 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39218 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39220 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39221 echo $ECHO_N "(cached) $ECHO_C" >&6
39223 cat >conftest.$ac_ext <<_ACEOF
39226 cat confdefs.h >>conftest.$ac_ext
39227 cat >>conftest.$ac_ext <<_ACEOF
39228 /* end confdefs.h. */
39229 $ac_includes_default
39231 #include <$ac_header>
39233 rm -f conftest.$ac_objext
39234 if { (ac_try="$ac_compile"
39235 case "(($ac_try" in
39236 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39237 *) ac_try_echo
=$ac_try;;
39239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39240 (eval "$ac_compile") 2>conftest.er1
39242 grep -v '^ *+' conftest.er1
>conftest.err
39244 cat conftest.err
>&5
39245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39246 (exit $ac_status); } && {
39247 test -z "$ac_c_werror_flag" ||
39248 test ! -s conftest.err
39249 } && test -s conftest.
$ac_objext; then
39250 eval "$as_ac_Header=yes"
39252 echo "$as_me: failed program was:" >&5
39253 sed 's/^/| /' conftest.
$ac_ext >&5
39255 eval "$as_ac_Header=no"
39258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39260 ac_res
=`eval echo '${'$as_ac_Header'}'`
39261 { echo "$as_me:$LINENO: result: $ac_res" >&5
39262 echo "${ECHO_T}$ac_res" >&6; }
39263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39264 cat >>confdefs.h
<<_ACEOF
39265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39272 if test "$ac_cv_header_sched_h" = "yes"; then
39273 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39274 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39275 if test "${ac_cv_func_sched_yield+set}" = set; then
39276 echo $ECHO_N "(cached) $ECHO_C" >&6
39278 cat >conftest.
$ac_ext <<_ACEOF
39281 cat confdefs.h
>>conftest.
$ac_ext
39282 cat >>conftest.
$ac_ext <<_ACEOF
39283 /* end confdefs.h. */
39284 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39286 #define sched_yield innocuous_sched_yield
39288 /* System header to define __stub macros and hopefully few prototypes,
39289 which can conflict with char sched_yield (); below.
39290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39291 <limits.h> exists even on freestanding compilers. */
39294 # include <limits.h>
39296 # include <assert.h>
39301 /* Override any GCC internal prototype to avoid an error.
39302 Use char because int might match the return type of a GCC
39303 builtin and then its argument prototype would still apply. */
39307 char sched_yield ();
39308 /* The GNU C library defines this for functions which it implements
39309 to always fail with ENOSYS. Some functions are actually named
39310 something starting with __ and the normal name is an alias. */
39311 #if defined __stub_sched_yield || defined __stub___sched_yield
39318 return sched_yield ();
39323 rm -f conftest.
$ac_objext conftest
$ac_exeext
39324 if { (ac_try
="$ac_link"
39325 case "(($ac_try" in
39326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39327 *) ac_try_echo=$ac_try;;
39329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39330 (eval "$ac_link") 2>conftest.er1
39332 grep -v '^ *+' conftest.er1 >conftest.err
39334 cat conftest.err >&5
39335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39336 (exit $ac_status); } && {
39337 test -z "$ac_c_werror_flag" ||
39338 test ! -s conftest.err
39339 } && test -s conftest$ac_exeext &&
39340 $as_test_x conftest$ac_exeext; then
39341 ac_cv_func_sched_yield=yes
39343 echo "$as_me: failed program was:" >&5
39344 sed 's/^/| /' conftest.$ac_ext >&5
39346 ac_cv_func_sched_yield=no
39349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39350 conftest$ac_exeext conftest.$ac_ext
39352 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39353 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39354 if test $ac_cv_func_sched_yield = yes; then
39355 cat >>confdefs.h <<\_ACEOF
39356 #define HAVE_SCHED_YIELD 1
39361 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39362 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39363 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39364 echo $ECHO_N "(cached) $ECHO_C" >&6
39366 ac_check_lib_save_LIBS=$LIBS
39367 LIBS="-lposix4 $LIBS"
39368 cat >conftest.$ac_ext <<_ACEOF
39371 cat confdefs.h >>conftest.$ac_ext
39372 cat >>conftest.$ac_ext <<_ACEOF
39373 /* end confdefs.h. */
39375 /* Override any GCC internal prototype to avoid an error.
39376 Use char because int might match the return type of a GCC
39377 builtin and then its argument prototype would still apply. */
39381 char sched_yield ();
39385 return sched_yield ();
39390 rm -f conftest.$ac_objext conftest$ac_exeext
39391 if { (ac_try="$ac_link"
39392 case "(($ac_try" in
39393 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39394 *) ac_try_echo
=$ac_try;;
39396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39397 (eval "$ac_link") 2>conftest.er1
39399 grep -v '^ *+' conftest.er1
>conftest.err
39401 cat conftest.err
>&5
39402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39403 (exit $ac_status); } && {
39404 test -z "$ac_c_werror_flag" ||
39405 test ! -s conftest.err
39406 } && test -s conftest
$ac_exeext &&
39407 $as_test_x conftest
$ac_exeext; then
39408 ac_cv_lib_posix4_sched_yield
=yes
39410 echo "$as_me: failed program was:" >&5
39411 sed 's/^/| /' conftest.
$ac_ext >&5
39413 ac_cv_lib_posix4_sched_yield
=no
39416 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39417 conftest
$ac_exeext conftest.
$ac_ext
39418 LIBS
=$ac_check_lib_save_LIBS
39420 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39421 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39422 if test $ac_cv_lib_posix4_sched_yield = yes; then
39423 cat >>confdefs.h
<<\_ACEOF
39424 #define HAVE_SCHED_YIELD 1
39426 POSIX4_LINK
=" -lposix4"
39428 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39429 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39440 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39441 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39442 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39443 echo $ECHO_N "(cached) $ECHO_C" >&6
39445 cat >conftest.
$ac_ext <<_ACEOF
39448 cat confdefs.h
>>conftest.
$ac_ext
39449 cat >>conftest.
$ac_ext <<_ACEOF
39450 /* end confdefs.h. */
39451 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39453 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39455 /* System header to define __stub macros and hopefully few prototypes,
39456 which can conflict with char pthread_attr_getschedpolicy (); below.
39457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39458 <limits.h> exists even on freestanding compilers. */
39461 # include <limits.h>
39463 # include <assert.h>
39466 #undef pthread_attr_getschedpolicy
39468 /* Override any GCC internal prototype to avoid an error.
39469 Use char because int might match the return type of a GCC
39470 builtin and then its argument prototype would still apply. */
39474 char pthread_attr_getschedpolicy ();
39475 /* The GNU C library defines this for functions which it implements
39476 to always fail with ENOSYS. Some functions are actually named
39477 something starting with __ and the normal name is an alias. */
39478 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39485 return pthread_attr_getschedpolicy ();
39490 rm -f conftest.
$ac_objext conftest
$ac_exeext
39491 if { (ac_try
="$ac_link"
39492 case "(($ac_try" in
39493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39494 *) ac_try_echo=$ac_try;;
39496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39497 (eval "$ac_link") 2>conftest.er1
39499 grep -v '^ *+' conftest.er1 >conftest.err
39501 cat conftest.err >&5
39502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39503 (exit $ac_status); } && {
39504 test -z "$ac_c_werror_flag" ||
39505 test ! -s conftest.err
39506 } && test -s conftest$ac_exeext &&
39507 $as_test_x conftest$ac_exeext; then
39508 ac_cv_func_pthread_attr_getschedpolicy=yes
39510 echo "$as_me: failed program was:" >&5
39511 sed 's/^/| /' conftest.$ac_ext >&5
39513 ac_cv_func_pthread_attr_getschedpolicy=no
39516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39517 conftest$ac_exeext conftest.$ac_ext
39519 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39520 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39521 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39522 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39523 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39524 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39525 echo $ECHO_N "(cached) $ECHO_C" >&6
39527 cat >conftest.$ac_ext <<_ACEOF
39530 cat confdefs.h >>conftest.$ac_ext
39531 cat >>conftest.$ac_ext <<_ACEOF
39532 /* end confdefs.h. */
39533 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39535 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39537 /* System header to define __stub macros and hopefully few prototypes,
39538 which can conflict with char pthread_attr_setschedparam (); below.
39539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39540 <limits.h> exists even on freestanding compilers. */
39543 # include <limits.h>
39545 # include <assert.h>
39548 #undef pthread_attr_setschedparam
39550 /* Override any GCC internal prototype to avoid an error.
39551 Use char because int might match the return type of a GCC
39552 builtin and then its argument prototype would still apply. */
39556 char pthread_attr_setschedparam ();
39557 /* The GNU C library defines this for functions which it implements
39558 to always fail with ENOSYS. Some functions are actually named
39559 something starting with __ and the normal name is an alias. */
39560 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39567 return pthread_attr_setschedparam ();
39572 rm -f conftest.$ac_objext conftest$ac_exeext
39573 if { (ac_try="$ac_link"
39574 case "(($ac_try" in
39575 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39576 *) ac_try_echo
=$ac_try;;
39578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39579 (eval "$ac_link") 2>conftest.er1
39581 grep -v '^ *+' conftest.er1
>conftest.err
39583 cat conftest.err
>&5
39584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39585 (exit $ac_status); } && {
39586 test -z "$ac_c_werror_flag" ||
39587 test ! -s conftest.err
39588 } && test -s conftest
$ac_exeext &&
39589 $as_test_x conftest
$ac_exeext; then
39590 ac_cv_func_pthread_attr_setschedparam
=yes
39592 echo "$as_me: failed program was:" >&5
39593 sed 's/^/| /' conftest.
$ac_ext >&5
39595 ac_cv_func_pthread_attr_setschedparam
=no
39598 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39599 conftest
$ac_exeext conftest.
$ac_ext
39601 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39602 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39603 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39604 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39605 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39606 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39607 echo $ECHO_N "(cached) $ECHO_C" >&6
39609 cat >conftest.
$ac_ext <<_ACEOF
39612 cat confdefs.h
>>conftest.
$ac_ext
39613 cat >>conftest.
$ac_ext <<_ACEOF
39614 /* end confdefs.h. */
39615 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39617 #define sched_get_priority_max innocuous_sched_get_priority_max
39619 /* System header to define __stub macros and hopefully few prototypes,
39620 which can conflict with char sched_get_priority_max (); below.
39621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39622 <limits.h> exists even on freestanding compilers. */
39625 # include <limits.h>
39627 # include <assert.h>
39630 #undef sched_get_priority_max
39632 /* Override any GCC internal prototype to avoid an error.
39633 Use char because int might match the return type of a GCC
39634 builtin and then its argument prototype would still apply. */
39638 char sched_get_priority_max ();
39639 /* The GNU C library defines this for functions which it implements
39640 to always fail with ENOSYS. Some functions are actually named
39641 something starting with __ and the normal name is an alias. */
39642 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39649 return sched_get_priority_max ();
39654 rm -f conftest.
$ac_objext conftest
$ac_exeext
39655 if { (ac_try
="$ac_link"
39656 case "(($ac_try" in
39657 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39658 *) ac_try_echo=$ac_try;;
39660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39661 (eval "$ac_link") 2>conftest.er1
39663 grep -v '^ *+' conftest.er1 >conftest.err
39665 cat conftest.err >&5
39666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39667 (exit $ac_status); } && {
39668 test -z "$ac_c_werror_flag" ||
39669 test ! -s conftest.err
39670 } && test -s conftest$ac_exeext &&
39671 $as_test_x conftest$ac_exeext; then
39672 ac_cv_func_sched_get_priority_max=yes
39674 echo "$as_me: failed program was:" >&5
39675 sed 's/^/| /' conftest.$ac_ext >&5
39677 ac_cv_func_sched_get_priority_max=no
39680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39681 conftest$ac_exeext conftest.$ac_ext
39683 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39684 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39685 if test $ac_cv_func_sched_get_priority_max = yes; then
39688 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39689 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39690 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39691 echo $ECHO_N "(cached) $ECHO_C" >&6
39693 ac_check_lib_save_LIBS=$LIBS
39694 LIBS="-lposix4 $LIBS"
39695 cat >conftest.$ac_ext <<_ACEOF
39698 cat confdefs.h >>conftest.$ac_ext
39699 cat >>conftest.$ac_ext <<_ACEOF
39700 /* end confdefs.h. */
39702 /* Override any GCC internal prototype to avoid an error.
39703 Use char because int might match the return type of a GCC
39704 builtin and then its argument prototype would still apply. */
39708 char sched_get_priority_max ();
39712 return sched_get_priority_max ();
39717 rm -f conftest.$ac_objext conftest$ac_exeext
39718 if { (ac_try="$ac_link"
39719 case "(($ac_try" in
39720 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39721 *) ac_try_echo
=$ac_try;;
39723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39724 (eval "$ac_link") 2>conftest.er1
39726 grep -v '^ *+' conftest.er1
>conftest.err
39728 cat conftest.err
>&5
39729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39730 (exit $ac_status); } && {
39731 test -z "$ac_c_werror_flag" ||
39732 test ! -s conftest.err
39733 } && test -s conftest
$ac_exeext &&
39734 $as_test_x conftest
$ac_exeext; then
39735 ac_cv_lib_posix4_sched_get_priority_max
=yes
39737 echo "$as_me: failed program was:" >&5
39738 sed 's/^/| /' conftest.
$ac_ext >&5
39740 ac_cv_lib_posix4_sched_get_priority_max
=no
39743 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39744 conftest
$ac_exeext conftest.
$ac_ext
39745 LIBS
=$ac_check_lib_save_LIBS
39747 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39748 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39749 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39752 POSIX4_LINK
=" -lposix4"
39766 if test "$HAVE_PRIOR_FUNCS" = 1; then
39767 cat >>confdefs.h
<<\_ACEOF
39768 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39772 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39773 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39776 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39777 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39778 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39779 echo $ECHO_N "(cached) $ECHO_C" >&6
39781 cat >conftest.
$ac_ext <<_ACEOF
39784 cat confdefs.h
>>conftest.
$ac_ext
39785 cat >>conftest.
$ac_ext <<_ACEOF
39786 /* end confdefs.h. */
39787 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39789 #define pthread_cancel innocuous_pthread_cancel
39791 /* System header to define __stub macros and hopefully few prototypes,
39792 which can conflict with char pthread_cancel (); below.
39793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39794 <limits.h> exists even on freestanding compilers. */
39797 # include <limits.h>
39799 # include <assert.h>
39802 #undef pthread_cancel
39804 /* Override any GCC internal prototype to avoid an error.
39805 Use char because int might match the return type of a GCC
39806 builtin and then its argument prototype would still apply. */
39810 char pthread_cancel ();
39811 /* The GNU C library defines this for functions which it implements
39812 to always fail with ENOSYS. Some functions are actually named
39813 something starting with __ and the normal name is an alias. */
39814 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39821 return pthread_cancel ();
39826 rm -f conftest.
$ac_objext conftest
$ac_exeext
39827 if { (ac_try
="$ac_link"
39828 case "(($ac_try" in
39829 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39830 *) ac_try_echo=$ac_try;;
39832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39833 (eval "$ac_link") 2>conftest.er1
39835 grep -v '^ *+' conftest.er1 >conftest.err
39837 cat conftest.err >&5
39838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39839 (exit $ac_status); } && {
39840 test -z "$ac_c_werror_flag" ||
39841 test ! -s conftest.err
39842 } && test -s conftest$ac_exeext &&
39843 $as_test_x conftest$ac_exeext; then
39844 ac_cv_func_pthread_cancel=yes
39846 echo "$as_me: failed program was:" >&5
39847 sed 's/^/| /' conftest.$ac_ext >&5
39849 ac_cv_func_pthread_cancel=no
39852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39853 conftest$ac_exeext conftest.$ac_ext
39855 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39856 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39857 if test $ac_cv_func_pthread_cancel = yes; then
39858 cat >>confdefs.h <<\_ACEOF
39859 #define HAVE_PTHREAD_CANCEL 1
39863 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39864 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39868 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39869 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39870 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39871 echo $ECHO_N "(cached) $ECHO_C" >&6
39873 cat >conftest.$ac_ext <<_ACEOF
39876 cat confdefs.h >>conftest.$ac_ext
39877 cat >>conftest.$ac_ext <<_ACEOF
39878 /* end confdefs.h. */
39879 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39881 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39883 /* System header to define __stub macros and hopefully few prototypes,
39884 which can conflict with char pthread_mutex_timedlock (); below.
39885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39886 <limits.h> exists even on freestanding compilers. */
39889 # include <limits.h>
39891 # include <assert.h>
39894 #undef pthread_mutex_timedlock
39896 /* Override any GCC internal prototype to avoid an error.
39897 Use char because int might match the return type of a GCC
39898 builtin and then its argument prototype would still apply. */
39902 char pthread_mutex_timedlock ();
39903 /* The GNU C library defines this for functions which it implements
39904 to always fail with ENOSYS. Some functions are actually named
39905 something starting with __ and the normal name is an alias. */
39906 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39913 return pthread_mutex_timedlock ();
39918 rm -f conftest.$ac_objext conftest$ac_exeext
39919 if { (ac_try="$ac_link"
39920 case "(($ac_try" in
39921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39922 *) ac_try_echo
=$ac_try;;
39924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39925 (eval "$ac_link") 2>conftest.er1
39927 grep -v '^ *+' conftest.er1
>conftest.err
39929 cat conftest.err
>&5
39930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39931 (exit $ac_status); } && {
39932 test -z "$ac_c_werror_flag" ||
39933 test ! -s conftest.err
39934 } && test -s conftest
$ac_exeext &&
39935 $as_test_x conftest
$ac_exeext; then
39936 ac_cv_func_pthread_mutex_timedlock
=yes
39938 echo "$as_me: failed program was:" >&5
39939 sed 's/^/| /' conftest.
$ac_ext >&5
39941 ac_cv_func_pthread_mutex_timedlock
=no
39944 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39945 conftest
$ac_exeext conftest.
$ac_ext
39947 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39948 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39949 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39950 cat >>confdefs.h
<<\_ACEOF
39951 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39955 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39956 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39960 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39961 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39962 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39963 echo $ECHO_N "(cached) $ECHO_C" >&6
39965 cat >conftest.
$ac_ext <<_ACEOF
39968 cat confdefs.h
>>conftest.
$ac_ext
39969 cat >>conftest.
$ac_ext <<_ACEOF
39970 /* end confdefs.h. */
39971 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39973 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39975 /* System header to define __stub macros and hopefully few prototypes,
39976 which can conflict with char pthread_attr_setstacksize (); below.
39977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39978 <limits.h> exists even on freestanding compilers. */
39981 # include <limits.h>
39983 # include <assert.h>
39986 #undef pthread_attr_setstacksize
39988 /* Override any GCC internal prototype to avoid an error.
39989 Use char because int might match the return type of a GCC
39990 builtin and then its argument prototype would still apply. */
39994 char pthread_attr_setstacksize ();
39995 /* The GNU C library defines this for functions which it implements
39996 to always fail with ENOSYS. Some functions are actually named
39997 something starting with __ and the normal name is an alias. */
39998 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40005 return pthread_attr_setstacksize ();
40010 rm -f conftest.
$ac_objext conftest
$ac_exeext
40011 if { (ac_try
="$ac_link"
40012 case "(($ac_try" in
40013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40014 *) ac_try_echo=$ac_try;;
40016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40017 (eval "$ac_link") 2>conftest.er1
40019 grep -v '^ *+' conftest.er1 >conftest.err
40021 cat conftest.err >&5
40022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023 (exit $ac_status); } && {
40024 test -z "$ac_c_werror_flag" ||
40025 test ! -s conftest.err
40026 } && test -s conftest$ac_exeext &&
40027 $as_test_x conftest$ac_exeext; then
40028 ac_cv_func_pthread_attr_setstacksize=yes
40030 echo "$as_me: failed program was:" >&5
40031 sed 's/^/| /' conftest.$ac_ext >&5
40033 ac_cv_func_pthread_attr_setstacksize=no
40036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40037 conftest$ac_exeext conftest.$ac_ext
40039 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40040 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40041 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40042 cat >>confdefs.h <<\_ACEOF
40043 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40050 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40051 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40052 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40053 echo $ECHO_N "(cached) $ECHO_C" >&6
40056 cat >conftest.$ac_ext <<_ACEOF
40059 cat confdefs.h >>conftest.$ac_ext
40060 cat >>conftest.$ac_ext <<_ACEOF
40061 /* end confdefs.h. */
40062 #include <pthread.h>
40067 pthread_mutexattr_t attr;
40068 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40074 rm -f conftest.$ac_objext
40075 if { (ac_try="$ac_compile"
40076 case "(($ac_try" in
40077 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40078 *) ac_try_echo
=$ac_try;;
40080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40081 (eval "$ac_compile") 2>conftest.er1
40083 grep -v '^ *+' conftest.er1
>conftest.err
40085 cat conftest.err
>&5
40086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40087 (exit $ac_status); } && {
40088 test -z "$ac_c_werror_flag" ||
40089 test ! -s conftest.err
40090 } && test -s conftest.
$ac_objext; then
40091 wx_cv_type_pthread_mutexattr_t
=yes
40093 echo "$as_me: failed program was:" >&5
40094 sed 's/^/| /' conftest.
$ac_ext >&5
40096 wx_cv_type_pthread_mutexattr_t
=no
40100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40103 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40104 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40106 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40107 cat >>confdefs.h
<<\_ACEOF
40108 #define HAVE_PTHREAD_MUTEXATTR_T 1
40112 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40113 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40114 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40115 echo $ECHO_N "(cached) $ECHO_C" >&6
40118 cat >conftest.
$ac_ext <<_ACEOF
40121 cat confdefs.h
>>conftest.
$ac_ext
40122 cat >>conftest.
$ac_ext <<_ACEOF
40123 /* end confdefs.h. */
40124 #include <pthread.h>
40129 pthread_mutexattr_t attr;
40130 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40136 rm -f conftest.
$ac_objext
40137 if { (ac_try
="$ac_compile"
40138 case "(($ac_try" in
40139 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40140 *) ac_try_echo=$ac_try;;
40142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40143 (eval "$ac_compile") 2>conftest.er1
40145 grep -v '^ *+' conftest.er1 >conftest.err
40147 cat conftest.err >&5
40148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40149 (exit $ac_status); } && {
40150 test -z "$ac_c_werror_flag" ||
40151 test ! -s conftest.err
40152 } && test -s conftest.$ac_objext; then
40153 wx_cv_func_pthread_mutexattr_settype_decl=yes
40155 echo "$as_me: failed program was:" >&5
40156 sed 's/^/| /' conftest.$ac_ext >&5
40158 wx_cv_func_pthread_mutexattr_settype_decl=no
40162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40165 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40166 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40167 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40168 cat >>confdefs.h <<\_ACEOF
40169 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40174 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40175 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40176 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40177 echo $ECHO_N "(cached) $ECHO_C" >&6
40180 cat >conftest.$ac_ext <<_ACEOF
40183 cat confdefs.h >>conftest.$ac_ext
40184 cat >>conftest.$ac_ext <<_ACEOF
40185 /* end confdefs.h. */
40186 #include <pthread.h>
40191 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40197 rm -f conftest.$ac_objext
40198 if { (ac_try="$ac_compile"
40199 case "(($ac_try" in
40200 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40201 *) ac_try_echo
=$ac_try;;
40203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40204 (eval "$ac_compile") 2>conftest.er1
40206 grep -v '^ *+' conftest.er1
>conftest.err
40208 cat conftest.err
>&5
40209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40210 (exit $ac_status); } && {
40211 test -z "$ac_c_werror_flag" ||
40212 test ! -s conftest.err
40213 } && test -s conftest.
$ac_objext; then
40215 wx_cv_type_pthread_rec_mutex_init
=yes
40218 echo "$as_me: failed program was:" >&5
40219 sed 's/^/| /' conftest.
$ac_ext >&5
40222 wx_cv_type_pthread_rec_mutex_init
=no
40227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40230 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40231 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40232 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40233 cat >>confdefs.h
<<\_ACEOF
40234 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40238 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40239 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40243 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40244 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40245 if test "${wx_cv_cc___thread+set}" = set; then
40246 echo $ECHO_N "(cached) $ECHO_C" >&6
40249 cat >conftest.
$ac_ext <<_ACEOF
40252 cat confdefs.h
>>conftest.
$ac_ext
40253 cat >>conftest.
$ac_ext <<_ACEOF
40254 /* end confdefs.h. */
40255 #include <pthread.h>
40260 static __thread int n = 0;
40261 static __thread int *p = 0;
40267 rm -f conftest.
$ac_objext
40268 if { (ac_try
="$ac_compile"
40269 case "(($ac_try" in
40270 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40271 *) ac_try_echo=$ac_try;;
40273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40274 (eval "$ac_compile") 2>conftest.er1
40276 grep -v '^ *+' conftest.er1 >conftest.err
40278 cat conftest.err >&5
40279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40280 (exit $ac_status); } && {
40281 test -z "$ac_c_werror_flag" ||
40282 test ! -s conftest.err
40283 } && test -s conftest.$ac_objext; then
40284 wx_cv_cc___thread=yes
40286 echo "$as_me: failed program was:" >&5
40287 sed 's/^/| /' conftest.$ac_ext >&5
40289 wx_cv_cc___thread=no
40293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40297 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40298 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40300 if test "$wx_cv_cc___thread" = "yes"; then
40306 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40307 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40309 if test "x$GCC" = "xyes" ; then
40311 if test -z "" ; then
40313 ax_gcc_option_test="int main()
40320 ax_gcc_option_test=""
40325 # Dump the test program to file
40326 cat <<EOF > conftest.c
40327 $ax_gcc_option_test
40330 # Dump back the file to the log, useful for debugging purposes
40331 { ac_try='cat conftest.c 1>&5'
40332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40333 (eval $ac_try) 2>&5
40335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40336 (exit $ac_status); }; }
40338 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40340 (eval $ac_try) 2>&5
40342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40343 (exit $ac_status); }; } ; then
40345 { echo "$as_me:$LINENO: result: yes" >&5
40346 echo "${ECHO_T}yes" >&6; }
40348 ax_gcc_version_option=yes
40353 { echo "$as_me:$LINENO: result: no" >&5
40354 echo "${ECHO_T}no" >&6; }
40356 ax_gcc_version_option=no
40364 { echo "$as_me:$LINENO: result: no gcc available" >&5
40365 echo "${ECHO_T}no gcc available" >&6; }
40370 if test "x$GXX" = "xyes"; then
40372 if test "x$ax_gxx_version_option" != "no"; then
40374 { echo "$as_me:$LINENO: checking gxx version" >&5
40375 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40376 if test "${ax_cv_gxx_version+set}" = set; then
40377 echo $ECHO_N "(cached) $ECHO_C" >&6
40380 ax_cv_gxx_version="`$CXX -dumpversion`"
40381 if test "x$ax_cv_gxx_version" = "x"; then
40383 ax_cv_gxx_version=""
40389 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40390 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40391 GXX_VERSION=$ax_cv_gxx_version
40400 if test -n "$ax_cv_gxx_version"; then
40401 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40402 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40403 case "$ax_cv_gxx_version" in
40405 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40406 echo "${ECHO_T}no, it's broken" >&6; }
40407 wx_cv_cc___thread=no
40410 { echo "$as_me:$LINENO: result: yes, it works" >&5
40411 echo "${ECHO_T}yes, it works" >&6; }
40417 if test "$wx_cv_cc___thread" = "yes"; then
40418 cat >>confdefs.h <<\_ACEOF
40419 #define HAVE___THREAD_KEYWORD 1
40426 if test "$wxUSE_THREADS" = "yes" ; then
40428 x86_64-*-mingw32* )
40431 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40432 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40433 if test "${wx_cv_cflags_mthread+set}" = set; then
40434 echo $ECHO_N "(cached) $ECHO_C" >&6
40437 CFLAGS_OLD="$CFLAGS"
40438 CFLAGS="-mthreads $CFLAGS"
40439 cat >conftest.$ac_ext <<_ACEOF
40442 cat confdefs.h >>conftest.$ac_ext
40443 cat >>conftest.$ac_ext <<_ACEOF
40444 /* end confdefs.h. */
40454 rm -f conftest.$ac_objext
40455 if { (ac_try="$ac_compile"
40456 case "(($ac_try" in
40457 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40458 *) ac_try_echo
=$ac_try;;
40460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40461 (eval "$ac_compile") 2>conftest.er1
40463 grep -v '^ *+' conftest.er1
>conftest.err
40465 cat conftest.err
>&5
40466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40467 (exit $ac_status); } && {
40468 test -z "$ac_c_werror_flag" ||
40469 test ! -s conftest.err
40470 } && test -s conftest.
$ac_objext; then
40471 wx_cv_cflags_mthread
=yes
40473 echo "$as_me: failed program was:" >&5
40474 sed 's/^/| /' conftest.
$ac_ext >&5
40476 wx_cv_cflags_mthread
=no
40480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40484 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40485 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40487 if test "$wx_cv_cflags_mthread" = "yes"; then
40488 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40489 LDFLAGS
="$LDFLAGS -mthreads"
40491 CFLAGS
="$CFLAGS_OLD"
40495 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40496 LDFLAGS
="$LDFLAGS -Zmt"
40502 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40503 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40504 if test "${ac_cv_func_localtime_r+set}" = set; then
40505 echo $ECHO_N "(cached) $ECHO_C" >&6
40507 cat >conftest.
$ac_ext <<_ACEOF
40510 cat confdefs.h
>>conftest.
$ac_ext
40511 cat >>conftest.
$ac_ext <<_ACEOF
40512 /* end confdefs.h. */
40513 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40515 #define localtime_r innocuous_localtime_r
40517 /* System header to define __stub macros and hopefully few prototypes,
40518 which can conflict with char localtime_r (); below.
40519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40520 <limits.h> exists even on freestanding compilers. */
40523 # include <limits.h>
40525 # include <assert.h>
40530 /* Override any GCC internal prototype to avoid an error.
40531 Use char because int might match the return type of a GCC
40532 builtin and then its argument prototype would still apply. */
40536 char localtime_r ();
40537 /* The GNU C library defines this for functions which it implements
40538 to always fail with ENOSYS. Some functions are actually named
40539 something starting with __ and the normal name is an alias. */
40540 #if defined __stub_localtime_r || defined __stub___localtime_r
40547 return localtime_r ();
40552 rm -f conftest.
$ac_objext conftest
$ac_exeext
40553 if { (ac_try
="$ac_link"
40554 case "(($ac_try" in
40555 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40556 *) ac_try_echo=$ac_try;;
40558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40559 (eval "$ac_link") 2>conftest.er1
40561 grep -v '^ *+' conftest.er1 >conftest.err
40563 cat conftest.err >&5
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); } && {
40566 test -z "$ac_c_werror_flag" ||
40567 test ! -s conftest.err
40568 } && test -s conftest$ac_exeext &&
40569 $as_test_x conftest$ac_exeext; then
40570 ac_cv_func_localtime_r=yes
40572 echo "$as_me: failed program was:" >&5
40573 sed 's/^/| /' conftest.$ac_ext >&5
40575 ac_cv_func_localtime_r=no
40578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40579 conftest$ac_exeext conftest.$ac_ext
40581 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40582 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40583 if test $ac_cv_func_localtime_r = yes; then
40584 cat >>confdefs.h <<\_ACEOF
40585 #define HAVE_LOCALTIME_R 1
40590 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40591 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40592 if test "${ac_cv_func_gmtime_r+set}" = set; then
40593 echo $ECHO_N "(cached) $ECHO_C" >&6
40595 cat >conftest.$ac_ext <<_ACEOF
40598 cat confdefs.h >>conftest.$ac_ext
40599 cat >>conftest.$ac_ext <<_ACEOF
40600 /* end confdefs.h. */
40601 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40603 #define gmtime_r innocuous_gmtime_r
40605 /* System header to define __stub macros and hopefully few prototypes,
40606 which can conflict with char gmtime_r (); below.
40607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40608 <limits.h> exists even on freestanding compilers. */
40611 # include <limits.h>
40613 # include <assert.h>
40618 /* Override any GCC internal prototype to avoid an error.
40619 Use char because int might match the return type of a GCC
40620 builtin and then its argument prototype would still apply. */
40625 /* The GNU C library defines this for functions which it implements
40626 to always fail with ENOSYS. Some functions are actually named
40627 something starting with __ and the normal name is an alias. */
40628 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40635 return gmtime_r ();
40640 rm -f conftest.$ac_objext conftest$ac_exeext
40641 if { (ac_try="$ac_link"
40642 case "(($ac_try" in
40643 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40644 *) ac_try_echo
=$ac_try;;
40646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40647 (eval "$ac_link") 2>conftest.er1
40649 grep -v '^ *+' conftest.er1
>conftest.err
40651 cat conftest.err
>&5
40652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40653 (exit $ac_status); } && {
40654 test -z "$ac_c_werror_flag" ||
40655 test ! -s conftest.err
40656 } && test -s conftest
$ac_exeext &&
40657 $as_test_x conftest
$ac_exeext; then
40658 ac_cv_func_gmtime_r
=yes
40660 echo "$as_me: failed program was:" >&5
40661 sed 's/^/| /' conftest.
$ac_ext >&5
40663 ac_cv_func_gmtime_r
=no
40666 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40667 conftest
$ac_exeext conftest.
$ac_ext
40669 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40670 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40671 if test $ac_cv_func_gmtime_r = yes; then
40672 cat >>confdefs.h
<<\_ACEOF
40673 #define HAVE_GMTIME_R 1
40682 ac_cpp
='$CPP $CPPFLAGS'
40683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40687 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40688 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40690 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40691 echo $ECHO_N "(cached) $ECHO_C" >&6
40695 ################################################################
40697 ac_cv_func_which_gethostbyname_r
=unknown
40700 # ONE ARGUMENT (sanity check)
40703 # This should fail, as there is no variant of gethostbyname_r() that takes
40704 # a single argument. If it actually compiles, then we can assume that
40705 # netdb.h is not declaring the function, and the compiler is thereby
40706 # assuming an implicit prototype. In which case, we're out of luck.
40708 cat >conftest.
$ac_ext <<_ACEOF
40711 cat confdefs.h
>>conftest.
$ac_ext
40712 cat >>conftest.
$ac_ext <<_ACEOF
40713 /* end confdefs.h. */
40719 char *name = "www.gnu.org";
40720 (void)gethostbyname_r(name) /* ; */
40726 rm -f conftest.
$ac_objext
40727 if { (ac_try
="$ac_compile"
40728 case "(($ac_try" in
40729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40730 *) ac_try_echo=$ac_try;;
40732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40733 (eval "$ac_compile") 2>conftest.er1
40735 grep -v '^ *+' conftest.er1 >conftest.err
40737 cat conftest.err >&5
40738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40739 (exit $ac_status); } && {
40740 test -z "$ac_c_werror_flag" ||
40741 test ! -s conftest.err
40742 } && test -s conftest.$ac_objext; then
40743 ac_cv_func_which_gethostbyname_r=no
40745 echo "$as_me: failed program was:" >&5
40746 sed 's/^/| /' conftest.$ac_ext >&5
40751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40758 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40760 cat >conftest.$ac_ext <<_ACEOF
40763 cat confdefs.h >>conftest.$ac_ext
40764 cat >>conftest.$ac_ext <<_ACEOF
40765 /* end confdefs.h. */
40771 char *name = "www.gnu.org";
40772 struct hostent ret, *retp;
40776 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40782 rm -f conftest.$ac_objext
40783 if { (ac_try="$ac_compile"
40784 case "(($ac_try" in
40785 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40786 *) ac_try_echo
=$ac_try;;
40788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40789 (eval "$ac_compile") 2>conftest.er1
40791 grep -v '^ *+' conftest.er1
>conftest.err
40793 cat conftest.err
>&5
40794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40795 (exit $ac_status); } && {
40796 test -z "$ac_c_werror_flag" ||
40797 test ! -s conftest.err
40798 } && test -s conftest.
$ac_objext; then
40799 ac_cv_func_which_gethostbyname_r
=six
40801 echo "$as_me: failed program was:" >&5
40802 sed 's/^/| /' conftest.
$ac_ext >&5
40807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40816 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40818 cat >conftest.
$ac_ext <<_ACEOF
40821 cat confdefs.h
>>conftest.
$ac_ext
40822 cat >>conftest.
$ac_ext <<_ACEOF
40823 /* end confdefs.h. */
40829 char *name = "www.gnu.org";
40830 struct hostent ret;
40834 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40840 rm -f conftest.
$ac_objext
40841 if { (ac_try
="$ac_compile"
40842 case "(($ac_try" in
40843 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40844 *) ac_try_echo=$ac_try;;
40846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40847 (eval "$ac_compile") 2>conftest.er1
40849 grep -v '^ *+' conftest.er1 >conftest.err
40851 cat conftest.err >&5
40852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40853 (exit $ac_status); } && {
40854 test -z "$ac_c_werror_flag" ||
40855 test ! -s conftest.err
40856 } && test -s conftest.$ac_objext; then
40857 ac_cv_func_which_gethostbyname_r=five
40859 echo "$as_me: failed program was:" >&5
40860 sed 's/^/| /' conftest.$ac_ext >&5
40865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40871 # (e.g. AIX, HP-UX, Tru64)
40874 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40876 cat >conftest.$ac_ext <<_ACEOF
40879 cat confdefs.h >>conftest.$ac_ext
40880 cat >>conftest.$ac_ext <<_ACEOF
40881 /* end confdefs.h. */
40887 char *name = "www.gnu.org";
40888 struct hostent ret;
40889 struct hostent_data data;
40890 (void)gethostbyname_r(name, &ret, &data) /* ; */
40896 rm -f conftest.$ac_objext
40897 if { (ac_try="$ac_compile"
40898 case "(($ac_try" in
40899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40900 *) ac_try_echo
=$ac_try;;
40902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40903 (eval "$ac_compile") 2>conftest.er1
40905 grep -v '^ *+' conftest.er1
>conftest.err
40907 cat conftest.err
>&5
40908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909 (exit $ac_status); } && {
40910 test -z "$ac_c_werror_flag" ||
40911 test ! -s conftest.err
40912 } && test -s conftest.
$ac_objext; then
40913 ac_cv_func_which_gethostbyname_r
=three
40915 echo "$as_me: failed program was:" >&5
40916 sed 's/^/| /' conftest.
$ac_ext >&5
40921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40925 ################################################################
40930 case "$ac_cv_func_which_gethostbyname_r" in
40932 { echo "$as_me:$LINENO: result: three" >&5
40933 echo "${ECHO_T}three" >&6; }
40934 cat >>confdefs.h
<<\_ACEOF
40935 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40941 { echo "$as_me:$LINENO: result: five" >&5
40942 echo "${ECHO_T}five" >&6; }
40943 cat >>confdefs.h
<<\_ACEOF
40944 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40950 { echo "$as_me:$LINENO: result: six" >&5
40951 echo "${ECHO_T}six" >&6; }
40952 cat >>confdefs.h
<<\_ACEOF
40953 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40959 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40960 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40964 { echo "$as_me:$LINENO: result: can't tell" >&5
40965 echo "${ECHO_T}can't tell" >&6; }
40969 { { echo "$as_me:$LINENO: error: internal error" >&5
40970 echo "$as_me: error: internal error" >&2;}
40971 { (exit 1); exit 1; }; }
40976 ac_cpp
='$CPP $CPPFLAGS'
40977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40983 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40984 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40985 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40986 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40987 if test "${ac_cv_func_gethostbyname+set}" = set; then
40988 echo $ECHO_N "(cached) $ECHO_C" >&6
40990 cat >conftest.
$ac_ext <<_ACEOF
40993 cat confdefs.h
>>conftest.
$ac_ext
40994 cat >>conftest.
$ac_ext <<_ACEOF
40995 /* end confdefs.h. */
40996 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40998 #define gethostbyname innocuous_gethostbyname
41000 /* System header to define __stub macros and hopefully few prototypes,
41001 which can conflict with char gethostbyname (); below.
41002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41003 <limits.h> exists even on freestanding compilers. */
41006 # include <limits.h>
41008 # include <assert.h>
41011 #undef gethostbyname
41013 /* Override any GCC internal prototype to avoid an error.
41014 Use char because int might match the return type of a GCC
41015 builtin and then its argument prototype would still apply. */
41019 char gethostbyname ();
41020 /* The GNU C library defines this for functions which it implements
41021 to always fail with ENOSYS. Some functions are actually named
41022 something starting with __ and the normal name is an alias. */
41023 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41030 return gethostbyname ();
41035 rm -f conftest.
$ac_objext conftest
$ac_exeext
41036 if { (ac_try
="$ac_link"
41037 case "(($ac_try" in
41038 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41039 *) ac_try_echo=$ac_try;;
41041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41042 (eval "$ac_link") 2>conftest.er1
41044 grep -v '^ *+' conftest.er1 >conftest.err
41046 cat conftest.err >&5
41047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41048 (exit $ac_status); } && {
41049 test -z "$ac_c_werror_flag" ||
41050 test ! -s conftest.err
41051 } && test -s conftest$ac_exeext &&
41052 $as_test_x conftest$ac_exeext; then
41053 ac_cv_func_gethostbyname=yes
41055 echo "$as_me: failed program was:" >&5
41056 sed 's/^/| /' conftest.$ac_ext >&5
41058 ac_cv_func_gethostbyname=no
41061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41062 conftest$ac_exeext conftest.$ac_ext
41064 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41065 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41066 if test $ac_cv_func_gethostbyname = yes; then
41067 cat >>confdefs.h <<\_ACEOF
41068 #define HAVE_GETHOSTBYNAME 1
41075 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41076 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41077 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41078 echo $ECHO_N "(cached) $ECHO_C" >&6
41082 ac_cpp='$CXXCPP $CPPFLAGS'
41083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41088 cat >conftest.$ac_ext <<_ACEOF
41091 cat confdefs.h >>conftest.$ac_ext
41092 cat >>conftest.$ac_ext <<_ACEOF
41093 /* end confdefs.h. */
41101 struct servent *se, *res;
41104 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41110 rm -f conftest.$ac_objext
41111 if { (ac_try="$ac_compile"
41112 case "(($ac_try" in
41113 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41114 *) ac_try_echo
=$ac_try;;
41116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41117 (eval "$ac_compile") 2>conftest.er1
41119 grep -v '^ *+' conftest.er1
>conftest.err
41121 cat conftest.err
>&5
41122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41123 (exit $ac_status); } && {
41124 test -z "$ac_cxx_werror_flag" ||
41125 test ! -s conftest.err
41126 } && test -s conftest.
$ac_objext; then
41127 ac_cv_func_which_getservbyname_r
=six
41129 echo "$as_me: failed program was:" >&5
41130 sed 's/^/| /' conftest.
$ac_ext >&5
41133 cat >conftest.
$ac_ext <<_ACEOF
41136 cat confdefs.h
>>conftest.
$ac_ext
41137 cat >>conftest.
$ac_ext <<_ACEOF
41138 /* end confdefs.h. */
41146 struct servent *se;
41149 (void) getservbyname_r(name, proto, se, buffer, buflen)
41155 rm -f conftest.
$ac_objext
41156 if { (ac_try
="$ac_compile"
41157 case "(($ac_try" in
41158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41159 *) ac_try_echo=$ac_try;;
41161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41162 (eval "$ac_compile") 2>conftest.er1
41164 grep -v '^ *+' conftest.er1 >conftest.err
41166 cat conftest.err >&5
41167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41168 (exit $ac_status); } && {
41169 test -z "$ac_cxx_werror_flag" ||
41170 test ! -s conftest.err
41171 } && test -s conftest.$ac_objext; then
41172 ac_cv_func_which_getservbyname_r=five
41174 echo "$as_me: failed program was:" >&5
41175 sed 's/^/| /' conftest.$ac_ext >&5
41178 cat >conftest.$ac_ext <<_ACEOF
41181 cat confdefs.h >>conftest.$ac_ext
41182 cat >>conftest.$ac_ext <<_ACEOF
41183 /* end confdefs.h. */
41191 struct servent *se;
41192 struct servent_data data;
41193 (void) getservbyname_r(name, proto, se, &data);
41199 rm -f conftest.$ac_objext
41200 if { (ac_try="$ac_compile"
41201 case "(($ac_try" in
41202 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41203 *) ac_try_echo
=$ac_try;;
41205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41206 (eval "$ac_compile") 2>conftest.er1
41208 grep -v '^ *+' conftest.er1
>conftest.err
41210 cat conftest.err
>&5
41211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41212 (exit $ac_status); } && {
41213 test -z "$ac_cxx_werror_flag" ||
41214 test ! -s conftest.err
41215 } && test -s conftest.
$ac_objext; then
41216 ac_cv_func_which_getservbyname_r
=four
41218 echo "$as_me: failed program was:" >&5
41219 sed 's/^/| /' conftest.
$ac_ext >&5
41221 ac_cv_func_which_getservbyname_r
=no
41225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41237 ac_cpp
='$CPP $CPPFLAGS'
41238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41245 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41246 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41248 if test $ac_cv_func_which_getservbyname_r = six
; then
41249 cat >>confdefs.h
<<\_ACEOF
41250 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41253 elif test $ac_cv_func_which_getservbyname_r = five
; then
41254 cat >>confdefs.h
<<\_ACEOF
41255 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41258 elif test $ac_cv_func_which_getservbyname_r = four
; then
41259 cat >>confdefs.h
<<\_ACEOF
41260 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41266 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41267 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41269 for ac_func
in getservbyname
41271 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41272 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41274 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41275 echo $ECHO_N "(cached) $ECHO_C" >&6
41277 cat >conftest.
$ac_ext <<_ACEOF
41280 cat confdefs.h
>>conftest.
$ac_ext
41281 cat >>conftest.
$ac_ext <<_ACEOF
41282 /* end confdefs.h. */
41283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41285 #define $ac_func innocuous_$ac_func
41287 /* System header to define __stub macros and hopefully few prototypes,
41288 which can conflict with char $ac_func (); below.
41289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41290 <limits.h> exists even on freestanding compilers. */
41293 # include <limits.h>
41295 # include <assert.h>
41300 /* Override any GCC internal prototype to avoid an error.
41301 Use char because int might match the return type of a GCC
41302 builtin and then its argument prototype would still apply. */
41307 /* The GNU C library defines this for functions which it implements
41308 to always fail with ENOSYS. Some functions are actually named
41309 something starting with __ and the normal name is an alias. */
41310 #if defined __stub_$ac_func || defined __stub___$ac_func
41317 return $ac_func ();
41322 rm -f conftest.
$ac_objext conftest
$ac_exeext
41323 if { (ac_try
="$ac_link"
41324 case "(($ac_try" in
41325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41326 *) ac_try_echo=$ac_try;;
41328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41329 (eval "$ac_link") 2>conftest.er1
41331 grep -v '^ *+' conftest.er1 >conftest.err
41333 cat conftest.err >&5
41334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41335 (exit $ac_status); } && {
41336 test -z "$ac_c_werror_flag" ||
41337 test ! -s conftest.err
41338 } && test -s conftest$ac_exeext &&
41339 $as_test_x conftest$ac_exeext; then
41340 eval "$as_ac_var=yes"
41342 echo "$as_me: failed program was:" >&5
41343 sed 's/^/| /' conftest.$ac_ext >&5
41345 eval "$as_ac_var=no"
41348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41349 conftest$ac_exeext conftest.$ac_ext
41351 ac_res=`eval echo '${'$as_ac_var'}'`
41352 { echo "$as_me:$LINENO: result: $ac_res" >&5
41353 echo "${ECHO_T}$ac_res" >&6; }
41354 if test `eval echo '${'$as_ac_var'}'` = yes; then
41355 cat >>confdefs.h <<_ACEOF
41356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41358 cat >>confdefs.h <<\_ACEOF
41359 #define HAVE_GETSERVBYNAME 1
41367 if test "$wxUSE_THREADS" = "yes"; then
41368 cat >>confdefs.h <<\_ACEOF
41369 #define wxUSE_THREADS 1
41373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41375 if test "$wx_cv_func_strtok_r" = "yes"; then
41376 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41377 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41378 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41379 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41380 { echo "$as_me:$LINENO: result: yes" >&5
41381 echo "${ECHO_T}yes" >&6; }
41383 { echo "$as_me:$LINENO: result: no" >&5
41384 echo "${ECHO_T}no" >&6; }
41389 if test "$WXGTK2" = 1 ; then
41390 cat >>confdefs.h <<_ACEOF
41391 #define __WXGTK20__ $WXGTK2
41397 if test "$WXGTK12" = 1 ; then
41398 cat >>confdefs.h <<_ACEOF
41399 #define __WXGTK12__ $WXGTK12
41404 if test "$WXGTK127" = 1 ; then
41405 cat >>confdefs.h <<_ACEOF
41406 #define __WXGTK127__ $WXGTK127
41411 if test "$WXGPE" = 1 ; then
41412 cat >>confdefs.h <<_ACEOF
41413 #define __WXGPE__ $WXGPE
41419 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
41420 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41421 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41422 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41426 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41427 wxUSE_DEBUG_INFO=yes
41428 if test "$GCC" = yes; then
41429 DEBUG_CFLAGS="-ggdb"
41433 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41434 cat >>confdefs.h <<\_ACEOF
41438 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41440 if test "$wxUSE_GTK" = 1 ; then
41441 if test "x$wxGTK_VERSION" = "x1" ; then
41442 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41447 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41448 cat >>confdefs.h <<\_ACEOF
41449 #define wxUSE_MEMORY_TRACING 1
41452 cat >>confdefs.h <<\_ACEOF
41453 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41456 cat >>confdefs.h <<\_ACEOF
41457 #define wxUSE_DEBUG_NEW_ALWAYS 1
41460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41463 if test "$wxUSE_DMALLOC" = "yes" ; then
41464 DMALLOC_LIBS="-ldmallocthcxx"
41468 if test "$wxUSE_PROFILE" = "yes" ; then
41469 PROFILE_FLAGS=" -pg"
41472 if test "$GCC" = "yes" ; then
41473 if test "$wxUSE_NO_RTTI" = "yes" ; then
41474 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41476 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41477 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41479 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41480 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41485 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41488 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41494 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
41495 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41496 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41498 if test "$wxUSE_OPTIMISE" = "no" ; then
41499 if test "$GCC" = yes ; then
41500 OPTIMISE_CFLAGS="-O0"
41503 if test "$GCC" = yes ; then
41505 *-pc-os2_emx | *-pc-os2-emx )
41506 OPTIMISE_CFLAGS="-O2"
41509 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41513 OPTIMISE_CFLAGS="-O"
41519 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41520 cat >>confdefs.h <<\_ACEOF
41521 #define WXWIN_COMPATIBILITY_2_6 1
41525 WXWIN_COMPATIBILITY_2_8="yes"
41528 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41529 cat >>confdefs.h <<\_ACEOF
41530 #define WXWIN_COMPATIBILITY_2_8 1
41536 if test "$wxUSE_GUI" = "yes"; then
41537 cat >>confdefs.h <<\_ACEOF
41538 #define wxUSE_GUI 1
41545 if test "$wxUSE_UNIX" = "yes"; then
41546 cat >>confdefs.h <<\_ACEOF
41547 #define wxUSE_UNIX 1
41553 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41557 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41558 if test "$USE_DOS" = 1; then
41562 for ac_func in dlopen
41564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41565 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41567 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41568 echo $ECHO_N "(cached) $ECHO_C" >&6
41570 cat >conftest.$ac_ext <<_ACEOF
41573 cat confdefs.h >>conftest.$ac_ext
41574 cat >>conftest.$ac_ext <<_ACEOF
41575 /* end confdefs.h. */
41576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41578 #define $ac_func innocuous_$ac_func
41580 /* System header to define __stub macros and hopefully few prototypes,
41581 which can conflict with char $ac_func (); below.
41582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41583 <limits.h> exists even on freestanding compilers. */
41586 # include <limits.h>
41588 # include <assert.h>
41593 /* Override any GCC internal prototype to avoid an error.
41594 Use char because int might match the return type of a GCC
41595 builtin and then its argument prototype would still apply. */
41600 /* The GNU C library defines this for functions which it implements
41601 to always fail with ENOSYS. Some functions are actually named
41602 something starting with __ and the normal name is an alias. */
41603 #if defined __stub_$ac_func || defined __stub___$ac_func
41610 return $ac_func ();
41615 rm -f conftest.$ac_objext conftest$ac_exeext
41616 if { (ac_try="$ac_link"
41617 case "(($ac_try" in
41618 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41619 *) ac_try_echo
=$ac_try;;
41621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41622 (eval "$ac_link") 2>conftest.er1
41624 grep -v '^ *+' conftest.er1
>conftest.err
41626 cat conftest.err
>&5
41627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41628 (exit $ac_status); } && {
41629 test -z "$ac_c_werror_flag" ||
41630 test ! -s conftest.err
41631 } && test -s conftest
$ac_exeext &&
41632 $as_test_x conftest
$ac_exeext; then
41633 eval "$as_ac_var=yes"
41635 echo "$as_me: failed program was:" >&5
41636 sed 's/^/| /' conftest.
$ac_ext >&5
41638 eval "$as_ac_var=no"
41641 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41642 conftest
$ac_exeext conftest.
$ac_ext
41644 ac_res
=`eval echo '${'$as_ac_var'}'`
41645 { echo "$as_me:$LINENO: result: $ac_res" >&5
41646 echo "${ECHO_T}$ac_res" >&6; }
41647 if test `eval echo '${'$as_ac_var'}'` = yes; then
41648 cat >>confdefs.h
<<_ACEOF
41649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41652 cat >>confdefs.h
<<\_ACEOF
41653 #define HAVE_DLOPEN 1
41660 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41661 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41662 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41663 echo $ECHO_N "(cached) $ECHO_C" >&6
41665 ac_check_lib_save_LIBS
=$LIBS
41667 cat >conftest.
$ac_ext <<_ACEOF
41670 cat confdefs.h
>>conftest.
$ac_ext
41671 cat >>conftest.
$ac_ext <<_ACEOF
41672 /* end confdefs.h. */
41674 /* Override any GCC internal prototype to avoid an error.
41675 Use char because int might match the return type of a GCC
41676 builtin and then its argument prototype would still apply. */
41689 rm -f conftest.
$ac_objext conftest
$ac_exeext
41690 if { (ac_try
="$ac_link"
41691 case "(($ac_try" in
41692 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41693 *) ac_try_echo=$ac_try;;
41695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41696 (eval "$ac_link") 2>conftest.er1
41698 grep -v '^ *+' conftest.er1 >conftest.err
41700 cat conftest.err >&5
41701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41702 (exit $ac_status); } && {
41703 test -z "$ac_c_werror_flag" ||
41704 test ! -s conftest.err
41705 } && test -s conftest$ac_exeext &&
41706 $as_test_x conftest$ac_exeext; then
41707 ac_cv_lib_dl_dlopen=yes
41709 echo "$as_me: failed program was:" >&5
41710 sed 's/^/| /' conftest.$ac_ext >&5
41712 ac_cv_lib_dl_dlopen=no
41715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41716 conftest$ac_exeext conftest.$ac_ext
41717 LIBS=$ac_check_lib_save_LIBS
41719 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41720 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41721 if test $ac_cv_lib_dl_dlopen = yes; then
41723 cat >>confdefs.h <<\_ACEOF
41724 #define HAVE_DLOPEN 1
41728 DL_LINK=" -ldl$DL_LINK"
41733 for ac_func in shl_load
41735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41736 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41738 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41739 echo $ECHO_N "(cached) $ECHO_C" >&6
41741 cat >conftest.$ac_ext <<_ACEOF
41744 cat confdefs.h >>conftest.$ac_ext
41745 cat >>conftest.$ac_ext <<_ACEOF
41746 /* end confdefs.h. */
41747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41749 #define $ac_func innocuous_$ac_func
41751 /* System header to define __stub macros and hopefully few prototypes,
41752 which can conflict with char $ac_func (); below.
41753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41754 <limits.h> exists even on freestanding compilers. */
41757 # include <limits.h>
41759 # include <assert.h>
41764 /* Override any GCC internal prototype to avoid an error.
41765 Use char because int might match the return type of a GCC
41766 builtin and then its argument prototype would still apply. */
41771 /* The GNU C library defines this for functions which it implements
41772 to always fail with ENOSYS. Some functions are actually named
41773 something starting with __ and the normal name is an alias. */
41774 #if defined __stub_$ac_func || defined __stub___$ac_func
41781 return $ac_func ();
41786 rm -f conftest.$ac_objext conftest$ac_exeext
41787 if { (ac_try="$ac_link"
41788 case "(($ac_try" in
41789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41790 *) ac_try_echo
=$ac_try;;
41792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41793 (eval "$ac_link") 2>conftest.er1
41795 grep -v '^ *+' conftest.er1
>conftest.err
41797 cat conftest.err
>&5
41798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41799 (exit $ac_status); } && {
41800 test -z "$ac_c_werror_flag" ||
41801 test ! -s conftest.err
41802 } && test -s conftest
$ac_exeext &&
41803 $as_test_x conftest
$ac_exeext; then
41804 eval "$as_ac_var=yes"
41806 echo "$as_me: failed program was:" >&5
41807 sed 's/^/| /' conftest.
$ac_ext >&5
41809 eval "$as_ac_var=no"
41812 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41813 conftest
$ac_exeext conftest.
$ac_ext
41815 ac_res
=`eval echo '${'$as_ac_var'}'`
41816 { echo "$as_me:$LINENO: result: $ac_res" >&5
41817 echo "${ECHO_T}$ac_res" >&6; }
41818 if test `eval echo '${'$as_ac_var'}'` = yes; then
41819 cat >>confdefs.h
<<_ACEOF
41820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41823 cat >>confdefs.h
<<\_ACEOF
41824 #define HAVE_SHL_LOAD 1
41831 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41832 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41833 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41834 echo $ECHO_N "(cached) $ECHO_C" >&6
41836 ac_check_lib_save_LIBS
=$LIBS
41837 LIBS
="-lshl_load $LIBS"
41838 cat >conftest.
$ac_ext <<_ACEOF
41841 cat confdefs.h
>>conftest.
$ac_ext
41842 cat >>conftest.
$ac_ext <<_ACEOF
41843 /* end confdefs.h. */
41845 /* Override any GCC internal prototype to avoid an error.
41846 Use char because int might match the return type of a GCC
41847 builtin and then its argument prototype would still apply. */
41860 rm -f conftest.
$ac_objext conftest
$ac_exeext
41861 if { (ac_try
="$ac_link"
41862 case "(($ac_try" in
41863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41864 *) ac_try_echo=$ac_try;;
41866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41867 (eval "$ac_link") 2>conftest.er1
41869 grep -v '^ *+' conftest.er1 >conftest.err
41871 cat conftest.err >&5
41872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41873 (exit $ac_status); } && {
41874 test -z "$ac_c_werror_flag" ||
41875 test ! -s conftest.err
41876 } && test -s conftest$ac_exeext &&
41877 $as_test_x conftest$ac_exeext; then
41878 ac_cv_lib_shl_load_dld=yes
41880 echo "$as_me: failed program was:" >&5
41881 sed 's/^/| /' conftest.$ac_ext >&5
41883 ac_cv_lib_shl_load_dld=no
41886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41887 conftest$ac_exeext conftest.$ac_ext
41888 LIBS=$ac_check_lib_save_LIBS
41890 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41891 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41892 if test $ac_cv_lib_shl_load_dld = yes; then
41895 DL_LINK=" -ldld$DL_LINK"
41911 if test "$HAVE_DL_FUNCS" = 1; then
41913 for ac_func in dlerror
41915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41916 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41918 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41919 echo $ECHO_N "(cached) $ECHO_C" >&6
41921 cat >conftest.$ac_ext <<_ACEOF
41924 cat confdefs.h >>conftest.$ac_ext
41925 cat >>conftest.$ac_ext <<_ACEOF
41926 /* end confdefs.h. */
41927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41929 #define $ac_func innocuous_$ac_func
41931 /* System header to define __stub macros and hopefully few prototypes,
41932 which can conflict with char $ac_func (); below.
41933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41934 <limits.h> exists even on freestanding compilers. */
41937 # include <limits.h>
41939 # include <assert.h>
41944 /* Override any GCC internal prototype to avoid an error.
41945 Use char because int might match the return type of a GCC
41946 builtin and then its argument prototype would still apply. */
41951 /* The GNU C library defines this for functions which it implements
41952 to always fail with ENOSYS. Some functions are actually named
41953 something starting with __ and the normal name is an alias. */
41954 #if defined __stub_$ac_func || defined __stub___$ac_func
41961 return $ac_func ();
41966 rm -f conftest.$ac_objext conftest$ac_exeext
41967 if { (ac_try="$ac_link"
41968 case "(($ac_try" in
41969 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41970 *) ac_try_echo
=$ac_try;;
41972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41973 (eval "$ac_link") 2>conftest.er1
41975 grep -v '^ *+' conftest.er1
>conftest.err
41977 cat conftest.err
>&5
41978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41979 (exit $ac_status); } && {
41980 test -z "$ac_c_werror_flag" ||
41981 test ! -s conftest.err
41982 } && test -s conftest
$ac_exeext &&
41983 $as_test_x conftest
$ac_exeext; then
41984 eval "$as_ac_var=yes"
41986 echo "$as_me: failed program was:" >&5
41987 sed 's/^/| /' conftest.
$ac_ext >&5
41989 eval "$as_ac_var=no"
41992 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41993 conftest
$ac_exeext conftest.
$ac_ext
41995 ac_res
=`eval echo '${'$as_ac_var'}'`
41996 { echo "$as_me:$LINENO: result: $ac_res" >&5
41997 echo "${ECHO_T}$ac_res" >&6; }
41998 if test `eval echo '${'$as_ac_var'}'` = yes; then
41999 cat >>confdefs.h
<<_ACEOF
42000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42002 cat >>confdefs.h
<<\_ACEOF
42003 #define HAVE_DLERROR 1
42008 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42009 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42010 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42011 echo $ECHO_N "(cached) $ECHO_C" >&6
42013 ac_check_lib_save_LIBS
=$LIBS
42015 cat >conftest.
$ac_ext <<_ACEOF
42018 cat confdefs.h
>>conftest.
$ac_ext
42019 cat >>conftest.
$ac_ext <<_ACEOF
42020 /* end confdefs.h. */
42022 /* Override any GCC internal prototype to avoid an error.
42023 Use char because int might match the return type of a GCC
42024 builtin and then its argument prototype would still apply. */
42037 rm -f conftest.
$ac_objext conftest
$ac_exeext
42038 if { (ac_try
="$ac_link"
42039 case "(($ac_try" in
42040 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42041 *) ac_try_echo=$ac_try;;
42043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42044 (eval "$ac_link") 2>conftest.er1
42046 grep -v '^ *+' conftest.er1 >conftest.err
42048 cat conftest.err >&5
42049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42050 (exit $ac_status); } && {
42051 test -z "$ac_c_werror_flag" ||
42052 test ! -s conftest.err
42053 } && test -s conftest$ac_exeext &&
42054 $as_test_x conftest$ac_exeext; then
42055 ac_cv_lib_dl_dlerror=yes
42057 echo "$as_me: failed program was:" >&5
42058 sed 's/^/| /' conftest.$ac_ext >&5
42060 ac_cv_lib_dl_dlerror=no
42063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42064 conftest$ac_exeext conftest.$ac_ext
42065 LIBS=$ac_check_lib_save_LIBS
42067 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42068 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42069 if test $ac_cv_lib_dl_dlerror = yes; then
42070 cat >>confdefs.h <<\_ACEOF
42071 #define HAVE_DLERROR 1
42084 if test "$USE_DARWIN" = 1; then
42088 if test "$HAVE_DL_FUNCS" = 0; then
42089 if test "$HAVE_SHL_FUNCS" = 0; then
42090 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42091 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42092 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42093 wxUSE_DYNAMIC_LOADER=no
42094 wxUSE_DYNLIB_CLASS=no
42096 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42097 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42104 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42105 cat >>confdefs.h <<\_ACEOF
42106 #define wxUSE_DYNAMIC_LOADER 1
42110 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42111 cat >>confdefs.h <<\_ACEOF
42112 #define wxUSE_DYNLIB_CLASS 1
42119 if test "$wxUSE_PLUGINS" = "yes" ; then
42120 if test "$wxUSE_SHARED" = "no" ; then
42121 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42122 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42125 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42126 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42127 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42130 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42131 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42132 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42135 if test "$wxUSE_PLUGINS" = "yes" ; then
42136 cat >>confdefs.h <<\_ACEOF
42137 #define wxUSE_PLUGINS 1
42144 if test "$wxUSE_STL" = "yes"; then
42145 cat >>confdefs.h <<\_ACEOF
42146 #define wxUSE_STL 1
42151 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42152 cat >>confdefs.h <<\_ACEOF
42153 #define wxUSE_EXTENDED_RTTI 1
42158 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42159 cat >>confdefs.h <<\_ACEOF
42160 #define wxUSE_APPLE_IEEE 1
42165 if test "$wxUSE_TIMER" = "yes"; then
42166 cat >>confdefs.h <<\_ACEOF
42167 #define wxUSE_TIMER 1
42172 if test "$USE_UNIX" = 1 ; then
42173 if test "$wxUSE_MGL" != 1; then
42174 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42175 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42176 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42177 echo $ECHO_N "(cached) $ECHO_C" >&6
42180 cat >conftest.$ac_ext <<_ACEOF
42183 cat confdefs.h >>conftest.$ac_ext
42184 cat >>conftest.$ac_ext <<_ACEOF
42185 /* end confdefs.h. */
42187 #include <sys/ioctl.h>
42188 #include <sys/soundcard.h>
42194 ioctl(0, SNDCTL_DSP_SPEED, 0);
42200 rm -f conftest.$ac_objext conftest$ac_exeext
42201 if { (ac_try="$ac_link"
42202 case "(($ac_try" in
42203 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42204 *) ac_try_echo
=$ac_try;;
42206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42207 (eval "$ac_link") 2>conftest.er1
42209 grep -v '^ *+' conftest.er1
>conftest.err
42211 cat conftest.err
>&5
42212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42213 (exit $ac_status); } && {
42214 test -z "$ac_c_werror_flag" ||
42215 test ! -s conftest.err
42216 } && test -s conftest
$ac_exeext &&
42217 $as_test_x conftest
$ac_exeext; then
42218 ac_cv_header_sys_soundcard
=yes
42220 echo "$as_me: failed program was:" >&5
42221 sed 's/^/| /' conftest.
$ac_ext >&5
42225 LIBS
="$saveLibs -lossaudio"
42226 cat >conftest.
$ac_ext <<_ACEOF
42229 cat confdefs.h
>>conftest.
$ac_ext
42230 cat >>conftest.
$ac_ext <<_ACEOF
42231 /* end confdefs.h. */
42233 #include <sys/ioctl.h>
42234 #include <sys/soundcard.h>
42240 ioctl(0, SNDCTL_DSP_SPEED, 0);
42246 rm -f conftest.
$ac_objext conftest
$ac_exeext
42247 if { (ac_try
="$ac_link"
42248 case "(($ac_try" in
42249 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42250 *) ac_try_echo=$ac_try;;
42252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42253 (eval "$ac_link") 2>conftest.er1
42255 grep -v '^ *+' conftest.er1 >conftest.err
42257 cat conftest.err >&5
42258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42259 (exit $ac_status); } && {
42260 test -z "$ac_c_werror_flag" ||
42261 test ! -s conftest.err
42262 } && test -s conftest$ac_exeext &&
42263 $as_test_x conftest$ac_exeext; then
42264 ac_cv_header_sys_soundcard=yes
42266 echo "$as_me: failed program was:" >&5
42267 sed 's/^/| /' conftest.$ac_ext >&5
42271 ac_cv_header_sys_soundcard=no
42276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42277 conftest$ac_exeext conftest.$ac_ext
42282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42283 conftest$ac_exeext conftest.$ac_ext
42286 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42287 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42290 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42291 cat >>confdefs.h <<\_ACEOF
42292 #define HAVE_SYS_SOUNDCARD_H 1
42299 if test "$wxUSE_SOUND" = "yes"; then
42300 if test "$USE_UNIX" = 1 ; then
42301 if test "$wxUSE_LIBSDL" != "no"; then
42303 # Check whether --with-sdl-prefix was given.
42304 if test "${with_sdl_prefix+set}" = set; then
42305 withval=$with_sdl_prefix; sdl_prefix="$withval"
42311 # Check whether --with-sdl-exec-prefix was given.
42312 if test "${with_sdl_exec_prefix+set}" = set; then
42313 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42318 # Check whether --enable-sdltest was given.
42319 if test "${enable_sdltest+set}" = set; then
42320 enableval=$enable_sdltest;
42326 if test x$sdl_exec_prefix != x ; then
42327 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42328 if test x${SDL_CONFIG+set} != xset ; then
42329 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42332 if test x$sdl_prefix != x ; then
42333 sdl_args="$sdl_args --prefix=$sdl_prefix"
42334 if test x${SDL_CONFIG+set} != xset ; then
42335 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42339 if test "x$prefix" != xNONE; then
42340 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42342 # Extract the first word of "sdl-config", so it can be a program name with args.
42343 set dummy sdl-config; ac_word=$2
42344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42346 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42347 echo $ECHO_N "(cached) $ECHO_C" >&6
42349 case $SDL_CONFIG in
42351 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42355 for as_dir in $PATH
42358 test -z "$as_dir" && as_dir=.
42359 for ac_exec_ext in '' $ac_executable_extensions; do
42360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42361 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42369 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42373 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42374 if test -n "$SDL_CONFIG"; then
42375 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42376 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42378 { echo "$as_me:$LINENO: result: no" >&5
42379 echo "${ECHO_T}no" >&6; }
42383 min_sdl_version=1.2.0
42384 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42385 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42387 if test "$SDL_CONFIG" = "no" ; then
42390 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42391 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42393 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42395 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42396 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42397 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42399 if test "x$enable_sdltest" = "xyes" ; then
42400 ac_save_CFLAGS="$CFLAGS"
42401 ac_save_CXXFLAGS="$CXXFLAGS"
42402 ac_save_LIBS="$LIBS"
42403 CFLAGS="$CFLAGS $SDL_CFLAGS"
42404 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42405 LIBS="$LIBS $SDL_LIBS"
42407 if test "$cross_compiling" = yes; then
42408 echo $ac_n "cross compiling; assumed OK... $ac_c"
42410 cat >conftest.$ac_ext <<_ACEOF
42413 cat confdefs.h >>conftest.$ac_ext
42414 cat >>conftest.$ac_ext <<_ACEOF
42415 /* end confdefs.h. */
42418 #include <stdlib.h>
42419 #include <string.h>
42423 my_strdup (char *str)
42429 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42430 strcpy (new_str, str);
42438 int main (int argc, char *argv[])
42440 int major, minor, micro;
42443 /* This hangs on some systems (?)
42444 system ("touch conf.sdltest");
42446 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42448 /* HP/UX 9 (%@#!) writes to sscanf strings */
42449 tmp_version = my_strdup("$min_sdl_version");
42450 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42451 printf("%s, bad version string\n", "$min_sdl_version");
42455 if (($sdl_major_version > major) ||
42456 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42457 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42463 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42464 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42465 printf("*** best to upgrade to the required version.\n");
42466 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42467 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42468 printf("*** config.cache before re-running configure\n");
42475 rm -f conftest$ac_exeext
42476 if { (ac_try="$ac_link"
42477 case "(($ac_try" in
42478 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42479 *) ac_try_echo
=$ac_try;;
42481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42482 (eval "$ac_link") 2>&5
42484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42485 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42486 { (case "(($ac_try" in
42487 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42488 *) ac_try_echo=$ac_try;;
42490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42491 (eval "$ac_try") 2>&5
42493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42494 (exit $ac_status); }; }; then
42497 echo "$as_me: program exited with status $ac_status" >&5
42498 echo "$as_me: failed program was:" >&5
42499 sed 's/^/| /' conftest.$ac_ext >&5
42501 ( exit $ac_status )
42504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42508 CFLAGS="$ac_save_CFLAGS"
42509 CXXFLAGS="$ac_save_CXXFLAGS"
42510 LIBS="$ac_save_LIBS"
42513 if test "x$no_sdl" = x ; then
42514 { echo "$as_me:$LINENO: result: yes" >&5
42515 echo "${ECHO_T}yes" >&6; }
42517 EXTRALIBS_SDL="$SDL_LIBS"
42518 CFLAGS="$SDL_CFLAGS $CFLAGS"
42519 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42520 cat >>confdefs.h <<\_ACEOF
42521 #define wxUSE_LIBSDL 1
42526 { echo "$as_me:$LINENO: result: no" >&5
42527 echo "${ECHO_T}no" >&6; }
42528 if test "$SDL_CONFIG" = "no" ; then
42529 echo "*** The sdl-config script installed by SDL could not be found"
42530 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42531 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42532 echo "*** full path to sdl-config."
42534 if test -f conf.sdltest ; then
42537 echo "*** Could not run SDL test program, checking why..."
42538 CFLAGS="$CFLAGS $SDL_CFLAGS"
42539 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42540 LIBS="$LIBS $SDL_LIBS"
42541 cat >conftest.$ac_ext <<_ACEOF
42544 cat confdefs.h >>conftest.$ac_ext
42545 cat >>conftest.$ac_ext <<_ACEOF
42546 /* end confdefs.h. */
42551 int main(int argc, char *argv[])
42554 #define main K_and_R_C_main
42564 rm -f conftest.$ac_objext conftest$ac_exeext
42565 if { (ac_try="$ac_link"
42566 case "(($ac_try" in
42567 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42568 *) ac_try_echo
=$ac_try;;
42570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42571 (eval "$ac_link") 2>conftest.er1
42573 grep -v '^ *+' conftest.er1
>conftest.err
42575 cat conftest.err
>&5
42576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42577 (exit $ac_status); } && {
42578 test -z "$ac_c_werror_flag" ||
42579 test ! -s conftest.err
42580 } && test -s conftest
$ac_exeext &&
42581 $as_test_x conftest
$ac_exeext; then
42582 echo "*** The test program compiled, but did not run. This usually means"
42583 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42584 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42585 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42586 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42587 echo "*** is required on your system"
42589 echo "*** If you have an old version installed, it is best to remove it, although"
42590 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42592 echo "$as_me: failed program was:" >&5
42593 sed 's/^/| /' conftest.
$ac_ext >&5
42595 echo "*** The test program failed to compile or link. See the file config.log for the"
42596 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42597 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42598 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42601 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42602 conftest
$ac_exeext conftest.
$ac_ext
42603 CFLAGS
="$ac_save_CFLAGS"
42604 CXXFLAGS
="$ac_save_CXXFLAGS"
42605 LIBS
="$ac_save_LIBS"
42616 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42621 if test "$wxUSE_MGL" = 1; then
42622 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42623 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42629 if test "$wxUSE_SOUND" = "yes"; then
42630 cat >>confdefs.h
<<\_ACEOF
42631 #define wxUSE_SOUND 1
42634 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42637 if test "$WXGTK2" = 1; then
42640 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42641 if test -n "$ac_tool_prefix"; then
42642 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42643 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42646 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42647 echo $ECHO_N "(cached) $ECHO_C" >&6
42649 case $PKG_CONFIG in
42651 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42655 for as_dir
in $PATH
42658 test -z "$as_dir" && as_dir
=.
42659 for ac_exec_ext
in '' $ac_executable_extensions; do
42660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42661 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42672 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42673 if test -n "$PKG_CONFIG"; then
42674 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42675 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42677 { echo "$as_me:$LINENO: result: no" >&5
42678 echo "${ECHO_T}no" >&6; }
42683 if test -z "$ac_cv_path_PKG_CONFIG"; then
42684 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42685 # Extract the first word of "pkg-config", so it can be a program name with args.
42686 set dummy pkg
-config; ac_word
=$2
42687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42689 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42690 echo $ECHO_N "(cached) $ECHO_C" >&6
42692 case $ac_pt_PKG_CONFIG in
42694 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42698 for as_dir
in $PATH
42701 test -z "$as_dir" && as_dir
=.
42702 for ac_exec_ext
in '' $ac_executable_extensions; do
42703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42704 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42715 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42716 if test -n "$ac_pt_PKG_CONFIG"; then
42717 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42718 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42720 { echo "$as_me:$LINENO: result: no" >&5
42721 echo "${ECHO_T}no" >&6; }
42724 if test "x$ac_pt_PKG_CONFIG" = x
; then
42727 case $cross_compiling:$ac_tool_warned in
42729 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42730 whose name does not start with the host triplet. If you think this
42731 configuration is useful to you, please write to autoconf@gnu.org." >&5
42732 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42733 whose name does not start with the host triplet. If you think this
42734 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42735 ac_tool_warned
=yes ;;
42737 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42740 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42744 if test -n "$PKG_CONFIG"; then
42745 _pkg_min_version
=0.9.0
42746 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42747 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42748 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42749 { echo "$as_me:$LINENO: result: yes" >&5
42750 echo "${ECHO_T}yes" >&6; }
42752 { echo "$as_me:$LINENO: result: no" >&5
42753 echo "${ECHO_T}no" >&6; }
42759 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42761 if test "$wxUSE_GTKPRINT" = "yes" ; then
42765 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42766 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42768 if test -n "$PKG_CONFIG"; then
42769 if test -n "$GTKPRINT_CFLAGS"; then
42770 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
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_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42786 if test -n "$PKG_CONFIG"; then
42787 if test -n "$GTKPRINT_LIBS"; then
42788 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42790 if test -n "$PKG_CONFIG" && \
42791 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42792 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42795 (exit $ac_status); }; then
42796 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42807 if test $pkg_failed = yes; then
42809 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42810 _pkg_short_errors_supported
=yes
42812 _pkg_short_errors_supported
=no
42814 if test $_pkg_short_errors_supported = yes; then
42815 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42817 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42819 # Put the nasty error message in config.log where it belongs
42820 echo "$GTKPRINT_PKG_ERRORS" >&5
42823 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42824 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42825 wxUSE_GTKPRINT
="no"
42828 elif test $pkg_failed = untried
; then
42830 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42831 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42832 wxUSE_GTKPRINT
="no"
42836 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42837 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42838 { echo "$as_me:$LINENO: result: yes" >&5
42839 echo "${ECHO_T}yes" >&6; }
42841 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42842 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42843 cat >>confdefs.h
<<\_ACEOF
42844 #define wxUSE_GTKPRINT 1
42851 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42855 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42856 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42858 if test -n "$PKG_CONFIG"; then
42859 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42860 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
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_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42876 if test -n "$PKG_CONFIG"; then
42877 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42878 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42880 if test -n "$PKG_CONFIG" && \
42881 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42882 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42885 (exit $ac_status); }; then
42886 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42897 if test $pkg_failed = yes; then
42899 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42900 _pkg_short_errors_supported
=yes
42902 _pkg_short_errors_supported
=no
42904 if test $_pkg_short_errors_supported = yes; then
42905 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42907 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42909 # Put the nasty error message in config.log where it belongs
42910 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42913 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42914 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42915 wxUSE_LIBGNOMEPRINT
="no"
42918 elif test $pkg_failed = untried
; then
42920 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42921 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42922 wxUSE_LIBGNOMEPRINT
="no"
42926 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42927 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42928 { echo "$as_me:$LINENO: result: yes" >&5
42929 echo "${ECHO_T}yes" >&6; }
42931 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42932 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42933 cat >>confdefs.h
<<\_ACEOF
42934 #define wxUSE_LIBGNOMEPRINT 1
42942 if test "$wxUSE_MIMETYPE" = "yes" ; then
42943 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42947 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42948 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42950 if test -n "$PKG_CONFIG"; then
42951 if test -n "$GNOMEVFS_CFLAGS"; then
42952 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
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_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42968 if test -n "$PKG_CONFIG"; then
42969 if test -n "$GNOMEVFS_LIBS"; then
42970 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42972 if test -n "$PKG_CONFIG" && \
42973 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42974 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42977 (exit $ac_status); }; then
42978 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42989 if test $pkg_failed = yes; then
42991 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42992 _pkg_short_errors_supported
=yes
42994 _pkg_short_errors_supported
=no
42996 if test $_pkg_short_errors_supported = yes; then
42997 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42999 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43001 # Put the nasty error message in config.log where it belongs
43002 echo "$GNOMEVFS_PKG_ERRORS" >&5
43005 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43006 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43007 wxUSE_LIBGNOMEVFS
="no"
43010 elif test $pkg_failed = untried
; then
43012 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43013 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43014 wxUSE_LIBGNOMEVFS
="no"
43018 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43019 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43020 { echo "$as_me:$LINENO: result: yes" >&5
43021 echo "${ECHO_T}yes" >&6; }
43023 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43024 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43025 cat >>confdefs.h
<<\_ACEOF
43026 #define wxUSE_LIBGNOMEVFS 1
43034 if test "$wxUSE_LIBHILDON" = "yes" ; then
43037 { echo "$as_me:$LINENO: checking for HILDON" >&5
43038 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43040 if test -n "$PKG_CONFIG"; then
43041 if test -n "$HILDON_CFLAGS"; then
43042 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
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_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43058 if test -n "$PKG_CONFIG"; then
43059 if test -n "$HILDON_LIBS"; then
43060 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43062 if test -n "$PKG_CONFIG" && \
43063 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43064 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43067 (exit $ac_status); }; then
43068 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43079 if test $pkg_failed = yes; then
43081 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43082 _pkg_short_errors_supported
=yes
43084 _pkg_short_errors_supported
=no
43086 if test $_pkg_short_errors_supported = yes; then
43087 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43089 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43091 # Put the nasty error message in config.log where it belongs
43092 echo "$HILDON_PKG_ERRORS" >&5
43095 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43096 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43097 wxUSE_LIBHILDON
="no"
43100 elif test $pkg_failed = untried
; then
43102 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43103 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43104 wxUSE_LIBHILDON
="no"
43108 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43109 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43110 { echo "$as_me:$LINENO: result: yes" >&5
43111 echo "${ECHO_T}yes" >&6; }
43113 EXTRALIBS_HILDON
="$HILDON_LIBS"
43114 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43115 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43116 cat >>confdefs.h
<<\_ACEOF
43117 #define wxUSE_LIBHILDON 1
43125 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43126 cat >>confdefs.h
<<\_ACEOF
43127 #define wxUSE_CMDLINE_PARSER 1
43132 if test "$wxUSE_STOPWATCH" = "yes"; then
43133 cat >>confdefs.h
<<\_ACEOF
43134 #define wxUSE_STOPWATCH 1
43139 if test "$wxUSE_DATETIME" = "yes"; then
43140 cat >>confdefs.h
<<\_ACEOF
43141 #define wxUSE_DATETIME 1
43146 if test "$wxUSE_FILE" = "yes"; then
43147 cat >>confdefs.h
<<\_ACEOF
43148 #define wxUSE_FILE 1
43153 if test "$wxUSE_FFILE" = "yes"; then
43154 cat >>confdefs.h
<<\_ACEOF
43155 #define wxUSE_FFILE 1
43160 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43161 if test "$wxUSE_STREAMS" != yes; then
43162 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43163 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43164 wxUSE_ARCHIVE_STREAMS
=no
43166 cat >>confdefs.h
<<\_ACEOF
43167 #define wxUSE_ARCHIVE_STREAMS 1
43173 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43174 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43175 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43176 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43177 elif test "$wxUSE_ZLIB" = "no"; then
43178 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43179 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43181 cat >>confdefs.h
<<\_ACEOF
43182 #define wxUSE_ZIPSTREAM 1
43188 if test "$wxUSE_TARSTREAM" = "yes"; then
43189 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43190 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43191 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43193 cat >>confdefs.h
<<\_ACEOF
43194 #define wxUSE_TARSTREAM 1
43200 if test "$wxUSE_FILESYSTEM" = "yes"; then
43201 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43202 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43203 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43204 wxUSE_FILESYSTEM
=no
43206 cat >>confdefs.h
<<\_ACEOF
43207 #define wxUSE_FILESYSTEM 1
43213 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43214 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43215 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43216 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43218 cat >>confdefs.h
<<\_ACEOF
43219 #define wxUSE_FS_ARCHIVE 1
43225 if test "$wxUSE_FS_ZIP" = "yes"; then
43226 if test "$wxUSE_FS_ARCHIVE" != yes; then
43227 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43228 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43230 cat >>confdefs.h
<<\_ACEOF
43231 #define wxUSE_FS_ZIP 1
43237 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43238 if test "$USE_UNIX" != 1; then
43239 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43240 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43241 wxUSE_ON_FATAL_EXCEPTION
=no
43243 cat >>confdefs.h
<<\_ACEOF
43244 #define wxUSE_ON_FATAL_EXCEPTION 1
43250 if test "$wxUSE_STACKWALKER" = "yes"; then
43251 cat >>confdefs.h
<<\_ACEOF
43252 #define wxUSE_STACKWALKER 1
43257 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43258 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43259 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43260 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43261 wxUSE_DEBUGREPORT
=no
43263 cat >>confdefs.h
<<\_ACEOF
43264 #define wxUSE_DEBUGREPORT 1
43267 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43268 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43273 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43274 cat >>confdefs.h
<<\_ACEOF
43275 #define wxUSE_SNGLINST_CHECKER 1
43280 if test "$wxUSE_BUSYINFO" = "yes"; then
43281 cat >>confdefs.h
<<\_ACEOF
43282 #define wxUSE_BUSYINFO 1
43287 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43288 cat >>confdefs.h
<<\_ACEOF
43289 #define wxUSE_STD_IOSTREAM 1
43294 if test "$wxUSE_STD_STRING" = "yes"; then
43295 cat >>confdefs.h
<<\_ACEOF
43296 #define wxUSE_STD_STRING 1
43301 if test "$wxUSE_STDPATHS" = "yes"; then
43302 cat >>confdefs.h
<<\_ACEOF
43303 #define wxUSE_STDPATHS 1
43308 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43309 cat >>confdefs.h
<<\_ACEOF
43310 #define wxUSE_TEXTBUFFER 1
43315 if test "$wxUSE_TEXTFILE" = "yes"; then
43316 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43317 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43318 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43320 cat >>confdefs.h
<<\_ACEOF
43321 #define wxUSE_TEXTFILE 1
43327 if test "$wxUSE_CONFIG" = "yes" ; then
43328 if test "$wxUSE_TEXTFILE" != "yes"; then
43329 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43330 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43332 cat >>confdefs.h
<<\_ACEOF
43333 #define wxUSE_CONFIG 1
43336 cat >>confdefs.h
<<\_ACEOF
43337 #define wxUSE_CONFIG_NATIVE 1
43340 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43344 if test "$wxUSE_INTL" = "yes" ; then
43345 if test "$wxUSE_FILE" != "yes"; then
43346 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43347 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43349 cat >>confdefs.h
<<\_ACEOF
43350 #define wxUSE_INTL 1
43353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43354 GUIDIST
="$GUIDIST INTL_DIST"
43358 if test "$wxUSE_XLOCALE" = "yes" ; then
43359 cat >>confdefs.h
<<\_ACEOF
43360 #define wxUSE_XLOCALE 1
43363 { echo "$as_me:$LINENO: checking for locale_t" >&5
43364 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43365 if test "${ac_cv_type_locale_t+set}" = set; then
43366 echo $ECHO_N "(cached) $ECHO_C" >&6
43368 cat >conftest.
$ac_ext <<_ACEOF
43371 cat confdefs.h
>>conftest.
$ac_ext
43372 cat >>conftest.
$ac_ext <<_ACEOF
43373 /* end confdefs.h. */
43374 #include <xlocale.h>
43375 #include <locale.h>
43377 typedef locale_t ac__type_new_;
43381 if ((ac__type_new_ *) 0)
43383 if (sizeof (ac__type_new_))
43389 rm -f conftest.
$ac_objext
43390 if { (ac_try
="$ac_compile"
43391 case "(($ac_try" in
43392 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43393 *) ac_try_echo=$ac_try;;
43395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43396 (eval "$ac_compile") 2>conftest.er1
43398 grep -v '^ *+' conftest.er1 >conftest.err
43400 cat conftest.err >&5
43401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43402 (exit $ac_status); } && {
43403 test -z "$ac_c_werror_flag" ||
43404 test ! -s conftest.err
43405 } && test -s conftest.$ac_objext; then
43406 ac_cv_type_locale_t=yes
43408 echo "$as_me: failed program was:" >&5
43409 sed 's/^/| /' conftest.$ac_ext >&5
43411 ac_cv_type_locale_t=no
43414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43416 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43417 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43418 if test $ac_cv_type_locale_t = yes; then
43420 cat >>confdefs.h <<_ACEOF
43421 #define HAVE_LOCALE_T 1
43429 if test "$wxUSE_LOG" = "yes"; then
43430 cat >>confdefs.h <<\_ACEOF
43431 #define wxUSE_LOG 1
43435 if test "$wxUSE_LOGGUI" = "yes"; then
43436 cat >>confdefs.h <<\_ACEOF
43437 #define wxUSE_LOGGUI 1
43442 if test "$wxUSE_LOGWINDOW" = "yes"; then
43443 cat >>confdefs.h <<\_ACEOF
43444 #define wxUSE_LOGWINDOW 1
43449 if test "$wxUSE_LOGDIALOG" = "yes"; then
43450 cat >>confdefs.h <<\_ACEOF
43451 #define wxUSE_LOG_DIALOG 1
43456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43459 if test "$wxUSE_LONGLONG" = "yes"; then
43460 cat >>confdefs.h <<\_ACEOF
43461 #define wxUSE_LONGLONG 1
43466 if test "$wxUSE_GEOMETRY" = "yes"; then
43467 cat >>confdefs.h <<\_ACEOF
43468 #define wxUSE_GEOMETRY 1
43473 if test "$wxUSE_BASE64" = "yes"; then
43474 cat >>confdefs.h <<\_ACEOF
43475 #define wxUSE_BASE64 1
43480 if test "$wxUSE_STREAMS" = "yes" ; then
43481 cat >>confdefs.h <<\_ACEOF
43482 #define wxUSE_STREAMS 1
43487 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define wxUSE_PRINTF_POS_PARAMS 1
43494 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43495 cat >>confdefs.h <<\_ACEOF
43496 #define wxUSE_OBJC_UNIQUIFYING 1
43502 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43503 cat >>confdefs.h <<\_ACEOF
43504 #define wxUSE_CONSOLE_EVENTLOOP 1
43508 if test "$wxUSE_UNIX" = "yes"; then
43509 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43510 cat >>confdefs.h <<\_ACEOF
43511 #define wxUSE_SELECT_DISPATCHER 1
43516 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43518 for ac_header in sys/epoll.h
43520 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43521 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43523 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43524 echo $ECHO_N "(cached) $ECHO_C" >&6
43526 cat >conftest.$ac_ext <<_ACEOF
43529 cat confdefs.h >>conftest.$ac_ext
43530 cat >>conftest.$ac_ext <<_ACEOF
43531 /* end confdefs.h. */
43532 $ac_includes_default
43534 #include <$ac_header>
43536 rm -f conftest.$ac_objext
43537 if { (ac_try="$ac_compile"
43538 case "(($ac_try" in
43539 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43540 *) ac_try_echo
=$ac_try;;
43542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43543 (eval "$ac_compile") 2>conftest.er1
43545 grep -v '^ *+' conftest.er1
>conftest.err
43547 cat conftest.err
>&5
43548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43549 (exit $ac_status); } && {
43550 test -z "$ac_c_werror_flag" ||
43551 test ! -s conftest.err
43552 } && test -s conftest.
$ac_objext; then
43553 eval "$as_ac_Header=yes"
43555 echo "$as_me: failed program was:" >&5
43556 sed 's/^/| /' conftest.
$ac_ext >&5
43558 eval "$as_ac_Header=no"
43561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43563 ac_res
=`eval echo '${'$as_ac_Header'}'`
43564 { echo "$as_me:$LINENO: result: $ac_res" >&5
43565 echo "${ECHO_T}$ac_res" >&6; }
43566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43567 cat >>confdefs.h
<<_ACEOF
43568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43575 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43576 cat >>confdefs.h
<<\_ACEOF
43577 #define wxUSE_EPOLL_DISPATCHER 1
43581 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43582 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43591 for ac_func
in gettimeofday ftime
43593 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43594 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43596 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43597 echo $ECHO_N "(cached) $ECHO_C" >&6
43599 cat >conftest.
$ac_ext <<_ACEOF
43602 cat confdefs.h
>>conftest.
$ac_ext
43603 cat >>conftest.
$ac_ext <<_ACEOF
43604 /* end confdefs.h. */
43605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43607 #define $ac_func innocuous_$ac_func
43609 /* System header to define __stub macros and hopefully few prototypes,
43610 which can conflict with char $ac_func (); below.
43611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43612 <limits.h> exists even on freestanding compilers. */
43615 # include <limits.h>
43617 # include <assert.h>
43622 /* Override any GCC internal prototype to avoid an error.
43623 Use char because int might match the return type of a GCC
43624 builtin and then its argument prototype would still apply. */
43629 /* The GNU C library defines this for functions which it implements
43630 to always fail with ENOSYS. Some functions are actually named
43631 something starting with __ and the normal name is an alias. */
43632 #if defined __stub_$ac_func || defined __stub___$ac_func
43639 return $ac_func ();
43644 rm -f conftest.
$ac_objext conftest
$ac_exeext
43645 if { (ac_try
="$ac_link"
43646 case "(($ac_try" in
43647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43648 *) ac_try_echo=$ac_try;;
43650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43651 (eval "$ac_link") 2>conftest.er1
43653 grep -v '^ *+' conftest.er1 >conftest.err
43655 cat conftest.err >&5
43656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43657 (exit $ac_status); } && {
43658 test -z "$ac_c_werror_flag" ||
43659 test ! -s conftest.err
43660 } && test -s conftest$ac_exeext &&
43661 $as_test_x conftest$ac_exeext; then
43662 eval "$as_ac_var=yes"
43664 echo "$as_me: failed program was:" >&5
43665 sed 's/^/| /' conftest.$ac_ext >&5
43667 eval "$as_ac_var=no"
43670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43671 conftest$ac_exeext conftest.$ac_ext
43673 ac_res=`eval echo '${'$as_ac_var'}'`
43674 { echo "$as_me:$LINENO: result: $ac_res" >&5
43675 echo "${ECHO_T}$ac_res" >&6; }
43676 if test `eval echo '${'$as_ac_var'}'` = yes; then
43677 cat >>confdefs.h <<_ACEOF
43678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43685 if test "$ac_cv_func_gettimeofday" = "yes"; then
43686 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43687 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43688 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43689 echo $ECHO_N "(cached) $ECHO_C" >&6
43692 cat >conftest.$ac_ext <<_ACEOF
43695 cat confdefs.h >>conftest.$ac_ext
43696 cat >>conftest.$ac_ext <<_ACEOF
43697 /* end confdefs.h. */
43699 #include <sys/time.h>
43700 #include <unistd.h>
43707 gettimeofday(&tv, NULL);
43713 rm -f conftest.$ac_objext
43714 if { (ac_try="$ac_compile"
43715 case "(($ac_try" in
43716 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43717 *) ac_try_echo
=$ac_try;;
43719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43720 (eval "$ac_compile") 2>conftest.er1
43722 grep -v '^ *+' conftest.er1
>conftest.err
43724 cat conftest.err
>&5
43725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43726 (exit $ac_status); } && {
43727 test -z "$ac_c_werror_flag" ||
43728 test ! -s conftest.err
43729 } && test -s conftest.
$ac_objext; then
43730 wx_cv_func_gettimeofday_has_2_args
=yes
43732 echo "$as_me: failed program was:" >&5
43733 sed 's/^/| /' conftest.
$ac_ext >&5
43735 cat >conftest.
$ac_ext <<_ACEOF
43738 cat confdefs.h
>>conftest.
$ac_ext
43739 cat >>conftest.
$ac_ext <<_ACEOF
43740 /* end confdefs.h. */
43742 #include <sys/time.h>
43743 #include <unistd.h>
43756 rm -f conftest.
$ac_objext
43757 if { (ac_try
="$ac_compile"
43758 case "(($ac_try" in
43759 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43760 *) ac_try_echo=$ac_try;;
43762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43763 (eval "$ac_compile") 2>conftest.er1
43765 grep -v '^ *+' conftest.er1 >conftest.err
43767 cat conftest.err >&5
43768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43769 (exit $ac_status); } && {
43770 test -z "$ac_c_werror_flag" ||
43771 test ! -s conftest.err
43772 } && test -s conftest.$ac_objext; then
43773 wx_cv_func_gettimeofday_has_2_args=no
43775 echo "$as_me: failed program was:" >&5
43776 sed 's/^/| /' conftest.$ac_ext >&5
43779 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43780 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43781 wx_cv_func_gettimeofday_has_2_args=unknown
43786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43793 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43794 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43796 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43797 cat >>confdefs.h <<\_ACEOF
43798 #define WX_GETTIMEOFDAY_NO_TZ 1
43804 if test "$wxUSE_DATETIME" = "yes"; then
43805 { echo "$as_me:$LINENO: checking for strptime" >&5
43806 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43807 if test "${ac_cv_func_strptime+set}" = set; then
43808 echo $ECHO_N "(cached) $ECHO_C" >&6
43810 cat >conftest.$ac_ext <<_ACEOF
43813 cat confdefs.h >>conftest.$ac_ext
43814 cat >>conftest.$ac_ext <<_ACEOF
43815 /* end confdefs.h. */
43816 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43818 #define strptime innocuous_strptime
43820 /* System header to define __stub macros and hopefully few prototypes,
43821 which can conflict with char strptime (); below.
43822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43823 <limits.h> exists even on freestanding compilers. */
43826 # include <limits.h>
43828 # include <assert.h>
43833 /* Override any GCC internal prototype to avoid an error.
43834 Use char because int might match the return type of a GCC
43835 builtin and then its argument prototype would still apply. */
43840 /* The GNU C library defines this for functions which it implements
43841 to always fail with ENOSYS. Some functions are actually named
43842 something starting with __ and the normal name is an alias. */
43843 #if defined __stub_strptime || defined __stub___strptime
43850 return strptime ();
43855 rm -f conftest.$ac_objext conftest$ac_exeext
43856 if { (ac_try="$ac_link"
43857 case "(($ac_try" in
43858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43859 *) ac_try_echo
=$ac_try;;
43861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43862 (eval "$ac_link") 2>conftest.er1
43864 grep -v '^ *+' conftest.er1
>conftest.err
43866 cat conftest.err
>&5
43867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43868 (exit $ac_status); } && {
43869 test -z "$ac_c_werror_flag" ||
43870 test ! -s conftest.err
43871 } && test -s conftest
$ac_exeext &&
43872 $as_test_x conftest
$ac_exeext; then
43873 ac_cv_func_strptime
=yes
43875 echo "$as_me: failed program was:" >&5
43876 sed 's/^/| /' conftest.
$ac_ext >&5
43878 ac_cv_func_strptime
=no
43881 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43882 conftest
$ac_exeext conftest.
$ac_ext
43884 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43885 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43887 if test "$ac_cv_func_strptime" = "yes"; then
43888 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43889 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43890 if test "${wx_cv_func_strptime_decl+set}" = set; then
43891 echo $ECHO_N "(cached) $ECHO_C" >&6
43895 ac_cpp
='$CXXCPP $CPPFLAGS'
43896 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43897 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43898 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43900 cat >conftest.
$ac_ext <<_ACEOF
43903 cat confdefs.h
>>conftest.
$ac_ext
43904 cat >>conftest.
$ac_ext <<_ACEOF
43905 /* end confdefs.h. */
43914 strptime("foo", "bar", &t);
43920 rm -f conftest.
$ac_objext
43921 if { (ac_try
="$ac_compile"
43922 case "(($ac_try" in
43923 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43924 *) ac_try_echo=$ac_try;;
43926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43927 (eval "$ac_compile") 2>conftest.er1
43929 grep -v '^ *+' conftest.er1 >conftest.err
43931 cat conftest.err >&5
43932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43933 (exit $ac_status); } && {
43934 test -z "$ac_cxx_werror_flag" ||
43935 test ! -s conftest.err
43936 } && test -s conftest.$ac_objext; then
43937 wx_cv_func_strptime_decl=yes
43939 echo "$as_me: failed program was:" >&5
43940 sed 's/^/| /' conftest.$ac_ext >&5
43942 wx_cv_func_strptime_decl=no
43946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43948 ac_cpp='$CPP $CPPFLAGS'
43949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43956 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43957 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43959 if test "$wx_cv_func_strptime_decl" = "yes"; then
43960 cat >>confdefs.h <<\_ACEOF
43961 #define HAVE_STRPTIME_DECL 1
43965 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43967 if test "$ac_cv_func_strptime" = "yes"; then
43968 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43969 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43970 if test "${wx_cv_func_strptime_ok+set}" = set; then
43971 echo $ECHO_N "(cached) $ECHO_C" >&6
43973 if test "$cross_compiling" = yes; then
43974 wx_cv_func_strptime_ok=no
43977 cat >conftest.$ac_ext <<_ACEOF
43979 #include <stdlib.h>
43981 #include "confdefs.h"
43988 return !!strptime("", "%x", &t);
43992 rm -f conftest$ac_exeext
43993 if { (ac_try="$ac_link"
43994 case "(($ac_try" in
43995 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43996 *) ac_try_echo
=$ac_try;;
43998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43999 (eval "$ac_link") 2>&5
44001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44002 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
44003 { (case "(($ac_try" in
44004 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44005 *) ac_try_echo=$ac_try;;
44007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44008 (eval "$ac_try") 2>&5
44010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44011 (exit $ac_status); }; }; then
44012 wx_cv_func_strptime_ok=yes
44014 echo "$as_me: program exited with status $ac_status" >&5
44015 echo "$as_me: failed program was:" >&5
44016 sed 's/^/| /' conftest.$ac_ext >&5
44018 ( exit $ac_status )
44019 wx_cv_func_strptime_ok=no
44021 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44027 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
44028 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
44030 if test "$wx_cv_func_strptime_ok" = "yes"; then
44031 cat >>confdefs.h <<\_ACEOF
44032 #define HAVE_STRPTIME 1
44038 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44039 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44040 if test "${wx_cv_var_timezone+set}" = set; then
44041 echo $ECHO_N "(cached) $ECHO_C" >&6
44045 ac_cpp='$CXXCPP $CPPFLAGS'
44046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44050 cat >conftest.$ac_ext <<_ACEOF
44053 cat confdefs.h >>conftest.$ac_ext
44054 cat >>conftest.$ac_ext <<_ACEOF
44055 /* end confdefs.h. */
44070 rm -f conftest.$ac_objext
44071 if { (ac_try="$ac_compile"
44072 case "(($ac_try" in
44073 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44074 *) ac_try_echo
=$ac_try;;
44076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44077 (eval "$ac_compile") 2>conftest.er1
44079 grep -v '^ *+' conftest.er1
>conftest.err
44081 cat conftest.err
>&5
44082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44083 (exit $ac_status); } && {
44084 test -z "$ac_cxx_werror_flag" ||
44085 test ! -s conftest.err
44086 } && test -s conftest.
$ac_objext; then
44088 wx_cv_var_timezone
=timezone
44091 echo "$as_me: failed program was:" >&5
44092 sed 's/^/| /' conftest.
$ac_ext >&5
44095 cat >conftest.
$ac_ext <<_ACEOF
44098 cat confdefs.h
>>conftest.
$ac_ext
44099 cat >>conftest.
$ac_ext <<_ACEOF
44100 /* end confdefs.h. */
44115 rm -f conftest.
$ac_objext
44116 if { (ac_try
="$ac_compile"
44117 case "(($ac_try" in
44118 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44119 *) ac_try_echo=$ac_try;;
44121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44122 (eval "$ac_compile") 2>conftest.er1
44124 grep -v '^ *+' conftest.er1 >conftest.err
44126 cat conftest.err >&5
44127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44128 (exit $ac_status); } && {
44129 test -z "$ac_cxx_werror_flag" ||
44130 test ! -s conftest.err
44131 } && test -s conftest.$ac_objext; then
44133 wx_cv_var_timezone=_timezone
44136 echo "$as_me: failed program was:" >&5
44137 sed 's/^/| /' conftest.$ac_ext >&5
44140 cat >conftest.$ac_ext <<_ACEOF
44143 cat confdefs.h >>conftest.$ac_ext
44144 cat >>conftest.$ac_ext <<_ACEOF
44145 /* end confdefs.h. */
44160 rm -f conftest.$ac_objext
44161 if { (ac_try="$ac_compile"
44162 case "(($ac_try" in
44163 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44164 *) ac_try_echo
=$ac_try;;
44166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44167 (eval "$ac_compile") 2>conftest.er1
44169 grep -v '^ *+' conftest.er1
>conftest.err
44171 cat conftest.err
>&5
44172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44173 (exit $ac_status); } && {
44174 test -z "$ac_cxx_werror_flag" ||
44175 test ! -s conftest.err
44176 } && test -s conftest.
$ac_objext; then
44178 wx_cv_var_timezone
=__timezone
44181 echo "$as_me: failed program was:" >&5
44182 sed 's/^/| /' conftest.
$ac_ext >&5
44185 if test "$USE_DOS" = 0 ; then
44186 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44187 echo "$as_me: WARNING: no timezone variable" >&2;}
44193 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44205 ac_cpp
='$CPP $CPPFLAGS'
44206 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44207 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44208 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44213 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44214 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44216 if test "x$wx_cv_var_timezone" != x
; then
44217 cat >>confdefs.h
<<_ACEOF
44218 #define WX_TIMEZONE $wx_cv_var_timezone
44224 for ac_func
in localtime
44226 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44227 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44229 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44230 echo $ECHO_N "(cached) $ECHO_C" >&6
44232 cat >conftest.
$ac_ext <<_ACEOF
44235 cat confdefs.h
>>conftest.
$ac_ext
44236 cat >>conftest.
$ac_ext <<_ACEOF
44237 /* end confdefs.h. */
44238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44240 #define $ac_func innocuous_$ac_func
44242 /* System header to define __stub macros and hopefully few prototypes,
44243 which can conflict with char $ac_func (); below.
44244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44245 <limits.h> exists even on freestanding compilers. */
44248 # include <limits.h>
44250 # include <assert.h>
44255 /* Override any GCC internal prototype to avoid an error.
44256 Use char because int might match the return type of a GCC
44257 builtin and then its argument prototype would still apply. */
44262 /* The GNU C library defines this for functions which it implements
44263 to always fail with ENOSYS. Some functions are actually named
44264 something starting with __ and the normal name is an alias. */
44265 #if defined __stub_$ac_func || defined __stub___$ac_func
44272 return $ac_func ();
44277 rm -f conftest.
$ac_objext conftest
$ac_exeext
44278 if { (ac_try
="$ac_link"
44279 case "(($ac_try" in
44280 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44281 *) ac_try_echo=$ac_try;;
44283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44284 (eval "$ac_link") 2>conftest.er1
44286 grep -v '^ *+' conftest.er1 >conftest.err
44288 cat conftest.err >&5
44289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44290 (exit $ac_status); } && {
44291 test -z "$ac_c_werror_flag" ||
44292 test ! -s conftest.err
44293 } && test -s conftest$ac_exeext &&
44294 $as_test_x conftest$ac_exeext; then
44295 eval "$as_ac_var=yes"
44297 echo "$as_me: failed program was:" >&5
44298 sed 's/^/| /' conftest.$ac_ext >&5
44300 eval "$as_ac_var=no"
44303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44304 conftest$ac_exeext conftest.$ac_ext
44306 ac_res=`eval echo '${'$as_ac_var'}'`
44307 { echo "$as_me:$LINENO: result: $ac_res" >&5
44308 echo "${ECHO_T}$ac_res" >&6; }
44309 if test `eval echo '${'$as_ac_var'}'` = yes; then
44310 cat >>confdefs.h <<_ACEOF
44311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44318 if test "$ac_cv_func_localtime" = "yes"; then
44319 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44320 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44321 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44322 echo $ECHO_N "(cached) $ECHO_C" >&6
44325 cat >conftest.$ac_ext <<_ACEOF
44328 cat confdefs.h >>conftest.$ac_ext
44329 cat >>conftest.$ac_ext <<_ACEOF
44330 /* end confdefs.h. */
44345 rm -f conftest.$ac_objext
44346 if { (ac_try="$ac_compile"
44347 case "(($ac_try" in
44348 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44349 *) ac_try_echo
=$ac_try;;
44351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44352 (eval "$ac_compile") 2>conftest.er1
44354 grep -v '^ *+' conftest.er1
>conftest.err
44356 cat conftest.err
>&5
44357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44358 (exit $ac_status); } && {
44359 test -z "$ac_c_werror_flag" ||
44360 test ! -s conftest.err
44361 } && test -s conftest.
$ac_objext; then
44363 wx_cv_struct_tm_has_gmtoff
=yes
44366 echo "$as_me: failed program was:" >&5
44367 sed 's/^/| /' conftest.
$ac_ext >&5
44369 wx_cv_struct_tm_has_gmtoff
=no
44373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44376 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44377 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44380 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44381 cat >>confdefs.h
<<\_ACEOF
44382 #define WX_GMTOFF_IN_TM 1
44387 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44391 if test "$wxUSE_SOCKETS" = "yes"; then
44392 if test "$wxUSE_MGL" = 1; then
44393 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44394 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44399 if test "$wxUSE_SOCKETS" = "yes"; then
44400 if test "$TOOLKIT" != "MSW"; then
44401 { echo "$as_me:$LINENO: checking for socket" >&5
44402 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44403 if test "${ac_cv_func_socket+set}" = set; then
44404 echo $ECHO_N "(cached) $ECHO_C" >&6
44406 cat >conftest.
$ac_ext <<_ACEOF
44409 cat confdefs.h
>>conftest.
$ac_ext
44410 cat >>conftest.
$ac_ext <<_ACEOF
44411 /* end confdefs.h. */
44412 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44414 #define socket innocuous_socket
44416 /* System header to define __stub macros and hopefully few prototypes,
44417 which can conflict with char socket (); below.
44418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44419 <limits.h> exists even on freestanding compilers. */
44422 # include <limits.h>
44424 # include <assert.h>
44429 /* Override any GCC internal prototype to avoid an error.
44430 Use char because int might match the return type of a GCC
44431 builtin and then its argument prototype would still apply. */
44436 /* The GNU C library defines this for functions which it implements
44437 to always fail with ENOSYS. Some functions are actually named
44438 something starting with __ and the normal name is an alias. */
44439 #if defined __stub_socket || defined __stub___socket
44451 rm -f conftest.
$ac_objext conftest
$ac_exeext
44452 if { (ac_try
="$ac_link"
44453 case "(($ac_try" in
44454 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44455 *) ac_try_echo=$ac_try;;
44457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44458 (eval "$ac_link") 2>conftest.er1
44460 grep -v '^ *+' conftest.er1 >conftest.err
44462 cat conftest.err >&5
44463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44464 (exit $ac_status); } && {
44465 test -z "$ac_c_werror_flag" ||
44466 test ! -s conftest.err
44467 } && test -s conftest$ac_exeext &&
44468 $as_test_x conftest$ac_exeext; then
44469 ac_cv_func_socket=yes
44471 echo "$as_me: failed program was:" >&5
44472 sed 's/^/| /' conftest.$ac_ext >&5
44474 ac_cv_func_socket=no
44477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44478 conftest$ac_exeext conftest.$ac_ext
44480 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44481 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44482 if test $ac_cv_func_socket = yes; then
44486 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44487 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44488 if test "${ac_cv_lib_socket_socket+set}" = set; then
44489 echo $ECHO_N "(cached) $ECHO_C" >&6
44491 ac_check_lib_save_LIBS=$LIBS
44492 LIBS="-lsocket $LIBS"
44493 cat >conftest.$ac_ext <<_ACEOF
44496 cat confdefs.h >>conftest.$ac_ext
44497 cat >>conftest.$ac_ext <<_ACEOF
44498 /* end confdefs.h. */
44500 /* Override any GCC internal prototype to avoid an error.
44501 Use char because int might match the return type of a GCC
44502 builtin and then its argument prototype would still apply. */
44515 rm -f conftest.$ac_objext conftest$ac_exeext
44516 if { (ac_try="$ac_link"
44517 case "(($ac_try" in
44518 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44519 *) ac_try_echo
=$ac_try;;
44521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44522 (eval "$ac_link") 2>conftest.er1
44524 grep -v '^ *+' conftest.er1
>conftest.err
44526 cat conftest.err
>&5
44527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44528 (exit $ac_status); } && {
44529 test -z "$ac_c_werror_flag" ||
44530 test ! -s conftest.err
44531 } && test -s conftest
$ac_exeext &&
44532 $as_test_x conftest
$ac_exeext; then
44533 ac_cv_lib_socket_socket
=yes
44535 echo "$as_me: failed program was:" >&5
44536 sed 's/^/| /' conftest.
$ac_ext >&5
44538 ac_cv_lib_socket_socket
=no
44541 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44542 conftest
$ac_exeext conftest.
$ac_ext
44543 LIBS
=$ac_check_lib_save_LIBS
44545 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44546 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44547 if test $ac_cv_lib_socket_socket = yes; then
44548 if test "$INET_LINK" != " -lsocket"; then
44549 INET_LINK
="$INET_LINK -lsocket"
44553 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44554 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44567 if test "$wxUSE_SOCKETS" = "yes" ; then
44568 if test "$TOOLKIT" != "MSW"; then
44569 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44570 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44571 if test "${wx_cv_type_getsockname3+set}" = set; then
44572 echo $ECHO_N "(cached) $ECHO_C" >&6
44576 ac_cpp
='$CXXCPP $CPPFLAGS'
44577 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44578 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44579 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44581 cat >conftest.
$ac_ext <<_ACEOF
44584 cat confdefs.h
>>conftest.
$ac_ext
44585 cat >>conftest.
$ac_ext <<_ACEOF
44586 /* end confdefs.h. */
44588 #include <sys/types.h>
44589 #include <sys/socket.h>
44596 getsockname(0, 0, &len);
44602 rm -f conftest.
$ac_objext
44603 if { (ac_try
="$ac_compile"
44604 case "(($ac_try" in
44605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44606 *) ac_try_echo=$ac_try;;
44608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44609 (eval "$ac_compile") 2>conftest.er1
44611 grep -v '^ *+' conftest.er1 >conftest.err
44613 cat conftest.err >&5
44614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44615 (exit $ac_status); } && {
44616 test -z "$ac_cxx_werror_flag" ||
44617 test ! -s conftest.err
44618 } && test -s conftest.$ac_objext; then
44619 wx_cv_type_getsockname3=socklen_t
44621 echo "$as_me: failed program was:" >&5
44622 sed 's/^/| /' conftest.$ac_ext >&5
44625 CFLAGS_OLD="$CFLAGS"
44626 if test "$GCC" = yes ; then
44627 CFLAGS="-Werror $CFLAGS"
44630 cat >conftest.$ac_ext <<_ACEOF
44633 cat confdefs.h >>conftest.$ac_ext
44634 cat >>conftest.$ac_ext <<_ACEOF
44635 /* end confdefs.h. */
44637 #include <sys/types.h>
44638 #include <sys/socket.h>
44645 getsockname(0, 0, &len);
44651 rm -f conftest.$ac_objext
44652 if { (ac_try="$ac_compile"
44653 case "(($ac_try" in
44654 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44655 *) ac_try_echo
=$ac_try;;
44657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44658 (eval "$ac_compile") 2>conftest.er1
44660 grep -v '^ *+' conftest.er1
>conftest.err
44662 cat conftest.err
>&5
44663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44664 (exit $ac_status); } && {
44665 test -z "$ac_cxx_werror_flag" ||
44666 test ! -s conftest.err
44667 } && test -s conftest.
$ac_objext; then
44668 wx_cv_type_getsockname3
=size_t
44670 echo "$as_me: failed program was:" >&5
44671 sed 's/^/| /' conftest.
$ac_ext >&5
44673 cat >conftest.
$ac_ext <<_ACEOF
44676 cat confdefs.h
>>conftest.
$ac_ext
44677 cat >>conftest.
$ac_ext <<_ACEOF
44678 /* end confdefs.h. */
44680 #include <sys/types.h>
44681 #include <sys/socket.h>
44688 getsockname(0, 0, &len);
44694 rm -f conftest.
$ac_objext
44695 if { (ac_try
="$ac_compile"
44696 case "(($ac_try" in
44697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44698 *) ac_try_echo=$ac_try;;
44700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44701 (eval "$ac_compile") 2>conftest.er1
44703 grep -v '^ *+' conftest.er1 >conftest.err
44705 cat conftest.err >&5
44706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44707 (exit $ac_status); } && {
44708 test -z "$ac_cxx_werror_flag" ||
44709 test ! -s conftest.err
44710 } && test -s conftest.$ac_objext; then
44711 wx_cv_type_getsockname3=int
44713 echo "$as_me: failed program was:" >&5
44714 sed 's/^/| /' conftest.$ac_ext >&5
44716 wx_cv_type_getsockname3=unknown
44720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44726 CFLAGS="$CFLAGS_OLD"
44731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44733 ac_cpp='$CPP $CPPFLAGS'
44734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44740 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44741 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44743 if test "$wx_cv_type_getsockname3" = "unknown"; then
44745 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44746 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44748 cat >>confdefs.h <<_ACEOF
44749 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44753 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44754 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44755 if test "${wx_cv_type_getsockopt5+set}" = set; then
44756 echo $ECHO_N "(cached) $ECHO_C" >&6
44760 ac_cpp='$CXXCPP $CPPFLAGS'
44761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44765 cat >conftest.$ac_ext <<_ACEOF
44768 cat confdefs.h >>conftest.$ac_ext
44769 cat >>conftest.$ac_ext <<_ACEOF
44770 /* end confdefs.h. */
44772 #include <sys/types.h>
44773 #include <sys/socket.h>
44780 getsockopt(0, 0, 0, 0, &len);
44786 rm -f conftest.$ac_objext
44787 if { (ac_try="$ac_compile"
44788 case "(($ac_try" in
44789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44790 *) ac_try_echo
=$ac_try;;
44792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44793 (eval "$ac_compile") 2>conftest.er1
44795 grep -v '^ *+' conftest.er1
>conftest.err
44797 cat conftest.err
>&5
44798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44799 (exit $ac_status); } && {
44800 test -z "$ac_cxx_werror_flag" ||
44801 test ! -s conftest.err
44802 } && test -s conftest.
$ac_objext; then
44803 wx_cv_type_getsockopt5
=socklen_t
44805 echo "$as_me: failed program was:" >&5
44806 sed 's/^/| /' conftest.
$ac_ext >&5
44809 cat >conftest.
$ac_ext <<_ACEOF
44812 cat confdefs.h
>>conftest.
$ac_ext
44813 cat >>conftest.
$ac_ext <<_ACEOF
44814 /* end confdefs.h. */
44816 #include <sys/types.h>
44817 #include <sys/socket.h>
44824 getsockopt(0, 0, 0, 0, &len);
44830 rm -f conftest.
$ac_objext
44831 if { (ac_try
="$ac_compile"
44832 case "(($ac_try" in
44833 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44834 *) ac_try_echo=$ac_try;;
44836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44837 (eval "$ac_compile") 2>conftest.er1
44839 grep -v '^ *+' conftest.er1 >conftest.err
44841 cat conftest.err >&5
44842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44843 (exit $ac_status); } && {
44844 test -z "$ac_cxx_werror_flag" ||
44845 test ! -s conftest.err
44846 } && test -s conftest.$ac_objext; then
44847 wx_cv_type_getsockopt5=size_t
44849 echo "$as_me: failed program was:" >&5
44850 sed 's/^/| /' conftest.$ac_ext >&5
44852 cat >conftest.$ac_ext <<_ACEOF
44855 cat confdefs.h >>conftest.$ac_ext
44856 cat >>conftest.$ac_ext <<_ACEOF
44857 /* end confdefs.h. */
44859 #include <sys/types.h>
44860 #include <sys/socket.h>
44867 getsockopt(0, 0, 0, 0, &len);
44873 rm -f conftest.$ac_objext
44874 if { (ac_try="$ac_compile"
44875 case "(($ac_try" in
44876 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44877 *) ac_try_echo
=$ac_try;;
44879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44880 (eval "$ac_compile") 2>conftest.er1
44882 grep -v '^ *+' conftest.er1
>conftest.err
44884 cat conftest.err
>&5
44885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44886 (exit $ac_status); } && {
44887 test -z "$ac_cxx_werror_flag" ||
44888 test ! -s conftest.err
44889 } && test -s conftest.
$ac_objext; then
44890 wx_cv_type_getsockopt5
=int
44892 echo "$as_me: failed program was:" >&5
44893 sed 's/^/| /' conftest.
$ac_ext >&5
44895 wx_cv_type_getsockopt5
=unknown
44899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44910 ac_cpp
='$CPP $CPPFLAGS'
44911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44917 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44918 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44920 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44922 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44923 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44925 cat >>confdefs.h
<<_ACEOF
44926 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44933 if test "$wxUSE_SOCKETS" = "yes" ; then
44934 if test "$wxUSE_IPV6" = "yes"; then
44935 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44936 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44937 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44938 echo $ECHO_N "(cached) $ECHO_C" >&6
44941 cat >conftest.
$ac_ext <<_ACEOF
44944 cat confdefs.h
>>conftest.
$ac_ext
44945 cat >>conftest.
$ac_ext <<_ACEOF
44946 /* end confdefs.h. */
44948 #include <sys/types.h>
44949 #include <sys/socket.h>
44950 #include <netinet/in.h>
44956 struct sockaddr_in6 sa6;
44962 rm -f conftest.
$ac_objext
44963 if { (ac_try
="$ac_compile"
44964 case "(($ac_try" in
44965 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44966 *) ac_try_echo=$ac_try;;
44968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44969 (eval "$ac_compile") 2>conftest.er1
44971 grep -v '^ *+' conftest.er1 >conftest.err
44973 cat conftest.err >&5
44974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44975 (exit $ac_status); } && {
44976 test -z "$ac_c_werror_flag" ||
44977 test ! -s conftest.err
44978 } && test -s conftest.$ac_objext; then
44979 wx_cv_type_sockaddr_in6=yes
44981 echo "$as_me: failed program was:" >&5
44982 sed 's/^/| /' conftest.$ac_ext >&5
44984 wx_cv_type_sockaddr_in6=no
44988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44992 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44993 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44995 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44996 cat >>confdefs.h <<\_ACEOF
44997 #define wxUSE_IPV6 1
45001 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45002 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45006 cat >>confdefs.h <<\_ACEOF
45007 #define wxUSE_SOCKETS 1
45010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45013 if test "$wxUSE_PROTOCOL" = "yes"; then
45014 if test "$wxUSE_SOCKETS" != "yes"; then
45015 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45016 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45021 if test "$wxUSE_PROTOCOL" = "yes"; then
45022 cat >>confdefs.h <<\_ACEOF
45023 #define wxUSE_PROTOCOL 1
45027 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45028 cat >>confdefs.h <<\_ACEOF
45029 #define wxUSE_PROTOCOL_HTTP 1
45033 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45034 cat >>confdefs.h <<\_ACEOF
45035 #define wxUSE_PROTOCOL_FTP 1
45039 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45040 cat >>confdefs.h <<\_ACEOF
45041 #define wxUSE_PROTOCOL_FILE 1
45046 if test "$wxUSE_FS_INET" = "yes"; then
45047 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45048 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45053 if test "$wxUSE_URL" = "yes"; then
45054 if test "$wxUSE_PROTOCOL" != "yes"; then
45055 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45056 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45059 if test "$wxUSE_URL" = "yes"; then
45060 cat >>confdefs.h <<\_ACEOF
45061 #define wxUSE_URL 1
45067 if test "$wxUSE_VARIANT" = "yes"; then
45068 cat >>confdefs.h <<\_ACEOF
45069 #define wxUSE_VARIANT 1
45074 if test "$wxUSE_FS_INET" = "yes"; then
45075 cat >>confdefs.h <<\_ACEOF
45076 #define wxUSE_FS_INET 1
45082 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45085 if test "$TOOLKIT" = "MSW"; then
45088 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45089 if test "$USE_DARWIN" = 1; then
45090 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45091 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45093 ac_cpp='$CXXCPP $CPPFLAGS'
45094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45098 cat >conftest.$ac_ext <<_ACEOF
45101 cat confdefs.h >>conftest.$ac_ext
45102 cat >>conftest.$ac_ext <<_ACEOF
45103 /* end confdefs.h. */
45104 #include <IOKit/hid/IOHIDLib.h>
45108 IOHIDQueueInterface *qi = NULL;
45109 IOHIDCallbackFunction cb = NULL;
45110 qi->setEventCallout(NULL, cb, NULL, NULL);
45115 rm -f conftest.$ac_objext
45116 if { (ac_try="$ac_compile"
45117 case "(($ac_try" in
45118 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45119 *) ac_try_echo
=$ac_try;;
45121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45122 (eval "$ac_compile") 2>conftest.er1
45124 grep -v '^ *+' conftest.er1
>conftest.err
45126 cat conftest.err
>&5
45127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45128 (exit $ac_status); } && {
45129 test -z "$ac_cxx_werror_flag" ||
45130 test ! -s conftest.err
45131 } && test -s conftest.
$ac_objext; then
45135 echo "$as_me: failed program was:" >&5
45136 sed 's/^/| /' conftest.
$ac_ext >&5
45141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45143 ac_cpp
='$CPP $CPPFLAGS'
45144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45148 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45149 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45153 if test "$wxUSE_MGL" != 1; then
45155 for ac_header
in linux
/joystick.h
45157 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45158 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45160 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45161 echo $ECHO_N "(cached) $ECHO_C" >&6
45163 cat >conftest.
$ac_ext <<_ACEOF
45166 cat confdefs.h
>>conftest.
$ac_ext
45167 cat >>conftest.
$ac_ext <<_ACEOF
45168 /* end confdefs.h. */
45169 $ac_includes_default
45171 #include <$ac_header>
45173 rm -f conftest.
$ac_objext
45174 if { (ac_try
="$ac_compile"
45175 case "(($ac_try" in
45176 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45177 *) ac_try_echo=$ac_try;;
45179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45180 (eval "$ac_compile") 2>conftest.er1
45182 grep -v '^ *+' conftest.er1 >conftest.err
45184 cat conftest.err >&5
45185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45186 (exit $ac_status); } && {
45187 test -z "$ac_c_werror_flag" ||
45188 test ! -s conftest.err
45189 } && test -s conftest.$ac_objext; then
45190 eval "$as_ac_Header=yes"
45192 echo "$as_me: failed program was:" >&5
45193 sed 's/^/| /' conftest.$ac_ext >&5
45195 eval "$as_ac_Header=no"
45198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45200 ac_res=`eval echo '${'$as_ac_Header'}'`
45201 { echo "$as_me:$LINENO: result: $ac_res" >&5
45202 echo "${ECHO_T}$ac_res" >&6; }
45203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45204 cat >>confdefs.h <<_ACEOF
45205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45215 if test "$wxUSE_JOYSTICK" = "yes"; then
45216 cat >>confdefs.h <<\_ACEOF
45217 #define wxUSE_JOYSTICK 1
45220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45222 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45223 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45229 if test "$wxUSE_FONTENUM" = "yes" ; then
45230 cat >>confdefs.h <<\_ACEOF
45231 #define wxUSE_FONTENUM 1
45236 if test "$wxUSE_FONTMAP" = "yes" ; then
45237 cat >>confdefs.h <<\_ACEOF
45238 #define wxUSE_FONTMAP 1
45243 if test "$wxUSE_UNICODE" = "yes" ; then
45244 cat >>confdefs.h <<\_ACEOF
45245 #define wxUSE_UNICODE 1
45249 if test "$USE_WIN32" != 1; then
45250 wxUSE_UNICODE_MSLU=no
45253 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45254 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45255 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45256 if test "${ac_cv_lib_unicows_main+set}" = set; then
45257 echo $ECHO_N "(cached) $ECHO_C" >&6
45259 ac_check_lib_save_LIBS=$LIBS
45260 LIBS="-lunicows $LIBS"
45261 cat >conftest.$ac_ext <<_ACEOF
45264 cat confdefs.h >>conftest.$ac_ext
45265 cat >>conftest.$ac_ext <<_ACEOF
45266 /* end confdefs.h. */
45277 rm -f conftest.$ac_objext conftest$ac_exeext
45278 if { (ac_try="$ac_link"
45279 case "(($ac_try" in
45280 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45281 *) ac_try_echo
=$ac_try;;
45283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45284 (eval "$ac_link") 2>conftest.er1
45286 grep -v '^ *+' conftest.er1
>conftest.err
45288 cat conftest.err
>&5
45289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45290 (exit $ac_status); } && {
45291 test -z "$ac_c_werror_flag" ||
45292 test ! -s conftest.err
45293 } && test -s conftest
$ac_exeext &&
45294 $as_test_x conftest
$ac_exeext; then
45295 ac_cv_lib_unicows_main
=yes
45297 echo "$as_me: failed program was:" >&5
45298 sed 's/^/| /' conftest.
$ac_ext >&5
45300 ac_cv_lib_unicows_main
=no
45303 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45304 conftest
$ac_exeext conftest.
$ac_ext
45305 LIBS
=$ac_check_lib_save_LIBS
45307 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45308 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45309 if test $ac_cv_lib_unicows_main = yes; then
45311 cat >>confdefs.h
<<\_ACEOF
45312 #define wxUSE_UNICODE_MSLU 1
45318 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45319 Applications will only run on Windows NT/2000/XP!" >&5
45320 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45321 Applications will only run on Windows NT/2000/XP!" >&2;}
45322 wxUSE_UNICODE_MSLU
=no
45329 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45330 cat >>confdefs.h
<<\_ACEOF
45331 #define wxUSE_UNICODE_UTF8 1
45335 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45336 cat >>confdefs.h
<<\_ACEOF
45337 #define wxUSE_UTF8_LOCALE_ONLY 1
45344 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45345 cat >>confdefs.h
<<\_ACEOF
45346 #define wxUSE_CONSTRAINTS 1
45349 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45352 if test "$wxUSE_MDI" = "yes"; then
45353 cat >>confdefs.h
<<\_ACEOF
45354 #define wxUSE_MDI 1
45358 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45359 cat >>confdefs.h
<<\_ACEOF
45360 #define wxUSE_MDI_ARCHITECTURE 1
45363 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45367 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45368 cat >>confdefs.h
<<\_ACEOF
45369 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45375 if test "$wxUSE_HELP" = "yes"; then
45376 cat >>confdefs.h
<<\_ACEOF
45377 #define wxUSE_HELP 1
45380 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45382 if test "$wxUSE_MSW" = 1; then
45383 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45384 cat >>confdefs.h
<<\_ACEOF
45385 #define wxUSE_MS_HTML_HELP 1
45391 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45392 if test "$wxUSE_HTML" = "yes"; then
45393 cat >>confdefs.h
<<\_ACEOF
45394 #define wxUSE_WXHTML_HELP 1
45398 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45399 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45400 wxUSE_WXHTML_HELP
=no
45405 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45406 cat >>confdefs.h
<<\_ACEOF
45407 #define wxUSE_PRINTING_ARCHITECTURE 1
45410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45413 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45414 cat >>confdefs.h
<<\_ACEOF
45415 #define wxUSE_POSTSCRIPT 1
45420 cat >>confdefs.h
<<\_ACEOF
45421 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45425 if test "$wxUSE_SVG" = "yes"; then
45426 cat >>confdefs.h
<<\_ACEOF
45427 #define wxUSE_SVG 1
45433 if test "$wxUSE_METAFILE" = "yes"; then
45434 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45435 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45436 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45442 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45443 -o "$wxUSE_CLIPBOARD" = "yes" \
45444 -o "$wxUSE_OLE" = "yes" \
45445 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45446 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45447 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45448 if test "${ac_cv_header_ole2_h+set}" = set; then
45449 echo $ECHO_N "(cached) $ECHO_C" >&6
45451 cat >conftest.
$ac_ext <<_ACEOF
45454 cat confdefs.h
>>conftest.
$ac_ext
45455 cat >>conftest.
$ac_ext <<_ACEOF
45456 /* end confdefs.h. */
45461 rm -f conftest.
$ac_objext
45462 if { (ac_try
="$ac_compile"
45463 case "(($ac_try" in
45464 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45465 *) ac_try_echo=$ac_try;;
45467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45468 (eval "$ac_compile") 2>conftest.er1
45470 grep -v '^ *+' conftest.er1 >conftest.err
45472 cat conftest.err >&5
45473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45474 (exit $ac_status); } && {
45475 test -z "$ac_c_werror_flag" ||
45476 test ! -s conftest.err
45477 } && test -s conftest.$ac_objext; then
45478 ac_cv_header_ole2_h=yes
45480 echo "$as_me: failed program was:" >&5
45481 sed 's/^/| /' conftest.$ac_ext >&5
45483 ac_cv_header_ole2_h=no
45486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45488 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45489 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45493 if test "$ac_cv_header_ole2_h" = "yes" ; then
45494 if test "$GCC" = yes ; then
45495 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45496 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45497 cat >conftest.$ac_ext <<_ACEOF
45500 cat confdefs.h >>conftest.$ac_ext
45501 cat >>conftest.$ac_ext <<_ACEOF
45502 /* end confdefs.h. */
45503 #include <windows.h>
45513 rm -f conftest.$ac_objext
45514 if { (ac_try="$ac_compile"
45515 case "(($ac_try" in
45516 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45517 *) ac_try_echo
=$ac_try;;
45519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45520 (eval "$ac_compile") 2>conftest.er1
45522 grep -v '^ *+' conftest.er1
>conftest.err
45524 cat conftest.err
>&5
45525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45526 (exit $ac_status); } && {
45527 test -z "$ac_c_werror_flag" ||
45528 test ! -s conftest.err
45529 } && test -s conftest.
$ac_objext; then
45530 { echo "$as_me:$LINENO: result: no" >&5
45531 echo "${ECHO_T}no" >&6; }
45533 echo "$as_me: failed program was:" >&5
45534 sed 's/^/| /' conftest.
$ac_ext >&5
45536 { echo "$as_me:$LINENO: result: yes" >&5
45537 echo "${ECHO_T}yes" >&6; }
45538 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45542 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45543 if test "$wxUSE_OLE" = "yes" ; then
45544 cat >>confdefs.h
<<\_ACEOF
45545 #define wxUSE_OLE 1
45548 cat >>confdefs.h
<<\_ACEOF
45549 #define wxUSE_OLE_AUTOMATION 1
45552 cat >>confdefs.h
<<\_ACEOF
45553 #define wxUSE_ACTIVEX 1
45556 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45560 if test "$wxUSE_DATAOBJ" = "yes" ; then
45561 cat >>confdefs.h
<<\_ACEOF
45562 #define wxUSE_DATAOBJ 1
45567 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45568 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45571 wxUSE_DRAG_AND_DROP
=no
45576 if test "$wxUSE_METAFILE" = "yes"; then
45577 cat >>confdefs.h
<<\_ACEOF
45578 #define wxUSE_METAFILE 1
45582 cat >>confdefs.h
<<\_ACEOF
45583 #define wxUSE_ENH_METAFILE 1
45589 if test "$wxUSE_IPC" = "yes"; then
45590 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45591 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45592 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45596 if test "$wxUSE_IPC" = "yes"; then
45597 cat >>confdefs.h
<<\_ACEOF
45598 #define wxUSE_IPC 1
45601 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45605 if test "$wxUSE_DATAOBJ" = "yes"; then
45606 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45607 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45608 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45611 cat >>confdefs.h
<<\_ACEOF
45612 #define wxUSE_DATAOBJ 1
45617 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45618 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45620 wxUSE_DRAG_AND_DROP
=no
45623 if test "$wxUSE_CLIPBOARD" = "yes"; then
45624 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45625 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45626 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45630 if test "$wxUSE_CLIPBOARD" = "yes"; then
45631 cat >>confdefs.h
<<\_ACEOF
45632 #define wxUSE_CLIPBOARD 1
45638 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45639 if test "$wxUSE_GTK" = 1; then
45640 if test "$WXGTK12" != 1; then
45641 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45642 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45643 wxUSE_DRAG_AND_DROP
=no
45647 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45648 "$wxUSE_DFB" = 1; then
45649 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45650 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45651 wxUSE_DRAG_AND_DROP
=no
45654 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45655 cat >>confdefs.h
<<\_ACEOF
45656 #define wxUSE_DRAG_AND_DROP 1
45663 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45667 if test "$wxUSE_CLIPBOARD" = "yes"; then
45668 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
45671 if test "$wxUSE_SPLINES" = "yes" ; then
45672 cat >>confdefs.h
<<\_ACEOF
45673 #define wxUSE_SPLINES 1
45678 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45679 cat >>confdefs.h
<<\_ACEOF
45680 #define wxUSE_MOUSEWHEEL 1
45687 if test "$wxUSE_CONTROLS" = "yes"; then
45691 if test "$wxUSE_ACCEL" = "yes"; then
45692 cat >>confdefs.h
<<\_ACEOF
45693 #define wxUSE_ACCEL 1
45699 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45700 cat >>confdefs.h
<<\_ACEOF
45701 #define wxUSE_ANIMATIONCTRL 1
45705 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45708 if test "$wxUSE_BUTTON" = "yes"; then
45709 cat >>confdefs.h
<<\_ACEOF
45710 #define wxUSE_BUTTON 1
45716 if test "$wxUSE_BMPBUTTON" = "yes"; then
45717 cat >>confdefs.h
<<\_ACEOF
45718 #define wxUSE_BMPBUTTON 1
45724 if test "$wxUSE_CALCTRL" = "yes"; then
45725 cat >>confdefs.h
<<\_ACEOF
45726 #define wxUSE_CALENDARCTRL 1
45730 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45733 if test "$wxUSE_CARET" = "yes"; then
45734 cat >>confdefs.h
<<\_ACEOF
45735 #define wxUSE_CARET 1
45739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45742 if test "$wxUSE_COLLPANE" = "yes"; then
45743 cat >>confdefs.h
<<\_ACEOF
45744 #define wxUSE_COLLPANE 1
45748 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45751 if test "$wxUSE_COMBOBOX" = "yes"; then
45752 cat >>confdefs.h
<<\_ACEOF
45753 #define wxUSE_COMBOBOX 1
45759 if test "$wxUSE_COMBOCTRL" = "yes"; then
45760 cat >>confdefs.h
<<\_ACEOF
45761 #define wxUSE_COMBOCTRL 1
45767 if test "$wxUSE_CHOICE" = "yes"; then
45768 cat >>confdefs.h
<<\_ACEOF
45769 #define wxUSE_CHOICE 1
45775 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45776 cat >>confdefs.h
<<\_ACEOF
45777 #define wxUSE_CHOICEBOOK 1
45783 if test "$wxUSE_CHECKBOX" = "yes"; then
45784 cat >>confdefs.h
<<\_ACEOF
45785 #define wxUSE_CHECKBOX 1
45791 if test "$wxUSE_CHECKLST" = "yes"; then
45792 cat >>confdefs.h
<<\_ACEOF
45793 #define wxUSE_CHECKLISTBOX 1
45799 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45800 cat >>confdefs.h
<<\_ACEOF
45801 #define wxUSE_COLOURPICKERCTRL 1
45807 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45808 cat >>confdefs.h
<<\_ACEOF
45809 #define wxUSE_DATEPICKCTRL 1
45815 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45816 cat >>confdefs.h
<<\_ACEOF
45817 #define wxUSE_DIRPICKERCTRL 1
45823 if test "$wxUSE_FILECTRL" = "yes"; then
45824 cat >>confdefs.h
<<\_ACEOF
45825 #define wxUSE_FILECTRL 1
45831 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45832 cat >>confdefs.h
<<\_ACEOF
45833 #define wxUSE_FILEPICKERCTRL 1
45839 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45840 cat >>confdefs.h
<<\_ACEOF
45841 #define wxUSE_FONTPICKERCTRL 1
45847 if test "$wxUSE_DISPLAY" = "yes"; then
45848 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45849 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45850 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45853 cat >>confdefs.h
<<\_ACEOF
45854 #define wxUSE_DISPLAY 1
45857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45861 if test "$wxUSE_DETECT_SM" = "yes"; then
45862 cat >>confdefs.h
<<\_ACEOF
45863 #define wxUSE_DETECT_SM 1
45868 if test "$wxUSE_GAUGE" = "yes"; then
45869 cat >>confdefs.h
<<\_ACEOF
45870 #define wxUSE_GAUGE 1
45876 if test "$wxUSE_GRID" = "yes"; then
45877 cat >>confdefs.h
<<\_ACEOF
45878 #define wxUSE_GRID 1
45882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45885 if test "$wxUSE_HEADERCTRL" = "yes"; then
45886 cat >>confdefs.h
<<\_ACEOF
45887 #define wxUSE_HEADERCTRL 1
45893 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45894 cat >>confdefs.h
<<\_ACEOF
45895 #define wxUSE_HYPERLINKCTRL 1
45901 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45902 cat >>confdefs.h
<<\_ACEOF
45903 #define wxUSE_BITMAPCOMBOBOX 1
45909 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45910 cat >>confdefs.h
<<\_ACEOF
45911 #define wxUSE_DATAVIEWCTRL 1
45915 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45918 if test "$wxUSE_IMAGLIST" = "yes"; then
45919 cat >>confdefs.h
<<\_ACEOF
45920 #define wxUSE_IMAGLIST 1
45925 if test "$wxUSE_LISTBOOK" = "yes"; then
45926 cat >>confdefs.h
<<\_ACEOF
45927 #define wxUSE_LISTBOOK 1
45933 if test "$wxUSE_LISTBOX" = "yes"; then
45934 cat >>confdefs.h
<<\_ACEOF
45935 #define wxUSE_LISTBOX 1
45941 if test "$wxUSE_LISTCTRL" = "yes"; then
45942 if test "$wxUSE_IMAGLIST" = "yes"; then
45943 cat >>confdefs.h
<<\_ACEOF
45944 #define wxUSE_LISTCTRL 1
45948 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45950 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45951 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45955 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45956 cat >>confdefs.h
<<\_ACEOF
45957 #define wxUSE_EDITABLELISTBOX 1
45963 if test "$wxUSE_NOTEBOOK" = "yes"; then
45964 cat >>confdefs.h
<<\_ACEOF
45965 #define wxUSE_NOTEBOOK 1
45969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45972 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45973 cat >>confdefs.h
<<\_ACEOF
45974 #define wxUSE_NOTIFICATION_MESSAGE 1
45979 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45980 cat >>confdefs.h
<<\_ACEOF
45981 #define wxUSE_ODCOMBOBOX 1
45985 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45988 if test "$wxUSE_RADIOBOX" = "yes"; then
45989 cat >>confdefs.h
<<\_ACEOF
45990 #define wxUSE_RADIOBOX 1
45996 if test "$wxUSE_RADIOBTN" = "yes"; then
45997 cat >>confdefs.h
<<\_ACEOF
45998 #define wxUSE_RADIOBTN 1
46004 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46005 cat >>confdefs.h
<<\_ACEOF
46006 #define wxUSE_REARRANGECTRL 1
46011 if test "$wxUSE_SASH" = "yes"; then
46012 cat >>confdefs.h
<<\_ACEOF
46013 #define wxUSE_SASH 1
46016 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46019 if test "$wxUSE_SCROLLBAR" = "yes"; then
46020 cat >>confdefs.h
<<\_ACEOF
46021 #define wxUSE_SCROLLBAR 1
46025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
46028 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46029 cat >>confdefs.h
<<\_ACEOF
46030 #define wxUSE_SEARCHCTRL 1
46036 if test "$wxUSE_SLIDER" = "yes"; then
46037 cat >>confdefs.h
<<\_ACEOF
46038 #define wxUSE_SLIDER 1
46044 if test "$wxUSE_SPINBTN" = "yes"; then
46045 cat >>confdefs.h
<<\_ACEOF
46046 #define wxUSE_SPINBTN 1
46052 if test "$wxUSE_SPINCTRL" = "yes"; then
46053 cat >>confdefs.h
<<\_ACEOF
46054 #define wxUSE_SPINCTRL 1
46060 if test "$wxUSE_SPLITTER" = "yes"; then
46061 cat >>confdefs.h
<<\_ACEOF
46062 #define wxUSE_SPLITTER 1
46065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46068 if test "$wxUSE_STATBMP" = "yes"; then
46069 cat >>confdefs.h
<<\_ACEOF
46070 #define wxUSE_STATBMP 1
46076 if test "$wxUSE_STATBOX" = "yes"; then
46077 cat >>confdefs.h
<<\_ACEOF
46078 #define wxUSE_STATBOX 1
46084 if test "$wxUSE_STATTEXT" = "yes"; then
46085 cat >>confdefs.h
<<\_ACEOF
46086 #define wxUSE_STATTEXT 1
46092 if test "$wxUSE_STATLINE" = "yes"; then
46093 cat >>confdefs.h
<<\_ACEOF
46094 #define wxUSE_STATLINE 1
46100 if test "$wxUSE_STATUSBAR" = "yes"; then
46101 cat >>confdefs.h
<<\_ACEOF
46102 #define wxUSE_NATIVE_STATUSBAR 1
46105 cat >>confdefs.h
<<\_ACEOF
46106 #define wxUSE_STATUSBAR 1
46111 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46114 if test "$wxUSE_TEXTCTRL" = "yes"; then
46115 cat >>confdefs.h
<<\_ACEOF
46116 #define wxUSE_TEXTCTRL 1
46120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46122 cat >>confdefs.h
<<\_ACEOF
46123 #define wxUSE_RICHEDIT 1
46126 cat >>confdefs.h
<<\_ACEOF
46127 #define wxUSE_RICHEDIT2 1
46132 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46133 if test "$wxUSE_COCOA" = 1 ; then
46134 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46135 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46139 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46140 cat >>confdefs.h
<<\_ACEOF
46141 #define wxUSE_TOGGLEBTN 1
46148 if test "$wxUSE_TOOLBAR" = "yes"; then
46149 cat >>confdefs.h
<<\_ACEOF
46150 #define wxUSE_TOOLBAR 1
46155 if test "$wxUSE_UNIVERSAL" = "yes"; then
46156 wxUSE_TOOLBAR_NATIVE
="no"
46158 wxUSE_TOOLBAR_NATIVE
="yes"
46159 cat >>confdefs.h
<<\_ACEOF
46160 #define wxUSE_TOOLBAR_NATIVE 1
46165 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46168 if test "$wxUSE_TOOLTIPS" = "yes"; then
46169 if test "$wxUSE_MOTIF" = 1; then
46170 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46171 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46173 if test "$wxUSE_UNIVERSAL" = "yes"; then
46174 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46175 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46177 cat >>confdefs.h
<<\_ACEOF
46178 #define wxUSE_TOOLTIPS 1
46185 if test "$wxUSE_TREEBOOK" = "yes"; then
46186 cat >>confdefs.h
<<\_ACEOF
46187 #define wxUSE_TREEBOOK 1
46193 if test "$wxUSE_TOOLBOOK" = "yes"; then
46194 cat >>confdefs.h
<<\_ACEOF
46195 #define wxUSE_TOOLBOOK 1
46201 if test "$wxUSE_TREECTRL" = "yes"; then
46202 if test "$wxUSE_IMAGLIST" = "yes"; then
46203 cat >>confdefs.h
<<\_ACEOF
46204 #define wxUSE_TREECTRL 1
46208 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46210 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46211 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46215 if test "$wxUSE_POPUPWIN" = "yes"; then
46216 if test "$wxUSE_COCOA" = 1 ; then
46217 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46218 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46220 if test "$wxUSE_PM" = 1; then
46221 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46222 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46224 cat >>confdefs.h
<<\_ACEOF
46225 #define wxUSE_POPUPWIN 1
46228 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46235 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46236 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46237 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46238 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46240 cat >>confdefs.h
<<\_ACEOF
46241 #define wxUSE_DIALUP_MANAGER 1
46244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46248 if test "$wxUSE_TIPWINDOW" = "yes"; then
46249 if test "$wxUSE_PM" = 1; then
46250 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46251 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46253 cat >>confdefs.h
<<\_ACEOF
46254 #define wxUSE_TIPWINDOW 1
46260 if test "$USES_CONTROLS" = 1; then
46261 cat >>confdefs.h
<<\_ACEOF
46262 #define wxUSE_CONTROLS 1
46268 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46269 cat >>confdefs.h
<<\_ACEOF
46270 #define wxUSE_ACCESSIBILITY 1
46273 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46276 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46277 cat >>confdefs.h
<<\_ACEOF
46278 #define wxUSE_DRAGIMAGE 1
46281 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46284 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46285 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46286 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46287 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46289 cat >>confdefs.h
<<\_ACEOF
46290 #define wxUSE_EXCEPTIONS 1
46293 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46298 if test "$wxUSE_HTML" = "yes"; then
46299 cat >>confdefs.h
<<\_ACEOF
46300 #define wxUSE_HTML 1
46304 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46306 if test "$wxUSE_WEBKIT" = "yes"; then
46307 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46308 old_CPPFLAGS
="$CPPFLAGS"
46309 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46310 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46311 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46312 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46313 echo $ECHO_N "(cached) $ECHO_C" >&6
46315 cat >conftest.
$ac_ext <<_ACEOF
46318 cat confdefs.h
>>conftest.
$ac_ext
46319 cat >>conftest.
$ac_ext <<_ACEOF
46320 /* end confdefs.h. */
46322 #include <Carbon/Carbon.h>
46323 #include <WebKit/WebKit.h>
46326 #include <WebKit/HIWebView.h>
46328 rm -f conftest.
$ac_objext
46329 if { (ac_try
="$ac_compile"
46330 case "(($ac_try" in
46331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46332 *) ac_try_echo=$ac_try;;
46334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46335 (eval "$ac_compile") 2>conftest.er1
46337 grep -v '^ *+' conftest.er1 >conftest.err
46339 cat conftest.err >&5
46340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46341 (exit $ac_status); } && {
46342 test -z "$ac_c_werror_flag" ||
46343 test ! -s conftest.err
46344 } && test -s conftest.$ac_objext; then
46345 ac_cv_header_WebKit_HIWebView_h=yes
46347 echo "$as_me: failed program was:" >&5
46348 sed 's/^/| /' conftest.$ac_ext >&5
46350 ac_cv_header_WebKit_HIWebView_h=no
46353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46355 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46356 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46357 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46359 cat >>confdefs.h <<\_ACEOF
46360 #define wxUSE_WEBKIT 1
46363 WEBKIT_LINK="-framework WebKit"
46367 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46368 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46374 CPPFLAGS="$old_CPPFLAGS"
46375 elif test "$wxUSE_COCOA" = 1; then
46376 cat >>confdefs.h <<\_ACEOF
46377 #define wxUSE_WEBKIT 1
46383 if test "$wxUSE_WEBKIT" = "yes"; then
46384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46389 if test "$wxUSE_XRC" = "yes"; then
46390 if test "$wxUSE_XML" != "yes"; then
46391 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46392 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46395 cat >>confdefs.h <<\_ACEOF
46396 #define wxUSE_XRC 1
46400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46405 if test "$wxUSE_AUI" = "yes"; then
46406 cat >>confdefs.h <<\_ACEOF
46407 #define wxUSE_AUI 1
46411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46415 if test "$wxUSE_PROPGRID" = "yes"; then
46416 cat >>confdefs.h <<\_ACEOF
46417 #define wxUSE_PROPGRID 1
46421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46425 if test "$wxUSE_STC" = "yes"; then
46426 cat >>confdefs.h <<\_ACEOF
46427 #define wxUSE_STC 1
46431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46434 if test "$wxUSE_MENUS" = "yes"; then
46435 cat >>confdefs.h <<\_ACEOF
46436 #define wxUSE_MENUS 1
46439 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46442 if test "$wxUSE_METAFILE" = "yes"; then
46443 cat >>confdefs.h <<\_ACEOF
46444 #define wxUSE_METAFILE 1
46449 if test "$wxUSE_MIMETYPE" = "yes"; then
46450 cat >>confdefs.h <<\_ACEOF
46451 #define wxUSE_MIMETYPE 1
46456 if test "$wxUSE_MINIFRAME" = "yes"; then
46457 cat >>confdefs.h <<\_ACEOF
46458 #define wxUSE_MINIFRAME 1
46463 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46464 cat >>confdefs.h <<\_ACEOF
46465 #define wxUSE_SYSTEM_OPTIONS 1
46470 if test "$wxUSE_TASKBARICON" = "yes"; then
46471 cat >>confdefs.h <<\_ACEOF
46472 #define wxUSE_TASKBARICON 1
46475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46479 if test "$wxUSE_VALIDATORS" = "yes"; then
46480 cat >>confdefs.h <<\_ACEOF
46481 #define wxUSE_VALIDATORS 1
46484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46487 if test "$wxUSE_PALETTE" = "yes" ; then
46488 if test "$wxUSE_DFB" = 1; then
46489 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46490 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46493 cat >>confdefs.h <<\_ACEOF
46494 #define wxUSE_PALETTE 1
46500 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46501 LIBS=" -lunicows $LIBS"
46505 if test "$wxUSE_RICHTEXT" = "yes"; then
46506 cat >>confdefs.h <<\_ACEOF
46507 #define wxUSE_RICHTEXT 1
46511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46515 if test "$wxUSE_IMAGE" = "yes" ; then
46516 cat >>confdefs.h <<\_ACEOF
46517 #define wxUSE_IMAGE 1
46521 if test "$wxUSE_GIF" = "yes" ; then
46522 cat >>confdefs.h <<\_ACEOF
46523 #define wxUSE_GIF 1
46528 if test "$wxUSE_PCX" = "yes" ; then
46529 cat >>confdefs.h <<\_ACEOF
46530 #define wxUSE_PCX 1
46535 if test "$wxUSE_TGA" = "yes" ; then
46536 cat >>confdefs.h <<\_ACEOF
46537 #define wxUSE_TGA 1
46542 if test "$wxUSE_IFF" = "yes" ; then
46543 cat >>confdefs.h <<\_ACEOF
46544 #define wxUSE_IFF 1
46549 if test "$wxUSE_PNM" = "yes" ; then
46550 cat >>confdefs.h <<\_ACEOF
46551 #define wxUSE_PNM 1
46556 if test "$wxUSE_XPM" = "yes" ; then
46557 cat >>confdefs.h <<\_ACEOF
46558 #define wxUSE_XPM 1
46563 if test "$wxUSE_ICO_CUR" = "yes" ; then
46564 cat >>confdefs.h <<\_ACEOF
46565 #define wxUSE_ICO_CUR 1
46572 if test "$wxUSE_ABOUTDLG" = "yes"; then
46573 cat >>confdefs.h <<\_ACEOF
46574 #define wxUSE_ABOUTDLG 1
46579 if test "$wxUSE_CHOICEDLG" = "yes"; then
46580 cat >>confdefs.h <<\_ACEOF
46581 #define wxUSE_CHOICEDLG 1
46586 if test "$wxUSE_COLOURDLG" = "yes"; then
46587 cat >>confdefs.h <<\_ACEOF
46588 #define wxUSE_COLOURDLG 1
46593 if test "$wxUSE_FILEDLG" = "yes"; then
46594 cat >>confdefs.h <<\_ACEOF
46595 #define wxUSE_FILEDLG 1
46600 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46601 cat >>confdefs.h <<\_ACEOF
46602 #define wxUSE_FINDREPLDLG 1
46607 if test "$wxUSE_FONTDLG" = "yes"; then
46608 cat >>confdefs.h <<\_ACEOF
46609 #define wxUSE_FONTDLG 1
46614 if test "$wxUSE_DIRDLG" = "yes"; then
46615 if test "$wxUSE_TREECTRL" != "yes"; then
46616 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46617 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46619 cat >>confdefs.h <<\_ACEOF
46620 #define wxUSE_DIRDLG 1
46626 if test "$wxUSE_MSGDLG" = "yes"; then
46627 cat >>confdefs.h <<\_ACEOF
46628 #define wxUSE_MSGDLG 1
46633 if test "$wxUSE_NUMBERDLG" = "yes"; then
46634 cat >>confdefs.h <<\_ACEOF
46635 #define wxUSE_NUMBERDLG 1
46640 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46641 cat >>confdefs.h <<\_ACEOF
46642 #define wxUSE_PROGRESSDLG 1
46647 if test "$wxUSE_SPLASH" = "yes"; then
46648 cat >>confdefs.h <<\_ACEOF
46649 #define wxUSE_SPLASH 1
46652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46655 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46656 cat >>confdefs.h <<\_ACEOF
46657 #define wxUSE_STARTUP_TIPS 1
46662 if test "$wxUSE_TEXTDLG" = "yes"; then
46663 cat >>confdefs.h <<\_ACEOF
46664 #define wxUSE_TEXTDLG 1
46669 if test "$wxUSE_WIZARDDLG" = "yes"; then
46670 cat >>confdefs.h <<\_ACEOF
46671 #define wxUSE_WIZARDDLG 1
46674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46678 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46679 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46680 cat >>confdefs.h <<\_ACEOF
46681 #define wxUSE_OWNER_DRAWN 1
46688 if test "$wxUSE_MSW" = 1 ; then
46690 if test "$wxUSE_DC_CACHEING" = "yes"; then
46691 cat >>confdefs.h <<\_ACEOF
46692 #define wxUSE_DC_CACHEING 1
46697 if test "$wxUSE_DIB" = "yes"; then
46698 cat >>confdefs.h <<\_ACEOF
46699 #define wxUSE_WXDIB 1
46704 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46705 cat >>confdefs.h <<\_ACEOF
46706 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46711 if test "$wxUSE_UXTHEME" = "yes"; then
46712 cat >>confdefs.h <<\_ACEOF
46713 #define wxUSE_UXTHEME 1
46720 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46721 cat >>confdefs.h <<\_ACEOF
46722 #define wxUSE_AUTOID_MANAGEMENT 1
46727 if test "$USE_WIN32" = 1 ; then
46728 if test "$wxUSE_INICONF" = "yes"; then
46729 cat >>confdefs.h <<\_ACEOF
46730 #define wxUSE_INICONF 1
46735 if test "$wxUSE_REGKEY" = "yes"; then
46736 cat >>confdefs.h <<\_ACEOF
46737 #define wxUSE_REGKEY 1
46744 if test "$wxUSE_MAC" = 1; then
46745 wxUSE_GRAPHICS_CONTEXT="yes"
46748 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46749 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46750 cat >>confdefs.h <<\_ACEOF
46751 #define wxUSE_GRAPHICS_CONTEXT 1
46754 elif test "$wxUSE_GTK" != 1; then
46755 cat >>confdefs.h <<\_ACEOF
46756 #define wxUSE_GRAPHICS_CONTEXT 1
46762 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46763 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46765 if test -n "$PKG_CONFIG"; then
46766 if test -n "$CAIRO_CFLAGS"; then
46767 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46769 if test -n "$PKG_CONFIG" && \
46770 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46771 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46774 (exit $ac_status); }; then
46775 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46783 if test -n "$PKG_CONFIG"; then
46784 if test -n "$CAIRO_LIBS"; then
46785 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46787 if test -n "$PKG_CONFIG" && \
46788 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46789 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46792 (exit $ac_status); }; then
46793 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46804 if test $pkg_failed = yes; then
46806 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46807 _pkg_short_errors_supported=yes
46809 _pkg_short_errors_supported=no
46811 if test $_pkg_short_errors_supported = yes; then
46812 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46814 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46816 # Put the nasty error message in config.log where it belongs
46817 echo "$CAIRO_PKG_ERRORS" >&5
46819 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46820 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46822 elif test $pkg_failed = untried; then
46823 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46824 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46827 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46828 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46829 { echo "$as_me:$LINENO: result: yes" >&5
46830 echo "${ECHO_T}yes" >&6; }
46831 cat >>confdefs.h <<\_ACEOF
46832 #define wxUSE_GRAPHICS_CONTEXT 1
46842 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46845 if test "$wxUSE_GTK" = 1; then
46846 wxUSE_GSTREAMER="no"
46848 GST_VERSION_MAJOR=0
46849 GST_VERSION_MINOR=10
46850 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46852 if test "$wxUSE_GSTREAMER8" = "no"; then
46855 { echo "$as_me:$LINENO: checking for GST" >&5
46856 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46858 if test -n "$PKG_CONFIG"; then
46859 if test -n "$GST_CFLAGS"; then
46860 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46862 if test -n "$PKG_CONFIG" && \
46863 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46864 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46867 (exit $ac_status); }; then
46868 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46876 if test -n "$PKG_CONFIG"; then
46877 if test -n "$GST_LIBS"; then
46878 pkg_cv_GST_LIBS="$GST_LIBS"
46880 if test -n "$PKG_CONFIG" && \
46881 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46882 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46885 (exit $ac_status); }; then
46886 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46897 if test $pkg_failed = yes; then
46899 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46900 _pkg_short_errors_supported=yes
46902 _pkg_short_errors_supported=no
46904 if test $_pkg_short_errors_supported = yes; then
46905 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46907 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46909 # Put the nasty error message in config.log where it belongs
46910 echo "$GST_PKG_ERRORS" >&5
46913 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46914 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46915 GST_VERSION_MINOR=8
46918 elif test $pkg_failed = untried; then
46920 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46921 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46922 GST_VERSION_MINOR=8
46926 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46927 GST_LIBS=$pkg_cv_GST_LIBS
46928 { echo "$as_me:$LINENO: result: yes" >&5
46929 echo "${ECHO_T}yes" >&6; }
46931 wxUSE_GSTREAMER="yes"
46932 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46936 GST_VERSION_MINOR=8
46939 if test $GST_VERSION_MINOR = "8"; then
46940 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46943 { echo "$as_me:$LINENO: checking for GST" >&5
46944 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46946 if test -n "$PKG_CONFIG"; then
46947 if test -n "$GST_CFLAGS"; then
46948 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46950 if test -n "$PKG_CONFIG" && \
46951 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46952 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46955 (exit $ac_status); }; then
46956 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46964 if test -n "$PKG_CONFIG"; then
46965 if test -n "$GST_LIBS"; then
46966 pkg_cv_GST_LIBS="$GST_LIBS"
46968 if test -n "$PKG_CONFIG" && \
46969 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46970 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46973 (exit $ac_status); }; then
46974 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46985 if test $pkg_failed = yes; then
46987 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46988 _pkg_short_errors_supported=yes
46990 _pkg_short_errors_supported=no
46992 if test $_pkg_short_errors_supported = yes; then
46993 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46995 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46997 # Put the nasty error message in config.log where it belongs
46998 echo "$GST_PKG_ERRORS" >&5
47001 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47002 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47004 elif test $pkg_failed = untried; then
47006 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47007 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47010 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47011 GST_LIBS=$pkg_cv_GST_LIBS
47012 { echo "$as_me:$LINENO: result: yes" >&5
47013 echo "${ECHO_T}yes" >&6; }
47014 wxUSE_GSTREAMER="yes"
47019 if test "$wxUSE_GSTREAMER" = "yes"; then
47020 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47021 EXTRALIBS_MEDIA="$GST_LIBS"
47023 cat >>confdefs.h <<\_ACEOF
47024 #define wxUSE_GSTREAMER 1
47032 if test $USE_MEDIA = 1; then
47033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47034 cat >>confdefs.h <<\_ACEOF
47035 #define wxUSE_MEDIACTRL 1
47039 if test "$wxUSE_MEDIACTRL" = "yes"; then
47040 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47041 echo "$as_me: error: GStreamer not available" >&2;}
47042 { (exit 1); exit 1; }; }
47044 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47045 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47051 if test "$cross_compiling" = "yes"; then
47054 OSINFO=`uname
-s -r -m`
47055 OSINFO="\"$OSINFO\""
47058 cat >>confdefs.h <<_ACEOF
47059 #define WXWIN_OS_DESCRIPTION $OSINFO
47064 if test "x$prefix" != "xNONE"; then
47067 wxPREFIX=$ac_default_prefix
47070 cat >>confdefs.h <<_ACEOF
47071 #define wxINSTALL_PREFIX "$wxPREFIX"
47077 STD_BASE_LIBS="base"
47079 BUILT_WX_LIBS="base"
47080 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47082 if test "$wxUSE_SOCKETS" = "yes" ; then
47083 STD_BASE_LIBS="net $STD_BASE_LIBS"
47084 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47086 if test "$wxUSE_XML" = "yes" ; then
47087 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47088 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47091 if test "$wxUSE_GUI" = "yes"; then
47092 STD_GUI_LIBS="adv core"
47093 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47095 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47096 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47097 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47099 if test "$wxUSE_HTML" = "yes" ; then
47100 STD_GUI_LIBS="html $STD_GUI_LIBS"
47101 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47103 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47104 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47106 if test "$wxUSE_OPENGL" = "yes" ; then
47107 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47109 if test "$wxUSE_AUI" = "yes" ; then
47110 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47112 if test "$wxUSE_PROPGRID" = "yes" ; then
47113 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47115 if test "$wxUSE_RICHTEXT" = "yes" ; then
47116 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47118 if test "$wxUSE_STC" = "yes" ; then
47119 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47121 if test "$wxUSE_XRC" = "yes" ; then
47122 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47123 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47134 if test "$wxUSE_MAC" = 1 ; then
47135 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47136 if test "$USE_DARWIN" = 1; then
47137 LDFLAGS="$LDFLAGS -framework QuickTime"
47140 if test "$USE_DARWIN" = 1; then
47141 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47144 if test "$wxUSE_COCOA" = 1 ; then
47145 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47146 if test "$wxUSE_MEDIACTRL" = "yes"; then
47147 LDFLAGS="$LDFLAGS -framework QuickTime"
47150 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47151 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47154 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47156 if test "$wxUSE_GUI" = "yes"; then
47159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47160 erase event exec font image minimal render \
47161 shaped svg taborder vscroll widgets wrapsizer"
47163 if test "$wxUSE_MONOLITHIC" != "yes"; then
47164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47166 if test "$TOOLKIT" = "MSW"; then
47167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47168 if test "$wxUSE_UNIVERSAL" != "yes"; then
47169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47172 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47176 SAMPLES_SUBDIRS="console"
47177 if test "$wxUSE_SOCKETS" = "yes" ; then
47178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47180 if test "$wxUSE_IPC" = "yes" ; then
47181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47186 if test "x$INTELCC" = "xyes" ; then
47187 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47188 elif test "$GCC" = yes ; then
47189 CWARNINGS="-Wall -Wundef"
47192 if test "x$INTELCXX" = "xyes" ; then
47193 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47194 elif test "$GXX" = yes ; then
47195 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47196 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47197 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47198 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47199 echo $ECHO_N "(cached) $ECHO_C" >&6
47201 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47204 ac_cpp='$CXXCPP $CPPFLAGS'
47205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47209 ac_save_CXXFLAGS="$CXXFLAGS"
47210 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47211 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47212 cat >conftest.$ac_ext <<_ACEOF
47215 cat confdefs.h >>conftest.$ac_ext
47216 cat >>conftest.$ac_ext <<_ACEOF
47217 /* end confdefs.h. */
47227 rm -f conftest.$ac_objext
47228 if { (ac_try="$ac_compile"
47229 case "(($ac_try" in
47230 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47231 *) ac_try_echo
=$ac_try;;
47233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47234 (eval "$ac_compile") 2>conftest.er1
47236 grep -v '^ *+' conftest.er1
>conftest.err
47238 cat conftest.err
>&5
47239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47240 (exit $ac_status); } && {
47241 test -z "$ac_cxx_werror_flag" ||
47242 test ! -s conftest.err
47243 } && test -s conftest.
$ac_objext; then
47244 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47246 echo "$as_me: failed program was:" >&5
47247 sed 's/^/| /' conftest.
$ac_ext >&5
47252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47254 CXXFLAGS
="$ac_save_CXXFLAGS"
47256 ac_cpp
='$CPP $CPPFLAGS'
47257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47263 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47264 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47265 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47269 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
47270 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47271 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47274 (exit $ac_status); }
47275 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47276 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47279 (exit $ac_status); }
47280 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47288 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47289 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47292 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47293 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47294 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47297 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47298 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47299 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47300 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47301 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47303 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47306 if test "x$MWCC" = "xyes"; then
47308 CC
="$CC -cwd source -I-"
47309 CXX
="$CXX -cwd source -I-"
47314 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47315 EXTRALIBS_XML
="$EXPAT_LINK"
47316 EXTRALIBS_HTML
="$MSPACK_LINK"
47317 EXTRALIBS_MEDIA
="$GST_LIBS"
47318 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47319 if test "$wxUSE_GUI" = "yes"; then
47320 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47322 if test "$wxUSE_OPENGL" = "yes"; then
47323 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47326 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47328 WXCONFIG_LIBS
="$LIBS"
47330 if test "$wxUSE_REGEX" = "builtin" ; then
47331 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47333 if test "$wxUSE_EXPAT" = "builtin" ; then
47334 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47336 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47337 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47339 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47340 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47342 if test "$wxUSE_LIBPNG" = "builtin" ; then
47343 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47345 if test "$wxUSE_ZLIB" = "builtin" ; then
47346 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47349 for i
in $wxconfig_3rdparty ; do
47350 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47354 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47357 case "$wxUNIV_THEMES" in
47359 cat >>confdefs.h
<<\_ACEOF
47360 #define wxUSE_ALL_THEMES 1
47366 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47367 cat >>confdefs.h
<<_ACEOF
47368 #define wxUSE_THEME_$t 1
47384 if test $wxUSE_MONOLITHIC = "yes" ; then
47390 if test $wxUSE_PLUGINS = "yes" ; then
47396 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47402 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47435 TOOLKIT_LOWERCASE
=xxx
47436 if test "$TOOLKIT" = "MAC"; then
47437 TOOLKIT_LOWERCASE
=osx_carbon
47439 if test "$TOOLKIT" = "OSX_CARBON"; then
47440 TOOLKIT_LOWERCASE
=osx_carbon
47442 if test "$TOOLKIT" = "OSX_COCOA"; then
47443 TOOLKIT_LOWERCASE
=osx_cocoa
47445 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47446 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47459 TOOLKIT_DESC
="GTK+"
47460 if test "$WXGTK2" = 1; then
47461 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47462 if test "$wxUSE_GTKPRINT" = "yes" ; then
47463 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
47465 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47466 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47468 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47469 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47471 if test "$wxUSE_LIBHILDON" = "yes"; then
47472 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47475 if test "$TOOLKIT_EXTRA" != ""; then
47476 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47482 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47486 TOOLKIT_DESC
="base only"
47490 if test "$wxUSE_WINE" = "yes"; then
47491 BAKEFILE_FORCE_PLATFORM
=win32
47494 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47496 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47497 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47498 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47499 echo $ECHO_N "(cached) $ECHO_C" >&6
47502 echo '#include <stdio.h>
47503 const wchar_t test_var[] = L"awidetest";' > conftest.h
47505 echo '#include "conftest.h"
47508 printf("%ls", test_var);
47512 wx_cv_gcc_pch_bug
="pch not supported"
47514 if $CXX conftest.h
>/dev
/null
2>&1
47518 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47520 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47521 grep awidetest
>/dev
/null
47523 wx_cv_gcc_pch_bug
=no
47525 wx_cv_gcc_pch_bug
=yes
47530 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47533 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47534 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47536 if test "$wx_cv_gcc_pch_bug" = yes; then
47547 if test "x$BAKEFILE_HOST" = "x"; then
47548 if test "x${host}" = "x" ; then
47549 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47550 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47551 { (exit 1); exit 1; }; }
47554 BAKEFILE_HOST
="${host}"
47557 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47559 if test -n "$ac_tool_prefix"; then
47560 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47561 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47564 if test "${ac_cv_prog_RANLIB+set}" = set; then
47565 echo $ECHO_N "(cached) $ECHO_C" >&6
47567 if test -n "$RANLIB"; then
47568 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47571 for as_dir
in $PATH
47574 test -z "$as_dir" && as_dir
=.
47575 for ac_exec_ext
in '' $ac_executable_extensions; do
47576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47577 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47587 RANLIB
=$ac_cv_prog_RANLIB
47588 if test -n "$RANLIB"; then
47589 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47590 echo "${ECHO_T}$RANLIB" >&6; }
47592 { echo "$as_me:$LINENO: result: no" >&5
47593 echo "${ECHO_T}no" >&6; }
47598 if test -z "$ac_cv_prog_RANLIB"; then
47599 ac_ct_RANLIB
=$RANLIB
47600 # Extract the first word of "ranlib", so it can be a program name with args.
47601 set dummy ranlib
; ac_word
=$2
47602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47604 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47605 echo $ECHO_N "(cached) $ECHO_C" >&6
47607 if test -n "$ac_ct_RANLIB"; then
47608 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47611 for as_dir
in $PATH
47614 test -z "$as_dir" && as_dir
=.
47615 for ac_exec_ext
in '' $ac_executable_extensions; do
47616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47617 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47627 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47628 if test -n "$ac_ct_RANLIB"; then
47629 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47630 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47632 { echo "$as_me:$LINENO: result: no" >&5
47633 echo "${ECHO_T}no" >&6; }
47636 if test "x$ac_ct_RANLIB" = x
; then
47639 case $cross_compiling:$ac_tool_warned in
47641 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47642 whose name does not start with the host triplet. If you think this
47643 configuration is useful to you, please write to autoconf@gnu.org." >&5
47644 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47645 whose name does not start with the host triplet. If you think this
47646 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47647 ac_tool_warned
=yes ;;
47649 RANLIB
=$ac_ct_RANLIB
47652 RANLIB
="$ac_cv_prog_RANLIB"
47655 # Find a good install program. We prefer a C program (faster),
47656 # so one script is as good as another. But avoid the broken or
47657 # incompatible versions:
47658 # SysV /etc/install, /usr/sbin/install
47659 # SunOS /usr/etc/install
47660 # IRIX /sbin/install
47662 # AmigaOS /C/install, which installs bootblocks on floppy discs
47663 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47664 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47665 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47666 # OS/2's system install, which has a completely different semantic
47667 # ./install, which can be erroneously created by make from ./install.sh.
47668 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47669 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47670 if test -z "$INSTALL"; then
47671 if test "${ac_cv_path_install+set}" = set; then
47672 echo $ECHO_N "(cached) $ECHO_C" >&6
47674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47675 for as_dir
in $PATH
47678 test -z "$as_dir" && as_dir
=.
47679 # Account for people who put trailing slashes in PATH elements.
47681 .
/ | .
// | /cC
/* | \
47682 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47683 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47686 # OSF1 and SCO ODT 3.0 have their own names for install.
47687 # Don't use installbsd from OSF since it installs stuff as root
47689 for ac_prog
in ginstall scoinst
install; do
47690 for ac_exec_ext
in '' $ac_executable_extensions; do
47691 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47692 if test $ac_prog = install &&
47693 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47694 # AIX install. It has an incompatible calling convention.
47696 elif test $ac_prog = install &&
47697 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47698 # program-specific install script used by HP pwplus--don't use.
47701 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47714 if test "${ac_cv_path_install+set}" = set; then
47715 INSTALL
=$ac_cv_path_install
47717 # As a last resort, use the slow shell script. Don't cache a
47718 # value for INSTALL within a source directory, because that will
47719 # break other packages using the cache if that directory is
47720 # removed, or if the value is a relative name.
47721 INSTALL
=$ac_install_sh
47724 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47725 echo "${ECHO_T}$INSTALL" >&6; }
47727 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47728 # It thinks the first close brace ends the variable substitution.
47729 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47731 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47733 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47735 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47736 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47738 if test "$LN_S" = "ln -s"; then
47739 { echo "$as_me:$LINENO: result: yes" >&5
47740 echo "${ECHO_T}yes" >&6; }
47742 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47743 echo "${ECHO_T}no, using $LN_S" >&6; }
47747 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47748 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47749 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47750 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
47751 echo $ECHO_N "(cached) $ECHO_C" >&6
47753 cat >conftest.
make <<\_ACEOF
47756 @
echo '@@@%%%=$(MAKE)=@@@%%%'
47758 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47759 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47760 *@@@
%%%=?
*=@@@
%%%*)
47761 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
47763 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
47765 rm -f conftest.
make
47767 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
47768 { echo "$as_me:$LINENO: result: yes" >&5
47769 echo "${ECHO_T}yes" >&6; }
47772 { echo "$as_me:$LINENO: result: no" >&5
47773 echo "${ECHO_T}no" >&6; }
47774 SET_MAKE
="MAKE=${MAKE-make}"
47779 if test "x$SUNCXX" = "xyes"; then
47781 AROPTIONS
="-xar -o"
47783 elif test "x$SGICC" = "xyes"; then
47788 if test -n "$ac_tool_prefix"; then
47789 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47790 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47793 if test "${ac_cv_prog_AR+set}" = set; then
47794 echo $ECHO_N "(cached) $ECHO_C" >&6
47796 if test -n "$AR"; then
47797 ac_cv_prog_AR
="$AR" # Let the user override the test.
47799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47800 for as_dir
in $PATH
47803 test -z "$as_dir" && as_dir
=.
47804 for ac_exec_ext
in '' $ac_executable_extensions; do
47805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47806 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47817 if test -n "$AR"; then
47818 { echo "$as_me:$LINENO: result: $AR" >&5
47819 echo "${ECHO_T}$AR" >&6; }
47821 { echo "$as_me:$LINENO: result: no" >&5
47822 echo "${ECHO_T}no" >&6; }
47827 if test -z "$ac_cv_prog_AR"; then
47829 # Extract the first word of "ar", so it can be a program name with args.
47830 set dummy
ar; ac_word
=$2
47831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47833 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47834 echo $ECHO_N "(cached) $ECHO_C" >&6
47836 if test -n "$ac_ct_AR"; then
47837 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47840 for as_dir
in $PATH
47843 test -z "$as_dir" && as_dir
=.
47844 for ac_exec_ext
in '' $ac_executable_extensions; do
47845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47846 ac_cv_prog_ac_ct_AR
="ar"
47847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47856 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47857 if test -n "$ac_ct_AR"; then
47858 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47859 echo "${ECHO_T}$ac_ct_AR" >&6; }
47861 { echo "$as_me:$LINENO: result: no" >&5
47862 echo "${ECHO_T}no" >&6; }
47865 if test "x$ac_ct_AR" = x
; then
47868 case $cross_compiling:$ac_tool_warned in
47870 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47871 whose name does not start with the host triplet. If you think this
47872 configuration is useful to you, please write to autoconf@gnu.org." >&5
47873 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47874 whose name does not start with the host triplet. If you think this
47875 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47876 ac_tool_warned
=yes ;;
47881 AR
="$ac_cv_prog_AR"
47888 if test -n "$ac_tool_prefix"; then
47889 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47890 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47893 if test "${ac_cv_prog_STRIP+set}" = set; then
47894 echo $ECHO_N "(cached) $ECHO_C" >&6
47896 if test -n "$STRIP"; then
47897 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47900 for as_dir
in $PATH
47903 test -z "$as_dir" && as_dir
=.
47904 for ac_exec_ext
in '' $ac_executable_extensions; do
47905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47906 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47916 STRIP
=$ac_cv_prog_STRIP
47917 if test -n "$STRIP"; then
47918 { echo "$as_me:$LINENO: result: $STRIP" >&5
47919 echo "${ECHO_T}$STRIP" >&6; }
47921 { echo "$as_me:$LINENO: result: no" >&5
47922 echo "${ECHO_T}no" >&6; }
47927 if test -z "$ac_cv_prog_STRIP"; then
47929 # Extract the first word of "strip", so it can be a program name with args.
47930 set dummy strip
; ac_word
=$2
47931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47933 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47934 echo $ECHO_N "(cached) $ECHO_C" >&6
47936 if test -n "$ac_ct_STRIP"; then
47937 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47940 for as_dir
in $PATH
47943 test -z "$as_dir" && as_dir
=.
47944 for ac_exec_ext
in '' $ac_executable_extensions; do
47945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47946 ac_cv_prog_ac_ct_STRIP
="strip"
47947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47956 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47957 if test -n "$ac_ct_STRIP"; then
47958 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47959 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47961 { echo "$as_me:$LINENO: result: no" >&5
47962 echo "${ECHO_T}no" >&6; }
47965 if test "x$ac_ct_STRIP" = x
; then
47968 case $cross_compiling:$ac_tool_warned in
47970 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47971 whose name does not start with the host triplet. If you think this
47972 configuration is useful to you, please write to autoconf@gnu.org." >&5
47973 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47974 whose name does not start with the host triplet. If you think this
47975 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47976 ac_tool_warned
=yes ;;
47981 STRIP
="$ac_cv_prog_STRIP"
47984 if test -n "$ac_tool_prefix"; then
47985 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47986 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47989 if test "${ac_cv_prog_NM+set}" = set; then
47990 echo $ECHO_N "(cached) $ECHO_C" >&6
47992 if test -n "$NM"; then
47993 ac_cv_prog_NM
="$NM" # Let the user override the test.
47995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47996 for as_dir
in $PATH
47999 test -z "$as_dir" && as_dir
=.
48000 for ac_exec_ext
in '' $ac_executable_extensions; do
48001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48002 ac_cv_prog_NM
="${ac_tool_prefix}nm"
48003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48013 if test -n "$NM"; then
48014 { echo "$as_me:$LINENO: result: $NM" >&5
48015 echo "${ECHO_T}$NM" >&6; }
48017 { echo "$as_me:$LINENO: result: no" >&5
48018 echo "${ECHO_T}no" >&6; }
48023 if test -z "$ac_cv_prog_NM"; then
48025 # Extract the first word of "nm", so it can be a program name with args.
48026 set dummy nm
; ac_word
=$2
48027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48029 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48030 echo $ECHO_N "(cached) $ECHO_C" >&6
48032 if test -n "$ac_ct_NM"; then
48033 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
48035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48036 for as_dir
in $PATH
48039 test -z "$as_dir" && as_dir
=.
48040 for ac_exec_ext
in '' $ac_executable_extensions; do
48041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48042 ac_cv_prog_ac_ct_NM
="nm"
48043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48052 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
48053 if test -n "$ac_ct_NM"; then
48054 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48055 echo "${ECHO_T}$ac_ct_NM" >&6; }
48057 { echo "$as_me:$LINENO: result: no" >&5
48058 echo "${ECHO_T}no" >&6; }
48061 if test "x$ac_ct_NM" = x
; then
48064 case $cross_compiling:$ac_tool_warned in
48066 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48067 whose name does not start with the host triplet. If you think this
48068 configuration is useful to you, please write to autoconf@gnu.org." >&5
48069 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48070 whose name does not start with the host triplet. If you think this
48071 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48072 ac_tool_warned
=yes ;;
48077 NM
="$ac_cv_prog_NM"
48081 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48082 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48083 INSTALL_TEST_DIR
=acbftest$$
48084 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
48085 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
48086 rmdir $INSTALL_TEST_DIR
48087 INSTALL_DIR
='$(INSTALL) -d'
48088 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48089 echo "${ECHO_T}$INSTALL -d" >&6; }
48091 INSTALL_DIR
="mkdir -p"
48092 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48093 echo "${ECHO_T}mkdir -p" >&6; }
48098 case ${BAKEFILE_HOST} in
48099 *-*-cygwin* | *-*-mingw32* )
48100 LDFLAGS_GUI
="-mwindows"
48106 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48107 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48108 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48109 echo $ECHO_N "(cached) $ECHO_C" >&6
48112 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
48113 egrep -s GNU
> /dev
/null
); then
48114 bakefile_cv_prog_makeisgnu
="yes"
48116 bakefile_cv_prog_makeisgnu
="no"
48120 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48121 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48123 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48140 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48141 case "${BAKEFILE_HOST}" in
48148 *-pc-os2_emx | *-pc-os2-emx )
48158 powerpc
-apple-macos* )
48167 case "$BAKEFILE_FORCE_PLATFORM" in
48202 # Check whether --enable-omf was given.
48203 if test "${enable_omf+set}" = set; then
48204 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
48208 case "${BAKEFILE_HOST}" in
48210 if test "x$GCC" = "xyes"; then
48211 CFLAGS
="$CFLAGS -fno-common"
48212 CXXFLAGS
="$CXXFLAGS -fno-common"
48214 if test "x$XLCC" = "xyes"; then
48215 CFLAGS
="$CFLAGS -qnocommon"
48216 CXXFLAGS
="$CXXFLAGS -qnocommon"
48220 *-pc-os2_emx | *-pc-os2-emx )
48221 if test "x$bk_os2_use_omf" = "xyes" ; then
48224 LDFLAGS
="-Zomf $LDFLAGS"
48225 CFLAGS
="-Zomf $CFLAGS"
48226 CXXFLAGS
="-Zomf $CXXFLAGS"
48234 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48240 SO_SUFFIX_MODULE
="so"
48245 DLLPREFIX_MODULE
=""
48249 case "${BAKEFILE_HOST}" in
48254 SO_SUFFIX_MODULE
="sl"
48258 SO_SUFFIX_MODULE
="a"
48262 SO_SUFFIX_MODULE
="dll"
48263 DLLIMP_SUFFIX
="dll.a"
48270 SO_SUFFIX_MODULE
="dll"
48271 DLLIMP_SUFFIX
="dll.a"
48281 *-pc-os2_emx | *-pc-os2-emx )
48283 SO_SUFFIX_MODULE
="dll"
48284 DLLIMP_SUFFIX
=$OS2_LIBEXT
48288 LIBEXT
=".$OS2_LIBEXT"
48293 SO_SUFFIX_MODULE
="bundle"
48297 if test "x$DLLIMP_SUFFIX" = "x" ; then
48298 DLLIMP_SUFFIX
="$SO_SUFFIX"
48313 if test "x$GCC" = "xyes"; then
48317 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48318 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48321 case "${BAKEFILE_HOST}" in
48323 if test "x$GCC" != "xyes"; then
48324 LDFLAGS
="$LDFLAGS -L/usr/lib"
48326 SHARED_LD_CC
="${CC} -b -o"
48327 SHARED_LD_CXX
="${CXX} -b -o"
48333 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48335 elif test "x$SUNCXX" = "xyes"; then
48336 SHARED_LD_CC
="${CC} -G -o"
48337 SHARED_LD_CXX
="${CXX} -G -o"
48343 if test "x$SUNCXX" = xyes
; then
48344 SHARED_LD_CC
="${CC} -G -o"
48345 SHARED_LD_CXX
="${CXX} -G -o"
48353 cat <<EOF >shared-ld-sh
48355 #-----------------------------------------------------------------------------
48356 #-- Name: distrib/mac/shared-ld-sh
48357 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48358 #-- Author: Gilles Depeyrot
48359 #-- Copyright: (c) 2002 Gilles Depeyrot
48360 #-- Licence: any use permitted
48361 #-----------------------------------------------------------------------------
48366 linking_flag="-dynamiclib"
48367 ldargs="-r -keep_private_externs -nostdlib"
48369 if test "x${D}CXX" = "x"; then
48373 while test ${D}# -gt 0; do
48380 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48381 # collect these options and values
48382 args="${D}{args} ${D}1 ${D}2"
48387 # collect these options and values
48388 ldargs="${D}{ldargs} ${D}1 ${D}2"
48393 # collect these load args
48394 ldargs="${D}{ldargs} ${D}1"
48397 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48398 # collect these options
48399 args="${D}{args} ${D}1"
48402 -dynamiclib|-bundle)
48403 linking_flag="${D}1"
48407 echo "shared-ld: unhandled option '${D}1'"
48411 *.o | *.a | *.dylib)
48412 # collect object files
48413 objects="${D}{objects} ${D}1"
48417 echo "shared-ld: unhandled argument '${D}1'"
48428 # Link one module containing all the others
48430 if test ${D}{verbose} = 1; then
48431 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48433 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48437 # Link the shared library from the single module created, but only if the
48438 # previous command didn't fail:
48440 if test ${D}{status} = 0; then
48441 if test ${D}{verbose} = 1; then
48442 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48444 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48449 # Remove intermediate module
48451 rm -f master.${D}${D}.o
48456 chmod +x shared
-ld-sh
48458 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48459 SHARED_LD_MODULE_CXX
="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48462 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48463 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48464 if test "${bakefile_cv_gcc31+set}" = set; then
48465 echo $ECHO_N "(cached) $ECHO_C" >&6
48468 cat >conftest.
$ac_ext <<_ACEOF
48471 cat confdefs.h
>>conftest.
$ac_ext
48472 cat >>conftest.
$ac_ext <<_ACEOF
48473 /* end confdefs.h. */
48479 #if (__GNUC__ < 3) || \
48480 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48488 rm -f conftest.
$ac_objext
48489 if { (ac_try
="$ac_compile"
48490 case "(($ac_try" in
48491 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48492 *) ac_try_echo=$ac_try;;
48494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48495 (eval "$ac_compile") 2>conftest.er1
48497 grep -v '^ *+' conftest.er1 >conftest.err
48499 cat conftest.err >&5
48500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48501 (exit $ac_status); } && {
48502 test -z "$ac_c_werror_flag" ||
48503 test ! -s conftest.err
48504 } && test -s conftest.$ac_objext; then
48506 bakefile_cv_gcc31=yes
48509 echo "$as_me: failed program was:" >&5
48510 sed 's/^/| /' conftest.$ac_ext >&5
48513 bakefile_cv_gcc31=no
48518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48521 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48522 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48523 if test "$bakefile_cv_gcc31" = "no"; then
48524 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48525 SHARED_LD_CXX="$SHARED_LD_CC"
48527 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48528 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48531 if test "x$GCC" == "xyes"; then
48532 PIC_FLAG="-dynamic -fPIC"
48534 if test "x$XLCC" = "xyes"; then
48535 PIC_FLAG="-dynamic -DPIC"
48540 if test "x$GCC" = "xyes"; then
48543 case "${BAKEFILE_HOST}" in
48545 LD_EXPFULL="-Wl,-bexpfull"
48549 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48550 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48552 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48553 set dummy makeC++SharedLib; ac_word=$2
48554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48556 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48557 echo $ECHO_N "(cached) $ECHO_C" >&6
48559 if test -n "$AIX_CXX_LD"; then
48560 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48563 for as_dir in $PATH
48566 test -z "$as_dir" && as_dir=.
48567 for ac_exec_ext in '' $ac_executable_extensions; do
48568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48569 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48577 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48580 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48581 if test -n "$AIX_CXX_LD"; then
48582 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48583 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48585 { echo "$as_me:$LINENO: result: no" >&5
48586 echo "${ECHO_T}no" >&6; }
48590 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48591 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48596 SHARED_LD_CC="${LD} -nostart -o"
48597 SHARED_LD_CXX="${LD} -nostart -o"
48601 if test "x$GCC" != "xyes"; then
48606 *-*-cygwin* | *-*-mingw32* )
48608 SHARED_LD_CC="\$(CC) -shared -o"
48609 SHARED_LD_CXX="\$(CXX) -shared -o"
48613 *-pc-os2_emx | *-pc-os2-emx )
48614 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48615 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48619 cat <<EOF >dllar.sh
48622 # dllar - a tool to build both a .dll and an .a file
48623 # from a set of object (.o) files for EMX/OS2.
48625 # Written by Andrew Zabolotny, bit@freya.etu.ru
48626 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48628 # This script will accept a set of files on the command line.
48629 # All the public symbols from the .o files will be exported into
48630 # a .DEF file, then linker will be run (through gcc) against them to
48631 # build a shared library consisting of all given .o files. All libraries
48632 # (.a) will be first decompressed into component .o files then act as
48633 # described above. You can optionally give a description (-d "description")
48634 # which will be put into .DLL. To see the list of accepted options (as well
48635 # as command-line format) simply run this program without options. The .DLL
48636 # is built to be imported by name (there is no guarantee that new versions
48637 # of the library you build will have same ordinals for same symbols).
48639 # dllar is free software; you can redistribute it and/or modify
48640 # it under the terms of the GNU General Public License as published by
48641 # the Free Software Foundation; either version 2, or (at your option)
48642 # any later version.
48644 # dllar is distributed in the hope that it will be useful,
48645 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48646 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48647 # GNU General Public License for more details.
48649 # You should have received a copy of the GNU General Public License
48650 # along with dllar; see the file COPYING. If not, write to the Free
48651 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48654 # To successfuly run this program you will need:
48655 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48656 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48658 # (used to build the .dll)
48660 # (used to create .def file from .o files)
48662 # (used to create .a file from .def file)
48663 # - GNU text utilites (cat, sort, uniq)
48664 # used to process emxexp output
48665 # - GNU file utilities (mv, rm)
48667 # - lxlite (optional, see flag below)
48668 # (used for general .dll cleanup)
48675 # basnam, variant of basename, which does _not_ remove the path, _iff_
48676 # second argument (suffix to remove) is given
48680 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48683 echo ${D}1 | sed 's/'${D}2'${D}//'
48686 echo "error in basnam ${D}*"
48692 # Cleanup temporary files and output
48695 for i in ${D}inputFiles ; do
48698 rm -rf \`basnam
${D}i
!\
`
48705 # Kill result in case of failure as there is just to many stupid make/nmake
48706 # things out there which doesn't do this.
48707 if [ ${D}# -eq 0 ]; then
48708 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48712 # Print usage and exit script with rc=1.
48714 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48715 echo ' [-name-mangler-script script.sh]'
48716 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48717 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48718 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48719 echo ' [*.o] [*.a]'
48720 echo '*> "output_file" should have no extension.'
48721 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48722 echo ' The import library name is derived from this and is set to "name".a,'
48723 echo ' unless overridden by -import'
48724 echo '*> "importlib_name" should have no extension.'
48725 echo ' If it has the .o, or .a extension, it is automatically removed.'
48726 echo ' This name is used as the import library name and may be longer and'
48727 echo ' more descriptive than the DLL name which has to follow the old '
48728 echo ' 8.3 convention of FAT.'
48729 echo '*> "script.sh may be given to override the output_file name by a'
48730 echo ' different name. It is mainly useful if the regular make process'
48731 echo ' of some package does not take into account OS/2 restriction of'
48732 echo ' DLL name lengths. It takes the importlib name as input and is'
48733 echo ' supposed to procude a shorter name as output. The script should'
48734 echo ' expect to get importlib_name without extension and should produce'
48735 echo ' a (max.) 8 letter name without extension.'
48736 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48737 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48738 echo ' These flags will be put at the start of GCC command line.'
48739 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48740 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48741 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48742 echo ' If the last character of a symbol is "*", all symbols beginning'
48743 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48744 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48745 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48746 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48747 echo ' C runtime DLLs.'
48748 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48749 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48750 echo ' unchanged to GCC at the end of command line.'
48751 echo '*> If you create a DLL from a library and you do not specify -o,'
48752 echo ' the basename for DLL and import library will be set to library name,'
48753 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48754 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48755 echo ' library will be renamed into gcc_s.a.'
48758 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48759 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48764 # Execute a command.
48765 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48766 # @Uses Whatever CleanUp() uses.
48772 if [ ${D}rcCmd -ne 0 ]; then
48773 echo "command failed, exit code="${D}rcCmd
48788 CFLAGS="-s -Zcrtdll"
48790 EXPORT_BY_ORDINALS=0
48795 case ${D}curDirS in
48799 curDirS=${D}{curDirS}"/"
48802 # Parse commandline
48805 while [ ${D}1 ]; do
48808 EXPORT_BY_ORDINALS=1;
48818 -name-mangler-script)
48839 exclude_symbols=${D}{exclude_symbols}${D}1" "
48843 library_flags=${D}{library_flags}${D}1" "
48862 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48865 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
48866 if [ ${D}omfLinking -eq 1 ]; then
48867 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48869 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48874 if [ ${D}libsToLink -ne 0 ]; then
48875 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48877 for file in ${D}1 ; do
48878 if [ -f ${D}file ]; then
48879 inputFiles="${D}{inputFiles} ${D}file"
48883 if [ ${D}found -eq 0 ]; then
48884 echo "ERROR: No file(s) found: "${D}1
48891 done # iterate cmdline words
48894 if [ -z "${D}inputFiles" ]; then
48895 echo "dllar: no input files"
48899 # Now extract all .o files from .a files
48901 for file in ${D}inputFiles ; do
48912 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48917 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
48919 if [ ${D}? -ne 0 ]; then
48920 echo "Failed to create subdirectory ./${D}dirname"
48924 # Append '!' to indicate archive
48925 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48926 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48929 for subfile in ${D}dirname/*.o* ; do
48930 if [ -f ${D}subfile ]; then
48932 if [ -s ${D}subfile ]; then
48933 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48934 newInputFiles="${D}newInputFiles ${D}subfile"
48938 if [ ${D}found -eq 0 ]; then
48939 echo "WARNING: there are no files in archive \\'${D}file\\'"
48943 newInputFiles="${D}{newInputFiles} ${D}file"
48947 inputFiles="${D}newInputFiles"
48949 # Output filename(s).
48951 if [ -z ${D}outFile ]; then
48953 set outFile ${D}inputFiles; outFile=${D}2
48956 # If it is an archive, remove the '!' and the '_%' suffixes
48957 case ${D}outFile in
48959 outFile=\`basnam
${D}outFile _
%!\
`
48964 case ${D}outFile in
48966 outFile=\`basnam
${D}outFile .dll\
`
48969 outFile=\`basnam
${D}outFile .DLL\
`
48972 outFile=\`basnam
${D}outFile .o\
`
48975 outFile=\`basnam
${D}outFile .obj\
`
48978 outFile=\`basnam
${D}outFile .a\
`
48981 outFile=\`basnam
${D}outFile .lib\
`
48986 case ${D}outimpFile in
48988 outimpFile=\`basnam
${D}outimpFile .a\
`
48991 outimpFile=\`basnam
${D}outimpFile .lib\
`
48996 if [ -z ${D}outimpFile ]; then
48997 outimpFile=${D}outFile
48999 defFile="${D}{outFile}.def"
49000 arcFile="${D}{outimpFile}.a"
49001 arcFile2="${D}{outimpFile}.lib"
49003 #create ${D}dllFile as something matching 8.3 restrictions,
49004 if [ -z ${D}renameScript ] ; then
49005 dllFile="${D}outFile"
49007 dllFile=\`${D}renameScript
${D}outimpFile\
`
49010 if [ ${D}do_backup -ne 0 ] ; then
49011 if [ -f ${D}arcFile ] ; then
49012 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49014 if [ -f ${D}arcFile2 ] ; then
49015 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49019 # Extract public symbols from all the object files.
49020 tmpdefFile=${D}{defFile}_%
49021 rm -f ${D}tmpdefFile
49022 for file in ${D}inputFiles ; do
49027 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49032 # Create the def file.
49034 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
49035 dllFile="${D}{dllFile}.dll"
49036 if [ ! -z ${D}description ]; then
49037 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49039 echo "EXPORTS" >> ${D}defFile
49041 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49042 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49044 # Checks if the export is ok or not.
49045 for word in ${D}exclude_symbols; do
49046 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49047 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49051 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49052 sed "=" < ${D}tmpdefFile | \\
49056 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49058 ' > ${D}{tmpdefFile}%
49059 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49061 rm -f ${D}{tmpdefFile}%
49063 cat ${D}tmpdefFile >> ${D}defFile
49064 rm -f ${D}tmpdefFile
49066 # Do linking, create implib, and apply lxlite.
49068 for file in ${D}inputFiles ; do
49073 gccCmdl="${D}gccCmdl ${D}file"
49077 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49078 touch "${D}{outFile}.dll"
49080 doCommand "emximp -o ${D}arcFile ${D}defFile"
49081 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49083 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49086 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49088 doCommand "emxomf -s -l ${D}arcFile"
49098 powerpc-apple-macos* | \
49099 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49109 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49110 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49111 { (exit 1); exit 1; }; }
49114 if test "x$PIC_FLAG" != "x" ; then
49115 PIC_FLAG="$PIC_FLAG -DPIC"
49118 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49119 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49121 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49122 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49141 case "${BAKEFILE_HOST}" in
49142 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49143 *-*-k*bsd*-gnu | *-*-mirbsd* )
49144 if test "x$SUNCXX" = "xyes"; then
49147 SONAME_FLAG="-Wl,-soname,"
49182 # Check whether --enable-dependency-tracking was given.
49183 if test "${enable_dependency_tracking+set}" = set; then
49184 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49188 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49189 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49192 if test "x$bk_use_trackdeps" = "xno" ; then
49194 { echo "$as_me:$LINENO: result: disabled" >&5
49195 echo "${ECHO_T}disabled" >&6; }
49199 if test "x$GCC" = "xyes"; then
49201 case "${BAKEFILE_HOST}" in
49203 DEPSFLAG="-no-cpp-precomp -MMD"
49209 { echo "$as_me:$LINENO: result: gcc" >&5
49210 echo "${ECHO_T}gcc" >&6; }
49211 elif test "x$MWCC" = "xyes"; then
49214 { echo "$as_me:$LINENO: result: mwcc" >&5
49215 echo "${ECHO_T}mwcc" >&6; }
49216 elif test "x$SUNCC" = "xyes"; then
49219 { echo "$as_me:$LINENO: result: Sun cc" >&5
49220 echo "${ECHO_T}Sun cc" >&6; }
49221 elif test "x$SGICC" = "xyes"; then
49224 { echo "$as_me:$LINENO: result: SGI cc" >&5
49225 echo "${ECHO_T}SGI cc" >&6; }
49226 elif test "x$HPCC" = "xyes"; then
49229 { echo "$as_me:$LINENO: result: HP cc" >&5
49230 echo "${ECHO_T}HP cc" >&6; }
49231 elif test "x$COMPAQCC" = "xyes"; then
49234 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49235 echo "${ECHO_T}Compaq cc" >&6; }
49238 { echo "$as_me:$LINENO: result: none" >&5
49239 echo "${ECHO_T}none" >&6; }
49242 if test $DEPS_TRACKING = 1 ; then
49248 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49249 # script. It is used to track C/C++ files dependencies in portable way.
49251 # Permission is given to use this file in any way.
49253 DEPSMODE=${DEPSMODE}
49254 DEPSFLAG="${DEPSFLAG}"
49257 if test ${D}DEPSMODE = gcc ; then
49258 ${D}* ${D}{DEPSFLAG}
49261 # determine location of created files:
49262 while test ${D}# -gt 0; do
49276 objfilebase=\`basename ${D}objfile\
`
49277 builddir=\`dirname ${D}objfile\
`
49278 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
49279 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
49280 depsdir=${D}builddir/${D}DEPSDIRBASE
49281 mkdir -p ${D}depsdir
49283 # if the compiler failed, we're done:
49284 if test ${D}{status} != 0 ; then
49289 # move created file to the location we want it in:
49290 if test -f ${D}depfile ; then
49291 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49294 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49295 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
49296 if test ! -f ${D}depfile ; then
49297 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49298 depfile="${D}objfile.d"
49300 if test -f ${D}depfile ; then
49301 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49307 elif test ${D}DEPSMODE = mwcc ; then
49308 ${D}* || exit ${D}?
49309 # Run mwcc again with -MM and redirect into the dep file we want
49310 # NOTE: We can't use shift here because we need ${D}* to be valid
49312 for arg in ${D}* ; do
49313 if test "${D}prevarg" = "-o"; then
49327 objfilebase=\`basename ${D}objfile\
`
49328 builddir=\`dirname ${D}objfile\
`
49329 depsdir=${D}builddir/${D}DEPSDIRBASE
49330 mkdir -p ${D}depsdir
49332 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49335 elif test ${D}DEPSMODE = unixcc; then
49336 ${D}* || exit ${D}?
49337 # Run compiler again with deps flag and redirect into the dep file.
49338 # It doesn't work if the '-o FILE' option is used, but without it the
49339 # dependency file will contain the wrong name for the object. So it is
49340 # removed from the command line, and the dep file is fixed with sed.
49342 while test ${D}# -gt 0; do
49349 eval arg${D}#=\\${D}1
49350 cmd="${D}cmd \\${D}arg${D}#"
49356 objfilebase=\`basename ${D}objfile\
`
49357 builddir=\`dirname ${D}objfile\
`
49358 depsdir=${D}builddir/${D}DEPSDIRBASE
49359 mkdir -p ${D}depsdir
49361 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49371 BK_DEPS="`pwd`/bk-deps"
49379 case ${BAKEFILE_HOST} in
49380 *-*-cygwin* | *-*-mingw32* )
49381 if test -n "$ac_tool_prefix"; then
49382 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49383 set dummy ${ac_tool_prefix}windres; ac_word=$2
49384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49386 if test "${ac_cv_prog_WINDRES+set}" = set; then
49387 echo $ECHO_N "(cached) $ECHO_C" >&6
49389 if test -n "$WINDRES"; then
49390 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49393 for as_dir in $PATH
49396 test -z "$as_dir" && as_dir=.
49397 for ac_exec_ext in '' $ac_executable_extensions; do
49398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49399 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49409 WINDRES=$ac_cv_prog_WINDRES
49410 if test -n "$WINDRES"; then
49411 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49412 echo "${ECHO_T}$WINDRES" >&6; }
49414 { echo "$as_me:$LINENO: result: no" >&5
49415 echo "${ECHO_T}no" >&6; }
49420 if test -z "$ac_cv_prog_WINDRES"; then
49421 ac_ct_WINDRES=$WINDRES
49422 # Extract the first word of "windres", so it can be a program name with args.
49423 set dummy windres; ac_word=$2
49424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49426 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49427 echo $ECHO_N "(cached) $ECHO_C" >&6
49429 if test -n "$ac_ct_WINDRES"; then
49430 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49433 for as_dir in $PATH
49436 test -z "$as_dir" && as_dir=.
49437 for ac_exec_ext in '' $ac_executable_extensions; do
49438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49439 ac_cv_prog_ac_ct_WINDRES="windres"
49440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49449 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49450 if test -n "$ac_ct_WINDRES"; then
49451 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49452 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49454 { echo "$as_me:$LINENO: result: no" >&5
49455 echo "${ECHO_T}no" >&6; }
49458 if test "x$ac_ct_WINDRES" = x; then
49461 case $cross_compiling:$ac_tool_warned in
49463 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49464 whose name does not start with the host triplet. If you think this
49465 configuration is useful to you, please write to autoconf@gnu.org." >&5
49466 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49467 whose name does not start with the host triplet. If you think this
49468 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49469 ac_tool_warned=yes ;;
49471 WINDRES=$ac_ct_WINDRES
49474 WINDRES="$ac_cv_prog_WINDRES"
49479 *-*-darwin* | powerpc-apple-macos* )
49480 # Extract the first word of "Rez", so it can be a program name with args.
49481 set dummy Rez; ac_word=$2
49482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49484 if test "${ac_cv_prog_REZ+set}" = set; then
49485 echo $ECHO_N "(cached) $ECHO_C" >&6
49487 if test -n "$REZ"; then
49488 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49491 for as_dir in $PATH
49494 test -z "$as_dir" && as_dir=.
49495 for ac_exec_ext in '' $ac_executable_extensions; do
49496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49497 ac_cv_prog_REZ="Rez"
49498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49505 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49508 REZ=$ac_cv_prog_REZ
49509 if test -n "$REZ"; then
49510 { echo "$as_me:$LINENO: result: $REZ" >&5
49511 echo "${ECHO_T}$REZ" >&6; }
49513 { echo "$as_me:$LINENO: result: no" >&5
49514 echo "${ECHO_T}no" >&6; }
49518 # Extract the first word of "SetFile", so it can be a program name with args.
49519 set dummy SetFile; ac_word=$2
49520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49522 if test "${ac_cv_prog_SETFILE+set}" = set; then
49523 echo $ECHO_N "(cached) $ECHO_C" >&6
49525 if test -n "$SETFILE"; then
49526 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49529 for as_dir in $PATH
49532 test -z "$as_dir" && as_dir=.
49533 for ac_exec_ext in '' $ac_executable_extensions; do
49534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49535 ac_cv_prog_SETFILE="SetFile"
49536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49543 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49546 SETFILE=$ac_cv_prog_SETFILE
49547 if test -n "$SETFILE"; then
49548 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49549 echo "${ECHO_T}$SETFILE" >&6; }
49551 { echo "$as_me:$LINENO: result: no" >&5
49552 echo "${ECHO_T}no" >&6; }
49567 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49570 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49574 # Check whether --enable-precomp-headers was given.
49575 if test "${enable_precomp_headers+set}" = set; then
49576 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49585 case ${BAKEFILE_HOST} in
49591 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49592 if test "x$GCC" = "xyes"; then
49593 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49594 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49595 cat >conftest.$ac_ext <<_ACEOF
49598 cat confdefs.h >>conftest.$ac_ext
49599 cat >>conftest.$ac_ext <<_ACEOF
49600 /* end confdefs.h. */
49606 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49607 There is no PCH support
49610 There is no PCH support
49612 #if (__GNUC__ == 3) && \
49613 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49614 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49615 ( defined(__INTEL_COMPILER) )
49616 There is no PCH support
49623 rm -f conftest.$ac_objext
49624 if { (ac_try="$ac_compile"
49625 case "(($ac_try" in
49626 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49627 *) ac_try_echo
=$ac_try;;
49629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49630 (eval "$ac_compile") 2>conftest.er1
49632 grep -v '^ *+' conftest.er1
>conftest.err
49634 cat conftest.err
>&5
49635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49636 (exit $ac_status); } && {
49637 test -z "$ac_c_werror_flag" ||
49638 test ! -s conftest.err
49639 } && test -s conftest.
$ac_objext; then
49641 { echo "$as_me:$LINENO: result: yes" >&5
49642 echo "${ECHO_T}yes" >&6; }
49646 echo "$as_me: failed program was:" >&5
49647 sed 's/^/| /' conftest.
$ac_ext >&5
49650 if test "$INTELCXX8" = "yes"; then
49651 { echo "$as_me:$LINENO: result: yes" >&5
49652 echo "${ECHO_T}yes" >&6; }
49654 if test "$INTELCXX10" = "yes"; then
49655 ICC_PCH_CREATE_SWITCH
="-pch-create"
49656 ICC_PCH_USE_SWITCH
="-pch-use"
49658 ICC_PCH_CREATE_SWITCH
="-create-pch"
49659 ICC_PCH_USE_SWITCH
="-use-pch"
49662 { echo "$as_me:$LINENO: result: no" >&5
49663 echo "${ECHO_T}no" >&6; }
49668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49669 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49673 cat <<EOF >bk-make-pch
49676 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49677 # script. It is used to generated precompiled headers.
49679 # Permission is given to use this file in any way.
49686 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49691 while test ${D}{#} -gt 0; do
49695 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49696 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49697 headerfile="${D}{incdir}/${D}{header}"
49700 -use-pch|-use_pch|-pch-use )
49705 if test ${D}add_to_cmdline = 1 ; then
49706 compiler="${D}{compiler} ${D}{1}"
49711 if test "x${D}{headerfile}" = "x" ; then
49712 echo "error: can't find header ${D}{header} in include paths" >&2
49714 if test -f ${D}{outfile} ; then
49715 rm -f ${D}{outfile}
49717 mkdir -p \`dirname ${D}{outfile}\`
49719 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49720 mkdir -p ${D}{builddir}/.deps
49721 if test "x${GCC_PCH}" = "x1" ; then
49722 # can do this because gcc is >= 3.4:
49723 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49724 elif test "x${ICC_PCH}" = "x1" ; then
49725 filename=pch_gen-${D}${D}
49726 file=${D}{filename}.c
49727 dfile=${D}{filename}.d
49728 cat > ${D}file <<EOT
49729 #include "${D}header"
49731 # using -MF icc complains about differing command lines in creation/use
49732 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49733 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49734 rm -f ${D}file ${D}dfile ${D}{filename}.o
49740 chmod +x bk
-make-pch
49741 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49752 COND_BUILD_DEBUG
="#"
49753 if test "x$BUILD" = "xdebug" ; then
49754 COND_BUILD_DEBUG
=""
49757 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49758 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49759 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49762 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49763 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49764 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49767 COND_BUILD_DEBUG_UNICODE_0
="#"
49768 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49769 COND_BUILD_DEBUG_UNICODE_0
=""
49772 COND_BUILD_DEBUG_UNICODE_1
="#"
49773 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49774 COND_BUILD_DEBUG_UNICODE_1
=""
49777 COND_BUILD_RELEASE
="#"
49778 if test "x$BUILD" = "xrelease" ; then
49779 COND_BUILD_RELEASE
=""
49782 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49783 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49784 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49787 COND_BUILD_RELEASE_UNICODE_0
="#"
49788 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49789 COND_BUILD_RELEASE_UNICODE_0
=""
49792 COND_BUILD_RELEASE_UNICODE_1
="#"
49793 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49794 COND_BUILD_RELEASE_UNICODE_1
=""
49797 COND_BUILD_debug
="#"
49798 if test "x$BUILD" = "xdebug" ; then
49799 COND_BUILD_debug
=""
49802 COND_BUILD_debug_DEBUG_FLAG_default
="#"
49803 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49804 COND_BUILD_debug_DEBUG_FLAG_default
=""
49807 COND_BUILD_debug_DEBUG_INFO_default
="#"
49808 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49809 COND_BUILD_debug_DEBUG_INFO_default
=""
49812 COND_BUILD_debug_UNICODE_0
="#"
49813 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49814 COND_BUILD_debug_UNICODE_0
=""
49817 COND_BUILD_debug_UNICODE_1
="#"
49818 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49819 COND_BUILD_debug_UNICODE_1
=""
49822 COND_BUILD_release
="#"
49823 if test "x$BUILD" = "xrelease" ; then
49824 COND_BUILD_release
=""
49827 COND_BUILD_release_DEBUG_INFO_default
="#"
49828 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49829 COND_BUILD_release_DEBUG_INFO_default
=""
49832 COND_BUILD_release_UNICODE_0
="#"
49833 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49834 COND_BUILD_release_UNICODE_0
=""
49837 COND_BUILD_release_UNICODE_1
="#"
49838 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49839 COND_BUILD_release_UNICODE_1
=""
49842 COND_DEBUG_FLAG_1
="#"
49843 if test "x$DEBUG_FLAG" = "x1" ; then
49844 COND_DEBUG_FLAG_1
=""
49847 COND_DEBUG_INFO_0
="#"
49848 if test "x$DEBUG_INFO" = "x0" ; then
49849 COND_DEBUG_INFO_0
=""
49852 COND_DEBUG_INFO_1
="#"
49853 if test "x$DEBUG_INFO" = "x1" ; then
49854 COND_DEBUG_INFO_1
=""
49857 COND_DEPS_TRACKING_0
="#"
49858 if test "x$DEPS_TRACKING" = "x0" ; then
49859 COND_DEPS_TRACKING_0
=""
49862 COND_DEPS_TRACKING_1
="#"
49863 if test "x$DEPS_TRACKING" = "x1" ; then
49864 COND_DEPS_TRACKING_1
=""
49868 if test "x$GCC_PCH" = "x1" ; then
49873 if test "x$ICC_PCH" = "x1" ; then
49877 COND_MONOLITHIC_0
="#"
49878 if test "x$MONOLITHIC" = "x0" ; then
49879 COND_MONOLITHIC_0
=""
49882 COND_MONOLITHIC_0_SHARED_0
="#"
49883 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49884 COND_MONOLITHIC_0_SHARED_0
=""
49887 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49888 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49889 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49892 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49894 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49897 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49899 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49902 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49904 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49907 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49909 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49912 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
49913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49914 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
49917 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49918 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49919 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49922 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49923 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49924 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49927 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49928 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49929 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49932 COND_MONOLITHIC_0_SHARED_1
="#"
49933 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49934 COND_MONOLITHIC_0_SHARED_1
=""
49937 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49938 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49939 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49942 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49943 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49944 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49947 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49948 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49949 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49952 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49953 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49954 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49957 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49958 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49959 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49962 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
49963 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49964 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
49967 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49968 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49969 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49972 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49973 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49974 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49977 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49978 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49979 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49982 COND_MONOLITHIC_0_USE_AUI_1
="#"
49983 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49984 COND_MONOLITHIC_0_USE_AUI_1
=""
49987 COND_MONOLITHIC_0_USE_GUI_1
="#"
49988 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49989 COND_MONOLITHIC_0_USE_GUI_1
=""
49992 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49993 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49994 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49997 COND_MONOLITHIC_0_USE_HTML_1
="#"
49998 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49999 COND_MONOLITHIC_0_USE_HTML_1
=""
50002 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
50003 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50004 COND_MONOLITHIC_0_USE_MEDIA_1
=""
50007 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
50008 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50009 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
50012 COND_MONOLITHIC_0_USE_QA_1
="#"
50013 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50014 COND_MONOLITHIC_0_USE_QA_1
=""
50017 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
50018 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50019 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
50022 COND_MONOLITHIC_0_USE_STC_1
="#"
50023 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50024 COND_MONOLITHIC_0_USE_STC_1
=""
50027 COND_MONOLITHIC_0_USE_XRC_1
="#"
50028 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50029 COND_MONOLITHIC_0_USE_XRC_1
=""
50032 COND_MONOLITHIC_1
="#"
50033 if test "x$MONOLITHIC" = "x1" ; then
50034 COND_MONOLITHIC_1
=""
50037 COND_MONOLITHIC_1_SHARED_0
="#"
50038 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50039 COND_MONOLITHIC_1_SHARED_0
=""
50042 COND_MONOLITHIC_1_SHARED_1
="#"
50043 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50044 COND_MONOLITHIC_1_SHARED_1
=""
50047 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
50048 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50049 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
50052 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
50053 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50054 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
50057 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
50058 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50059 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
50062 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
50063 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50064 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
50067 COND_PLATFORM_MACOSX_1
="#"
50068 if test "x$PLATFORM_MACOSX" = "x1" ; then
50069 COND_PLATFORM_MACOSX_1
=""
50072 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
50073 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50074 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
50077 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50078 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50079 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50082 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50083 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50084 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50087 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50088 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50089 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50092 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50093 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50094 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50097 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
50098 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50099 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
50102 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
50103 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50104 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
50107 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
50108 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50109 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
50112 COND_PLATFORM_MACOS_1
="#"
50113 if test "x$PLATFORM_MACOS" = "x1" ; then
50114 COND_PLATFORM_MACOS_1
=""
50117 COND_PLATFORM_MAC_0
="#"
50118 if test "x$PLATFORM_MAC" = "x0" ; then
50119 COND_PLATFORM_MAC_0
=""
50122 COND_PLATFORM_MAC_1
="#"
50123 if test "x$PLATFORM_MAC" = "x1" ; then
50124 COND_PLATFORM_MAC_1
=""
50127 COND_PLATFORM_MSDOS_0
="#"
50128 if test "x$PLATFORM_MSDOS" = "x0" ; then
50129 COND_PLATFORM_MSDOS_0
=""
50132 COND_PLATFORM_MSDOS_1
="#"
50133 if test "x$PLATFORM_MSDOS" = "x1" ; then
50134 COND_PLATFORM_MSDOS_1
=""
50137 COND_PLATFORM_OS2_1
="#"
50138 if test "x$PLATFORM_OS2" = "x1" ; then
50139 COND_PLATFORM_OS2_1
=""
50142 COND_PLATFORM_UNIX_0
="#"
50143 if test "x$PLATFORM_UNIX" = "x0" ; then
50144 COND_PLATFORM_UNIX_0
=""
50147 COND_PLATFORM_UNIX_1
="#"
50148 if test "x$PLATFORM_UNIX" = "x1" ; then
50149 COND_PLATFORM_UNIX_1
=""
50152 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
50153 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50154 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
50157 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
50158 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50159 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
50162 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50163 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50164 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50167 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50168 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50169 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50172 COND_PLATFORM_WIN32_0
="#"
50173 if test "x$PLATFORM_WIN32" = "x0" ; then
50174 COND_PLATFORM_WIN32_0
=""
50177 COND_PLATFORM_WIN32_1
="#"
50178 if test "x$PLATFORM_WIN32" = "x1" ; then
50179 COND_PLATFORM_WIN32_1
=""
50183 if test "x$SHARED" = "x0" ; then
50187 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50188 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50189 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50192 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50193 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50194 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50197 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50198 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50199 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50202 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50203 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50204 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50207 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50208 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50209 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50212 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50213 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50214 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50217 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50218 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50219 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50222 COND_SHARED_0_USE_STC_1
="#"
50223 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50224 COND_SHARED_0_USE_STC_1
=""
50227 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
50228 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50229 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
50232 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
50233 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50234 COND_SHARED_0_wxUSE_REGEX_builtin
=""
50237 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
50238 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50239 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
50243 if test "x$SHARED" = "x1" ; then
50247 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50248 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50249 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50253 if test "x$TOOLKIT" = "x" ; then
50257 COND_TOOLKIT_COCOA
="#"
50258 if test "x$TOOLKIT" = "xCOCOA" ; then
50259 COND_TOOLKIT_COCOA
=""
50262 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50263 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50264 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50267 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50268 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50269 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50272 COND_TOOLKIT_DFB
="#"
50273 if test "x$TOOLKIT" = "xDFB" ; then
50274 COND_TOOLKIT_DFB
=""
50277 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50278 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50279 COND_TOOLKIT_DFB_USE_GUI_1
=""
50282 COND_TOOLKIT_GTK
="#"
50283 if test "x$TOOLKIT" = "xGTK" ; then
50284 COND_TOOLKIT_GTK
=""
50287 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50288 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50289 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50292 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50293 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50294 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50297 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50298 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50299 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50302 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50303 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50304 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50307 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50308 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50309 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50312 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50313 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50314 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50317 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50318 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50319 COND_TOOLKIT_GTK_USE_GUI_1
=""
50322 COND_TOOLKIT_MAC
="#"
50323 if test "x$TOOLKIT" = "xMAC" ; then
50324 COND_TOOLKIT_MAC
=""
50327 COND_TOOLKIT_MGL
="#"
50328 if test "x$TOOLKIT" = "xMGL" ; then
50329 COND_TOOLKIT_MGL
=""
50332 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50333 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50334 COND_TOOLKIT_MGL_USE_GUI_1
=""
50337 COND_TOOLKIT_MOTIF
="#"
50338 if test "x$TOOLKIT" = "xMOTIF" ; then
50339 COND_TOOLKIT_MOTIF
=""
50342 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50343 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50344 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50347 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50348 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50349 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50352 COND_TOOLKIT_MSW
="#"
50353 if test "x$TOOLKIT" = "xMSW" ; then
50354 COND_TOOLKIT_MSW
=""
50357 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50358 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50359 COND_TOOLKIT_MSW_USE_GUI_1
=""
50362 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50363 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50364 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50367 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50368 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50369 COND_TOOLKIT_MSW_WXUNIV_0
=""
50372 COND_TOOLKIT_OSX_CARBON
="#"
50373 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50374 COND_TOOLKIT_OSX_CARBON
=""
50377 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50378 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50379 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50382 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50383 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50384 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50387 COND_TOOLKIT_OSX_COCOA
="#"
50388 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50389 COND_TOOLKIT_OSX_COCOA
=""
50392 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50393 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50394 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50397 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50398 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50399 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50402 COND_TOOLKIT_OSX_IPHONE
="#"
50403 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50404 COND_TOOLKIT_OSX_IPHONE
=""
50407 COND_TOOLKIT_PM
="#"
50408 if test "x$TOOLKIT" = "xPM" ; then
50412 COND_TOOLKIT_PM_USE_GUI_1
="#"
50413 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50414 COND_TOOLKIT_PM_USE_GUI_1
=""
50417 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50418 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50419 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50422 COND_TOOLKIT_WINCE
="#"
50423 if test "x$TOOLKIT" = "xWINCE" ; then
50424 COND_TOOLKIT_WINCE
=""
50427 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50428 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50429 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50432 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50433 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50434 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50437 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50438 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50439 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50442 COND_TOOLKIT_X11
="#"
50443 if test "x$TOOLKIT" = "xX11" ; then
50444 COND_TOOLKIT_X11
=""
50447 COND_TOOLKIT_X11_USE_GUI_1
="#"
50448 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50449 COND_TOOLKIT_X11_USE_GUI_1
=""
50453 if test "x$UNICODE" = "x1" ; then
50457 COND_USE_EXCEPTIONS_0
="#"
50458 if test "x$USE_EXCEPTIONS" = "x0" ; then
50459 COND_USE_EXCEPTIONS_0
=""
50462 COND_USE_EXCEPTIONS_1
="#"
50463 if test "x$USE_EXCEPTIONS" = "x1" ; then
50464 COND_USE_EXCEPTIONS_1
=""
50468 if test "x$USE_GUI" = "x0" ; then
50473 if test "x$USE_GUI" = "x1" ; then
50477 COND_USE_GUI_1_USE_OPENGL_1
="#"
50478 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50479 COND_USE_GUI_1_USE_OPENGL_1
=""
50482 COND_USE_GUI_1_WXUNIV_0
="#"
50483 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50484 COND_USE_GUI_1_WXUNIV_0
=""
50487 COND_USE_GUI_1_WXUNIV_1
="#"
50488 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50489 COND_USE_GUI_1_WXUNIV_1
=""
50492 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50493 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50494 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50497 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50498 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50499 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50502 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50503 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50504 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50507 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50508 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50509 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50512 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50513 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50514 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50517 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50518 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50519 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50522 COND_USE_OPENGL_1
="#"
50523 if test "x$USE_OPENGL" = "x1" ; then
50524 COND_USE_OPENGL_1
=""
50528 if test "x$USE_PCH" = "x1" ; then
50532 COND_USE_PLUGINS_0
="#"
50533 if test "x$USE_PLUGINS" = "x0" ; then
50534 COND_USE_PLUGINS_0
=""
50537 COND_USE_RTTI_0
="#"
50538 if test "x$USE_RTTI" = "x0" ; then
50542 COND_USE_RTTI_1
="#"
50543 if test "x$USE_RTTI" = "x1" ; then
50547 COND_USE_SOSYMLINKS_1
="#"
50548 if test "x$USE_SOSYMLINKS" = "x1" ; then
50549 COND_USE_SOSYMLINKS_1
=""
50552 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50553 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50554 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50557 COND_USE_SOVERLINUX_1
="#"
50558 if test "x$USE_SOVERLINUX" = "x1" ; then
50559 COND_USE_SOVERLINUX_1
=""
50562 COND_USE_SOVERSION_0
="#"
50563 if test "x$USE_SOVERSION" = "x0" ; then
50564 COND_USE_SOVERSION_0
=""
50567 COND_USE_SOVERSOLARIS_1
="#"
50568 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50569 COND_USE_SOVERSOLARIS_1
=""
50573 if test "x$USE_STC" = "x1" ; then
50577 COND_USE_THREADS_0
="#"
50578 if test "x$USE_THREADS" = "x0" ; then
50579 COND_USE_THREADS_0
=""
50582 COND_USE_THREADS_1
="#"
50583 if test "x$USE_THREADS" = "x1" ; then
50584 COND_USE_THREADS_1
=""
50588 if test "x$USE_XRC" = "x1" ; then
50592 COND_WINDOWS_IMPLIB_1
="#"
50593 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50594 COND_WINDOWS_IMPLIB_1
=""
50597 COND_WITH_PLUGIN_SDL_1
="#"
50598 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50599 COND_WITH_PLUGIN_SDL_1
=""
50603 if test "x$WXUNIV" = "x0" ; then
50608 if test "x$WXUNIV" = "x1" ; then
50612 COND_WXUSE_EXPAT_BUILTIN
="#"
50613 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50614 COND_WXUSE_EXPAT_BUILTIN
=""
50617 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50618 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50619 COND_WXUSE_LIBJPEG_BUILTIN
=""
50622 COND_WXUSE_LIBPNG_BUILTIN
="#"
50623 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50624 COND_WXUSE_LIBPNG_BUILTIN
=""
50627 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50628 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50629 COND_WXUSE_LIBTIFF_BUILTIN
=""
50632 COND_WXUSE_REGEX_BUILTIN
="#"
50633 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50634 COND_WXUSE_REGEX_BUILTIN
=""
50637 COND_WXUSE_ZLIB_BUILTIN
="#"
50638 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50639 COND_WXUSE_ZLIB_BUILTIN
=""
50642 COND_wxUSE_EXPAT_builtin
="#"
50643 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50644 COND_wxUSE_EXPAT_builtin
=""
50647 COND_wxUSE_LIBJPEG_builtin
="#"
50648 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50649 COND_wxUSE_LIBJPEG_builtin
=""
50652 COND_wxUSE_LIBPNG_builtin
="#"
50653 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50654 COND_wxUSE_LIBPNG_builtin
=""
50657 COND_wxUSE_LIBTIFF_builtin
="#"
50658 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50659 COND_wxUSE_LIBTIFF_builtin
=""
50662 COND_wxUSE_REGEX_builtin
="#"
50663 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50664 COND_wxUSE_REGEX_builtin
=""
50667 COND_wxUSE_ZLIB_builtin
="#"
50668 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50669 COND_wxUSE_ZLIB_builtin
=""
50674 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50675 { { 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
50676 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;}
50677 { (exit 1); exit 1; }; }
50680 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50681 { { 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
50682 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;}
50683 { (exit 1); exit 1; }; }
50690 ?
:* ) # Drive letter, considered as absolute.
50693 INSTALL
=`pwd`/${INSTALL} ;;
50696 if test "$wxUSE_GUI" = "yes"; then
50698 if test "$wxUSE_MSW" = 1 ; then
50699 if test "x$WINDRES" = "x"; then
50700 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50701 echo "$as_me: error: Required windres program not found" >&2;}
50702 { (exit 1); exit 1; }; }
50708 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50709 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50710 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50712 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50714 # Extract the first word of "DeRez", so it can be a program name with args.
50715 set dummy DeRez
; ac_word
=$2
50716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50718 if test "${ac_cv_prog_DEREZ+set}" = set; then
50719 echo $ECHO_N "(cached) $ECHO_C" >&6
50721 if test -n "$DEREZ"; then
50722 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50725 for as_dir
in $PATH
50728 test -z "$as_dir" && as_dir
=.
50729 for ac_exec_ext
in '' $ac_executable_extensions; do
50730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50731 ac_cv_prog_DEREZ
="DeRez"
50732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50739 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50742 DEREZ
=$ac_cv_prog_DEREZ
50743 if test -n "$DEREZ"; then
50744 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50745 echo "${ECHO_T}$DEREZ" >&6; }
50747 { echo "$as_me:$LINENO: result: no" >&5
50748 echo "${ECHO_T}no" >&6; }
50753 MACSETFILE
="\$(SETFILE)"
50755 if test "$wxUSE_OSX_CARBON" = 1; then
50756 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50758 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50760 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50761 RESCOMP
="cat /dev/null \| $REZ"
50762 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50768 if test "$wxUSE_PM" = 1; then
50770 WXCONFIG_RESFLAGS
="-ep"
50772 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50774 POSTLINK_COMMAND
="@true"
50781 if test $GCC_PCH = 1
50783 if test "$wx_cv_gcc_pch_bug" = yes; then
50784 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50785 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50786 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50787 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50788 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50789 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50792 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50793 # the headers that benefit from precompilation are mostly C++ headers.
50794 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50795 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50796 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50800 if test "$wxUSE_MAC" = 1 ; then
50801 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50802 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50808 if test "$wxUSE_SHARED" = "yes"; then
50810 *-pc-os2_emx | *-pc-os2-emx )
50811 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50812 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50813 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50814 cp -p ${srcdir}/src
/os
2/dllar.sh .
50818 if test "$wxUSE_OMF" = "yes"; then
50820 *-pc-os2_emx | *-pc-os2-emx )
50821 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50822 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50823 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50828 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50833 if test "$GCC" = yes; then
50834 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50835 LIBS
=`echo $LIBS | sed 's/-mt//'`
50836 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50841 if test "x$SUNCXX" = xyes
; then
50842 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50843 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50844 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50849 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50850 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50851 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
50852 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50854 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50915 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50916 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50917 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50918 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50919 echo $ECHO_N "(cached) $ECHO_C" >&6
50921 cat >conftest.
make <<\_ACEOF
50924 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50926 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50927 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50928 *@@@
%%%=?
*=@@@
%%%*)
50929 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50931 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50933 rm -f conftest.
make
50935 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50936 { echo "$as_me:$LINENO: result: yes" >&5
50937 echo "${ECHO_T}yes" >&6; }
50940 { echo "$as_me:$LINENO: result: no" >&5
50941 echo "${ECHO_T}no" >&6; }
50942 SET_MAKE
="MAKE=${MAKE-make}"
50947 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50950 if test "$USE_WIN32" = 1; then
50951 ac_config_commands
="$ac_config_commands
50957 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50960 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50963 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50966 if test "$wx_cv_version_script" = "yes"; then
50967 ac_config_files
="$ac_config_files version-script"
50970 ac_config_files
="$ac_config_files Makefile"
50973 ac_config_commands
="$ac_config_commands wx-config"
50977 if test "$wxWITH_SUBDIRS" != "no"; then
50978 if test "$wxUSE_GUI" = "yes"; then
50979 SUBDIRS
="samples demos utils"
50981 SUBDIRS
="samples utils"
50986 # Check whether --with-cppunit-prefix was given.
50987 if test "${with_cppunit_prefix+set}" = set; then
50988 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50990 cppunit_config_prefix
=""
50994 # Check whether --with-cppunit-exec-prefix was given.
50995 if test "${with_cppunit_exec_prefix+set}" = set; then
50996 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50998 cppunit_config_exec_prefix
=""
51002 if test x
$cppunit_config_exec_prefix != x
; then
51003 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51004 if test x
${CPPUNIT_CONFIG+set} != xset
; then
51005 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
51008 if test x
$cppunit_config_prefix != x
; then
51009 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
51010 if test x
${CPPUNIT_CONFIG+set} != xset
; then
51011 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
51015 # Extract the first word of "cppunit-config", so it can be a program name with args.
51016 set dummy cppunit
-config; ac_word
=$2
51017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51019 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51020 echo $ECHO_N "(cached) $ECHO_C" >&6
51022 case $CPPUNIT_CONFIG in
51024 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51028 for as_dir
in $PATH
51031 test -z "$as_dir" && as_dir
=.
51032 for ac_exec_ext
in '' $ac_executable_extensions; do
51033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51034 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
51035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51042 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
51046 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
51047 if test -n "$CPPUNIT_CONFIG"; then
51048 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51049 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51051 { echo "$as_me:$LINENO: result: no" >&5
51052 echo "${ECHO_T}no" >&6; }
51056 cppunit_version_min
=1.8.0
51058 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51059 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51061 if test "$CPPUNIT_CONFIG" = "no" ; then
51062 { echo "$as_me:$LINENO: result: no" >&5
51063 echo "${ECHO_T}no" >&6; }
51066 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
51067 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
51068 cppunit_version
=`$CPPUNIT_CONFIG --version`
51070 cppunit_major_version
=`echo $cppunit_version | \
51071 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51072 cppunit_minor_version
=`echo $cppunit_version | \
51073 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51074 cppunit_micro_version
=`echo $cppunit_version | \
51075 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51077 cppunit_major_min
=`echo $cppunit_version_min | \
51078 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51079 cppunit_minor_min
=`echo $cppunit_version_min | \
51080 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51081 cppunit_micro_min
=`echo $cppunit_version_min | \
51082 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51084 cppunit_version_proper
=`expr \
51085 $cppunit_major_version \> $cppunit_major_min \| \
51086 $cppunit_major_version \= $cppunit_major_min \& \
51087 $cppunit_minor_version \> $cppunit_minor_min \| \
51088 $cppunit_major_version \= $cppunit_major_min \& \
51089 $cppunit_minor_version \= $cppunit_minor_min \& \
51090 $cppunit_micro_version \>= $cppunit_micro_min `
51092 if test "$cppunit_version_proper" = "1" ; then
51093 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51094 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51096 { echo "$as_me:$LINENO: result: no" >&5
51097 echo "${ECHO_T}no" >&6; }
51102 if test "x$no_cppunit" = x
; then
51103 SUBDIRS
="$SUBDIRS tests"
51114 for subdir
in $SUBDIRS; do
51115 if test -d ${srcdir}/${subdir} ; then
51116 if test "$wxUSE_GUI" = "yes"; then
51117 if test ${subdir} = "samples"; then
51118 makefiles
="samples/Makefile.in $makefiles"
51119 for sample
in $SAMPLES_SUBDIRS; do
51120 if test -d $srcdir/samples
/$sample; then
51121 makefiles
="samples/$sample/Makefile.in $makefiles"
51125 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
51126 eval "disabled=\$$disabled_var"
51127 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
51128 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51131 if test ${subdir} = "samples"; then
51132 makefiles
="samples/Makefile.in $makefiles"
51133 for sample
in `echo $SAMPLES_SUBDIRS`; do
51134 if test -d $srcdir/samples
/$sample; then
51135 makefiles
="samples/$sample/Makefile.in $makefiles"
51138 elif test ${subdir} = "utils"; then
51140 for util
in ifacecheck
; do
51141 if test -d $srcdir/utils
/$util ; then
51142 makefiles
="utils/$util/src/Makefile.in \
51147 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51151 for mkin
in $makefiles ; do
51152 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51153 ac_config_files
="$ac_config_files $mk"
51159 cat >confcache
<<\_ACEOF
51160 # This file is a shell script that caches the results of configure
51161 # tests run on this system so they can be shared between configure
51162 # scripts and configure runs, see configure's option --config-cache.
51163 # It is not useful on other systems. If it contains results you don't
51164 # want to keep, you may remove or edit it.
51166 # config.status only pays attention to the cache file if you give it
51167 # the --recheck option to rerun configure.
51169 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51170 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51171 # following values.
51175 # The following way of writing the cache mishandles newlines in values,
51176 # but we know of no workaround that is simple, portable, and efficient.
51177 # So, we kill variables containing newlines.
51178 # Ultrix sh set writes to stderr and can't be redirected directly,
51179 # and sets the high bit in the cache file unless we assign to the vars.
51181 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51182 eval ac_val
=\$
$ac_var
51186 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51187 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51190 _
| IFS
| as_nl
) ;; #(
51191 *) $as_unset $ac_var ;;
51197 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51198 *${as_nl}ac_space
=\
*)
51199 # `set' does not quote correctly, so add quotes (double-quote
51200 # substitution turns \\\\ into \\, and sed turns \\ into \).
51203 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51206 # `set' quotes correctly as required by POSIX, so do not add quotes.
51207 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51216 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51218 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51220 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51221 if test -w "$cache_file"; then
51222 test "x$cache_file" != "x/dev/null" &&
51223 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51224 echo "$as_me: updating cache $cache_file" >&6;}
51225 cat confcache
>$cache_file
51227 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51228 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51233 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51234 # Let make expand exec_prefix.
51235 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51237 DEFS
=-DHAVE_CONFIG_H
51241 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51242 # 1. Remove the extension, and $U if already installed.
51243 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51244 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51245 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51246 # will be set to the directory where LIBOBJS objects are built.
51247 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51248 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51250 LIBOBJS
=$ac_libobjs
51252 LTLIBOBJS
=$ac_ltlibobjs
51256 : ${CONFIG_STATUS=./config.status}
51257 ac_clean_files_save
=$ac_clean_files
51258 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51259 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51260 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51261 cat >$CONFIG_STATUS <<_ACEOF
51263 # Generated by $as_me.
51264 # Run this file to recreate the current configuration.
51265 # Compiler output produced by configure, useful for debugging
51266 # configure, is in config.log if it exists.
51269 ac_cs_recheck=false
51271 SHELL=\${CONFIG_SHELL-$SHELL}
51274 cat >>$CONFIG_STATUS <<\_ACEOF
51275 ## --------------------- ##
51276 ## M4sh Initialization. ##
51277 ## --------------------- ##
51279 # Be more Bourne compatible
51280 DUALCASE
=1; export DUALCASE
# for MKS sh
51281 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51284 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51285 # is contrary to our usage. Disable this feature.
51286 alias -g '${1+"$@"}'='"$@"'
51287 setopt NO_GLOB_SUBST
51289 case `(set -o) 2>/dev/null` in
51290 *posix
*) set -o posix
;;
51299 # Avoid depending upon Character Ranges.
51300 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51301 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51302 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51303 as_cr_digits
='0123456789'
51304 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51306 # The user is always right.
51307 if test "${PATH_SEPARATOR+set}" != set; then
51308 echo "#! /bin/sh" >conf$$.sh
51309 echo "exit 0" >>conf$$.sh
51311 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51319 # Support unset when possible.
51320 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51328 # We need space, tab and new line, in precisely that order. Quoting is
51329 # there to prevent editors from complaining about space-tab.
51330 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51331 # splitting by setting IFS to empty value.)
51336 # Find who we are. Look in the path if we contain no directory separator.
51338 *[\\/]* ) as_myself
=$0 ;;
51339 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51340 for as_dir
in $PATH
51343 test -z "$as_dir" && as_dir
=.
51344 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51350 # We did not find ourselves, most probably we were run as `sh COMMAND'
51351 # in which case we are not to be found in the path.
51352 if test "x$as_myself" = x
; then
51355 if test ! -f "$as_myself"; then
51356 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51357 { (exit 1); exit 1; }
51360 # Work around bugs in pre-3.0 UWIN ksh.
51361 for as_var
in ENV MAIL MAILPATH
51362 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51370 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51371 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51372 LC_TELEPHONE LC_TIME
51374 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51375 eval $as_var=C
; export $as_var
51377 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51381 # Required to use basename.
51382 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51383 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51389 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51390 as_basename
=basename
51396 # Name of the executable.
51397 as_me
=`$as_basename -- "$0" ||
51398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51399 X"$0" : 'X\(//\)$' \| \
51400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51402 sed '/^.*\/\([^/][^/]*\)\/*$/{
51421 as_lineno_1
=$LINENO
51422 as_lineno_2
=$LINENO
51423 test "x$as_lineno_1" != "x$as_lineno_2" &&
51424 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51426 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51427 # uniformly replaced by the line number. The first 'sed' inserts a
51428 # line-number line after each line using $LINENO; the second 'sed'
51429 # does the real work. The second script uses 'N' to pair each
51430 # line-number line with the line containing $LINENO, and appends
51431 # trailing '-' during substitution so that $LINENO is not a special
51432 # case at line end.
51433 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51434 # scripts with optimization help from Paolo Bonzini. Blame Lee
51435 # E. McMahon (1931-1989) for sed's syntax. :-)
51447 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51450 ' >$as_me.lineno
&&
51451 chmod +x
"$as_me.lineno" ||
51452 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51453 { (exit 1); exit 1; }; }
51455 # Don't try to exec as it changes $[0], causing all sort of problems
51456 # (the dirname of $[0] is not the place where we might find the
51457 # original and so on. Autoconf is especially sensitive to this).
51458 .
"./$as_me.lineno"
51459 # Exit status is that of the last command.
51464 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51470 ECHO_C
= ECHO_N
= ECHO_T
=
51471 case `echo -n x` in
51473 case `echo 'x\c'` in
51474 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51481 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51482 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51488 rm -f conf$$ conf$$.exe conf$$.
file
51489 if test -d conf$$.dir
; then
51490 rm -f conf$$.dir
/conf$$.
file
51496 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51498 # ... but there are two gotchas:
51499 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51500 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51501 # In both cases, we have to default to `cp -p'.
51502 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51504 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51509 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51510 rmdir conf$$.dir
2>/dev
/null
51512 if mkdir -p .
2>/dev
/null
; then
51515 test -d .
/-p && rmdir .
/-p
51519 if test -x / >/dev
/null
2>&1; then
51520 as_test_x
='test -x'
51522 if ls -dL / >/dev
/null
2>&1; then
51529 if test -d "$1"; then
51535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51536 ???[sx]*):;;*)false;;esac;fi
51540 as_executable_p
=$as_test_x
51542 # Sed expression to map a string onto a valid CPP name.
51543 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51545 # Sed expression to map a string onto a valid variable name.
51546 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51551 # Save the log message, to keep $[0] and so on meaningful, and to
51552 # report actual input values of CONFIG_FILES etc. instead of their
51553 # values after options handling.
51555 This file was extended by wxWidgets $as_me 2.9.0, which was
51556 generated by GNU Autoconf 2.61. Invocation command line was
51558 CONFIG_FILES = $CONFIG_FILES
51559 CONFIG_HEADERS = $CONFIG_HEADERS
51560 CONFIG_LINKS = $CONFIG_LINKS
51561 CONFIG_COMMANDS = $CONFIG_COMMANDS
51564 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51569 cat >>$CONFIG_STATUS <<_ACEOF
51570 # Files that config.status was made for.
51571 config_files="$ac_config_files"
51572 config_headers="$ac_config_headers"
51573 config_commands="$ac_config_commands"
51577 cat >>$CONFIG_STATUS <<\_ACEOF
51579 \`$as_me' instantiates files from templates according to the
51580 current configuration.
51582 Usage: $0 [OPTIONS] [FILE]...
51584 -h, --help print this help, then exit
51585 -V, --version print version number and configuration settings, then exit
51586 -q, --quiet do not print progress messages
51587 -d, --debug don't remove temporary files
51588 --recheck update $as_me by reconfiguring in the same conditions
51589 --file=FILE[:TEMPLATE]
51590 instantiate the configuration file FILE
51591 --header=FILE[:TEMPLATE]
51592 instantiate the configuration header FILE
51594 Configuration files:
51597 Configuration headers:
51600 Configuration commands:
51603 Report bugs to <bug-autoconf@gnu.org>."
51606 cat >>$CONFIG_STATUS <<_ACEOF
51608 wxWidgets config.status 2.9.0
51609 configured by $0, generated by GNU Autoconf 2.61,
51610 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51612 Copyright (C) 2006 Free Software Foundation, Inc.
51613 This config.status script is free software; the Free Software Foundation
51614 gives unlimited permission to copy, distribute and modify it."
51621 cat >>$CONFIG_STATUS <<\_ACEOF
51622 # If no file are specified by the user, then we need to provide default
51623 # value. By we need to know if files were specified by the user.
51629 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51630 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51641 # Handling of the options.
51642 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51644 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51645 echo "$ac_cs_version"; exit ;;
51646 --debug | --debu | --deb | --de | --d | -d )
51648 --file | --fil | --fi | --f )
51650 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51651 ac_need_defaults
=false
;;
51652 --header | --heade | --head | --hea )
51654 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51655 ac_need_defaults
=false
;;
51657 # Conflict between --help and --header
51658 { echo "$as_me: error: ambiguous option: $1
51659 Try \`$0 --help' for more information." >&2
51660 { (exit 1); exit 1; }; };;
51661 --help | --hel | -h )
51662 echo "$ac_cs_usage"; exit ;;
51663 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51664 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51667 # This is an error.
51668 -*) { echo "$as_me: error: unrecognized option: $1
51669 Try \`$0 --help' for more information." >&2
51670 { (exit 1); exit 1; }; } ;;
51672 *) ac_config_targets
="$ac_config_targets $1"
51673 ac_need_defaults
=false
;;
51679 ac_configure_extra_args
=
51681 if $ac_cs_silent; then
51683 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51687 cat >>$CONFIG_STATUS <<_ACEOF
51688 if \$ac_cs_recheck; then
51689 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51690 CONFIG_SHELL=$SHELL
51691 export CONFIG_SHELL
51692 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51696 cat >>$CONFIG_STATUS <<\_ACEOF
51700 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51701 ## Running $as_me. ##
51707 cat >>$CONFIG_STATUS <<_ACEOF
51713 infile="$srcdir/include/wx/msw/genrcdefs.h"
51714 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51717 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51718 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51719 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51725 cat >>$CONFIG_STATUS <<\_ACEOF
51727 # Handling of arguments.
51728 for ac_config_target
in $ac_config_targets
51730 case $ac_config_target in
51731 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51732 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51733 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51734 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51735 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51736 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51737 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51738 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51739 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51741 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51742 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51743 { (exit 1); exit 1; }; };;
51748 # If the user did not use the arguments to specify the items to instantiate,
51749 # then the envvar interface is used. Set only those that are not.
51750 # We use the long form for the default assignment because of an extremely
51751 # bizarre bug on SunOS 4.1.3.
51752 if $ac_need_defaults; then
51753 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51754 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51755 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51758 # Have a temporary directory for convenience. Make it in the build tree
51759 # simply because there is no reason against having it here, and in addition,
51760 # creating and moving files from /tmp can sometimes cause problems.
51761 # Hook for its removal unless debugging.
51762 # Note that there is a small window in which the directory will not be cleaned:
51763 # after its creation but before its name has been assigned to `$tmp'.
51767 trap 'exit_status=$?
51768 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51770 trap '{ (exit 1); exit 1; }' 1 2 13 15
51772 # Create a (secure) tmp directory for tmp files.
51775 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51776 test -n "$tmp" && test -d "$tmp"
51779 tmp
=.
/conf$$
-$RANDOM
51780 (umask 077 && mkdir "$tmp")
51783 echo "$me: cannot create a temporary directory in ." >&2
51784 { (exit 1); exit 1; }
51788 # Set up the sed scripts for CONFIG_FILES section.
51791 # No need to generate the scripts if there are no CONFIG_FILES.
51792 # This happens for instance when ./config.status config.h
51793 if test -n "$CONFIG_FILES"; then
51800 for ac_last_try
in false false false false false
:; do
51801 cat >conf$
$subs.
sed <<_ACEOF
51802 SHELL!$SHELL$ac_delim
51803 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51804 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51805 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51806 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51807 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51808 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51809 exec_prefix!$exec_prefix$ac_delim
51810 prefix!$prefix$ac_delim
51811 program_transform_name!$program_transform_name$ac_delim
51812 bindir!$bindir$ac_delim
51813 sbindir!$sbindir$ac_delim
51814 libexecdir!$libexecdir$ac_delim
51815 datarootdir!$datarootdir$ac_delim
51816 datadir!$datadir$ac_delim
51817 sysconfdir!$sysconfdir$ac_delim
51818 sharedstatedir!$sharedstatedir$ac_delim
51819 localstatedir!$localstatedir$ac_delim
51820 includedir!$includedir$ac_delim
51821 oldincludedir!$oldincludedir$ac_delim
51822 docdir!$docdir$ac_delim
51823 infodir!$infodir$ac_delim
51824 htmldir!$htmldir$ac_delim
51825 dvidir!$dvidir$ac_delim
51826 pdfdir!$pdfdir$ac_delim
51827 psdir!$psdir$ac_delim
51828 libdir!$libdir$ac_delim
51829 localedir!$localedir$ac_delim
51830 mandir!$mandir$ac_delim
51831 DEFS!$DEFS$ac_delim
51832 ECHO_C!$ECHO_C$ac_delim
51833 ECHO_N!$ECHO_N$ac_delim
51834 ECHO_T!$ECHO_T$ac_delim
51835 LIBS!$LIBS$ac_delim
51836 build_alias!$build_alias$ac_delim
51837 host_alias!$host_alias$ac_delim
51838 target_alias!$target_alias$ac_delim
51839 build!$build$ac_delim
51840 build_cpu!$build_cpu$ac_delim
51841 build_vendor!$build_vendor$ac_delim
51842 build_os!$build_os$ac_delim
51843 host!$host$ac_delim
51844 host_cpu!$host_cpu$ac_delim
51845 host_vendor!$host_vendor$ac_delim
51846 host_os!$host_os$ac_delim
51847 wx_top_builddir!$wx_top_builddir$ac_delim
51849 CFLAGS!$CFLAGS$ac_delim
51850 LDFLAGS!$LDFLAGS$ac_delim
51851 CPPFLAGS!$CPPFLAGS$ac_delim
51852 ac_ct_CC!$ac_ct_CC$ac_delim
51853 EXEEXT!$EXEEXT$ac_delim
51854 OBJEXT!$OBJEXT$ac_delim
51856 GREP!$GREP$ac_delim
51857 EGREP!$EGREP$ac_delim
51859 CXXFLAGS!$CXXFLAGS$ac_delim
51860 ac_ct_CXX!$ac_ct_CXX$ac_delim
51862 subdirs!$subdirs$ac_delim
51863 PKG_CONFIG!$PKG_CONFIG$ac_delim
51864 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51865 GTK_LIBS!$GTK_LIBS$ac_delim
51866 GTK_CONFIG!$GTK_CONFIG$ac_delim
51867 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51868 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51869 XMKMF!$XMKMF$ac_delim
51870 X_CFLAGS!$X_CFLAGS$ac_delim
51871 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51872 X_LIBS!$X_LIBS$ac_delim
51873 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51874 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51875 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51876 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51877 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51878 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51879 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51880 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51881 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51882 LIBICONV!$LIBICONV$ac_delim
51883 GXX_VERSION!$GXX_VERSION$ac_delim
51884 SDL_CONFIG!$SDL_CONFIG$ac_delim
51885 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51886 SDL_LIBS!$SDL_LIBS$ac_delim
51887 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51888 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51889 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51890 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51891 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51892 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51893 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51894 HILDON_LIBS!$HILDON_LIBS$ac_delim
51895 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51896 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51897 GST_CFLAGS!$GST_CFLAGS$ac_delim
51898 GST_LIBS!$GST_LIBS$ac_delim
51901 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51903 elif $ac_last_try; then
51904 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51905 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51906 { (exit 1); exit 1; }; }
51908 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51912 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51913 if test -n "$ac_eof"; then
51914 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51915 ac_eof
=`expr $ac_eof + 1`
51918 cat >>$CONFIG_STATUS <<_ACEOF
51919 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51920 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51923 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51924 s/^/s,@/; s/!/@,|#_!!_#|/
51927 s/'"$ac_delim"'$/,g/; t
51929 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51930 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51931 rm -f conf$
$subs.
sed
51932 cat >>$CONFIG_STATUS <<_ACEOF
51938 for ac_last_try
in false false false false false
:; do
51939 cat >conf$
$subs.
sed <<_ACEOF
51940 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51941 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51942 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51943 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51944 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51945 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51946 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51947 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51948 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51949 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51950 VENDOR!$VENDOR$ac_delim
51951 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51952 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51953 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51954 WXUNIV!$WXUNIV$ac_delim
51955 MONOLITHIC!$MONOLITHIC$ac_delim
51956 USE_PLUGINS!$USE_PLUGINS$ac_delim
51957 CXXWARNINGS!$CXXWARNINGS$ac_delim
51958 EXTRALIBS!$EXTRALIBS$ac_delim
51959 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51960 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51961 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51962 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51963 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51964 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51965 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51966 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51967 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51968 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51969 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51970 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51971 UNICODE!$UNICODE$ac_delim
51972 BUILD!$BUILD$ac_delim
51973 DEBUG_INFO!$DEBUG_INFO$ac_delim
51974 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51975 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51976 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51977 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51978 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51979 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51980 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51981 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51982 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51983 RANLIB!$RANLIB$ac_delim
51984 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51985 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51986 INSTALL_DATA!$INSTALL_DATA$ac_delim
51987 LN_S!$LN_S$ac_delim
51988 SET_MAKE!$SET_MAKE$ac_delim
51989 MAKE_SET!$MAKE_SET$ac_delim
51990 AROPTIONS!$AROPTIONS$ac_delim
51991 STRIP!$STRIP$ac_delim
51993 INSTALL_DIR!$INSTALL_DIR$ac_delim
51994 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51995 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51996 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51997 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51998 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51999 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52000 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52001 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52002 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52003 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52004 SO_SUFFIX!$SO_SUFFIX$ac_delim
52005 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52006 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52007 LIBPREFIX!$LIBPREFIX$ac_delim
52008 LIBEXT!$LIBEXT$ac_delim
52009 DLLPREFIX!$DLLPREFIX$ac_delim
52010 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52011 dlldir!$dlldir$ac_delim
52012 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52013 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52014 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52015 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52016 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52017 PIC_FLAG!$PIC_FLAG$ac_delim
52018 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52019 USE_SOVERSION!$USE_SOVERSION$ac_delim
52020 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52021 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52022 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52023 USE_MACVERSION!$USE_MACVERSION$ac_delim
52024 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52025 SONAME_FLAG!$SONAME_FLAG$ac_delim
52026 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52027 BK_DEPS!$BK_DEPS$ac_delim
52028 WINDRES!$WINDRES$ac_delim
52030 SETFILE!$SETFILE$ac_delim
52031 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52032 GCC_PCH!$GCC_PCH$ac_delim
52033 ICC_PCH!$ICC_PCH$ac_delim
52034 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52035 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52036 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52039 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52041 elif $ac_last_try; then
52042 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52043 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52044 { (exit 1); exit 1; }; }
52046 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52050 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52051 if test -n "$ac_eof"; then
52052 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52053 ac_eof
=`expr $ac_eof + 1`
52056 cat >>$CONFIG_STATUS <<_ACEOF
52057 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52058 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52061 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52062 s/^/s,@/; s/!/@,|#_!!_#|/
52065 s/'"$ac_delim"'$/,g/; t
52067 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52068 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52069 rm -f conf$
$subs.
sed
52070 cat >>$CONFIG_STATUS <<_ACEOF
52076 for ac_last_try
in false false false false false
:; do
52077 cat >conf$
$subs.
sed <<_ACEOF
52078 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52079 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52080 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52081 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52082 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52083 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52084 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52085 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52086 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52087 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52088 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52089 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52090 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52091 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52092 COND_BUILD_release!$COND_BUILD_release$ac_delim
52093 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52094 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52095 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52096 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52097 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52098 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52099 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52100 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52101 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52102 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52103 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52104 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52105 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52106 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52107 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52108 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52109 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52110 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52111 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52112 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52113 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52114 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52115 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52116 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52117 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52118 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52119 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52120 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52121 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52122 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52123 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52124 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52125 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52126 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52127 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52128 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52129 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52130 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52131 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52132 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52133 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52134 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52135 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52136 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52137 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52138 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52139 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52140 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52141 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52142 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52143 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52144 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
52145 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52146 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
52147 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52148 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52149 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52150 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52151 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52152 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52153 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52154 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52155 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52156 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52157 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52158 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52159 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52160 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52161 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52162 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52163 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52164 COND_SHARED_0!$COND_SHARED_0$ac_delim
52165 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52166 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52167 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52168 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52169 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52170 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52171 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52172 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52173 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52174 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52177 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52179 elif $ac_last_try; then
52180 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52181 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52182 { (exit 1); exit 1; }; }
52184 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52188 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52189 if test -n "$ac_eof"; then
52190 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52191 ac_eof
=`expr $ac_eof + 1`
52194 cat >>$CONFIG_STATUS <<_ACEOF
52195 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52196 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52199 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52200 s/^/s,@/; s/!/@,|#_!!_#|/
52203 s/'"$ac_delim"'$/,g/; t
52205 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52206 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52207 rm -f conf$
$subs.
sed
52208 cat >>$CONFIG_STATUS <<_ACEOF
52214 for ac_last_try
in false false false false false
:; do
52215 cat >conf$
$subs.
sed <<_ACEOF
52216 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52217 COND_SHARED_1!$COND_SHARED_1$ac_delim
52218 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52219 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52220 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52221 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52222 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52223 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52224 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52225 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52226 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52227 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52228 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52229 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52230 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52231 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52232 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52233 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52234 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52235 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52236 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52237 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52238 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52239 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52240 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52241 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52242 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52243 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52244 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52245 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52246 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52247 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52248 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52249 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52250 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52251 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52252 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52253 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52254 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52255 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52256 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52257 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52258 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52259 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52260 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52261 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52262 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52263 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52264 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52265 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52266 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52267 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52268 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52269 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52270 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52271 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52272 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52273 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52274 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52275 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52276 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52277 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52278 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52279 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52280 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52281 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52282 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52283 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52284 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52285 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52286 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52287 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52288 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52289 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52290 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52291 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52292 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52293 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52294 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52295 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52296 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52297 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52298 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52299 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52300 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52301 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52302 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52303 DEREZ!$DEREZ$ac_delim
52304 SHARED!$SHARED$ac_delim
52305 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52306 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52307 USE_GUI!$USE_GUI$ac_delim
52308 AFMINSTALL!$AFMINSTALL$ac_delim
52309 WIN32INSTALL!$WIN32INSTALL$ac_delim
52310 TOOLKIT!$TOOLKIT$ac_delim
52311 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52312 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52315 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52317 elif $ac_last_try; then
52318 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52319 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52320 { (exit 1); exit 1; }; }
52322 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52326 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52327 if test -n "$ac_eof"; then
52328 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52329 ac_eof
=`expr $ac_eof + 1`
52332 cat >>$CONFIG_STATUS <<_ACEOF
52333 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52334 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52337 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52338 s/^/s,@/; s/!/@,|#_!!_#|/
52341 s/'"$ac_delim"'$/,g/; t
52343 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52344 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52345 rm -f conf$
$subs.
sed
52346 cat >>$CONFIG_STATUS <<_ACEOF
52352 for ac_last_try
in false false false false false
:; do
52353 cat >conf$
$subs.
sed <<_ACEOF
52354 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52355 cross_compiling!$cross_compiling$ac_delim
52356 WIDGET_SET!$WIDGET_SET$ac_delim
52357 WX_RELEASE!$WX_RELEASE$ac_delim
52358 WX_VERSION!$WX_VERSION$ac_delim
52359 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52360 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52361 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52362 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52363 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52364 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52365 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52366 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52367 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52368 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52369 GUIDIST!$GUIDIST$ac_delim
52370 DISTDIR!$DISTDIR$ac_delim
52371 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52372 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52373 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52374 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52375 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52376 RESCOMP!$RESCOMP$ac_delim
52377 RESFLAGS!$RESFLAGS$ac_delim
52378 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52379 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52380 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52381 LIBWXMACRES!$LIBWXMACRES$ac_delim
52382 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52383 MACSETFILE!$MACSETFILE$ac_delim
52385 DLLTOOL!$DLLTOOL$ac_delim
52386 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52387 LIBOBJS!$LIBOBJS$ac_delim
52388 LTLIBOBJS!$LTLIBOBJS$ac_delim
52391 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
52393 elif $ac_last_try; then
52394 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52395 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52396 { (exit 1); exit 1; }; }
52398 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52402 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52403 if test -n "$ac_eof"; then
52404 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52405 ac_eof
=`expr $ac_eof + 1`
52408 cat >>$CONFIG_STATUS <<_ACEOF
52409 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52410 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52413 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52414 s/^/s,@/; s/!/@,|#_!!_#|/
52417 s/'"$ac_delim"'$/,g/; t
52419 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52420 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52421 rm -f conf$
$subs.
sed
52422 cat >>$CONFIG_STATUS <<_ACEOF
52429 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52430 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52431 # trailing colons and then remove the whole line if VPATH becomes empty
52432 # (actually we leave an empty line to preserve line numbers).
52433 if test "x$srcdir" = x.
; then
52434 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52435 s/:*\$(srcdir):*/:/
52436 s/:*\${srcdir}:*/:/
52438 s/^\([^=]*=[ ]*\):*/\1/
52444 cat >>$CONFIG_STATUS <<\_ACEOF
52445 fi # test -n "$CONFIG_FILES"
52448 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52451 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52453 case $ac_mode$ac_tag in
52455 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52456 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52457 { (exit 1); exit 1; }; };;
52458 :[FH
]-) ac_tag
=-:-;;
52459 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52476 -) ac_f
="$tmp/stdin";;
52477 *) # Look for the file first in the build tree, then in the source tree
52478 # (if the path is not absolute). The absolute path cannot be DOS-style,
52479 # because $ac_f cannot contain `:'.
52483 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52485 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52486 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52487 { (exit 1); exit 1; }; };;
52489 ac_file_inputs
="$ac_file_inputs $ac_f"
52492 # Let's still pretend it is `configure' which instantiates (i.e., don't
52493 # use $as_me), people would be surprised to read:
52494 # /* config.h. Generated by config.status. */
52495 configure_input
="Generated from "`IFS=:
52496 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52497 if test x
"$ac_file" != x
-; then
52498 configure_input
="$ac_file. $configure_input"
52499 { echo "$as_me:$LINENO: creating $ac_file" >&5
52500 echo "$as_me: creating $ac_file" >&6;}
52504 *:-:* | *:-) cat >"$tmp/stdin";;
52509 ac_dir
=`$as_dirname -- "$ac_file" ||
52510 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52511 X"$ac_file" : 'X\(//\)[^/]' \| \
52512 X"$ac_file" : 'X\(//\)$' \| \
52513 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52519 /^X\(\/\/\)[^/].*/{
52534 -*) as_dir
=.
/$as_dir;;
52536 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52540 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52541 *) as_qdir
=$as_dir;;
52543 as_dirs
="'$as_qdir' $as_dirs"
52544 as_dir
=`$as_dirname -- "$as_dir" ||
52545 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52546 X"$as_dir" : 'X\(//\)[^/]' \| \
52547 X"$as_dir" : 'X\(//\)$' \| \
52548 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52554 /^X\(\/\/\)[^/].*/{
52567 test -d "$as_dir" && break
52569 test -z "$as_dirs" || eval "mkdir $as_dirs"
52570 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52571 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52572 { (exit 1); exit 1; }; }; }
52576 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52578 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52579 # A ".." for each directory in $ac_dir_suffix.
52580 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52581 case $ac_top_builddir_sub in
52582 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52583 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52586 ac_abs_top_builddir
=$ac_pwd
52587 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52588 # for backward compatibility:
52589 ac_top_builddir
=$ac_top_build_prefix
52592 .
) # We are building in place.
52594 ac_top_srcdir
=$ac_top_builddir_sub
52595 ac_abs_top_srcdir
=$ac_pwd ;;
52596 [\\/]* | ?
:[\\/]* ) # Absolute name.
52597 ac_srcdir
=$srcdir$ac_dir_suffix;
52598 ac_top_srcdir
=$srcdir
52599 ac_abs_top_srcdir
=$srcdir ;;
52600 *) # Relative name.
52601 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52602 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52603 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52605 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52615 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52616 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52620 cat >>$CONFIG_STATUS <<\_ACEOF
52621 # If the template does not know about datarootdir, expand it.
52622 # FIXME: This hack should be removed a few years after 2.60.
52623 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52625 case `sed -n '/datarootdir/ {
52634 ' $ac_file_inputs` in
52635 *datarootdir
*) ac_datarootdir_seen
=yes;;
52636 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52637 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52638 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52640 cat >>$CONFIG_STATUS <<_ACEOF
52641 ac_datarootdir_hack='
52642 s&@datadir@&$datadir&g
52643 s&@docdir@&$docdir&g
52644 s&@infodir@&$infodir&g
52645 s&@localedir@&$localedir&g
52646 s&@mandir@&$mandir&g
52647 s&\\\${datarootdir}&$datarootdir&g' ;;
52651 # Neutralize VPATH when `$srcdir' = `.'.
52652 # Shell code in configure.ac might set extrasub.
52653 # FIXME: do we really want to maintain this feature?
52654 cat >>$CONFIG_STATUS <<_ACEOF
52658 cat >>$CONFIG_STATUS <<\_ACEOF
52660 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52661 s
&@configure_input@
&$configure_input&;t t
52662 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52663 s
&@srcdir@
&$ac_srcdir&;t t
52664 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52665 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52666 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52667 s
&@builddir@
&$ac_builddir&;t t
52668 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52669 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52670 s
&@INSTALL@
&$ac_INSTALL&;t t
52671 $ac_datarootdir_hack
52672 " $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
52674 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52675 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52676 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52677 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52678 which seems to be undefined. Please make sure it is defined." >&5
52679 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52680 which seems to be undefined. Please make sure it is defined." >&2;}
52684 -) cat "$tmp/out"; rm -f "$tmp/out";;
52685 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52694 # Transform confdefs.h into a sed script `conftest.defines', that
52695 # substitutes the proper values into config.h.in to produce config.h.
52696 rm -f conftest.defines conftest.
tail
52697 # First, append a space to every undef/define line, to ease matching.
52698 echo 's/$/ /' >conftest.defines
52699 # Then, protect against being on the right side of a sed subst, or in
52700 # an unquoted here document, in config.status. If some macros were
52701 # called several times there might be several #defines for the same
52702 # symbol, which is useless. But do not sort them, since the last
52703 # AC_DEFINE must be honored.
52704 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52705 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52706 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52707 # PARAMS is the parameter list in the macro definition--in most cases, it's
52708 # just an empty string.
52709 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52710 ac_dB
='\\)[ (].*,\\1define\\2'
52718 s/^[ ]*#[ ]*define[ ][ ]*//
52723 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52724 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52725 ' >>conftest.defines
52727 # Remove the space that was appended to ease matching.
52728 # Then replace #undef with comments. This is necessary, for
52729 # example, in the case of _POSIX_SOURCE, which is predefined and required
52730 # on some systems where configure will not decide to define it.
52731 # (The regexp can be short, since the line contains either #define or #undef.)
52733 s,^[ #]*u.*,/* & */,' >>conftest.defines
52735 # Break up conftest.defines:
52736 ac_max_sed_lines
=50
52738 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52739 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52740 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52742 ac_in
='$ac_file_inputs'
52743 ac_out
='"$tmp/out1"'
52744 ac_nxt
='"$tmp/out2"'
52748 # Write a here document:
52749 cat >>$CONFIG_STATUS <<_ACEOF
52750 # First, check the format of the line:
52751 cat >"\$tmp/defines.sed" <<\\CEOF
52752 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52753 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52757 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52759 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52760 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52761 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52762 grep . conftest.
tail >/dev
/null
|| break
52763 rm -f conftest.defines
52764 mv conftest.
tail conftest.defines
52766 rm -f conftest.defines conftest.
tail
52768 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52769 cat >>$CONFIG_STATUS <<\_ACEOF
52770 if test x
"$ac_file" != x
-; then
52771 echo "/* $configure_input */" >"$tmp/config.h"
52772 cat "$ac_result" >>"$tmp/config.h"
52773 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52774 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52775 echo "$as_me: $ac_file is unchanged" >&6;}
52778 mv "$tmp/config.h" $ac_file
52781 echo "/* $configure_input */"
52787 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52788 echo "$as_me: executing $ac_file commands" >&6;}
52793 case $ac_file$ac_mode in
52795 mkdir -p $outdir &&
52796 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52798 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52799 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52800 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52801 "wx-config":C
) rm -f wx
-config
52802 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52809 { (exit 0); exit 0; }
52811 chmod +x
$CONFIG_STATUS
52812 ac_clean_files
=$ac_clean_files_save
52815 # configure is writing to config.log, and then calls config.status.
52816 # config.status does its own redirection, appending to config.log.
52817 # Unfortunately, on DOS this fails, as config.log is still kept open
52818 # by configure, so config.status won't be able to write to it; its
52819 # output is simply discarded. So we exec the FD to /dev/null,
52820 # effectively closing config.log, so it can be properly (re)opened and
52821 # appended to by config.status. When coming back to configure, we
52822 # need to make the FD available again.
52823 if test "$no_create" != yes; then
52825 ac_config_status_args
=
52826 test "$silent" = yes &&
52827 ac_config_status_args
="$ac_config_status_args --quiet"
52829 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52831 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52832 # would make configure fail if this is the last instruction.
52833 $ac_cs_success || { (exit 1); exit 1; }
52837 # CONFIG_SUBDIRS section.
52839 if test "$no_recursion" != yes; then
52841 # Remove --cache-file and --srcdir arguments so they do not pile up.
52842 ac_sub_configure_args
=
52844 eval "set x $ac_configure_args"
52848 if test -n "$ac_prev"; then
52853 -cache-file | --cache-file | --cache-fil | --cache-fi \
52854 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52855 ac_prev
=cache_file
;;
52856 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52857 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52860 --config-cache | -C)
52862 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52864 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52866 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52868 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52872 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52874 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52878 # Always prepend --prefix to ensure using the same prefix
52879 # in subdir configurations.
52880 ac_arg
="--prefix=$prefix"
52882 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52884 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52887 if test "$silent" = yes; then
52888 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52892 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52894 # Do not complain, so a configure script can configure whichever
52895 # parts of a large source tree are present.
52896 test -d "$srcdir/$ac_dir" || continue
52898 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52899 echo "$as_me:$LINENO: $ac_msg" >&5
52903 -*) as_dir
=.
/$as_dir;;
52905 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52909 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52910 *) as_qdir
=$as_dir;;
52912 as_dirs
="'$as_qdir' $as_dirs"
52913 as_dir
=`$as_dirname -- "$as_dir" ||
52914 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52915 X"$as_dir" : 'X\(//\)[^/]' \| \
52916 X"$as_dir" : 'X\(//\)$' \| \
52917 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52923 /^X\(\/\/\)[^/].*/{
52936 test -d "$as_dir" && break
52938 test -z "$as_dirs" || eval "mkdir $as_dirs"
52939 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52940 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52941 { (exit 1); exit 1; }; }; }
52945 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52947 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52948 # A ".." for each directory in $ac_dir_suffix.
52949 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52950 case $ac_top_builddir_sub in
52951 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52952 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52955 ac_abs_top_builddir
=$ac_pwd
52956 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52957 # for backward compatibility:
52958 ac_top_builddir
=$ac_top_build_prefix
52961 .
) # We are building in place.
52963 ac_top_srcdir
=$ac_top_builddir_sub
52964 ac_abs_top_srcdir
=$ac_pwd ;;
52965 [\\/]* | ?
:[\\/]* ) # Absolute name.
52966 ac_srcdir
=$srcdir$ac_dir_suffix;
52967 ac_top_srcdir
=$srcdir
52968 ac_abs_top_srcdir
=$srcdir ;;
52969 *) # Relative name.
52970 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52971 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52972 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52974 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52979 # Check for guested configure; otherwise get Cygnus style configure.
52980 if test -f "$ac_srcdir/configure.gnu"; then
52981 ac_sub_configure
=$ac_srcdir/configure.gnu
52982 elif test -f "$ac_srcdir/configure"; then
52983 ac_sub_configure
=$ac_srcdir/configure
52984 elif test -f "$ac_srcdir/configure.in"; then
52985 # This should be Cygnus configure.
52986 ac_sub_configure
=$ac_aux_dir/configure
52988 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52989 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52993 # The recursion is here.
52994 if test -n "$ac_sub_configure"; then
52995 # Make the cache file name correct relative to the subdirectory.
52996 case $cache_file in
52997 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52998 *) # Relative name.
52999 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
53002 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53003 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53004 # The eval makes quoting arguments work.
53005 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53006 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53007 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53008 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53009 { (exit 1); exit 1; }; }
53018 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53020 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53021 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53023 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53024 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53025 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53026 if test "$wxUSE_UNICODE" = "yes"; then
53027 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53028 echo " (using UTF-8)"
53030 echo " (using wchar_t)"
53036 echo " What level of wxWidgets compatibility should be enabled?"
53037 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53038 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53040 echo " Which libraries should wxWidgets use?"
53041 echo " STL ${wxUSE_STL}"
53042 echo " jpeg ${wxUSE_LIBJPEG-none}"
53043 echo " png ${wxUSE_LIBPNG-none}"
53044 echo " regex ${wxUSE_REGEX}"
53045 echo " tiff ${wxUSE_LIBTIFF-none}"
53046 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53047 echo " xpm ${wxUSE_LIBXPM-none}"
53049 echo " zlib ${wxUSE_ZLIB}"
53050 echo " expat ${wxUSE_EXPAT}"
53051 echo " libmspack ${wxUSE_LIBMSPACK}"
53052 echo " sdl ${wxUSE_LIBSDL}"