2 # From configure.in Id: configure.in 55576 2008-09-12 20:57:41Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
709 LIBGNOMEPRINTUI_CFLAGS
757 SAMPLES_RPATH_POSTLINK
813 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
815 COND_BUILD_DEBUG_UNICODE_0
816 COND_BUILD_DEBUG_UNICODE_1
818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
819 COND_BUILD_RELEASE_UNICODE_0
820 COND_BUILD_RELEASE_UNICODE_1
829 COND_MONOLITHIC_0_SHARED_0
830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
839 COND_MONOLITHIC_0_SHARED_1
840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
845 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
846 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
847 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
848 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
849 COND_MONOLITHIC_0_USE_AUI_1
850 COND_MONOLITHIC_0_USE_GUI_1
851 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_HTML_1
853 COND_MONOLITHIC_0_USE_MEDIA_1
854 COND_MONOLITHIC_0_USE_PROPGRID_1
855 COND_MONOLITHIC_0_USE_QA_1
856 COND_MONOLITHIC_0_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_USE_STC_1
858 COND_MONOLITHIC_0_USE_XRC_1
860 COND_MONOLITHIC_1_SHARED_0
861 COND_MONOLITHIC_1_SHARED_1
862 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
863 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
864 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
865 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
866 COND_PLATFORM_MACOSX_1
867 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
868 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
870 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
871 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
872 COND_PLATFORM_MACOSX_1_USE_GUI_1
873 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
874 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
875 COND_PLATFORM_MACOS_1
878 COND_PLATFORM_MSDOS_0
879 COND_PLATFORM_MSDOS_1
883 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
884 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
885 COND_PLATFORM_UNIX_1_USE_GUI_1
886 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
887 COND_PLATFORM_WIN32_0
888 COND_PLATFORM_WIN32_1
890 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
891 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
892 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
893 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
895 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
897 COND_SHARED_0_USE_STC_1
898 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
899 COND_SHARED_0_WXUSE_REGEX_BUILTIN
900 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
902 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
905 COND_TOOLKIT_COCOA_USE_GUI_1
906 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_DFB_USE_GUI_1
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_USE_GUI_1
920 COND_TOOLKIT_MGL_USE_GUI_1
922 COND_TOOLKIT_MOTIF_USE_GUI_1
923 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MSW_USE_GUI_1
926 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_MSW_WXUNIV_0
928 COND_TOOLKIT_OSX_CARBON
929 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
930 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_OSX_COCOA
932 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
933 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_OSX_IPHONE
936 COND_TOOLKIT_PM_USE_GUI_1
937 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_WINCE_USE_GUI_1
940 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
941 COND_TOOLKIT_WINCE_WXUNIV_0
943 COND_TOOLKIT_X11_USE_GUI_1
945 COND_USE_EXCEPTIONS_0
946 COND_USE_EXCEPTIONS_1
949 COND_USE_GUI_1_USE_OPENGL_1
950 COND_USE_GUI_1_WXUNIV_0
951 COND_USE_GUI_1_WXUNIV_1
952 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
954 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
960 COND_USE_SOSYMLINKS_1
961 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
962 COND_USE_SOVERLINUX_1
964 COND_USE_SOVERSOLARIS_1
969 COND_WINDOWS_IMPLIB_1
970 COND_WITH_PLUGIN_SDL_1
973 COND_WXUSE_EXPAT_BUILTIN
974 COND_WXUSE_LIBJPEG_BUILTIN
975 COND_WXUSE_LIBPNG_BUILTIN
976 COND_WXUSE_LIBTIFF_BUILTIN
977 COND_WXUSE_REGEX_BUILTIN
978 COND_WXUSE_ZLIB_BUILTIN
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
1002 WXCONFIG_LDFLAGS_GUI
1014 WX_RESOURCES_MACOSX_ASCII
1015 WX_RESOURCES_MACOSX_DATA
1025 ac_precious_vars
='build_alias
1049 LIBGNOMEPRINTUI_CFLAGS
1050 LIBGNOMEPRINTUI_LIBS
1059 ac_subdirs_all
='src/tiff
1062 # Initialize some variables set by options.
1064 ac_init_version
=false
1065 # The variables have the same names as the options, with
1066 # dashes changed to underlines.
1067 cache_file
=/dev
/null
1074 program_transform_name
=s
,x
,x
,
1082 # Installation directory options.
1083 # These are left unexpanded so users can "make install exec_prefix=/foo"
1084 # and all the variables that are supposed to be based on exec_prefix
1085 # by default will actually change.
1086 # Use braces instead of parens because sh, perl, etc. also accept them.
1087 # (The list follows the same order as the GNU Coding Standards.)
1088 bindir
='${exec_prefix}/bin'
1089 sbindir
='${exec_prefix}/sbin'
1090 libexecdir
='${exec_prefix}/libexec'
1091 datarootdir
='${prefix}/share'
1092 datadir
='${datarootdir}'
1093 sysconfdir
='${prefix}/etc'
1094 sharedstatedir
='${prefix}/com'
1095 localstatedir
='${prefix}/var'
1096 includedir
='${prefix}/include'
1097 oldincludedir
='/usr/include'
1098 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1099 infodir
='${datarootdir}/info'
1104 libdir
='${exec_prefix}/lib'
1105 localedir
='${datarootdir}/locale'
1106 mandir
='${datarootdir}/man'
1112 # If the previous option needs an argument, assign it.
1113 if test -n "$ac_prev"; then
1114 eval $ac_prev=\
$ac_option
1120 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1124 # Accept the important Cygnus configure options, so we can diagnose typos.
1126 case $ac_dashdash$ac_option in
1130 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1132 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1133 bindir
=$ac_optarg ;;
1135 -build | --build | --buil | --bui | --bu)
1136 ac_prev
=build_alias
;;
1137 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1138 build_alias
=$ac_optarg ;;
1140 -cache-file | --cache-file | --cache-fil | --cache-fi \
1141 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1142 ac_prev
=cache_file
;;
1143 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1144 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1145 cache_file
=$ac_optarg ;;
1147 --config-cache | -C)
1148 cache_file
=config.cache
;;
1150 -datadir | --datadir | --datadi | --datad)
1152 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1153 datadir
=$ac_optarg ;;
1155 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1156 | --dataroo | --dataro | --datar)
1157 ac_prev
=datarootdir
;;
1158 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1159 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1160 datarootdir
=$ac_optarg ;;
1162 -disable-* | --disable-*)
1163 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1166 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1167 { (exit 1); exit 1; }; }
1168 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1169 eval enable_
$ac_feature=no
;;
1171 -docdir | --docdir | --docdi | --doc | --do)
1173 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1174 docdir
=$ac_optarg ;;
1176 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1178 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1179 dvidir
=$ac_optarg ;;
1181 -enable-* | --enable-*)
1182 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1185 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1186 { (exit 1); exit 1; }; }
1187 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1188 eval enable_
$ac_feature=\
$ac_optarg ;;
1190 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1191 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1192 | --exec | --exe | --ex)
1193 ac_prev
=exec_prefix
;;
1194 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1195 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1196 | --exec=* | --exe=* | --ex=*)
1197 exec_prefix
=$ac_optarg ;;
1199 -gas | --gas | --ga | --g)
1200 # Obsolete; use --with-gas.
1203 -help | --help | --hel | --he | -h)
1204 ac_init_help
=long
;;
1205 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1206 ac_init_help
=recursive
;;
1207 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1208 ac_init_help
=short
;;
1210 -host | --host | --hos | --ho)
1211 ac_prev
=host_alias
;;
1212 -host=* | --host=* | --hos=* | --ho=*)
1213 host_alias
=$ac_optarg ;;
1215 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1217 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1219 htmldir
=$ac_optarg ;;
1221 -includedir | --includedir | --includedi | --included | --include \
1222 | --includ | --inclu | --incl | --inc)
1223 ac_prev
=includedir
;;
1224 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1225 | --includ=* | --inclu=* | --incl=* | --inc=*)
1226 includedir
=$ac_optarg ;;
1228 -infodir | --infodir | --infodi | --infod | --info | --inf)
1230 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1231 infodir
=$ac_optarg ;;
1233 -libdir | --libdir | --libdi | --libd)
1235 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1236 libdir
=$ac_optarg ;;
1238 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1239 | --libexe | --libex | --libe)
1240 ac_prev
=libexecdir
;;
1241 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1242 | --libexe=* | --libex=* | --libe=*)
1243 libexecdir
=$ac_optarg ;;
1245 -localedir | --localedir | --localedi | --localed | --locale)
1246 ac_prev
=localedir
;;
1247 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1248 localedir
=$ac_optarg ;;
1250 -localstatedir | --localstatedir | --localstatedi | --localstated \
1251 | --localstate | --localstat | --localsta | --localst | --locals)
1252 ac_prev
=localstatedir
;;
1253 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1254 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1255 localstatedir
=$ac_optarg ;;
1257 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1259 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1260 mandir
=$ac_optarg ;;
1262 -nfp | --nfp | --nf)
1263 # Obsolete; use --without-fp.
1266 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1267 | --no-cr | --no-c | -n)
1270 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1271 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1274 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1275 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1276 | --oldin | --oldi | --old | --ol | --o)
1277 ac_prev
=oldincludedir
;;
1278 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1279 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1280 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1281 oldincludedir
=$ac_optarg ;;
1283 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1285 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1286 prefix
=$ac_optarg ;;
1288 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1289 | --program-pre | --program-pr | --program-p)
1290 ac_prev
=program_prefix
;;
1291 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1292 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1293 program_prefix
=$ac_optarg ;;
1295 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1296 | --program-suf | --program-su | --program-s)
1297 ac_prev
=program_suffix
;;
1298 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1299 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1300 program_suffix
=$ac_optarg ;;
1302 -program-transform-name | --program-transform-name \
1303 | --program-transform-nam | --program-transform-na \
1304 | --program-transform-n | --program-transform- \
1305 | --program-transform | --program-transfor \
1306 | --program-transfo | --program-transf \
1307 | --program-trans | --program-tran \
1308 | --progr-tra | --program-tr | --program-t)
1309 ac_prev
=program_transform_name
;;
1310 -program-transform-name=* | --program-transform-name=* \
1311 | --program-transform-nam=* | --program-transform-na=* \
1312 | --program-transform-n=* | --program-transform-=* \
1313 | --program-transform=* | --program-transfor=* \
1314 | --program-transfo=* | --program-transf=* \
1315 | --program-trans=* | --program-tran=* \
1316 | --progr-tra=* | --program-tr=* | --program-t=*)
1317 program_transform_name
=$ac_optarg ;;
1319 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1321 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1322 pdfdir
=$ac_optarg ;;
1324 -psdir | --psdir | --psdi | --psd | --ps)
1326 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1329 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1330 | -silent | --silent | --silen | --sile | --sil)
1333 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1335 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1337 sbindir
=$ac_optarg ;;
1339 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1340 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1341 | --sharedst | --shareds | --shared | --share | --shar \
1343 ac_prev
=sharedstatedir
;;
1344 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1345 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1346 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1348 sharedstatedir
=$ac_optarg ;;
1350 -site | --site | --sit)
1352 -site=* | --site=* | --sit=*)
1355 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1357 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1358 srcdir
=$ac_optarg ;;
1360 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1361 | --syscon | --sysco | --sysc | --sys | --sy)
1362 ac_prev
=sysconfdir
;;
1363 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1364 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1365 sysconfdir
=$ac_optarg ;;
1367 -target | --target | --targe | --targ | --tar | --ta | --t)
1368 ac_prev
=target_alias
;;
1369 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1370 target_alias
=$ac_optarg ;;
1372 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1375 -version | --version | --versio | --versi | --vers | -V)
1376 ac_init_version
=: ;;
1379 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1380 # Reject names that are not valid shell variable names.
1381 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1382 { echo "$as_me: error: invalid package name: $ac_package" >&2
1383 { (exit 1); exit 1; }; }
1384 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1385 eval with_
$ac_package=\
$ac_optarg ;;
1387 -without-* | --without-*)
1388 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1389 # Reject names that are not valid shell variable names.
1390 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1391 { echo "$as_me: error: invalid package name: $ac_package" >&2
1392 { (exit 1); exit 1; }; }
1393 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1394 eval with_
$ac_package=no
;;
1397 # Obsolete; use --with-x.
1400 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1401 | --x-incl | --x-inc | --x-in | --x-i)
1402 ac_prev
=x_includes
;;
1403 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1404 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1405 x_includes
=$ac_optarg ;;
1407 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1408 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1409 ac_prev
=x_libraries
;;
1410 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1411 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1412 x_libraries
=$ac_optarg ;;
1414 -*) { echo "$as_me: error: unrecognized option: $ac_option
1415 Try \`$0 --help' for more information." >&2
1416 { (exit 1); exit 1; }; }
1420 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1421 # Reject names that are not valid shell variable names.
1422 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1423 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1424 { (exit 1); exit 1; }; }
1425 eval $ac_envvar=\
$ac_optarg
1426 export $ac_envvar ;;
1429 # FIXME: should be removed in autoconf 3.0.
1430 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1431 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1432 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1433 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1439 if test -n "$ac_prev"; then
1440 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1441 { echo "$as_me: error: missing argument to $ac_option" >&2
1442 { (exit 1); exit 1; }; }
1445 # Be sure to have absolute directory names.
1446 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1447 datadir sysconfdir sharedstatedir localstatedir includedir \
1448 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1449 libdir localedir mandir
1451 eval ac_val
=\$
$ac_var
1453 [\\/$
]* | ?
:[\\/]* ) continue;;
1454 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1456 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1457 { (exit 1); exit 1; }; }
1460 # There might be people who depend on the old broken behavior: `$host'
1461 # used to hold the argument of --host etc.
1462 # FIXME: To remove some day.
1465 target
=$target_alias
1467 # FIXME: To remove some day.
1468 if test "x$host_alias" != x
; then
1469 if test "x$build_alias" = x
; then
1470 cross_compiling
=maybe
1471 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1472 If a cross compiler is detected then cross compile mode will be used." >&2
1473 elif test "x$build_alias" != "x$host_alias"; then
1479 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1481 test "$silent" = yes && exec 6>/dev
/null
1484 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1485 ac_ls_di
=`ls -di .` &&
1486 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1487 { echo "$as_me: error: Working directory cannot be determined" >&2
1488 { (exit 1); exit 1; }; }
1489 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1490 { echo "$as_me: error: pwd does not report name of working directory" >&2
1491 { (exit 1); exit 1; }; }
1494 # Find the source files, if location was not specified.
1495 if test -z "$srcdir"; then
1496 ac_srcdir_defaulted
=yes
1497 # Try the directory containing this script, then the parent directory.
1498 ac_confdir
=`$as_dirname -- "$0" ||
1499 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1500 X"$0" : 'X\(//\)[^/]' \| \
1501 X"$0" : 'X\(//\)$' \| \
1502 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1522 if test ! -r "$srcdir/$ac_unique_file"; then
1526 ac_srcdir_defaulted
=no
1528 if test ! -r "$srcdir/$ac_unique_file"; then
1529 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1530 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1531 { (exit 1); exit 1; }; }
1533 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1535 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1536 { (exit 1); exit 1; }; }
1538 # When building in place, set srcdir=.
1539 if test "$ac_abs_confdir" = "$ac_pwd"; then
1542 # Remove unnecessary trailing slashes from srcdir.
1543 # Double slashes in file names in object file debugging info
1544 # mess up M-x gdb in Emacs.
1546 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1548 for ac_var
in $ac_precious_vars; do
1549 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1550 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1551 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1552 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1556 # Report the --help message.
1558 if test "$ac_init_help" = "long"; then
1559 # Omit some internal or obsolete options to make the list less imposing.
1560 # This message is too long to be a string in the A/UX 3.1 sh.
1562 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1564 Usage: $0 [OPTION]... [VAR=VALUE]...
1566 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1567 VAR=VALUE. See below for descriptions of some of the useful variables.
1569 Defaults for the options are specified in brackets.
1572 -h, --help display this help and exit
1573 --help=short display options specific to this package
1574 --help=recursive display the short help of all the included packages
1575 -V, --version display version information and exit
1576 -q, --quiet, --silent do not print \`checking...' messages
1577 --cache-file=FILE cache test results in FILE [disabled]
1578 -C, --config-cache alias for \`--cache-file=config.cache'
1579 -n, --no-create do not create output files
1580 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1582 Installation directories:
1583 --prefix=PREFIX install architecture-independent files in PREFIX
1584 [$ac_default_prefix]
1585 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1588 By default, \`make install' will install all the files in
1589 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1590 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1591 for instance \`--prefix=\$HOME'.
1593 For better control, use the options below.
1595 Fine tuning of the installation directories:
1596 --bindir=DIR user executables [EPREFIX/bin]
1597 --sbindir=DIR system admin executables [EPREFIX/sbin]
1598 --libexecdir=DIR program executables [EPREFIX/libexec]
1599 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1600 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1601 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1602 --libdir=DIR object code libraries [EPREFIX/lib]
1603 --includedir=DIR C header files [PREFIX/include]
1604 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1605 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1606 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1607 --infodir=DIR info documentation [DATAROOTDIR/info]
1608 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1609 --mandir=DIR man documentation [DATAROOTDIR/man]
1610 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1611 --htmldir=DIR html documentation [DOCDIR]
1612 --dvidir=DIR dvi documentation [DOCDIR]
1613 --pdfdir=DIR pdf documentation [DOCDIR]
1614 --psdir=DIR ps documentation [DOCDIR]
1620 --x-includes=DIR X include files are
in DIR
1621 --x-libraries=DIR X library files are
in DIR
1624 --build=BUILD configure
for building on BUILD
[guessed
]
1625 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1626 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1630 if test -n "$ac_init_help"; then
1631 case $ac_init_help in
1632 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1637 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1638 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1639 --disable-gui don
't build GUI parts of the library
1640 --enable-monolithic build wxWidgets as single library
1641 --enable-plugins build parts of wxWidgets as loadable components
1642 --enable-official_build official build of wxWidgets (win32 DLL only)
1643 --enable-vendor=VENDOR vendor name (win32 DLL only)
1644 --disable-all-features disable all optional features to build minimal library
1645 --enable-universal use wxWidgets GUI controls instead of native ones
1646 --enable-nanox use NanoX
1647 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1648 --enable-gpe use GNOME PDA Environment features if possible
1649 --disable-shared create static library instead of shared
1650 --enable-debug same as debug_flag and debug_info
1651 --enable-stl use STL for containers
1652 --enable-std_iostreams use standard C++ stream classes
1653 --enable-std_string use standard C++ string classes
1654 --disable-unicode compile without Unicode support
1655 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1656 --enable-utf8 use UTF-8 representation for strings (Unix only)
1657 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1658 --enable-extended_rtti use extended RTTI (XTI)
1659 --enable-omf use OMF object format
1660 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1661 --enable-debug_info create code with debugging information
1662 --disable-optimise compile without optimisations
1663 --enable-debug_gdb create code with extra GDB debugging information
1664 --enable-debug_cntxt use wxDebugContext
1665 --enable-mem_tracing create code with memory tracing
1666 --enable-profile create code with profiling information
1667 --enable-no_rtti create code without RTTI information
1668 --enable-no_exceptions create code without C++ exceptions handling
1669 --enable-permissive compile code disregarding strict ANSI
1670 --enable-no_deps create code without dependency information
1671 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1672 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1673 --enable-compat26 enable wxWidgets
2.6 compatibility
1674 --disable-compat28 disable wxWidgets
2.8 compatibility
1675 --disable-rpath disable use of rpath
for uninstalled builds
1676 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1677 --disable-visibility disable use of ELF symbols visibility even
if supported
1678 --enable-intl use internationalization system
1679 --enable-xlocale use x
-locale support
(requires wxLocale
)
1680 --enable-config use wxConfig
(and derived
) classes
1681 --enable-protocols use wxProtocol and derived classes
1682 --enable-ftp use wxFTP
(requires wxProtocol
1683 --enable-http use wxHTTP
(requires wxProtocol
1684 --enable-fileproto use wxFileProto class
(requires wxProtocol
1685 --enable-sockets use socket
/network classes
1686 --enable-ipv6 enable IPv6 support
in wxSocket
1687 --enable-ole use OLE classes
(Win32 only
)
1688 --enable-dataobj use data object classes
1689 --enable-ipc use interprocess communication
(wxSocket etc.
)
1690 --enable-baseevtloop use event loop
in console programs too
1691 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1692 --enable-selectloop use wxSelectDispatcher class
1693 --enable-apple_ieee use the Apple IEEE codec
1694 --enable-arcstream use wxArchive streams
1695 --enable-base64 use base64 encoding
/decoding functions
1696 --enable-backtrace use wxStackWalker class
for getting backtraces
1697 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1698 --enable-cmdline use wxCmdLineParser class
1699 --enable-datetime use wxDateTime class
1700 --enable-debugreport use wxDebugReport class
1701 --enable-dialupman use dialup network classes
1702 --enable-dynlib use wxLibrary class
for DLL loading
1703 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1704 --enable-exceptions build exception
-safe library
1705 --enable-ffile use wxFFile class
1706 --enable-file use wxFile class
1707 --enable-filesystem use virtual
file systems classes
1708 --enable-fontenum use wxFontEnumerator class
1709 --enable-fontmap use font encodings conversion classes
1710 --enable-fs_archive use virtual archive filesystems
1711 --enable-fs_inet use virtual HTTP
/FTP filesystems
1712 --enable-fs_zip now replaced by fs_archive
1713 --enable-geometry use geometry class
1714 --enable-log use logging system
1715 --enable-longlong use wxLongLong class
1716 --enable-mimetype use wxMimeTypesManager
1717 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1718 --enable-snglinst use wxSingleInstanceChecker class
1719 --enable-sound use wxSound class
1720 --enable-stdpaths use wxStandardPaths class
1721 --enable-stopwatch use wxStopWatch class
1722 --enable-streams use wxStream etc classes
1723 --enable-sysoptions use wxSystemOptions
1724 --enable-tarstream use wxTar streams
1725 --enable-textbuf use wxTextBuffer class
1726 --enable-textfile use wxTextFile class
1727 --enable-timer use wxTimer class
1728 --enable-variant use wxVariant class
1729 --enable-zipstream use wxZip streams
1730 --enable-url use wxURL class
1731 --enable-protocol use wxProtocol class
1732 --enable-protocol-http HTTP support
in wxProtocol
1733 --enable-protocol-ftp FTP support
in wxProtocol
1734 --enable-protocol-file FILE support
in wxProtocol
1735 --enable-threads use threads
1736 --enable-iniconf use wxIniConfig
(Win32 only
)
1737 --enable-regkey use wxRegKey class
(Win32 only
)
1738 --enable-docview use document view architecture
1739 --enable-help use
help subsystem
1740 --enable-mshtmlhelp use MS HTML Help
(win32
)
1741 --enable-html use wxHTML sub
-library
1742 --enable-htmlhelp use wxHTML
-based help
1743 --enable-xrc use XRC resources sub
-library
1744 --enable-aui use AUI docking library
1745 --enable-propgrid use wxPropertyGrid library
1746 --enable-stc use wxStyledTextCtrl library
1747 --enable-constraints use layout
-constraints system
1748 --enable-loggui use standard GUI logger
1749 --enable-logwin use wxLogWindow
1750 --enable-logdialog use wxLogDialog
1751 --enable-mdi use multiple document interface architecture
1752 --enable-mdidoc use docview architecture with MDI
1753 --enable-mediactrl use wxMediaCtrl class
1754 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1755 --enable-webkit use wxWebKitCtrl
(Mac
)
1756 --enable-richtext use wxRichTextCtrl
1757 --enable-graphics_ctx use graphics context
2D drawing API
1758 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1759 --enable-printarch use printing architecture
1760 --enable-svg use wxSVGFileDC device context
1761 --enable-clipboard use wxClipboard class
1762 --enable-dnd use Drag
'n'Drop classes
1763 --enable-metafile use win32 metafiles
1764 --disable-controls disable compilation of all standard controls
1765 --enable-accel use accelerators
1766 --enable-animatectrl use wxAnimationCtrl class
1767 --enable-button use wxButton class
1768 --enable-bmpbutton use wxBitmapButton class
1769 --enable-bmpcombobox use wxBitmapComboBox class
1770 --enable-calendar use wxCalendarCtrl class
1771 --enable-caret use wxCaret class
1772 --enable-checkbox use wxCheckBox class
1773 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1774 --enable-choice use wxChoice class
1775 --enable-choicebook use wxChoicebook class
1776 --enable-collpane use wxCollapsiblePane class
1777 --enable-colourpicker use wxColourPickerCtrl class
1778 --enable-combobox use wxComboBox class
1779 --enable-comboctrl use wxComboCtrl class
1780 --enable-datepick use wxDatePickerCtrl class
1781 --enable-dirpicker use wxDirPickerCtrl class
1782 --enable-display use wxDisplay class
1783 --enable-detect_sm use code to detect X11 session manager
1784 --enable-editablebox use wxEditableListBox class
1785 --enable-filepicker use wxFilePickerCtrl class
1786 --enable-filectrl use wxFileCtrl class
1787 --enable-fontpicker use wxFontPickerCtrl class
1788 --enable-gauge use wxGauge class
1789 --enable-grid use wxGrid class
1790 --enable-dataviewctrl use wxDataViewCtrl class
1791 --enable-hyperlink use wxHyperlinkCtrl class
1792 --enable-imaglist use wxImageList class
1793 --enable-listbook use wxListbook class
1794 --enable-listbox use wxListBox class
1795 --enable-listctrl use wxListCtrl class
1796 --enable-notebook use wxNotebook class
1797 --enable-notifmsg use wxNotificationMessage class
1798 --enable-odcombobox use wxOwnerDrawnComboBox class
1799 --enable-radiobox use wxRadioBox class
1800 --enable-radiobtn use wxRadioButton class
1801 --enable-sash use wxSashWindow class
1802 --enable-scrollbar use wxScrollBar class and scrollable windows
1803 --enable-searchctrl use wxSearchCtrl class
1804 --enable-slider use wxSlider class
1805 --enable-spinbtn use wxSpinButton class
1806 --enable-spinctrl use wxSpinCtrl class
1807 --enable-splitter use wxSplitterWindow class
1808 --enable-statbmp use wxStaticBitmap class
1809 --enable-statbox use wxStaticBox class
1810 --enable-statline use wxStaticLine class
1811 --enable-stattext use wxStaticText class
1812 --enable-statusbar use wxStatusBar class
1813 --enable-tabdialog use wxTabControl class
1814 --enable-taskbaricon use wxTaskBarIcon class
1815 --enable-textctrl use wxTextCtrl class
1816 --enable-togglebtn use wxToggleButton class
1817 --enable-toolbar use wxToolBar class
1818 --enable-tbarnative use native wxToolBar class
1819 --enable-treebook use wxTreebook class
1820 --enable-toolbook use wxToolbook class
1821 --enable-treectrl use wxTreeCtrl class
1822 --enable-tipwindow use wxTipWindow class
1823 --enable-popupwin use wxPopUpWindow class
1824 --enable-commondlg use all common dialogs
1825 --enable-aboutdlg use wxAboutBox
1826 --enable-choicedlg use wxChoiceDialog
1827 --enable-coldlg use wxColourDialog
1828 --enable-filedlg use wxFileDialog
1829 --enable-finddlg use wxFindReplaceDialog
1830 --enable-fontdlg use wxFontDialog
1831 --enable-dirdlg use wxDirDialog
1832 --enable-msgdlg use wxMessageDialog
1833 --enable-numberdlg use wxNumberEntryDialog
1834 --enable-splash use wxSplashScreen
1835 --enable-textdlg use wxTextDialog
1836 --enable-tipdlg use startup tips
1837 --enable-progressdlg use wxProgressDialog
1838 --enable-wizarddlg use wxWizard
1839 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1840 --enable-miniframe use wxMiniFrame class
1841 --enable-tooltips use wxToolTip class
1842 --enable-splines use spline drawing code
1843 --enable-mousewheel use mousewheel
1844 --enable-validators use wxValidator and derived classes
1845 --enable-busyinfo use wxBusyInfo
1846 --enable-joystick use wxJoystick
1847 --enable-metafiles use wxMetaFile
(Win32 only
)
1848 --enable-dragimage use wxDragImage
1849 --enable-accessibility enable accessibility support
1850 --enable-palette use wxPalette class
1851 --enable-image use wxImage class
1852 --enable-gif use gif images
(GIF
file format
)
1853 --enable-pcx use pcx images
(PCX
file format
)
1854 --enable-tga use tga images
(TGA
file format
)
1855 --enable-iff use iff images
(IFF
file format
)
1856 --enable-pnm use pnm images
(PNM
file format
)
1857 --enable-xpm use xpm images
(XPM
file format
)
1858 --enable-ico_cur use Windows ICO and CUR formats
1859 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1860 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1861 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1862 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1863 --enable-wxdib use wxDIB class
(Win32 only
)
1864 --enable-autoidman use automatic ids management
1865 --disable-largefile omit support
for large files
1866 --disable-gtktest do not try to compile and run a
test GTK
+ program
1867 --disable-gtktest Do not try to compile and run a
test GTK program
1868 --disable-sdltest Do not try to compile and run a
test SDL program
1869 --enable-omf use OMF object format
(OS
/2)
1870 --disable-dependency-tracking
1871 don
't use dependency tracking even if the compiler
1873 --disable-precomp-headers
1874 don't use precompiled headers even
if compiler can
1877 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1878 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1879 --without-subdirs don
't generate makefiles for samples/demos/...
1880 --with-flavour=NAME specify a name to identify this build
1881 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1882 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1883 --with-motif use Motif/Lesstif
1884 --with-osx_carbon use Mac OS X (Carbon)
1885 --with-osx_cocoa use Mac OS X (Cocoa)
1886 --with-mac use Mac OS X (Default)
1887 --with-cocoa use Cocoa
1888 --with-wine use Wine
1889 --with-msw use MS-Windows
1890 --with-pm use OS/2 Presentation Manager
1891 --with-mgl use SciTech MGL
1892 --with-directfb use DirectFB
1893 --with-microwin use MicroWindows
1895 --with-libpng use libpng (PNG image format)
1896 --with-libjpeg use libjpeg (JPEG file format)
1897 --with-libtiff use libtiff (TIFF file format)
1898 --with-libxpm use libxpm (XPM file format)
1899 --with-libiconv use libiconv (character conversion)
1900 --with-libmspack use libmspack (CHM help files loading)
1901 --without-gtkprint don't use GTK printing support
1902 --without-gnomeprint don
't use GNOME printing libraries
1903 --with-gnomevfs use GNOME VFS for associating MIME types
1904 --with-hildon use Hildon framework for Nokia 770
1905 --with-opengl use OpenGL (or Mesa)
1906 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1907 --with-sdl use SDL for audio on Unix
1908 --with-regex enable support for wxRegEx class
1909 --with-zlib use zlib for LZW compression
1910 --with-expat enable XML support using expat parser
1911 --with-macosx-sdk=PATH use an OS X SDK at PATH
1912 --with-macosx-version-min=VER build binaries which require at least this OS X version
1913 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1914 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1915 --with-x use the X Window System
1916 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1917 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1918 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1919 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1920 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1922 Some influential environment variables:
1923 CC C compiler command
1924 CFLAGS C compiler flags
1925 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1926 nonstandard directory <lib dir>
1927 LIBS libraries to pass to the linker, e.g. -l<library>
1928 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1929 you have headers in a nonstandard directory <include dir>
1931 CXX C++ compiler command
1932 CXXFLAGS C++ compiler flags
1933 PKG_CONFIG path to pkg-config utility
1935 C compiler flags for DIRECTFB, overriding pkg-config
1937 linker flags for DIRECTFB, overriding pkg-config
1938 XMKMF Path to xmkmf, Makefile generator for X Window System
1940 C compiler flags for PANGOX, overriding pkg-config
1941 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1943 C compiler flags for PANGOFT2, overriding pkg-config
1945 linker flags for PANGOFT2, overriding pkg-config
1947 C compiler flags for PANGOXFT, overriding pkg-config
1949 linker flags for PANGOXFT, overriding pkg-config
1951 C compiler flags for GTKPRINT, overriding pkg-config
1953 linker flags for GTKPRINT, overriding pkg-config
1954 LIBGNOMEPRINTUI_CFLAGS
1955 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1956 LIBGNOMEPRINTUI_LIBS
1957 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1959 C compiler flags for GNOMEVFS, overriding pkg-config
1961 linker flags for GNOMEVFS, overriding pkg-config
1963 C compiler flags for HILDON, overriding pkg-config
1964 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1966 C compiler flags for CAIRO, overriding pkg-config
1967 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1968 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1969 GST_LIBS linker flags for GST, overriding pkg-config
1971 Use these variables to override the choices made by `configure' or to
help
1972 it to
find libraries and programs with nonstandard names
/locations.
1974 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1979 if test "$ac_init_help" = "recursive"; then
1980 # If there are subdirs, report their specific --help.
1981 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1982 test -d "$ac_dir" || continue
1986 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1988 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1989 # A ".." for each directory in $ac_dir_suffix.
1990 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1991 case $ac_top_builddir_sub in
1992 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1993 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1996 ac_abs_top_builddir
=$ac_pwd
1997 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1998 # for backward compatibility:
1999 ac_top_builddir
=$ac_top_build_prefix
2002 .
) # We are building in place.
2004 ac_top_srcdir
=$ac_top_builddir_sub
2005 ac_abs_top_srcdir
=$ac_pwd ;;
2006 [\\/]* | ?
:[\\/]* ) # Absolute name.
2007 ac_srcdir
=$srcdir$ac_dir_suffix;
2008 ac_top_srcdir
=$srcdir
2009 ac_abs_top_srcdir
=$srcdir ;;
2011 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2012 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2013 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2015 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2017 cd "$ac_dir" || { ac_status
=$?
; continue; }
2018 # Check for guested configure.
2019 if test -f "$ac_srcdir/configure.gnu"; then
2021 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2022 elif test -f "$ac_srcdir/configure"; then
2024 $SHELL "$ac_srcdir/configure" --help=recursive
2026 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2028 cd "$ac_pwd" || { ac_status
=$?
; break; }
2032 test -n "$ac_init_help" && exit $ac_status
2033 if $ac_init_version; then
2035 wxWidgets configure
2.9.0
2036 generated by GNU Autoconf
2.61
2038 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2039 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2040 This configure
script is free software
; the Free Software Foundation
2041 gives unlimited permission to copy
, distribute and modify it.
2045 cat >config.log
<<_ACEOF
2046 This file contains any messages produced by compilers while
2047 running configure, to aid debugging if configure makes a mistake.
2049 It was created by wxWidgets $as_me 2.9.0, which was
2050 generated by GNU Autoconf 2.61. Invocation command line was
2062 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2063 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2064 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2065 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2066 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2068 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2069 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2071 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2072 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2073 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2074 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2075 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2076 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2077 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2085 test -z "$as_dir" && as_dir
=.
2086 echo "PATH: $as_dir"
2102 # Keep a trace of the command line.
2103 # Strip out --no-create and --no-recursion so they do not pile up.
2104 # Strip out --silent because we don't want to record it for future runs.
2105 # Also quote any args containing shell meta-characters.
2106 # Make two passes to allow for proper duplicate-argument suppression.
2110 ac_must_keep_next
=false
2116 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2117 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2118 | -silent | --silent | --silen | --sile | --sil)
2121 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2124 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2126 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2127 if test $ac_must_keep_next = true
; then
2128 ac_must_keep_next
=false
# Got value, back to normal.
2131 *=* | --config-cache | -C | -disable-* | --disable-* \
2132 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2133 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2134 | -with-* | --with-* | -without-* | --without-* | --x)
2135 case "$ac_configure_args0 " in
2136 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2139 -* ) ac_must_keep_next
=true
;;
2142 ac_configure_args
="$ac_configure_args '$ac_arg'"
2147 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2148 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2150 # When interrupted or exit'd, cleanup temporary files, and complete
2151 # config.log. We remove comments because anyway the quotes in there
2152 # would cause problems or look ugly.
2153 # WARNING: Use '\'' to represent an apostrophe within the trap.
2154 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2155 trap 'exit_status=$?
2156 # Save into config.log some information that might help in debugging.
2161 ## ---------------- ##
2162 ## Cache variables. ##
2163 ## ---------------- ##
2166 # The following way of writing the cache mishandles newlines in values,
2168 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2169 eval ac_val=\$$ac_var
2173 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2174 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2177 _ | IFS | as_nl) ;; #(
2178 *) $as_unset $ac_var ;;
2183 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2184 *${as_nl}ac_space=\ *)
2186 "s/'\''/'\''\\\\'\'''\''/g;
2187 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2190 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2198 ## ----------------- ##
2199 ## Output variables. ##
2200 ## ----------------- ##
2203 for ac_var in $ac_subst_vars
2205 eval ac_val=\$$ac_var
2207 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2209 echo "$ac_var='\''$ac_val'\''"
2213 if test -n "$ac_subst_files"; then
2215 ## ------------------- ##
2216 ## File substitutions. ##
2217 ## ------------------- ##
2220 for ac_var
in $ac_subst_files
2222 eval ac_val
=\$
$ac_var
2224 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226 echo "$ac_var='\''$ac_val'\''"
2231 if test -s confdefs.h; then
2241 test "$ac_signal" != 0 &&
2242 echo "$as_me: caught signal $ac_signal"
2243 echo "$as_me: exit $exit_status"
2245 rm -f core *.core core.conftest.* &&
2246 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2249 for ac_signal
in 1 2 13 15; do
2250 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2254 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2255 rm -f -r conftest
* confdefs.h
2257 # Predefined preprocessor variables.
2259 cat >>confdefs.h
<<_ACEOF
2260 #define PACKAGE_NAME "$PACKAGE_NAME"
2264 cat >>confdefs.h
<<_ACEOF
2265 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2269 cat >>confdefs.h
<<_ACEOF
2270 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2274 cat >>confdefs.h
<<_ACEOF
2275 #define PACKAGE_STRING "$PACKAGE_STRING"
2279 cat >>confdefs.h
<<_ACEOF
2280 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2284 # Let the site file select an alternate cache file if it wants to.
2285 # Prefer explicitly selected file to automatically selected ones.
2286 if test -n "$CONFIG_SITE"; then
2287 set x
"$CONFIG_SITE"
2288 elif test "x$prefix" != xNONE
; then
2289 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2291 set x
"$ac_default_prefix/share/config.site" \
2292 "$ac_default_prefix/etc/config.site"
2297 if test -r "$ac_site_file"; then
2298 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2299 echo "$as_me: loading site script $ac_site_file" >&6;}
2300 sed 's/^/| /' "$ac_site_file" >&5
2305 if test -r "$cache_file"; then
2306 # Some versions of bash will fail to source /dev/null (special
2307 # files actually), so we avoid doing that.
2308 if test -f "$cache_file"; then
2309 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2310 echo "$as_me: loading cache $cache_file" >&6;}
2312 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2313 *) .
"./$cache_file";;
2317 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2318 echo "$as_me: creating cache $cache_file" >&6;}
2322 # Check that the precious variables saved in the cache have kept the same
2324 ac_cache_corrupted
=false
2325 for ac_var
in $ac_precious_vars; do
2326 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2327 eval ac_new_set
=\
$ac_env_${ac_var}_set
2328 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2329 eval ac_new_val
=\
$ac_env_${ac_var}_value
2330 case $ac_old_set,$ac_new_set in
2332 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2333 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2334 ac_cache_corrupted
=: ;;
2336 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2337 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2338 ac_cache_corrupted
=: ;;
2341 if test "x$ac_old_val" != "x$ac_new_val"; then
2342 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2343 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2344 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2345 echo "$as_me: former value: $ac_old_val" >&2;}
2346 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2347 echo "$as_me: current value: $ac_new_val" >&2;}
2348 ac_cache_corrupted
=:
2351 # Pass precious variables to config.status.
2352 if test "$ac_new_set" = set; then
2354 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2355 *) ac_arg
=$ac_var=$ac_new_val ;;
2357 case " $ac_configure_args " in
2358 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2359 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2363 if $ac_cache_corrupted; then
2364 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2365 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2366 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2367 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2368 { (exit 1); exit 1; }; }
2396 ac_cpp
='$CPP $CPPFLAGS'
2397 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2398 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2399 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2406 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2407 if test -f "$ac_dir/install-sh"; then
2409 ac_install_sh
="$ac_aux_dir/install-sh -c"
2411 elif test -f "$ac_dir/install.sh"; then
2413 ac_install_sh
="$ac_aux_dir/install.sh -c"
2415 elif test -f "$ac_dir/shtool"; then
2417 ac_install_sh
="$ac_aux_dir/shtool install -c"
2421 if test -z "$ac_aux_dir"; then
2422 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2423 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2424 { (exit 1); exit 1; }; }
2427 # These three variables are undocumented and unsupported,
2428 # and are intended to be withdrawn in a future Autoconf release.
2429 # They can cause serious problems if a builder's source tree is in a directory
2430 # whose full name contains unusual characters.
2431 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2432 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2433 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2436 # Make sure we can run config.sub.
2437 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2438 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2439 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2440 { (exit 1); exit 1; }; }
2442 { echo "$as_me:$LINENO: checking build system type" >&5
2443 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2444 if test "${ac_cv_build+set}" = set; then
2445 echo $ECHO_N "(cached) $ECHO_C" >&6
2447 ac_build_alias
=$build_alias
2448 test "x$ac_build_alias" = x
&&
2449 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2450 test "x$ac_build_alias" = x
&&
2451 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2452 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2453 { (exit 1); exit 1; }; }
2454 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2455 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2456 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2457 { (exit 1); exit 1; }; }
2460 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2461 echo "${ECHO_T}$ac_cv_build" >&6; }
2462 case $ac_cv_build in
2464 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2465 echo "$as_me: error: invalid value of canonical build" >&2;}
2466 { (exit 1); exit 1; }; };;
2469 ac_save_IFS
=$IFS; IFS
='-'
2475 # Remember, the first character of IFS is used to create $*,
2476 # except with old shells:
2479 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2482 { echo "$as_me:$LINENO: checking host system type" >&5
2483 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2484 if test "${ac_cv_host+set}" = set; then
2485 echo $ECHO_N "(cached) $ECHO_C" >&6
2487 if test "x$host_alias" = x
; then
2488 ac_cv_host
=$ac_cv_build
2490 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2491 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2492 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2493 { (exit 1); exit 1; }; }
2497 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2498 echo "${ECHO_T}$ac_cv_host" >&6; }
2501 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2502 echo "$as_me: error: invalid value of canonical host" >&2;}
2503 { (exit 1); exit 1; }; };;
2506 ac_save_IFS
=$IFS; IFS
='-'
2512 # Remember, the first character of IFS is used to create $*,
2513 # except with old shells:
2516 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2519 { echo "$as_me:$LINENO: checking target system type" >&5
2520 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2521 if test "${ac_cv_target+set}" = set; then
2522 echo $ECHO_N "(cached) $ECHO_C" >&6
2524 if test "x$target_alias" = x
; then
2525 ac_cv_target
=$ac_cv_host
2527 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2528 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2529 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2530 { (exit 1); exit 1; }; }
2534 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2535 echo "${ECHO_T}$ac_cv_target" >&6; }
2536 case $ac_cv_target in
2538 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2539 echo "$as_me: error: invalid value of canonical target" >&2;}
2540 { (exit 1); exit 1; }; };;
2542 target
=$ac_cv_target
2543 ac_save_IFS
=$IFS; IFS
='-'
2549 # Remember, the first character of IFS is used to create $*,
2550 # except with old shells:
2553 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2556 # The aliases save the names the user supplied, while $host etc.
2557 # will get canonicalized.
2558 test -n "$target_alias" &&
2559 test "$program_prefix$program_suffix$program_transform_name" = \
2561 program_prefix
=${target_alias}-
2565 wx_major_version_number
=2
2566 wx_minor_version_number
=9
2568 wx_subrelease_number
=0
2570 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2571 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2572 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2574 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2577 wx_top_builddir
="`pwd`"
2590 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2596 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2602 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2604 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2606 DEFAULT_wxUSE_COCOA
=0
2608 DEFAULT_wxUSE_OSX_CARBON
=0
2609 DEFAULT_wxUSE_OSX_COCOA
=0
2611 DEFAULT_wxUSE_MICROWIN
=0
2612 DEFAULT_wxUSE_MOTIF
=0
2618 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2619 DEFAULT_DEFAULT_wxUSE_GTK
=0
2620 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2621 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2622 DEFAULT_DEFAULT_wxUSE_MGL
=0
2623 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2624 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2625 DEFAULT_DEFAULT_wxUSE_MSW
=0
2626 DEFAULT_DEFAULT_wxUSE_PM
=0
2627 DEFAULT_DEFAULT_wxUSE_X11
=0
2628 DEFAULT_DEFAULT_wxUSE_DFB
=0
2633 SAMPLES_RPATH_POSTLINK
=
2635 DEFAULT_STD_FLAG
=yes
2640 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2641 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2643 cat >>confdefs.h
<<\_ACEOF
2648 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2652 cat >>confdefs.h
<<\_ACEOF
2657 if test "x$TMP" = "xalpha"; then
2659 cat >>confdefs.h
<<\_ACEOF
2664 DEFAULT_DEFAULT_wxUSE_GTK
=1
2666 *-*-gnu* | *-*-k*bsd
*-gnu )
2669 if test "x$TMP" = "xalpha"; then
2671 cat >>confdefs.h
<<\_ACEOF
2676 DEFAULT_DEFAULT_wxUSE_GTK
=1
2678 *-*-irix5* | *-*-irix6* )
2681 cat >>confdefs.h
<<\_ACEOF
2685 cat >>confdefs.h
<<\_ACEOF
2689 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2695 cat >>confdefs.h
<<\_ACEOF
2699 cat >>confdefs.h
<<\_ACEOF
2700 #define __SOLARIS__ 1
2703 cat >>confdefs.h
<<\_ACEOF
2707 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2708 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2714 cat >>confdefs.h
<<\_ACEOF
2718 cat >>confdefs.h
<<\_ACEOF
2722 cat >>confdefs.h
<<\_ACEOF
2726 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2731 cat >>confdefs.h
<<\_ACEOF
2732 #define __FREEBSD__ 1
2735 cat >>confdefs.h
<<\_ACEOF
2739 DEFAULT_DEFAULT_wxUSE_GTK
=1
2741 *-*-openbsd*|*-*-mirbsd*)
2744 cat >>confdefs.h
<<\_ACEOF
2745 #define __OPENBSD__ 1
2748 cat >>confdefs.h
<<\_ACEOF
2752 DEFAULT_DEFAULT_wxUSE_GTK
=1
2757 cat >>confdefs.h
<<\_ACEOF
2758 #define __NETBSD__ 1
2761 cat >>confdefs.h
<<\_ACEOF
2765 DEFAULT_DEFAULT_wxUSE_GTK
=1
2766 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2768 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2773 cat >>confdefs.h
<<\_ACEOF
2777 cat >>confdefs.h
<<\_ACEOF
2781 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2782 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2787 cat >>confdefs.h
<<\_ACEOF
2791 cat >>confdefs.h
<<\_ACEOF
2795 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2800 cat >>confdefs.h
<<\_ACEOF
2804 cat >>confdefs.h
<<\_ACEOF
2808 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2815 cat >>confdefs.h
<<\_ACEOF
2819 cat >>confdefs.h
<<\_ACEOF
2823 cat >>confdefs.h
<<\_ACEOF
2827 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2834 cat >>confdefs.h
<<\_ACEOF
2835 #define __UNIXWARE__ 1
2840 *-*-cygwin* | *-*-mingw32* )
2843 DEFAULT_DEFAULT_wxUSE_MSW
=1
2849 cat >>confdefs.h
<<\_ACEOF
2854 DEFAULT_DEFAULT_wxUSE_MGL
=1
2857 *-pc-os2_emx | *-pc-os2-emx )
2858 cat >>confdefs.h
<<\_ACEOF
2863 cat >>confdefs.h
<<\_ACEOF
2868 DEFAULT_DEFAULT_wxUSE_PM
=1
2870 LDFLAGS
="$LDFLAGS -Zcrtdll"
2871 ac_executable_extensions
=".exe"
2872 export ac_executable_extensions
2876 for ac_dir
in $PATH; do
2878 if test -z "$ac_TEMP_PATH"; then
2879 ac_TEMP_PATH
="$ac_dir"
2881 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2884 export PATH
="$ac_TEMP_PATH"
2893 cat >>confdefs.h
<<\_ACEOF
2897 cat >>confdefs.h
<<\_ACEOF
2898 #define __DARWIN__ 1
2901 cat >>confdefs.h
<<\_ACEOF
2902 #define TARGET_CARBON 1
2905 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2908 powerpc
-apple-macos* )
2910 ac_cv_c_bigendian
=yes
2912 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2918 cat >>confdefs.h
<<\_ACEOF
2925 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2926 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2927 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2928 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2930 DEFAULT_DEFAULT_wxUSE_X11
=1
2931 DEFAULT_wxUSE_SHARED
=no
2936 DEFAULT_wxUSE_ALL_FEATURES
=yes
2938 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2939 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2941 DEFAULT_wxUSE_DMALLOC
=no
2942 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2943 DEFAULT_wxUSE_LIBHILDON
=no
2944 DEFAULT_wxUSE_LIBMSPACK
=no
2945 DEFAULT_wxUSE_LIBSDL
=no
2946 DEFAULT_wxUSE_OPENGL
=no
2948 DEFAULT_wxUSE_ACCESSIBILITY
=no
2949 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2950 DEFAULT_wxUSE_IPV6
=no
2951 DEFAULT_wxUSE_MEDIACTRL
=no
2952 DEFAULT_wxUSE_TAB_DIALOG
=no
2953 DEFAULT_wxUSE_GSTREAMER8
=no
2955 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2956 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2958 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2960 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2962 DEFAULT_wxUSE_GTK2
=yes
2964 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2970 enablestring
=disable
2972 if test -z "$defaultval"; then
2973 if test x
"$enablestring" = xdisable
; then
2980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2981 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2982 # Check whether --enable-gui was given.
2983 if test "${enable_gui+set}" = set; then
2984 enableval
=$enable_gui;
2985 if test "$enableval" = yes; then
2986 wx_cv_use_gui
='wxUSE_GUI=yes'
2988 wx_cv_use_gui
='wxUSE_GUI=no'
2993 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2998 eval "$wx_cv_use_gui"
3000 if test x"$enablestring" = xdisable; then
3001 if test $wxUSE_GUI = yes; then
3010 { echo "$as_me:$LINENO: result: $result" >&5
3011 echo "${ECHO_T}$result" >&6; }
3016 if test -z "$defaultval"; then
3017 if test x"$enablestring" = xdisable; then
3024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3025 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3026 # Check whether --enable-monolithic was given.
3027 if test "${enable_monolithic+set}" = set; then
3028 enableval=$enable_monolithic;
3029 if test "$enableval" = yes; then
3030 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3032 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3037 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3042 eval "$wx_cv_use_monolithic"
3044 if test x"$enablestring" = xdisable; then
3045 if test $wxUSE_MONOLITHIC = yes; then
3051 result=$wxUSE_MONOLITHIC
3054 { echo "$as_me:$LINENO: result
: $result" >&5
3055 echo "${ECHO_T}$result" >&6; }
3060 if test -z "$defaultval"; then
3061 if test x"$enablestring" = xdisable; then
3068 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3069 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3070 # Check whether --enable-plugins was given.
3071 if test "${enable_plugins+set}" = set; then
3072 enableval=$enable_plugins;
3073 if test "$enableval" = yes; then
3074 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3076 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3081 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3086 eval "$wx_cv_use_plugins"
3088 if test x
"$enablestring" = xdisable
; then
3089 if test $wxUSE_PLUGINS = yes; then
3095 result
=$wxUSE_PLUGINS
3098 { echo "$as_me:$LINENO: result: $result" >&5
3099 echo "${ECHO_T}$result" >&6; }
3103 defaultval
=$wxUSE_ALL_FEATURES
3104 if test -z "$defaultval"; then
3105 if test x
"$withstring" = xwithout
; then
3111 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3112 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3114 # Check whether --with-subdirs was given.
3115 if test "${with_subdirs+set}" = set; then
3116 withval
=$with_subdirs;
3117 if test "$withval" = yes; then
3118 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3120 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3125 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3130 eval "$wx_cv_use_subdirs"
3132 if test x"$withstring" = xwithout; then
3133 if test $wxWITH_SUBDIRS = yes; then
3139 result=$wxWITH_SUBDIRS
3142 { echo "$as_me:$LINENO: result: $result" >&5
3143 echo "${ECHO_T}$result" >&6; }
3146 # Check whether --with-flavour was given.
3147 if test "${with_flavour+set}" = set; then
3148 withval=$with_flavour; WX_FLAVOUR="$withval"
3154 if test -z "$defaultval"; then
3155 if test x"$enablestring" = xdisable; then
3162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3163 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3164 # Check whether --enable-official_build was given.
3165 if test "${enable_official_build+set}" = set; then
3166 enableval=$enable_official_build;
3167 if test "$enableval" = yes; then
3168 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3170 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3175 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3180 eval "$wx_cv_use_official_build"
3182 if test x"$enablestring" = xdisable; then
3183 if test $wxUSE_OFFICIAL_BUILD = yes; then
3189 result=$wxUSE_OFFICIAL_BUILD
3192 { echo "$as_me:$LINENO: result
: $result" >&5
3193 echo "${ECHO_T}$result" >&6; }
3195 # Check whether --enable-vendor was given.
3196 if test "${enable_vendor+set}" = set; then
3197 enableval=$enable_vendor; VENDOR="$enableval"
3200 if test "x
$VENDOR" = "x
"; then
3205 enablestring=disable
3207 if test -z "$defaultval"; then
3208 if test x"$enablestring" = xdisable; then
3215 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3216 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3217 # Check whether --enable-all-features was given.
3218 if test "${enable_all_features+set}" = set; then
3219 enableval=$enable_all_features;
3220 if test "$enableval" = yes; then
3221 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3223 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3228 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3233 eval "$wx_cv_use_all_features"
3235 if test x
"$enablestring" = xdisable
; then
3236 if test $wxUSE_ALL_FEATURES = yes; then
3242 result
=$wxUSE_ALL_FEATURES
3245 { echo "$as_me:$LINENO: result: $result" >&5
3246 echo "${ECHO_T}$result" >&6; }
3250 if test "$wxUSE_GUI" = "yes"; then
3255 if test -z "$defaultval"; then
3256 if test x
"$enablestring" = xdisable
; then
3263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3264 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3265 # Check whether --enable-universal was given.
3266 if test "${enable_universal+set}" = set; then
3267 enableval
=$enable_universal;
3268 if test "$enableval" = yes; then
3269 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3271 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3276 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3281 eval "$wx_cv_use_universal"
3283 if test x"$enablestring" = xdisable; then
3284 if test $wxUSE_UNIVERSAL = yes; then
3290 result=$wxUSE_UNIVERSAL
3293 { echo "$as_me:$LINENO: result: $result" >&5
3294 echo "${ECHO_T}$result" >&6; }
3296 if test "$wxUSE_UNIVERSAL" = "yes"; then
3298 # Check whether --with-themes was given.
3299 if test "${with_themes+set}" = set; then
3300 withval=$with_themes; wxUNIV_THEMES="$withval"
3306 # Check whether --with-gtk was given.
3307 if test "${with_gtk+set}" = set; then
3308 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3312 # Check whether --with-motif was given.
3313 if test "${with_motif+set}" = set; then
3314 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3318 # Check whether --with-osx_carbon was given.
3319 if test "${with_osx_carbon+set}" = set; then
3320 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3324 # Check whether --with-osx_cocoa was given.
3325 if test "${with_osx_cocoa+set}" = set; then
3326 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3330 # Check whether --with-mac was given.
3331 if test "${with_mac+set}" = set; then
3332 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3336 # Check whether --with-cocoa was given.
3337 if test "${with_cocoa+set}" = set; then
3338 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3342 # Check whether --with-wine was given.
3343 if test "${with_wine+set}" = set; then
3344 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3348 # Check whether --with-msw was given.
3349 if test "${with_msw+set}" = set; then
3350 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3354 # Check whether --with-pm was given.
3355 if test "${with_pm+set}" = set; then
3356 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3360 # Check whether --with-mgl was given.
3361 if test "${with_mgl+set}" = set; then
3362 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3366 # Check whether --with-directfb was given.
3367 if test "${with_directfb+set}" = set; then
3368 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3372 # Check whether --with-microwin was given.
3373 if test "${with_microwin+set}" = set; then
3374 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3378 # Check whether --with-x11 was given.
3379 if test "${with_x11+set}" = set; then
3380 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3386 if test -z "$defaultval"; then
3387 if test x"$enablestring" = xdisable; then
3394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3395 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3396 # Check whether --enable-nanox was given.
3397 if test "${enable_nanox+set}" = set; then
3398 enableval=$enable_nanox;
3399 if test "$enableval" = yes; then
3400 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3402 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3407 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3412 eval "$wx_cv_use_nanox"
3414 if test x"$enablestring" = xdisable; then
3415 if test $wxUSE_NANOX = yes; then
3424 { echo "$as_me:$LINENO: result
: $result" >&5
3425 echo "${ECHO_T}$result" >&6; }
3428 # Check whether --enable-gtk2 was given.
3429 if test "${enable_gtk2+set}" = set; then
3430 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3436 if test -z "$defaultval"; then
3437 if test x"$enablestring" = xdisable; then
3444 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3445 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3446 # Check whether --enable-gpe was given.
3447 if test "${enable_gpe+set}" = set; then
3448 enableval=$enable_gpe;
3449 if test "$enableval" = yes; then
3450 wx_cv_use_gpe='wxUSE_GPE=yes'
3452 wx_cv_use_gpe='wxUSE_GPE=no'
3457 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3462 eval "$wx_cv_use_gpe"
3464 if test x
"$enablestring" = xdisable
; then
3465 if test $wxUSE_GPE = yes; then
3474 { echo "$as_me:$LINENO: result: $result" >&5
3475 echo "${ECHO_T}$result" >&6; }
3479 { echo "$as_me:$LINENO: checking for toolkit" >&5
3480 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3484 # In Wine, we need to default to MSW, not GTK or MOTIF
3485 if test "$wxUSE_WINE" = "yes"; then
3486 DEFAULT_DEFAULT_wxUSE_GTK
=0
3487 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3488 DEFAULT_DEFAULT_wxUSE_MSW
=1
3495 if test "$wxUSE_GUI" = "yes"; then
3497 if test "$USE_BEOS" = 1; then
3498 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3499 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3500 { (exit 1); exit 1; }; }
3503 if test "$TOOLKIT_GIVEN" = 1; then
3504 for toolkit
in $ALL_TOOLKITS; do
3506 eval "value=\$${var}"
3507 if test "x$value" = "xno"; then
3509 elif test "x$value" != "x"; then
3513 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3514 eval "wx${toolkit}_VERSION=$value"
3518 for toolkit
in $ALL_TOOLKITS; do
3519 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3520 eval "wxUSE_$toolkit=\$${var}"
3524 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3525 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3526 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3529 *-pc-os2_emx | *-pc-os2-emx )
3530 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3533 case "$NUM_TOOLKITS" in
3537 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3538 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3539 { (exit 1); exit 1; }; }
3542 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3543 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3544 { (exit 1); exit 1; }; }
3547 # to be removed when --disable-gtk2 isn't needed
3548 if test "x$wxUSE_GTK2" = "xyes"; then
3550 elif test "x$wxUSE_GTK2" = "xno"; then
3554 for toolkit
in $ALL_TOOLKITS; do
3556 eval "value=\$${var}"
3557 if test "$value" = 1; then
3558 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3559 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3560 echo "${ECHO_T}$toolkit_echo" >&6; }
3564 if test "x$host_alias" != "x"; then
3565 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3566 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3568 { echo "$as_me:$LINENO: result: base only" >&5
3569 echo "${ECHO_T}base only" >&6; }
3574 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3580 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3581 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3583 # Check whether --with-libpng was given.
3584 if test "${with_libpng+set}" = set; then
3585 withval
=$with_libpng;
3586 if test "$withval" = yes; then
3587 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3588 elif test "$withval" = no
; then
3589 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3590 elif test "$withval" = sys
; then
3591 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3592 elif test "$withval" = builtin; then
3593 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3595 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3596 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3597 { (exit 1); exit 1; }; }
3602 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3607 eval "$wx_cv_use_libpng"
3609 if test "$wxUSE_LIBPNG" = yes; then
3610 { echo "$as_me:$LINENO: result: yes" >&5
3611 echo "${ECHO_T}yes" >&6; }
3612 elif test "$wxUSE_LIBPNG" = no; then
3613 { echo "$as_me:$LINENO: result: no" >&5
3614 echo "${ECHO_T}no" >&6; }
3615 elif test "$wxUSE_LIBPNG" = sys; then
3616 { echo "$as_me:$LINENO: result: system version" >&5
3617 echo "${ECHO_T}system version" >&6; }
3618 elif test "$wxUSE_LIBPNG" = builtin; then
3619 { echo "$as_me:$LINENO: result: builtin version" >&5
3620 echo "${ECHO_T}builtin version" >&6; }
3622 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3623 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3624 { (exit 1); exit 1; }; }
3628 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3629 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3631 # Check whether --with-libjpeg was given.
3632 if test "${with_libjpeg+set}" = set; then
3633 withval=$with_libjpeg;
3634 if test "$withval" = yes; then
3635 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3636 elif test "$withval" = no; then
3637 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3638 elif test "$withval" = sys; then
3639 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3640 elif test "$withval" = builtin; then
3641 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3643 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3644 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3645 { (exit 1); exit 1; }; }
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3655 eval "$wx_cv_use_libjpeg"
3657 if test "$wxUSE_LIBJPEG" = yes; then
3658 { echo "$as_me:$LINENO: result
: yes" >&5
3659 echo "${ECHO_T}yes" >&6; }
3660 elif test "$wxUSE_LIBJPEG" = no; then
3661 { echo "$as_me:$LINENO: result
: no
" >&5
3662 echo "${ECHO_T}no
" >&6; }
3663 elif test "$wxUSE_LIBJPEG" = sys; then
3664 { echo "$as_me:$LINENO: result
: system version
" >&5
3665 echo "${ECHO_T}system version
" >&6; }
3666 elif test "$wxUSE_LIBJPEG" = builtin; then
3667 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3668 echo "${ECHO_T}builtin version
" >&6; }
3670 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3671 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3672 { (exit 1); exit 1; }; }
3676 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3677 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3679 # Check whether --with-libtiff was given.
3680 if test "${with_libtiff+set}" = set; then
3681 withval=$with_libtiff;
3682 if test "$withval" = yes; then
3683 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3684 elif test "$withval" = no; then
3685 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3686 elif test "$withval" = sys; then
3687 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3688 elif test "$withval" = builtin; then
3689 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3691 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3692 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3693 { (exit 1); exit 1; }; }
3698 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3703 eval "$wx_cv_use_libtiff"
3705 if test "$wxUSE_LIBTIFF" = yes; then
3706 { echo "$as_me:$LINENO: result: yes" >&5
3707 echo "${ECHO_T}yes" >&6; }
3708 elif test "$wxUSE_LIBTIFF" = no
; then
3709 { echo "$as_me:$LINENO: result: no" >&5
3710 echo "${ECHO_T}no" >&6; }
3711 elif test "$wxUSE_LIBTIFF" = sys
; then
3712 { echo "$as_me:$LINENO: result: system version" >&5
3713 echo "${ECHO_T}system version" >&6; }
3714 elif test "$wxUSE_LIBTIFF" = builtin; then
3715 { echo "$as_me:$LINENO: result: builtin version" >&5
3716 echo "${ECHO_T}builtin version" >&6; }
3718 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3719 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3720 { (exit 1); exit 1; }; }
3724 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3725 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3727 # Check whether --with-libxpm was given.
3728 if test "${with_libxpm+set}" = set; then
3729 withval
=$with_libxpm;
3730 if test "$withval" = yes; then
3731 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3732 elif test "$withval" = no
; then
3733 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3734 elif test "$withval" = sys
; then
3735 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3736 elif test "$withval" = builtin; then
3737 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3739 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3740 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3741 { (exit 1); exit 1; }; }
3746 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3751 eval "$wx_cv_use_libxpm"
3753 if test "$wxUSE_LIBXPM" = yes; then
3754 { echo "$as_me:$LINENO: result: yes" >&5
3755 echo "${ECHO_T}yes" >&6; }
3756 elif test "$wxUSE_LIBXPM" = no; then
3757 { echo "$as_me:$LINENO: result: no" >&5
3758 echo "${ECHO_T}no" >&6; }
3759 elif test "$wxUSE_LIBXPM" = sys; then
3760 { echo "$as_me:$LINENO: result: system version" >&5
3761 echo "${ECHO_T}system version" >&6; }
3762 elif test "$wxUSE_LIBXPM" = builtin; then
3763 { echo "$as_me:$LINENO: result: builtin version" >&5
3764 echo "${ECHO_T}builtin version" >&6; }
3766 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3767 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3768 { (exit 1); exit 1; }; }
3773 defaultval=$wxUSE_ALL_FEATURES
3774 if test -z "$defaultval"; then
3775 if test x"$withstring" = xwithout; then
3781 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3782 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3784 # Check whether --with-libiconv was given.
3785 if test "${with_libiconv+set}" = set; then
3786 withval=$with_libiconv;
3787 if test "$withval" = yes; then
3788 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3790 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3795 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3800 eval "$wx_cv_use_libiconv"
3802 if test x"$withstring" = xwithout; then
3803 if test $wxUSE_LIBICONV = yes; then
3809 result=$wxUSE_LIBICONV
3812 { echo "$as_me:$LINENO: result
: $result" >&5
3813 echo "${ECHO_T}$result" >&6; }
3817 defaultval=$wxUSE_ALL_FEATURES
3818 if test -z "$defaultval"; then
3819 if test x"$withstring" = xwithout; then
3825 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3826 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3828 # Check whether --with-libmspack was given.
3829 if test "${with_libmspack+set}" = set; then
3830 withval=$with_libmspack;
3831 if test "$withval" = yes; then
3832 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3834 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3839 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3844 eval "$wx_cv_use_libmspack"
3846 if test x
"$withstring" = xwithout
; then
3847 if test $wxUSE_LIBMSPACK = yes; then
3853 result
=$wxUSE_LIBMSPACK
3856 { echo "$as_me:$LINENO: result: $result" >&5
3857 echo "${ECHO_T}$result" >&6; }
3861 defaultval
=$wxUSE_ALL_FEATURES
3862 if test -z "$defaultval"; then
3863 if test x
"$withstring" = xwithout
; then
3869 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3870 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3872 # Check whether --with-gtkprint was given.
3873 if test "${with_gtkprint+set}" = set; then
3874 withval
=$with_gtkprint;
3875 if test "$withval" = yes; then
3876 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3878 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3883 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3888 eval "$wx_cv_use_gtkprint"
3890 if test x"$withstring" = xwithout; then
3891 if test $wxUSE_GTKPRINT = yes; then
3897 result=$wxUSE_GTKPRINT
3900 { echo "$as_me:$LINENO: result: $result" >&5
3901 echo "${ECHO_T}$result" >&6; }
3905 defaultval=$wxUSE_ALL_FEATURES
3906 if test -z "$defaultval"; then
3907 if test x"$withstring" = xwithout; then
3913 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3914 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3916 # Check whether --with-gnomeprint was given.
3917 if test "${with_gnomeprint+set}" = set; then
3918 withval=$with_gnomeprint;
3919 if test "$withval" = yes; then
3920 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3922 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3927 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3932 eval "$wx_cv_use_gnomeprint"
3934 if test x"$withstring" = xwithout; then
3935 if test $wxUSE_LIBGNOMEPRINT = yes; then
3941 result=$wxUSE_LIBGNOMEPRINT
3944 { echo "$as_me:$LINENO: result
: $result" >&5
3945 echo "${ECHO_T}$result" >&6; }
3949 defaultval=$wxUSE_ALL_FEATURES
3950 if test -z "$defaultval"; then
3951 if test x"$withstring" = xwithout; then
3957 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3958 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3960 # Check whether --with-gnomevfs was given.
3961 if test "${with_gnomevfs+set}" = set; then
3962 withval=$with_gnomevfs;
3963 if test "$withval" = yes; then
3964 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3966 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3971 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3976 eval "$wx_cv_use_gnomevfs"
3978 if test x
"$withstring" = xwithout
; then
3979 if test $wxUSE_LIBGNOMEVFS = yes; then
3985 result
=$wxUSE_LIBGNOMEVFS
3988 { echo "$as_me:$LINENO: result: $result" >&5
3989 echo "${ECHO_T}$result" >&6; }
3993 defaultval
=$wxUSE_ALL_FEATURES
3994 if test -z "$defaultval"; then
3995 if test x
"$withstring" = xwithout
; then
4001 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4002 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4004 # Check whether --with-hildon was given.
4005 if test "${with_hildon+set}" = set; then
4006 withval
=$with_hildon;
4007 if test "$withval" = yes; then
4008 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4010 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4015 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4020 eval "$wx_cv_use_hildon"
4022 if test x"$withstring" = xwithout; then
4023 if test $wxUSE_LIBHILDON = yes; then
4029 result=$wxUSE_LIBHILDON
4032 { echo "$as_me:$LINENO: result: $result" >&5
4033 echo "${ECHO_T}$result" >&6; }
4037 defaultval=$wxUSE_ALL_FEATURES
4038 if test -z "$defaultval"; then
4039 if test x"$withstring" = xwithout; then
4045 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4046 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4048 # Check whether --with-opengl was given.
4049 if test "${with_opengl+set}" = set; then
4050 withval=$with_opengl;
4051 if test "$withval" = yes; then
4052 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4054 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4059 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4064 eval "$wx_cv_use_opengl"
4066 if test x"$withstring" = xwithout; then
4067 if test $wxUSE_OPENGL = yes; then
4073 result=$wxUSE_OPENGL
4076 { echo "$as_me:$LINENO: result
: $result" >&5
4077 echo "${ECHO_T}$result" >&6; }
4084 defaultval=$wxUSE_ALL_FEATURES
4085 if test -z "$defaultval"; then
4086 if test x"$withstring" = xwithout; then
4092 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4093 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4095 # Check whether --with-dmalloc was given.
4096 if test "${with_dmalloc+set}" = set; then
4097 withval=$with_dmalloc;
4098 if test "$withval" = yes; then
4099 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4101 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4106 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4111 eval "$wx_cv_use_dmalloc"
4113 if test x
"$withstring" = xwithout
; then
4114 if test $wxUSE_DMALLOC = yes; then
4120 result
=$wxUSE_DMALLOC
4123 { echo "$as_me:$LINENO: result: $result" >&5
4124 echo "${ECHO_T}$result" >&6; }
4128 defaultval
=$wxUSE_ALL_FEATURES
4129 if test -z "$defaultval"; then
4130 if test x
"$withstring" = xwithout
; then
4136 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4137 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4139 # Check whether --with-sdl was given.
4140 if test "${with_sdl+set}" = set; then
4142 if test "$withval" = yes; then
4143 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4145 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4150 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4155 eval "$wx_cv_use_sdl"
4157 if test x"$withstring" = xwithout; then
4158 if test $wxUSE_LIBSDL = yes; then
4164 result=$wxUSE_LIBSDL
4167 { echo "$as_me:$LINENO: result: $result" >&5
4168 echo "${ECHO_T}$result" >&6; }
4171 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4172 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4174 # Check whether --with-regex was given.
4175 if test "${with_regex+set}" = set; then
4176 withval=$with_regex;
4177 if test "$withval" = yes; then
4178 wx_cv_use_regex='wxUSE_REGEX
=yes'
4179 elif test "$withval" = no; then
4180 wx_cv_use_regex='wxUSE_REGEX
=no
'
4181 elif test "$withval" = sys; then
4182 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4183 elif test "$withval" = builtin; then
4184 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4186 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4187 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4188 { (exit 1); exit 1; }; }
4193 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4198 eval "$wx_cv_use_regex"
4200 if test "$wxUSE_REGEX" = yes; then
4201 { echo "$as_me:$LINENO: result
: yes" >&5
4202 echo "${ECHO_T}yes" >&6; }
4203 elif test "$wxUSE_REGEX" = no; then
4204 { echo "$as_me:$LINENO: result
: no
" >&5
4205 echo "${ECHO_T}no
" >&6; }
4206 elif test "$wxUSE_REGEX" = sys; then
4207 { echo "$as_me:$LINENO: result
: system version
" >&5
4208 echo "${ECHO_T}system version
" >&6; }
4209 elif test "$wxUSE_REGEX" = builtin; then
4210 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4211 echo "${ECHO_T}builtin version
" >&6; }
4213 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4214 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4215 { (exit 1); exit 1; }; }
4219 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4220 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4222 # Check whether --with-zlib was given.
4223 if test "${with_zlib+set}" = set; then
4225 if test "$withval" = yes; then
4226 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4227 elif test "$withval" = no; then
4228 wx_cv_use_zlib='wxUSE_ZLIB=no'
4229 elif test "$withval" = sys; then
4230 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4231 elif test "$withval" = builtin; then
4232 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4234 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4235 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4236 { (exit 1); exit 1; }; }
4241 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4246 eval "$wx_cv_use_zlib"
4248 if test "$wxUSE_ZLIB" = yes; then
4249 { echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6; }
4251 elif test "$wxUSE_ZLIB" = no
; then
4252 { echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6; }
4254 elif test "$wxUSE_ZLIB" = sys
; then
4255 { echo "$as_me:$LINENO: result: system version" >&5
4256 echo "${ECHO_T}system version" >&6; }
4257 elif test "$wxUSE_ZLIB" = builtin; then
4258 { echo "$as_me:$LINENO: result: builtin version" >&5
4259 echo "${ECHO_T}builtin version" >&6; }
4261 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4262 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4263 { (exit 1); exit 1; }; }
4267 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4268 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4270 # Check whether --with-expat was given.
4271 if test "${with_expat+set}" = set; then
4272 withval
=$with_expat;
4273 if test "$withval" = yes; then
4274 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4275 elif test "$withval" = no
; then
4276 wx_cv_use_expat
='wxUSE_EXPAT=no'
4277 elif test "$withval" = sys
; then
4278 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4279 elif test "$withval" = builtin; then
4280 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4282 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4283 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4284 { (exit 1); exit 1; }; }
4289 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4294 eval "$wx_cv_use_expat"
4296 if test "$wxUSE_EXPAT" = yes; then
4297 { echo "$as_me:$LINENO: result: yes" >&5
4298 echo "${ECHO_T}yes" >&6; }
4299 elif test "$wxUSE_EXPAT" = no; then
4300 { echo "$as_me:$LINENO: result: no" >&5
4301 echo "${ECHO_T}no" >&6; }
4302 elif test "$wxUSE_EXPAT" = sys; then
4303 { echo "$as_me:$LINENO: result: system version" >&5
4304 echo "${ECHO_T}system version" >&6; }
4305 elif test "$wxUSE_EXPAT" = builtin; then
4306 { echo "$as_me:$LINENO: result: builtin version" >&5
4307 echo "${ECHO_T}builtin version" >&6; }
4309 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4310 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4311 { (exit 1); exit 1; }; }
4315 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4316 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4318 # Check whether --with-macosx-sdk was given.
4319 if test "${with_macosx_sdk+set}" = set; then
4320 withval=$with_macosx_sdk;
4321 wxUSE_MACOSX_SDK=$withval
4322 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4326 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4327 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4329 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4330 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4332 # Check whether --with-macosx-version-min was given.
4333 if test "${with_macosx_version_min+set}" = set; then
4334 withval=$with_macosx_version_min;
4335 wxUSE_MACOSX_VERSION_MIN=$withval
4336 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4340 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4341 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4345 enablestring=disable
4347 if test -z "$defaultval"; then
4348 if test x"$enablestring" = xdisable; then
4355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4356 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4357 # Check whether --enable-shared was given.
4358 if test "${enable_shared+set}" = set; then
4359 enableval=$enable_shared;
4360 if test "$enableval" = yes; then
4361 wx_cv_use_shared='wxUSE_SHARED
=yes'
4363 wx_cv_use_shared='wxUSE_SHARED
=no
'
4368 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4373 eval "$wx_cv_use_shared"
4375 if test x"$enablestring" = xdisable; then
4376 if test $wxUSE_SHARED = yes; then
4382 result=$wxUSE_SHARED
4385 { echo "$as_me:$LINENO: result
: $result" >&5
4386 echo "${ECHO_T}$result" >&6; }
4391 if test -z "$defaultval"; then
4392 if test x"$enablestring" = xdisable; then
4399 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4400 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4401 # Check whether --enable-debug was given.
4402 if test "${enable_debug+set}" = set; then
4403 enableval=$enable_debug;
4404 if test "$enableval" = yes; then
4405 wx_cv_use_debug='wxUSE_DEBUG=yes'
4407 wx_cv_use_debug='wxUSE_DEBUG=no'
4412 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4417 eval "$wx_cv_use_debug"
4419 if test x
"$enablestring" = xdisable
; then
4420 if test $wxUSE_DEBUG = yes; then
4429 { echo "$as_me:$LINENO: result: $result" >&5
4430 echo "${ECHO_T}$result" >&6; }
4435 if test -z "$defaultval"; then
4436 if test x
"$enablestring" = xdisable
; then
4443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4444 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4445 # Check whether --enable-stl was given.
4446 if test "${enable_stl+set}" = set; then
4447 enableval
=$enable_stl;
4448 if test "$enableval" = yes; then
4449 wx_cv_use_stl
='wxUSE_STL=yes'
4451 wx_cv_use_stl
='wxUSE_STL=no'
4456 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4461 eval "$wx_cv_use_stl"
4463 if test x"$enablestring" = xdisable; then
4464 if test $wxUSE_STL = yes; then
4473 { echo "$as_me:$LINENO: result: $result" >&5
4474 echo "${ECHO_T}$result" >&6; }
4479 if test -z "$defaultval"; then
4480 if test x"$enablestring" = xdisable; then
4487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4488 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4489 # Check whether --enable-std_iostreams was given.
4490 if test "${enable_std_iostreams+set}" = set; then
4491 enableval=$enable_std_iostreams;
4492 if test "$enableval" = yes; then
4493 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4495 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4500 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4505 eval "$wx_cv_use_std_iostreams"
4507 if test x"$enablestring" = xdisable; then
4508 if test $wxUSE_STD_IOSTREAM = yes; then
4514 result=$wxUSE_STD_IOSTREAM
4517 { echo "$as_me:$LINENO: result
: $result" >&5
4518 echo "${ECHO_T}$result" >&6; }
4523 if test -z "$defaultval"; then
4524 if test x"$enablestring" = xdisable; then
4531 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4532 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4533 # Check whether --enable-std_string was given.
4534 if test "${enable_std_string+set}" = set; then
4535 enableval=$enable_std_string;
4536 if test "$enableval" = yes; then
4537 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4539 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4544 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4549 eval "$wx_cv_use_std_string"
4551 if test x
"$enablestring" = xdisable
; then
4552 if test $wxUSE_STD_STRING = yes; then
4558 result
=$wxUSE_STD_STRING
4561 { echo "$as_me:$LINENO: result: $result" >&5
4562 echo "${ECHO_T}$result" >&6; }
4565 enablestring
=disable
4567 if test -z "$defaultval"; then
4568 if test x
"$enablestring" = xdisable
; then
4575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4576 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4577 # Check whether --enable-unicode was given.
4578 if test "${enable_unicode+set}" = set; then
4579 enableval
=$enable_unicode;
4580 if test "$enableval" = yes; then
4581 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4583 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4588 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4593 eval "$wx_cv_use_unicode"
4595 if test x"$enablestring" = xdisable; then
4596 if test $wxUSE_UNICODE = yes; then
4602 result=$wxUSE_UNICODE
4605 { echo "$as_me:$LINENO: result: $result" >&5
4606 echo "${ECHO_T}$result" >&6; }
4611 if test -z "$defaultval"; then
4612 if test x"$enablestring" = xdisable; then
4619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4620 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4621 # Check whether --enable-mslu was given.
4622 if test "${enable_mslu+set}" = set; then
4623 enableval=$enable_mslu;
4624 if test "$enableval" = yes; then
4625 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4627 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4632 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4637 eval "$wx_cv_use_mslu"
4639 if test x"$enablestring" = xdisable; then
4640 if test $wxUSE_UNICODE_MSLU = yes; then
4646 result=$wxUSE_UNICODE_MSLU
4649 { echo "$as_me:$LINENO: result
: $result" >&5
4650 echo "${ECHO_T}$result" >&6; }
4654 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4655 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4656 # Check whether --enable-utf8 was given.
4657 if test "${enable_utf8+set}" = set; then
4658 enableval=$enable_utf8;
4659 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4663 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4668 eval "$wx_cv_use_utf8"
4670 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4671 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4676 if test -z "$defaultval"; then
4677 if test x"$enablestring" = xdisable; then
4684 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4685 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4686 # Check whether --enable-utf8only was given.
4687 if test "${enable_utf8only+set}" = set; then
4688 enableval=$enable_utf8only;
4689 if test "$enableval" = yes; then
4690 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4692 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4697 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4702 eval "$wx_cv_use_utf8only"
4704 if test x
"$enablestring" = xdisable
; then
4705 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4711 result
=$wxUSE_UNICODE_UTF8_LOCALE
4714 { echo "$as_me:$LINENO: result: $result" >&5
4715 echo "${ECHO_T}$result" >&6; }
4720 if test -z "$defaultval"; then
4721 if test x
"$enablestring" = xdisable
; then
4728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4729 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4730 # Check whether --enable-extended_rtti was given.
4731 if test "${enable_extended_rtti+set}" = set; then
4732 enableval
=$enable_extended_rtti;
4733 if test "$enableval" = yes; then
4734 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4736 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4741 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4746 eval "$wx_cv_use_extended_rtti"
4748 if test x"$enablestring" = xdisable; then
4749 if test $wxUSE_EXTENDED_RTTI = yes; then
4755 result=$wxUSE_EXTENDED_RTTI
4758 { echo "$as_me:$LINENO: result: $result" >&5
4759 echo "${ECHO_T}$result" >&6; }
4761 if test "$USE_OS2" = 1; then
4762 DEFAULT_wxUSE_OMF=no
4766 if test -z "$defaultval"; then
4767 if test x"$enablestring" = xdisable; then
4774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4775 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4776 # Check whether --enable-omf was given.
4777 if test "${enable_omf+set}" = set; then
4778 enableval=$enable_omf;
4779 if test "$enableval" = yes; then
4780 wx_cv_use_omf='wxUSE_OMF
=yes'
4782 wx_cv_use_omf='wxUSE_OMF
=no
'
4787 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4792 eval "$wx_cv_use_omf"
4794 if test x"$enablestring" = xdisable; then
4795 if test $wxUSE_OMF = yes; then
4804 { echo "$as_me:$LINENO: result
: $result" >&5
4805 echo "${ECHO_T}$result" >&6; }
4809 if test "$wxUSE_DEBUG" = "yes"; then
4810 DEFAULT_wxUSE_DEBUG_FLAG=yes
4811 DEFAULT_wxUSE_DEBUG_INFO=yes
4813 elif test "$wxUSE_DEBUG" = "no
"; then
4814 DEFAULT_wxUSE_DEBUG_FLAG=no
4815 DEFAULT_wxUSE_DEBUG_INFO=no
4822 if test -z "$defaultval"; then
4823 if test x"$enablestring" = xdisable; then
4830 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4831 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4832 # Check whether --enable-debug_flag was given.
4833 if test "${enable_debug_flag+set}" = set; then
4834 enableval=$enable_debug_flag;
4835 if test "$enableval" = yes; then
4836 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4838 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4843 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4848 eval "$wx_cv_use_debug_flag"
4850 if test x
"$enablestring" = xdisable
; then
4851 if test $wxUSE_DEBUG_FLAG = yes; then
4857 result
=$wxUSE_DEBUG_FLAG
4860 { echo "$as_me:$LINENO: result: $result" >&5
4861 echo "${ECHO_T}$result" >&6; }
4866 if test -z "$defaultval"; then
4867 if test x
"$enablestring" = xdisable
; then
4874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4875 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4876 # Check whether --enable-debug_info was given.
4877 if test "${enable_debug_info+set}" = set; then
4878 enableval
=$enable_debug_info;
4879 if test "$enableval" = yes; then
4880 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4882 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4887 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4892 eval "$wx_cv_use_debug_info"
4894 if test x"$enablestring" = xdisable; then
4895 if test $wxUSE_DEBUG_INFO = yes; then
4901 result=$wxUSE_DEBUG_INFO
4904 { echo "$as_me:$LINENO: result: $result" >&5
4905 echo "${ECHO_T}$result" >&6; }
4908 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4913 if test "$wxUSE_DEBUG" = "yes"; then
4914 DEFAULT_wxUSE_OPTIMISE=no
4918 enablestring=disable
4920 if test -z "$defaultval"; then
4921 if test x"$enablestring" = xdisable; then
4928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4929 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4930 # Check whether --enable-optimise was given.
4931 if test "${enable_optimise+set}" = set; then
4932 enableval=$enable_optimise;
4933 if test "$enableval" = yes; then
4934 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4936 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4941 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4946 eval "$wx_cv_use_optimise"
4948 if test x"$enablestring" = xdisable; then
4949 if test $wxUSE_OPTIMISE = yes; then
4955 result=$wxUSE_OPTIMISE
4958 { echo "$as_me:$LINENO: result
: $result" >&5
4959 echo "${ECHO_T}$result" >&6; }
4965 if test -z "$defaultval"; then
4966 if test x"$enablestring" = xdisable; then
4973 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4974 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4975 # Check whether --enable-debug_gdb was given.
4976 if test "${enable_debug_gdb+set}" = set; then
4977 enableval=$enable_debug_gdb;
4978 if test "$enableval" = yes; then
4979 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4981 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4986 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4991 eval "$wx_cv_use_debug_gdb"
4993 if test x
"$enablestring" = xdisable
; then
4994 if test $wxUSE_DEBUG_GDB = yes; then
5000 result
=$wxUSE_DEBUG_GDB
5003 { echo "$as_me:$LINENO: result: $result" >&5
5004 echo "${ECHO_T}$result" >&6; }
5009 if test -z "$defaultval"; then
5010 if test x
"$enablestring" = xdisable
; then
5017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5018 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5019 # Check whether --enable-debug_cntxt was given.
5020 if test "${enable_debug_cntxt+set}" = set; then
5021 enableval
=$enable_debug_cntxt;
5022 if test "$enableval" = yes; then
5023 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
5025 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
5030 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5035 eval "$wx_cv_use_debug_cntxt"
5037 if test x"$enablestring" = xdisable; then
5038 if test $wxUSE_DEBUG_CONTEXT = yes; then
5044 result=$wxUSE_DEBUG_CONTEXT
5047 { echo "$as_me:$LINENO: result: $result" >&5
5048 echo "${ECHO_T}$result" >&6; }
5053 if test -z "$defaultval"; then
5054 if test x"$enablestring" = xdisable; then
5061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5062 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5063 # Check whether --enable-mem_tracing was given.
5064 if test "${enable_mem_tracing+set}" = set; then
5065 enableval=$enable_mem_tracing;
5066 if test "$enableval" = yes; then
5067 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5069 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5074 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5079 eval "$wx_cv_use_mem_tracing"
5081 if test x"$enablestring" = xdisable; then
5082 if test $wxUSE_MEM_TRACING = yes; then
5088 result=$wxUSE_MEM_TRACING
5091 { echo "$as_me:$LINENO: result
: $result" >&5
5092 echo "${ECHO_T}$result" >&6; }
5097 if test -z "$defaultval"; then
5098 if test x"$enablestring" = xdisable; then
5105 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5106 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5107 # Check whether --enable-profile was given.
5108 if test "${enable_profile+set}" = set; then
5109 enableval=$enable_profile;
5110 if test "$enableval" = yes; then
5111 wx_cv_use_profile='wxUSE_PROFILE=yes'
5113 wx_cv_use_profile='wxUSE_PROFILE=no'
5118 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5123 eval "$wx_cv_use_profile"
5125 if test x
"$enablestring" = xdisable
; then
5126 if test $wxUSE_PROFILE = yes; then
5132 result
=$wxUSE_PROFILE
5135 { echo "$as_me:$LINENO: result: $result" >&5
5136 echo "${ECHO_T}$result" >&6; }
5141 if test -z "$defaultval"; then
5142 if test x
"$enablestring" = xdisable
; then
5149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5150 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5151 # Check whether --enable-no_rtti was given.
5152 if test "${enable_no_rtti+set}" = set; then
5153 enableval
=$enable_no_rtti;
5154 if test "$enableval" = yes; then
5155 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5157 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5162 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5167 eval "$wx_cv_use_no_rtti"
5169 if test x"$enablestring" = xdisable; then
5170 if test $wxUSE_NO_RTTI = yes; then
5176 result=$wxUSE_NO_RTTI
5179 { echo "$as_me:$LINENO: result: $result" >&5
5180 echo "${ECHO_T}$result" >&6; }
5185 if test -z "$defaultval"; then
5186 if test x"$enablestring" = xdisable; then
5193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5194 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5195 # Check whether --enable-no_exceptions was given.
5196 if test "${enable_no_exceptions+set}" = set; then
5197 enableval=$enable_no_exceptions;
5198 if test "$enableval" = yes; then
5199 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5201 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5206 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5211 eval "$wx_cv_use_no_exceptions"
5213 if test x"$enablestring" = xdisable; then
5214 if test $wxUSE_NO_EXCEPTIONS = yes; then
5220 result=$wxUSE_NO_EXCEPTIONS
5223 { echo "$as_me:$LINENO: result
: $result" >&5
5224 echo "${ECHO_T}$result" >&6; }
5229 if test -z "$defaultval"; then
5230 if test x"$enablestring" = xdisable; then
5237 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5238 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5239 # Check whether --enable-permissive was given.
5240 if test "${enable_permissive+set}" = set; then
5241 enableval=$enable_permissive;
5242 if test "$enableval" = yes; then
5243 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5245 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5250 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5255 eval "$wx_cv_use_permissive"
5257 if test x
"$enablestring" = xdisable
; then
5258 if test $wxUSE_PERMISSIVE = yes; then
5264 result
=$wxUSE_PERMISSIVE
5267 { echo "$as_me:$LINENO: result: $result" >&5
5268 echo "${ECHO_T}$result" >&6; }
5273 if test -z "$defaultval"; then
5274 if test x
"$enablestring" = xdisable
; then
5281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5282 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5283 # Check whether --enable-no_deps was given.
5284 if test "${enable_no_deps+set}" = set; then
5285 enableval
=$enable_no_deps;
5286 if test "$enableval" = yes; then
5287 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5289 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5294 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5299 eval "$wx_cv_use_no_deps"
5301 if test x"$enablestring" = xdisable; then
5302 if test $wxUSE_NO_DEPS = yes; then
5308 result=$wxUSE_NO_DEPS
5311 { echo "$as_me:$LINENO: result: $result" >&5
5312 echo "${ECHO_T}$result" >&6; }
5315 enablestring=disable
5317 if test -z "$defaultval"; then
5318 if test x"$enablestring" = xdisable; then
5325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5326 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5327 # Check whether --enable-vararg_macros was given.
5328 if test "${enable_vararg_macros+set}" = set; then
5329 enableval=$enable_vararg_macros;
5330 if test "$enableval" = yes; then
5331 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5333 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5338 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5343 eval "$wx_cv_use_vararg_macros"
5345 if test x"$enablestring" = xdisable; then
5346 if test $wxUSE_VARARG_MACROS = yes; then
5352 result=$wxUSE_VARARG_MACROS
5355 { echo "$as_me:$LINENO: result
: $result" >&5
5356 echo "${ECHO_T}$result" >&6; }
5360 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5361 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5362 # Check whether --enable-universal_binary was given.
5363 if test "${enable_universal_binary+set}" = set; then
5364 enableval=$enable_universal_binary;
5365 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5369 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5374 eval "$wx_cv_use_universal_binary"
5376 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5377 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5383 if test -z "$defaultval"; then
5384 if test x"$enablestring" = xdisable; then
5391 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5392 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5393 # Check whether --enable-compat26 was given.
5394 if test "${enable_compat26+set}" = set; then
5395 enableval=$enable_compat26;
5396 if test "$enableval" = yes; then
5397 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5399 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5404 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5409 eval "$wx_cv_use_compat26"
5411 if test x
"$enablestring" = xdisable
; then
5412 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5418 result
=$WXWIN_COMPATIBILITY_2_6
5421 { echo "$as_me:$LINENO: result: $result" >&5
5422 echo "${ECHO_T}$result" >&6; }
5425 enablestring
=disable
5427 if test -z "$defaultval"; then
5428 if test x
"$enablestring" = xdisable
; then
5435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5437 # Check whether --enable-compat28 was given.
5438 if test "${enable_compat28+set}" = set; then
5439 enableval
=$enable_compat28;
5440 if test "$enableval" = yes; then
5441 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5443 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5448 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5453 eval "$wx_cv_use_compat28"
5455 if test x"$enablestring" = xdisable; then
5456 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5462 result=$WXWIN_COMPATIBILITY_2_8
5465 { echo "$as_me:$LINENO: result: $result" >&5
5466 echo "${ECHO_T}$result" >&6; }
5470 enablestring=disable
5472 if test -z "$defaultval"; then
5473 if test x"$enablestring" = xdisable; then
5480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5481 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5482 # Check whether --enable-rpath was given.
5483 if test "${enable_rpath+set}" = set; then
5484 enableval=$enable_rpath;
5485 if test "$enableval" = yes; then
5486 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5488 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5493 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5498 eval "$wx_cv_use_rpath"
5500 if test x"$enablestring" = xdisable; then
5501 if test $wxUSE_RPATH = yes; then
5510 { echo "$as_me:$LINENO: result
: $result" >&5
5511 echo "${ECHO_T}$result" >&6; }
5517 if test -z "$defaultval"; then
5518 if test x"$enablestring" = xdisable; then
5525 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5526 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5527 # Check whether --enable-objc_uniquifying was given.
5528 if test "${enable_objc_uniquifying+set}" = set; then
5529 enableval=$enable_objc_uniquifying;
5530 if test "$enableval" = yes; then
5531 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5533 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5538 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5543 eval "$wx_cv_use_objc_uniquifying"
5545 if test x
"$enablestring" = xdisable
; then
5546 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5552 result
=$wxUSE_OBJC_UNIQUIFYING
5555 { echo "$as_me:$LINENO: result: $result" >&5
5556 echo "${ECHO_T}$result" >&6; }
5560 enablestring
=disable
5562 if test -z "$defaultval"; then
5563 if test x
"$enablestring" = xdisable
; then
5570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5571 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5572 # Check whether --enable-visibility was given.
5573 if test "${enable_visibility+set}" = set; then
5574 enableval
=$enable_visibility;
5575 if test "$enableval" = yes; then
5576 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5578 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5583 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5588 eval "$wx_cv_use_visibility"
5590 if test x"$enablestring" = xdisable; then
5591 if test $wxUSE_VISIBILITY = yes; then
5597 result=$wxUSE_VISIBILITY
5600 { echo "$as_me:$LINENO: result: $result" >&5
5601 echo "${ECHO_T}$result" >&6; }
5607 defaultval=$wxUSE_ALL_FEATURES
5608 if test -z "$defaultval"; then
5609 if test x"$enablestring" = xdisable; then
5616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5617 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5618 # Check whether --enable-intl was given.
5619 if test "${enable_intl+set}" = set; then
5620 enableval=$enable_intl;
5621 if test "$enableval" = yes; then
5622 wx_cv_use_intl='wxUSE_INTL
=yes'
5624 wx_cv_use_intl='wxUSE_INTL
=no
'
5629 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5634 eval "$wx_cv_use_intl"
5636 if test x"$enablestring" = xdisable; then
5637 if test $wxUSE_INTL = yes; then
5646 { echo "$as_me:$LINENO: result
: $result" >&5
5647 echo "${ECHO_T}$result" >&6; }
5651 defaultval=$wxUSE_ALL_FEATURES
5652 if test -z "$defaultval"; then
5653 if test x"$enablestring" = xdisable; then
5660 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5661 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5662 # Check whether --enable-xlocale was given.
5663 if test "${enable_xlocale+set}" = set; then
5664 enableval=$enable_xlocale;
5665 if test "$enableval" = yes; then
5666 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5668 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5673 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5678 eval "$wx_cv_use_xlocale"
5680 if test x
"$enablestring" = xdisable
; then
5681 if test $wxUSE_XLOCALE = yes; then
5687 result
=$wxUSE_XLOCALE
5690 { echo "$as_me:$LINENO: result: $result" >&5
5691 echo "${ECHO_T}$result" >&6; }
5695 defaultval
=$wxUSE_ALL_FEATURES
5696 if test -z "$defaultval"; then
5697 if test x
"$enablestring" = xdisable
; then
5704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5705 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5706 # Check whether --enable-config was given.
5707 if test "${enable_config+set}" = set; then
5708 enableval
=$enable_config;
5709 if test "$enableval" = yes; then
5710 wx_cv_use_config
='wxUSE_CONFIG=yes'
5712 wx_cv_use_config
='wxUSE_CONFIG=no'
5717 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5722 eval "$wx_cv_use_config"
5724 if test x"$enablestring" = xdisable; then
5725 if test $wxUSE_CONFIG = yes; then
5731 result=$wxUSE_CONFIG
5734 { echo "$as_me:$LINENO: result: $result" >&5
5735 echo "${ECHO_T}$result" >&6; }
5740 defaultval=$wxUSE_ALL_FEATURES
5741 if test -z "$defaultval"; then
5742 if test x"$enablestring" = xdisable; then
5749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5750 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5751 # Check whether --enable-protocols was given.
5752 if test "${enable_protocols+set}" = set; then
5753 enableval=$enable_protocols;
5754 if test "$enableval" = yes; then
5755 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5757 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5762 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5767 eval "$wx_cv_use_protocols"
5769 if test x"$enablestring" = xdisable; then
5770 if test $wxUSE_PROTOCOL = yes; then
5776 result=$wxUSE_PROTOCOL
5779 { echo "$as_me:$LINENO: result
: $result" >&5
5780 echo "${ECHO_T}$result" >&6; }
5784 defaultval=$wxUSE_ALL_FEATURES
5785 if test -z "$defaultval"; then
5786 if test x"$enablestring" = xdisable; then
5793 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5794 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5795 # Check whether --enable-ftp was given.
5796 if test "${enable_ftp+set}" = set; then
5797 enableval=$enable_ftp;
5798 if test "$enableval" = yes; then
5799 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5801 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5806 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5811 eval "$wx_cv_use_ftp"
5813 if test x
"$enablestring" = xdisable
; then
5814 if test $wxUSE_PROTOCOL_FTP = yes; then
5820 result
=$wxUSE_PROTOCOL_FTP
5823 { echo "$as_me:$LINENO: result: $result" >&5
5824 echo "${ECHO_T}$result" >&6; }
5828 defaultval
=$wxUSE_ALL_FEATURES
5829 if test -z "$defaultval"; then
5830 if test x
"$enablestring" = xdisable
; then
5837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5838 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5839 # Check whether --enable-http was given.
5840 if test "${enable_http+set}" = set; then
5841 enableval
=$enable_http;
5842 if test "$enableval" = yes; then
5843 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5845 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5850 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5855 eval "$wx_cv_use_http"
5857 if test x"$enablestring" = xdisable; then
5858 if test $wxUSE_PROTOCOL_HTTP = yes; then
5864 result=$wxUSE_PROTOCOL_HTTP
5867 { echo "$as_me:$LINENO: result: $result" >&5
5868 echo "${ECHO_T}$result" >&6; }
5872 defaultval=$wxUSE_ALL_FEATURES
5873 if test -z "$defaultval"; then
5874 if test x"$enablestring" = xdisable; then
5881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5882 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5883 # Check whether --enable-fileproto was given.
5884 if test "${enable_fileproto+set}" = set; then
5885 enableval=$enable_fileproto;
5886 if test "$enableval" = yes; then
5887 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5889 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5894 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5899 eval "$wx_cv_use_fileproto"
5901 if test x"$enablestring" = xdisable; then
5902 if test $wxUSE_PROTOCOL_FILE = yes; then
5908 result=$wxUSE_PROTOCOL_FILE
5911 { echo "$as_me:$LINENO: result
: $result" >&5
5912 echo "${ECHO_T}$result" >&6; }
5916 defaultval=$wxUSE_ALL_FEATURES
5917 if test -z "$defaultval"; then
5918 if test x"$enablestring" = xdisable; then
5925 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5926 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5927 # Check whether --enable-sockets was given.
5928 if test "${enable_sockets+set}" = set; then
5929 enableval=$enable_sockets;
5930 if test "$enableval" = yes; then
5931 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5933 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5938 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5943 eval "$wx_cv_use_sockets"
5945 if test x
"$enablestring" = xdisable
; then
5946 if test $wxUSE_SOCKETS = yes; then
5952 result
=$wxUSE_SOCKETS
5955 { echo "$as_me:$LINENO: result: $result" >&5
5956 echo "${ECHO_T}$result" >&6; }
5960 defaultval
=$wxUSE_ALL_FEATURES
5961 if test -z "$defaultval"; then
5962 if test x
"$enablestring" = xdisable
; then
5969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5970 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5971 # Check whether --enable-ipv6 was given.
5972 if test "${enable_ipv6+set}" = set; then
5973 enableval
=$enable_ipv6;
5974 if test "$enableval" = yes; then
5975 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5977 wx_cv_use_ipv6
='wxUSE_IPV6=no'
5982 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5987 eval "$wx_cv_use_ipv6"
5989 if test x"$enablestring" = xdisable; then
5990 if test $wxUSE_IPV6 = yes; then
5999 { echo "$as_me:$LINENO: result: $result" >&5
6000 echo "${ECHO_T}$result" >&6; }
6004 defaultval=$wxUSE_ALL_FEATURES
6005 if test -z "$defaultval"; then
6006 if test x"$enablestring" = xdisable; then
6013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6014 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6015 # Check whether --enable-ole was given.
6016 if test "${enable_ole+set}" = set; then
6017 enableval=$enable_ole;
6018 if test "$enableval" = yes; then
6019 wx_cv_use_ole='wxUSE_OLE
=yes'
6021 wx_cv_use_ole='wxUSE_OLE
=no
'
6026 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6031 eval "$wx_cv_use_ole"
6033 if test x"$enablestring" = xdisable; then
6034 if test $wxUSE_OLE = yes; then
6043 { echo "$as_me:$LINENO: result
: $result" >&5
6044 echo "${ECHO_T}$result" >&6; }
6048 defaultval=$wxUSE_ALL_FEATURES
6049 if test -z "$defaultval"; then
6050 if test x"$enablestring" = xdisable; then
6057 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6058 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6059 # Check whether --enable-dataobj was given.
6060 if test "${enable_dataobj+set}" = set; then
6061 enableval=$enable_dataobj;
6062 if test "$enableval" = yes; then
6063 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6065 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6070 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6075 eval "$wx_cv_use_dataobj"
6077 if test x
"$enablestring" = xdisable
; then
6078 if test $wxUSE_DATAOBJ = yes; then
6084 result
=$wxUSE_DATAOBJ
6087 { echo "$as_me:$LINENO: result: $result" >&5
6088 echo "${ECHO_T}$result" >&6; }
6093 defaultval
=$wxUSE_ALL_FEATURES
6094 if test -z "$defaultval"; then
6095 if test x
"$enablestring" = xdisable
; then
6102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6103 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6104 # Check whether --enable-ipc was given.
6105 if test "${enable_ipc+set}" = set; then
6106 enableval
=$enable_ipc;
6107 if test "$enableval" = yes; then
6108 wx_cv_use_ipc
='wxUSE_IPC=yes'
6110 wx_cv_use_ipc
='wxUSE_IPC=no'
6115 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6120 eval "$wx_cv_use_ipc"
6122 if test x"$enablestring" = xdisable; then
6123 if test $wxUSE_IPC = yes; then
6132 { echo "$as_me:$LINENO: result: $result" >&5
6133 echo "${ECHO_T}$result" >&6; }
6138 defaultval=$wxUSE_ALL_FEATURES
6139 if test -z "$defaultval"; then
6140 if test x"$enablestring" = xdisable; then
6147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6148 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6149 # Check whether --enable-baseevtloop was given.
6150 if test "${enable_baseevtloop+set}" = set; then
6151 enableval=$enable_baseevtloop;
6152 if test "$enableval" = yes; then
6153 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6155 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6160 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6165 eval "$wx_cv_use_baseevtloop"
6167 if test x"$enablestring" = xdisable; then
6168 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6174 result=$wxUSE_CONSOLE_EVENTLOOP
6177 { echo "$as_me:$LINENO: result
: $result" >&5
6178 echo "${ECHO_T}$result" >&6; }
6182 defaultval=$wxUSE_ALL_FEATURES
6183 if test -z "$defaultval"; then
6184 if test x"$enablestring" = xdisable; then
6191 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6192 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6193 # Check whether --enable-epollloop was given.
6194 if test "${enable_epollloop+set}" = set; then
6195 enableval=$enable_epollloop;
6196 if test "$enableval" = yes; then
6197 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6199 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6204 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6209 eval "$wx_cv_use_epollloop"
6211 if test x
"$enablestring" = xdisable
; then
6212 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6218 result
=$wxUSE_EPOLL_DISPATCHER
6221 { echo "$as_me:$LINENO: result: $result" >&5
6222 echo "${ECHO_T}$result" >&6; }
6226 defaultval
=$wxUSE_ALL_FEATURES
6227 if test -z "$defaultval"; then
6228 if test x
"$enablestring" = xdisable
; then
6235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6236 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6237 # Check whether --enable-selectloop was given.
6238 if test "${enable_selectloop+set}" = set; then
6239 enableval
=$enable_selectloop;
6240 if test "$enableval" = yes; then
6241 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6243 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6248 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6253 eval "$wx_cv_use_selectloop"
6255 if test x"$enablestring" = xdisable; then
6256 if test $wxUSE_SELECT_DISPATCHER = yes; then
6262 result=$wxUSE_SELECT_DISPATCHER
6265 { echo "$as_me:$LINENO: result: $result" >&5
6266 echo "${ECHO_T}$result" >&6; }
6271 defaultval=$wxUSE_ALL_FEATURES
6272 if test -z "$defaultval"; then
6273 if test x"$enablestring" = xdisable; then
6280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6282 # Check whether --enable-apple_ieee was given.
6283 if test "${enable_apple_ieee+set}" = set; then
6284 enableval=$enable_apple_ieee;
6285 if test "$enableval" = yes; then
6286 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6288 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6293 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6298 eval "$wx_cv_use_apple_ieee"
6300 if test x"$enablestring" = xdisable; then
6301 if test $wxUSE_APPLE_IEEE = yes; then
6307 result=$wxUSE_APPLE_IEEE
6310 { echo "$as_me:$LINENO: result
: $result" >&5
6311 echo "${ECHO_T}$result" >&6; }
6315 defaultval=$wxUSE_ALL_FEATURES
6316 if test -z "$defaultval"; then
6317 if test x"$enablestring" = xdisable; then
6324 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6325 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6326 # Check whether --enable-arcstream was given.
6327 if test "${enable_arcstream+set}" = set; then
6328 enableval=$enable_arcstream;
6329 if test "$enableval" = yes; then
6330 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6332 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6337 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6342 eval "$wx_cv_use_arcstream"
6344 if test x
"$enablestring" = xdisable
; then
6345 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6351 result
=$wxUSE_ARCHIVE_STREAMS
6354 { echo "$as_me:$LINENO: result: $result" >&5
6355 echo "${ECHO_T}$result" >&6; }
6359 defaultval
=$wxUSE_ALL_FEATURES
6360 if test -z "$defaultval"; then
6361 if test x
"$enablestring" = xdisable
; then
6368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6369 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6370 # Check whether --enable-base64 was given.
6371 if test "${enable_base64+set}" = set; then
6372 enableval
=$enable_base64;
6373 if test "$enableval" = yes; then
6374 wx_cv_use_base64
='wxUSE_BASE64=yes'
6376 wx_cv_use_base64
='wxUSE_BASE64=no'
6381 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6386 eval "$wx_cv_use_base64"
6388 if test x"$enablestring" = xdisable; then
6389 if test $wxUSE_BASE64 = yes; then
6395 result=$wxUSE_BASE64
6398 { echo "$as_me:$LINENO: result: $result" >&5
6399 echo "${ECHO_T}$result" >&6; }
6403 defaultval=$wxUSE_ALL_FEATURES
6404 if test -z "$defaultval"; then
6405 if test x"$enablestring" = xdisable; then
6412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6413 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6414 # Check whether --enable-backtrace was given.
6415 if test "${enable_backtrace+set}" = set; then
6416 enableval=$enable_backtrace;
6417 if test "$enableval" = yes; then
6418 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6420 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6425 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6430 eval "$wx_cv_use_backtrace"
6432 if test x"$enablestring" = xdisable; then
6433 if test $wxUSE_STACKWALKER = yes; then
6439 result=$wxUSE_STACKWALKER
6442 { echo "$as_me:$LINENO: result
: $result" >&5
6443 echo "${ECHO_T}$result" >&6; }
6447 defaultval=$wxUSE_ALL_FEATURES
6448 if test -z "$defaultval"; then
6449 if test x"$enablestring" = xdisable; then
6456 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6457 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6458 # Check whether --enable-catch_segvs was given.
6459 if test "${enable_catch_segvs+set}" = set; then
6460 enableval=$enable_catch_segvs;
6461 if test "$enableval" = yes; then
6462 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6464 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6469 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6474 eval "$wx_cv_use_catch_segvs"
6476 if test x
"$enablestring" = xdisable
; then
6477 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6483 result
=$wxUSE_ON_FATAL_EXCEPTION
6486 { echo "$as_me:$LINENO: result: $result" >&5
6487 echo "${ECHO_T}$result" >&6; }
6491 defaultval
=$wxUSE_ALL_FEATURES
6492 if test -z "$defaultval"; then
6493 if test x
"$enablestring" = xdisable
; then
6500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6501 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6502 # Check whether --enable-cmdline was given.
6503 if test "${enable_cmdline+set}" = set; then
6504 enableval
=$enable_cmdline;
6505 if test "$enableval" = yes; then
6506 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6508 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6513 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6518 eval "$wx_cv_use_cmdline"
6520 if test x"$enablestring" = xdisable; then
6521 if test $wxUSE_CMDLINE_PARSER = yes; then
6527 result=$wxUSE_CMDLINE_PARSER
6530 { echo "$as_me:$LINENO: result: $result" >&5
6531 echo "${ECHO_T}$result" >&6; }
6535 defaultval=$wxUSE_ALL_FEATURES
6536 if test -z "$defaultval"; then
6537 if test x"$enablestring" = xdisable; then
6544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6545 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6546 # Check whether --enable-datetime was given.
6547 if test "${enable_datetime+set}" = set; then
6548 enableval=$enable_datetime;
6549 if test "$enableval" = yes; then
6550 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6552 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6557 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6562 eval "$wx_cv_use_datetime"
6564 if test x"$enablestring" = xdisable; then
6565 if test $wxUSE_DATETIME = yes; then
6571 result=$wxUSE_DATETIME
6574 { echo "$as_me:$LINENO: result
: $result" >&5
6575 echo "${ECHO_T}$result" >&6; }
6579 defaultval=$wxUSE_ALL_FEATURES
6580 if test -z "$defaultval"; then
6581 if test x"$enablestring" = xdisable; then
6588 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6589 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6590 # Check whether --enable-debugreport was given.
6591 if test "${enable_debugreport+set}" = set; then
6592 enableval=$enable_debugreport;
6593 if test "$enableval" = yes; then
6594 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6596 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6601 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6606 eval "$wx_cv_use_debugreport"
6608 if test x
"$enablestring" = xdisable
; then
6609 if test $wxUSE_DEBUGREPORT = yes; then
6615 result
=$wxUSE_DEBUGREPORT
6618 { echo "$as_me:$LINENO: result: $result" >&5
6619 echo "${ECHO_T}$result" >&6; }
6623 defaultval
=$wxUSE_ALL_FEATURES
6624 if test -z "$defaultval"; then
6625 if test x
"$enablestring" = xdisable
; then
6632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6633 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6634 # Check whether --enable-dialupman was given.
6635 if test "${enable_dialupman+set}" = set; then
6636 enableval
=$enable_dialupman;
6637 if test "$enableval" = yes; then
6638 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6640 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6645 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6650 eval "$wx_cv_use_dialupman"
6652 if test x"$enablestring" = xdisable; then
6653 if test $wxUSE_DIALUP_MANAGER = yes; then
6659 result=$wxUSE_DIALUP_MANAGER
6662 { echo "$as_me:$LINENO: result: $result" >&5
6663 echo "${ECHO_T}$result" >&6; }
6667 defaultval=$wxUSE_ALL_FEATURES
6668 if test -z "$defaultval"; then
6669 if test x"$enablestring" = xdisable; then
6676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6677 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6678 # Check whether --enable-dynlib was given.
6679 if test "${enable_dynlib+set}" = set; then
6680 enableval=$enable_dynlib;
6681 if test "$enableval" = yes; then
6682 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6684 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6689 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6694 eval "$wx_cv_use_dynlib"
6696 if test x"$enablestring" = xdisable; then
6697 if test $wxUSE_DYNLIB_CLASS = yes; then
6703 result=$wxUSE_DYNLIB_CLASS
6706 { echo "$as_me:$LINENO: result
: $result" >&5
6707 echo "${ECHO_T}$result" >&6; }
6711 defaultval=$wxUSE_ALL_FEATURES
6712 if test -z "$defaultval"; then
6713 if test x"$enablestring" = xdisable; then
6720 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6721 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6722 # Check whether --enable-dynamicloader was given.
6723 if test "${enable_dynamicloader+set}" = set; then
6724 enableval=$enable_dynamicloader;
6725 if test "$enableval" = yes; then
6726 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6728 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6733 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6738 eval "$wx_cv_use_dynamicloader"
6740 if test x
"$enablestring" = xdisable
; then
6741 if test $wxUSE_DYNAMIC_LOADER = yes; then
6747 result
=$wxUSE_DYNAMIC_LOADER
6750 { echo "$as_me:$LINENO: result: $result" >&5
6751 echo "${ECHO_T}$result" >&6; }
6755 defaultval
=$wxUSE_ALL_FEATURES
6756 if test -z "$defaultval"; then
6757 if test x
"$enablestring" = xdisable
; then
6764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6765 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6766 # Check whether --enable-exceptions was given.
6767 if test "${enable_exceptions+set}" = set; then
6768 enableval
=$enable_exceptions;
6769 if test "$enableval" = yes; then
6770 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6772 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6777 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6782 eval "$wx_cv_use_exceptions"
6784 if test x"$enablestring" = xdisable; then
6785 if test $wxUSE_EXCEPTIONS = yes; then
6791 result=$wxUSE_EXCEPTIONS
6794 { echo "$as_me:$LINENO: result: $result" >&5
6795 echo "${ECHO_T}$result" >&6; }
6799 defaultval=$wxUSE_ALL_FEATURES
6800 if test -z "$defaultval"; then
6801 if test x"$enablestring" = xdisable; then
6808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6809 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6810 # Check whether --enable-ffile was given.
6811 if test "${enable_ffile+set}" = set; then
6812 enableval=$enable_ffile;
6813 if test "$enableval" = yes; then
6814 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6816 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6821 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6826 eval "$wx_cv_use_ffile"
6828 if test x"$enablestring" = xdisable; then
6829 if test $wxUSE_FFILE = yes; then
6838 { echo "$as_me:$LINENO: result
: $result" >&5
6839 echo "${ECHO_T}$result" >&6; }
6843 defaultval=$wxUSE_ALL_FEATURES
6844 if test -z "$defaultval"; then
6845 if test x"$enablestring" = xdisable; then
6852 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6853 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
6854 # Check whether --enable-file was given.
6855 if test "${enable_file+set}" = set; then
6856 enableval=$enable_file;
6857 if test "$enableval" = yes; then
6858 wx_cv_use_file='wxUSE_FILE=yes'
6860 wx_cv_use_file='wxUSE_FILE=no'
6865 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6870 eval "$wx_cv_use_file"
6872 if test x
"$enablestring" = xdisable
; then
6873 if test $wxUSE_FILE = yes; then
6882 { echo "$as_me:$LINENO: result: $result" >&5
6883 echo "${ECHO_T}$result" >&6; }
6887 defaultval
=$wxUSE_ALL_FEATURES
6888 if test -z "$defaultval"; then
6889 if test x
"$enablestring" = xdisable
; then
6896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6897 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6898 # Check whether --enable-filesystem was given.
6899 if test "${enable_filesystem+set}" = set; then
6900 enableval
=$enable_filesystem;
6901 if test "$enableval" = yes; then
6902 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6904 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6909 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6914 eval "$wx_cv_use_filesystem"
6916 if test x"$enablestring" = xdisable; then
6917 if test $wxUSE_FILESYSTEM = yes; then
6923 result=$wxUSE_FILESYSTEM
6926 { echo "$as_me:$LINENO: result: $result" >&5
6927 echo "${ECHO_T}$result" >&6; }
6931 defaultval=$wxUSE_ALL_FEATURES
6932 if test -z "$defaultval"; then
6933 if test x"$enablestring" = xdisable; then
6940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6941 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6942 # Check whether --enable-fontenum was given.
6943 if test "${enable_fontenum+set}" = set; then
6944 enableval=$enable_fontenum;
6945 if test "$enableval" = yes; then
6946 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
6948 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
6953 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6958 eval "$wx_cv_use_fontenum"
6960 if test x"$enablestring" = xdisable; then
6961 if test $wxUSE_FONTENUM = yes; then
6967 result=$wxUSE_FONTENUM
6970 { echo "$as_me:$LINENO: result
: $result" >&5
6971 echo "${ECHO_T}$result" >&6; }
6975 defaultval=$wxUSE_ALL_FEATURES
6976 if test -z "$defaultval"; then
6977 if test x"$enablestring" = xdisable; then
6984 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
6985 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
6986 # Check whether --enable-fontmap was given.
6987 if test "${enable_fontmap+set}" = set; then
6988 enableval=$enable_fontmap;
6989 if test "$enableval" = yes; then
6990 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6992 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6997 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7002 eval "$wx_cv_use_fontmap"
7004 if test x
"$enablestring" = xdisable
; then
7005 if test $wxUSE_FONTMAP = yes; then
7011 result
=$wxUSE_FONTMAP
7014 { echo "$as_me:$LINENO: result: $result" >&5
7015 echo "${ECHO_T}$result" >&6; }
7019 defaultval
=$wxUSE_ALL_FEATURES
7020 if test -z "$defaultval"; then
7021 if test x
"$enablestring" = xdisable
; then
7028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7029 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7030 # Check whether --enable-fs_archive was given.
7031 if test "${enable_fs_archive+set}" = set; then
7032 enableval
=$enable_fs_archive;
7033 if test "$enableval" = yes; then
7034 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7036 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7041 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7046 eval "$wx_cv_use_fs_archive"
7048 if test x"$enablestring" = xdisable; then
7049 if test $wxUSE_FS_ARCHIVE = yes; then
7055 result=$wxUSE_FS_ARCHIVE
7058 { echo "$as_me:$LINENO: result: $result" >&5
7059 echo "${ECHO_T}$result" >&6; }
7063 defaultval=$wxUSE_ALL_FEATURES
7064 if test -z "$defaultval"; then
7065 if test x"$enablestring" = xdisable; then
7072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7073 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7074 # Check whether --enable-fs_inet was given.
7075 if test "${enable_fs_inet+set}" = set; then
7076 enableval=$enable_fs_inet;
7077 if test "$enableval" = yes; then
7078 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7080 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7085 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7090 eval "$wx_cv_use_fs_inet"
7092 if test x"$enablestring" = xdisable; then
7093 if test $wxUSE_FS_INET = yes; then
7099 result=$wxUSE_FS_INET
7102 { echo "$as_me:$LINENO: result
: $result" >&5
7103 echo "${ECHO_T}$result" >&6; }
7107 defaultval=$wxUSE_ALL_FEATURES
7108 if test -z "$defaultval"; then
7109 if test x"$enablestring" = xdisable; then
7116 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7117 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7118 # Check whether --enable-fs_zip was given.
7119 if test "${enable_fs_zip+set}" = set; then
7120 enableval=$enable_fs_zip;
7121 if test "$enableval" = yes; then
7122 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7124 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7129 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7134 eval "$wx_cv_use_fs_zip"
7136 if test x
"$enablestring" = xdisable
; then
7137 if test $wxUSE_FS_ZIP = yes; then
7143 result
=$wxUSE_FS_ZIP
7146 { echo "$as_me:$LINENO: result: $result" >&5
7147 echo "${ECHO_T}$result" >&6; }
7151 defaultval
=$wxUSE_ALL_FEATURES
7152 if test -z "$defaultval"; then
7153 if test x
"$enablestring" = xdisable
; then
7160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7161 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7162 # Check whether --enable-geometry was given.
7163 if test "${enable_geometry+set}" = set; then
7164 enableval
=$enable_geometry;
7165 if test "$enableval" = yes; then
7166 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7168 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7173 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7178 eval "$wx_cv_use_geometry"
7180 if test x"$enablestring" = xdisable; then
7181 if test $wxUSE_GEOMETRY = yes; then
7187 result=$wxUSE_GEOMETRY
7190 { echo "$as_me:$LINENO: result: $result" >&5
7191 echo "${ECHO_T}$result" >&6; }
7195 defaultval=$wxUSE_ALL_FEATURES
7196 if test -z "$defaultval"; then
7197 if test x"$enablestring" = xdisable; then
7204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7205 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7206 # Check whether --enable-log was given.
7207 if test "${enable_log+set}" = set; then
7208 enableval=$enable_log;
7209 if test "$enableval" = yes; then
7210 wx_cv_use_log='wxUSE_LOG
=yes'
7212 wx_cv_use_log='wxUSE_LOG
=no
'
7217 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7222 eval "$wx_cv_use_log"
7224 if test x"$enablestring" = xdisable; then
7225 if test $wxUSE_LOG = yes; then
7234 { echo "$as_me:$LINENO: result
: $result" >&5
7235 echo "${ECHO_T}$result" >&6; }
7239 defaultval=$wxUSE_ALL_FEATURES
7240 if test -z "$defaultval"; then
7241 if test x"$enablestring" = xdisable; then
7248 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7249 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7250 # Check whether --enable-longlong was given.
7251 if test "${enable_longlong+set}" = set; then
7252 enableval=$enable_longlong;
7253 if test "$enableval" = yes; then
7254 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7256 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7261 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7266 eval "$wx_cv_use_longlong"
7268 if test x
"$enablestring" = xdisable
; then
7269 if test $wxUSE_LONGLONG = yes; then
7275 result
=$wxUSE_LONGLONG
7278 { echo "$as_me:$LINENO: result: $result" >&5
7279 echo "${ECHO_T}$result" >&6; }
7283 defaultval
=$wxUSE_ALL_FEATURES
7284 if test -z "$defaultval"; then
7285 if test x
"$enablestring" = xdisable
; then
7292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7293 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7294 # Check whether --enable-mimetype was given.
7295 if test "${enable_mimetype+set}" = set; then
7296 enableval
=$enable_mimetype;
7297 if test "$enableval" = yes; then
7298 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7300 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7305 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7310 eval "$wx_cv_use_mimetype"
7312 if test x"$enablestring" = xdisable; then
7313 if test $wxUSE_MIMETYPE = yes; then
7319 result=$wxUSE_MIMETYPE
7322 { echo "$as_me:$LINENO: result: $result" >&5
7323 echo "${ECHO_T}$result" >&6; }
7327 defaultval=$wxUSE_ALL_FEATURES
7328 if test -z "$defaultval"; then
7329 if test x"$enablestring" = xdisable; then
7336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7337 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7338 # Check whether --enable-printfposparam was given.
7339 if test "${enable_printfposparam+set}" = set; then
7340 enableval=$enable_printfposparam;
7341 if test "$enableval" = yes; then
7342 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7344 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7349 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7354 eval "$wx_cv_use_printfposparam"
7356 if test x"$enablestring" = xdisable; then
7357 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7363 result=$wxUSE_PRINTF_POS_PARAMS
7366 { echo "$as_me:$LINENO: result
: $result" >&5
7367 echo "${ECHO_T}$result" >&6; }
7371 defaultval=$wxUSE_ALL_FEATURES
7372 if test -z "$defaultval"; then
7373 if test x"$enablestring" = xdisable; then
7380 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7381 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7382 # Check whether --enable-snglinst was given.
7383 if test "${enable_snglinst+set}" = set; then
7384 enableval=$enable_snglinst;
7385 if test "$enableval" = yes; then
7386 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7388 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7393 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7398 eval "$wx_cv_use_snglinst"
7400 if test x
"$enablestring" = xdisable
; then
7401 if test $wxUSE_SNGLINST_CHECKER = yes; then
7407 result
=$wxUSE_SNGLINST_CHECKER
7410 { echo "$as_me:$LINENO: result: $result" >&5
7411 echo "${ECHO_T}$result" >&6; }
7415 defaultval
=$wxUSE_ALL_FEATURES
7416 if test -z "$defaultval"; then
7417 if test x
"$enablestring" = xdisable
; then
7424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7425 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7426 # Check whether --enable-sound was given.
7427 if test "${enable_sound+set}" = set; then
7428 enableval
=$enable_sound;
7429 if test "$enableval" = yes; then
7430 wx_cv_use_sound
='wxUSE_SOUND=yes'
7432 wx_cv_use_sound
='wxUSE_SOUND=no'
7437 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7442 eval "$wx_cv_use_sound"
7444 if test x"$enablestring" = xdisable; then
7445 if test $wxUSE_SOUND = yes; then
7454 { echo "$as_me:$LINENO: result: $result" >&5
7455 echo "${ECHO_T}$result" >&6; }
7459 defaultval=$wxUSE_ALL_FEATURES
7460 if test -z "$defaultval"; then
7461 if test x"$enablestring" = xdisable; then
7468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7469 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7470 # Check whether --enable-stdpaths was given.
7471 if test "${enable_stdpaths+set}" = set; then
7472 enableval=$enable_stdpaths;
7473 if test "$enableval" = yes; then
7474 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7476 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7481 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7486 eval "$wx_cv_use_stdpaths"
7488 if test x"$enablestring" = xdisable; then
7489 if test $wxUSE_STDPATHS = yes; then
7495 result=$wxUSE_STDPATHS
7498 { echo "$as_me:$LINENO: result
: $result" >&5
7499 echo "${ECHO_T}$result" >&6; }
7503 defaultval=$wxUSE_ALL_FEATURES
7504 if test -z "$defaultval"; then
7505 if test x"$enablestring" = xdisable; then
7512 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7513 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7514 # Check whether --enable-stopwatch was given.
7515 if test "${enable_stopwatch+set}" = set; then
7516 enableval=$enable_stopwatch;
7517 if test "$enableval" = yes; then
7518 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7520 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7525 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7530 eval "$wx_cv_use_stopwatch"
7532 if test x
"$enablestring" = xdisable
; then
7533 if test $wxUSE_STOPWATCH = yes; then
7539 result
=$wxUSE_STOPWATCH
7542 { echo "$as_me:$LINENO: result: $result" >&5
7543 echo "${ECHO_T}$result" >&6; }
7547 defaultval
=$wxUSE_ALL_FEATURES
7548 if test -z "$defaultval"; then
7549 if test x
"$enablestring" = xdisable
; then
7556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7557 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7558 # Check whether --enable-streams was given.
7559 if test "${enable_streams+set}" = set; then
7560 enableval
=$enable_streams;
7561 if test "$enableval" = yes; then
7562 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7564 wx_cv_use_streams
='wxUSE_STREAMS=no'
7569 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7574 eval "$wx_cv_use_streams"
7576 if test x"$enablestring" = xdisable; then
7577 if test $wxUSE_STREAMS = yes; then
7583 result=$wxUSE_STREAMS
7586 { echo "$as_me:$LINENO: result: $result" >&5
7587 echo "${ECHO_T}$result" >&6; }
7591 defaultval=$wxUSE_ALL_FEATURES
7592 if test -z "$defaultval"; then
7593 if test x"$enablestring" = xdisable; then
7600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7601 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7602 # Check whether --enable-system_options was given.
7603 if test "${enable_system_options+set}" = set; then
7604 enableval=$enable_system_options;
7605 if test "$enableval" = yes; then
7606 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7608 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7613 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7618 eval "$wx_cv_use_system_options"
7620 if test x"$enablestring" = xdisable; then
7621 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7627 result=$wxUSE_SYSTEM_OPTIONS
7630 { echo "$as_me:$LINENO: result
: $result" >&5
7631 echo "${ECHO_T}$result" >&6; }
7635 defaultval=$wxUSE_ALL_FEATURES
7636 if test -z "$defaultval"; then
7637 if test x"$enablestring" = xdisable; then
7644 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7645 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7646 # Check whether --enable-tarstream was given.
7647 if test "${enable_tarstream+set}" = set; then
7648 enableval=$enable_tarstream;
7649 if test "$enableval" = yes; then
7650 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7652 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7657 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7662 eval "$wx_cv_use_tarstream"
7664 if test x
"$enablestring" = xdisable
; then
7665 if test $wxUSE_TARSTREAM = yes; then
7671 result
=$wxUSE_TARSTREAM
7674 { echo "$as_me:$LINENO: result: $result" >&5
7675 echo "${ECHO_T}$result" >&6; }
7679 defaultval
=$wxUSE_ALL_FEATURES
7680 if test -z "$defaultval"; then
7681 if test x
"$enablestring" = xdisable
; then
7688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7689 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7690 # Check whether --enable-textbuf was given.
7691 if test "${enable_textbuf+set}" = set; then
7692 enableval
=$enable_textbuf;
7693 if test "$enableval" = yes; then
7694 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7696 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7701 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7706 eval "$wx_cv_use_textbuf"
7708 if test x"$enablestring" = xdisable; then
7709 if test $wxUSE_TEXTBUFFER = yes; then
7715 result=$wxUSE_TEXTBUFFER
7718 { echo "$as_me:$LINENO: result: $result" >&5
7719 echo "${ECHO_T}$result" >&6; }
7723 defaultval=$wxUSE_ALL_FEATURES
7724 if test -z "$defaultval"; then
7725 if test x"$enablestring" = xdisable; then
7732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7733 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7734 # Check whether --enable-textfile was given.
7735 if test "${enable_textfile+set}" = set; then
7736 enableval=$enable_textfile;
7737 if test "$enableval" = yes; then
7738 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7740 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7745 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7750 eval "$wx_cv_use_textfile"
7752 if test x"$enablestring" = xdisable; then
7753 if test $wxUSE_TEXTFILE = yes; then
7759 result=$wxUSE_TEXTFILE
7762 { echo "$as_me:$LINENO: result
: $result" >&5
7763 echo "${ECHO_T}$result" >&6; }
7767 defaultval=$wxUSE_ALL_FEATURES
7768 if test -z "$defaultval"; then
7769 if test x"$enablestring" = xdisable; then
7776 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7777 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7778 # Check whether --enable-timer was given.
7779 if test "${enable_timer+set}" = set; then
7780 enableval=$enable_timer;
7781 if test "$enableval" = yes; then
7782 wx_cv_use_timer='wxUSE_TIMER=yes'
7784 wx_cv_use_timer='wxUSE_TIMER=no'
7789 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7794 eval "$wx_cv_use_timer"
7796 if test x
"$enablestring" = xdisable
; then
7797 if test $wxUSE_TIMER = yes; then
7806 { echo "$as_me:$LINENO: result: $result" >&5
7807 echo "${ECHO_T}$result" >&6; }
7811 defaultval
=$wxUSE_ALL_FEATURES
7812 if test -z "$defaultval"; then
7813 if test x
"$enablestring" = xdisable
; then
7820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7821 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7822 # Check whether --enable-variant was given.
7823 if test "${enable_variant+set}" = set; then
7824 enableval
=$enable_variant;
7825 if test "$enableval" = yes; then
7826 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7828 wx_cv_use_variant
='wxUSE_VARIANT=no'
7833 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7838 eval "$wx_cv_use_variant"
7840 if test x"$enablestring" = xdisable; then
7841 if test $wxUSE_VARIANT = yes; then
7847 result=$wxUSE_VARIANT
7850 { echo "$as_me:$LINENO: result: $result" >&5
7851 echo "${ECHO_T}$result" >&6; }
7855 defaultval=$wxUSE_ALL_FEATURES
7856 if test -z "$defaultval"; then
7857 if test x"$enablestring" = xdisable; then
7864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7865 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7866 # Check whether --enable-zipstream was given.
7867 if test "${enable_zipstream+set}" = set; then
7868 enableval=$enable_zipstream;
7869 if test "$enableval" = yes; then
7870 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7872 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7877 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7882 eval "$wx_cv_use_zipstream"
7884 if test x"$enablestring" = xdisable; then
7885 if test $wxUSE_ZIPSTREAM = yes; then
7891 result=$wxUSE_ZIPSTREAM
7894 { echo "$as_me:$LINENO: result
: $result" >&5
7895 echo "${ECHO_T}$result" >&6; }
7900 defaultval=$wxUSE_ALL_FEATURES
7901 if test -z "$defaultval"; then
7902 if test x"$enablestring" = xdisable; then
7909 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7910 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7911 # Check whether --enable-url was given.
7912 if test "${enable_url+set}" = set; then
7913 enableval=$enable_url;
7914 if test "$enableval" = yes; then
7915 wx_cv_use_url='wxUSE_URL=yes'
7917 wx_cv_use_url='wxUSE_URL=no'
7922 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7927 eval "$wx_cv_use_url"
7929 if test x
"$enablestring" = xdisable
; then
7930 if test $wxUSE_URL = yes; then
7939 { echo "$as_me:$LINENO: result: $result" >&5
7940 echo "${ECHO_T}$result" >&6; }
7944 defaultval
=$wxUSE_ALL_FEATURES
7945 if test -z "$defaultval"; then
7946 if test x
"$enablestring" = xdisable
; then
7953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7955 # Check whether --enable-protocol was given.
7956 if test "${enable_protocol+set}" = set; then
7957 enableval
=$enable_protocol;
7958 if test "$enableval" = yes; then
7959 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7961 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7966 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7971 eval "$wx_cv_use_protocol"
7973 if test x"$enablestring" = xdisable; then
7974 if test $wxUSE_PROTOCOL = yes; then
7980 result=$wxUSE_PROTOCOL
7983 { echo "$as_me:$LINENO: result: $result" >&5
7984 echo "${ECHO_T}$result" >&6; }
7988 defaultval=$wxUSE_ALL_FEATURES
7989 if test -z "$defaultval"; then
7990 if test x"$enablestring" = xdisable; then
7997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7998 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7999 # Check whether --enable-protocol_http was given.
8000 if test "${enable_protocol_http+set}" = set; then
8001 enableval=$enable_protocol_http;
8002 if test "$enableval" = yes; then
8003 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8005 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8010 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8015 eval "$wx_cv_use_protocol_http"
8017 if test x"$enablestring" = xdisable; then
8018 if test $wxUSE_PROTOCOL_HTTP = yes; then
8024 result=$wxUSE_PROTOCOL_HTTP
8027 { echo "$as_me:$LINENO: result
: $result" >&5
8028 echo "${ECHO_T}$result" >&6; }
8032 defaultval=$wxUSE_ALL_FEATURES
8033 if test -z "$defaultval"; then
8034 if test x"$enablestring" = xdisable; then
8041 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8042 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8043 # Check whether --enable-protocol_ftp was given.
8044 if test "${enable_protocol_ftp+set}" = set; then
8045 enableval=$enable_protocol_ftp;
8046 if test "$enableval" = yes; then
8047 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8049 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8054 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8059 eval "$wx_cv_use_protocol_ftp"
8061 if test x
"$enablestring" = xdisable
; then
8062 if test $wxUSE_PROTOCOL_FTP = yes; then
8068 result
=$wxUSE_PROTOCOL_FTP
8071 { echo "$as_me:$LINENO: result: $result" >&5
8072 echo "${ECHO_T}$result" >&6; }
8076 defaultval
=$wxUSE_ALL_FEATURES
8077 if test -z "$defaultval"; then
8078 if test x
"$enablestring" = xdisable
; then
8085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8086 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8087 # Check whether --enable-protocol_file was given.
8088 if test "${enable_protocol_file+set}" = set; then
8089 enableval
=$enable_protocol_file;
8090 if test "$enableval" = yes; then
8091 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8093 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8098 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8103 eval "$wx_cv_use_protocol_file"
8105 if test x"$enablestring" = xdisable; then
8106 if test $wxUSE_PROTOCOL_FILE = yes; then
8112 result=$wxUSE_PROTOCOL_FILE
8115 { echo "$as_me:$LINENO: result: $result" >&5
8116 echo "${ECHO_T}$result" >&6; }
8121 defaultval=$wxUSE_ALL_FEATURES
8122 if test -z "$defaultval"; then
8123 if test x"$enablestring" = xdisable; then
8130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8131 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8132 # Check whether --enable-threads was given.
8133 if test "${enable_threads+set}" = set; then
8134 enableval=$enable_threads;
8135 if test "$enableval" = yes; then
8136 wx_cv_use_threads='wxUSE_THREADS
=yes'
8138 wx_cv_use_threads='wxUSE_THREADS
=no
'
8143 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8148 eval "$wx_cv_use_threads"
8150 if test x"$enablestring" = xdisable; then
8151 if test $wxUSE_THREADS = yes; then
8157 result=$wxUSE_THREADS
8160 { echo "$as_me:$LINENO: result
: $result" >&5
8161 echo "${ECHO_T}$result" >&6; }
8167 if test -z "$defaultval"; then
8168 if test x"$enablestring" = xdisable; then
8175 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8176 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8177 # Check whether --enable-iniconf was given.
8178 if test "${enable_iniconf+set}" = set; then
8179 enableval=$enable_iniconf;
8180 if test "$enableval" = yes; then
8181 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8183 wx_cv_use_iniconf='wxUSE_INICONF=no'
8188 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8193 eval "$wx_cv_use_iniconf"
8195 if test x
"$enablestring" = xdisable
; then
8196 if test $wxUSE_INICONF = yes; then
8202 result
=$wxUSE_INICONF
8205 { echo "$as_me:$LINENO: result: $result" >&5
8206 echo "${ECHO_T}$result" >&6; }
8210 defaultval
=$wxUSE_ALL_FEATURES
8211 if test -z "$defaultval"; then
8212 if test x
"$enablestring" = xdisable
; then
8219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8220 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8221 # Check whether --enable-regkey was given.
8222 if test "${enable_regkey+set}" = set; then
8223 enableval
=$enable_regkey;
8224 if test "$enableval" = yes; then
8225 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8227 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8232 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8237 eval "$wx_cv_use_regkey"
8239 if test x"$enablestring" = xdisable; then
8240 if test $wxUSE_REGKEY = yes; then
8246 result=$wxUSE_REGKEY
8249 { echo "$as_me:$LINENO: result: $result" >&5
8250 echo "${ECHO_T}$result" >&6; }
8253 if test "$wxUSE_GUI" = "yes"; then
8258 defaultval=$wxUSE_ALL_FEATURES
8259 if test -z "$defaultval"; then
8260 if test x"$enablestring" = xdisable; then
8267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8268 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8269 # Check whether --enable-docview was given.
8270 if test "${enable_docview+set}" = set; then
8271 enableval=$enable_docview;
8272 if test "$enableval" = yes; then
8273 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8275 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8280 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8285 eval "$wx_cv_use_docview"
8287 if test x"$enablestring" = xdisable; then
8288 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8294 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8297 { echo "$as_me:$LINENO: result
: $result" >&5
8298 echo "${ECHO_T}$result" >&6; }
8302 defaultval=$wxUSE_ALL_FEATURES
8303 if test -z "$defaultval"; then
8304 if test x"$enablestring" = xdisable; then
8311 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8312 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8313 # Check whether --enable-help was given.
8314 if test "${enable_help+set}" = set; then
8315 enableval=$enable_help;
8316 if test "$enableval" = yes; then
8317 wx_cv_use_help='wxUSE_HELP=yes'
8319 wx_cv_use_help='wxUSE_HELP=no'
8324 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8329 eval "$wx_cv_use_help"
8331 if test x
"$enablestring" = xdisable
; then
8332 if test $wxUSE_HELP = yes; then
8341 { echo "$as_me:$LINENO: result: $result" >&5
8342 echo "${ECHO_T}$result" >&6; }
8346 defaultval
=$wxUSE_ALL_FEATURES
8347 if test -z "$defaultval"; then
8348 if test x
"$enablestring" = xdisable
; then
8355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8356 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8357 # Check whether --enable-mshtmlhelp was given.
8358 if test "${enable_mshtmlhelp+set}" = set; then
8359 enableval
=$enable_mshtmlhelp;
8360 if test "$enableval" = yes; then
8361 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8363 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8368 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8373 eval "$wx_cv_use_mshtmlhelp"
8375 if test x"$enablestring" = xdisable; then
8376 if test $wxUSE_MS_HTML_HELP = yes; then
8382 result=$wxUSE_MS_HTML_HELP
8385 { echo "$as_me:$LINENO: result: $result" >&5
8386 echo "${ECHO_T}$result" >&6; }
8390 defaultval=$wxUSE_ALL_FEATURES
8391 if test -z "$defaultval"; then
8392 if test x"$enablestring" = xdisable; then
8399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8400 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8401 # Check whether --enable-html was given.
8402 if test "${enable_html+set}" = set; then
8403 enableval=$enable_html;
8404 if test "$enableval" = yes; then
8405 wx_cv_use_html='wxUSE_HTML
=yes'
8407 wx_cv_use_html='wxUSE_HTML
=no
'
8412 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8417 eval "$wx_cv_use_html"
8419 if test x"$enablestring" = xdisable; then
8420 if test $wxUSE_HTML = yes; then
8429 { echo "$as_me:$LINENO: result
: $result" >&5
8430 echo "${ECHO_T}$result" >&6; }
8434 defaultval=$wxUSE_ALL_FEATURES
8435 if test -z "$defaultval"; then
8436 if test x"$enablestring" = xdisable; then
8443 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8444 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8445 # Check whether --enable-htmlhelp was given.
8446 if test "${enable_htmlhelp+set}" = set; then
8447 enableval=$enable_htmlhelp;
8448 if test "$enableval" = yes; then
8449 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8451 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8456 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8461 eval "$wx_cv_use_htmlhelp"
8463 if test x
"$enablestring" = xdisable
; then
8464 if test $wxUSE_WXHTML_HELP = yes; then
8470 result
=$wxUSE_WXHTML_HELP
8473 { echo "$as_me:$LINENO: result: $result" >&5
8474 echo "${ECHO_T}$result" >&6; }
8478 defaultval
=$wxUSE_ALL_FEATURES
8479 if test -z "$defaultval"; then
8480 if test x
"$enablestring" = xdisable
; then
8487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8488 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8489 # Check whether --enable-xrc was given.
8490 if test "${enable_xrc+set}" = set; then
8491 enableval
=$enable_xrc;
8492 if test "$enableval" = yes; then
8493 wx_cv_use_xrc
='wxUSE_XRC=yes'
8495 wx_cv_use_xrc
='wxUSE_XRC=no'
8500 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8505 eval "$wx_cv_use_xrc"
8507 if test x"$enablestring" = xdisable; then
8508 if test $wxUSE_XRC = yes; then
8517 { echo "$as_me:$LINENO: result: $result" >&5
8518 echo "${ECHO_T}$result" >&6; }
8522 defaultval=$wxUSE_ALL_FEATURES
8523 if test -z "$defaultval"; then
8524 if test x"$enablestring" = xdisable; then
8531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8533 # Check whether --enable-aui was given.
8534 if test "${enable_aui+set}" = set; then
8535 enableval=$enable_aui;
8536 if test "$enableval" = yes; then
8537 wx_cv_use_aui='wxUSE_AUI
=yes'
8539 wx_cv_use_aui='wxUSE_AUI
=no
'
8544 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8549 eval "$wx_cv_use_aui"
8551 if test x"$enablestring" = xdisable; then
8552 if test $wxUSE_AUI = yes; then
8561 { echo "$as_me:$LINENO: result
: $result" >&5
8562 echo "${ECHO_T}$result" >&6; }
8566 defaultval=$wxUSE_ALL_FEATURES
8567 if test -z "$defaultval"; then
8568 if test x"$enablestring" = xdisable; then
8575 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8576 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8577 # Check whether --enable-propgrid was given.
8578 if test "${enable_propgrid+set}" = set; then
8579 enableval=$enable_propgrid;
8580 if test "$enableval" = yes; then
8581 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8583 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8588 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8593 eval "$wx_cv_use_propgrid"
8595 if test x
"$enablestring" = xdisable
; then
8596 if test $wxUSE_PROPGRID = yes; then
8602 result
=$wxUSE_PROPGRID
8605 { echo "$as_me:$LINENO: result: $result" >&5
8606 echo "${ECHO_T}$result" >&6; }
8610 defaultval
=$wxUSE_ALL_FEATURES
8611 if test -z "$defaultval"; then
8612 if test x
"$enablestring" = xdisable
; then
8619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8620 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8621 # Check whether --enable-stc was given.
8622 if test "${enable_stc+set}" = set; then
8623 enableval
=$enable_stc;
8624 if test "$enableval" = yes; then
8625 wx_cv_use_stc
='wxUSE_STC=yes'
8627 wx_cv_use_stc
='wxUSE_STC=no'
8632 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8637 eval "$wx_cv_use_stc"
8639 if test x"$enablestring" = xdisable; then
8640 if test $wxUSE_STC = yes; then
8649 { echo "$as_me:$LINENO: result: $result" >&5
8650 echo "${ECHO_T}$result" >&6; }
8654 defaultval=$wxUSE_ALL_FEATURES
8655 if test -z "$defaultval"; then
8656 if test x"$enablestring" = xdisable; then
8663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8664 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8665 # Check whether --enable-constraints was given.
8666 if test "${enable_constraints+set}" = set; then
8667 enableval=$enable_constraints;
8668 if test "$enableval" = yes; then
8669 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8671 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8676 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8681 eval "$wx_cv_use_constraints"
8683 if test x"$enablestring" = xdisable; then
8684 if test $wxUSE_CONSTRAINTS = yes; then
8690 result=$wxUSE_CONSTRAINTS
8693 { echo "$as_me:$LINENO: result
: $result" >&5
8694 echo "${ECHO_T}$result" >&6; }
8698 defaultval=$wxUSE_ALL_FEATURES
8699 if test -z "$defaultval"; then
8700 if test x"$enablestring" = xdisable; then
8707 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8708 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8709 # Check whether --enable-loggui was given.
8710 if test "${enable_loggui+set}" = set; then
8711 enableval=$enable_loggui;
8712 if test "$enableval" = yes; then
8713 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8715 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8720 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8725 eval "$wx_cv_use_loggui"
8727 if test x
"$enablestring" = xdisable
; then
8728 if test $wxUSE_LOGGUI = yes; then
8734 result
=$wxUSE_LOGGUI
8737 { echo "$as_me:$LINENO: result: $result" >&5
8738 echo "${ECHO_T}$result" >&6; }
8742 defaultval
=$wxUSE_ALL_FEATURES
8743 if test -z "$defaultval"; then
8744 if test x
"$enablestring" = xdisable
; then
8751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8752 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8753 # Check whether --enable-logwin was given.
8754 if test "${enable_logwin+set}" = set; then
8755 enableval
=$enable_logwin;
8756 if test "$enableval" = yes; then
8757 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8759 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8764 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8769 eval "$wx_cv_use_logwin"
8771 if test x"$enablestring" = xdisable; then
8772 if test $wxUSE_LOGWINDOW = yes; then
8778 result=$wxUSE_LOGWINDOW
8781 { echo "$as_me:$LINENO: result: $result" >&5
8782 echo "${ECHO_T}$result" >&6; }
8786 defaultval=$wxUSE_ALL_FEATURES
8787 if test -z "$defaultval"; then
8788 if test x"$enablestring" = xdisable; then
8795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8796 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8797 # Check whether --enable-logdialog was given.
8798 if test "${enable_logdialog+set}" = set; then
8799 enableval=$enable_logdialog;
8800 if test "$enableval" = yes; then
8801 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8803 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8808 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8813 eval "$wx_cv_use_logdialog"
8815 if test x"$enablestring" = xdisable; then
8816 if test $wxUSE_LOGDIALOG = yes; then
8822 result=$wxUSE_LOGDIALOG
8825 { echo "$as_me:$LINENO: result
: $result" >&5
8826 echo "${ECHO_T}$result" >&6; }
8830 defaultval=$wxUSE_ALL_FEATURES
8831 if test -z "$defaultval"; then
8832 if test x"$enablestring" = xdisable; then
8839 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8840 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8841 # Check whether --enable-mdi was given.
8842 if test "${enable_mdi+set}" = set; then
8843 enableval=$enable_mdi;
8844 if test "$enableval" = yes; then
8845 wx_cv_use_mdi='wxUSE_MDI=yes'
8847 wx_cv_use_mdi='wxUSE_MDI=no'
8852 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8857 eval "$wx_cv_use_mdi"
8859 if test x
"$enablestring" = xdisable
; then
8860 if test $wxUSE_MDI = yes; then
8869 { echo "$as_me:$LINENO: result: $result" >&5
8870 echo "${ECHO_T}$result" >&6; }
8874 defaultval
=$wxUSE_ALL_FEATURES
8875 if test -z "$defaultval"; then
8876 if test x
"$enablestring" = xdisable
; then
8883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8884 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8885 # Check whether --enable-mdidoc was given.
8886 if test "${enable_mdidoc+set}" = set; then
8887 enableval
=$enable_mdidoc;
8888 if test "$enableval" = yes; then
8889 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8891 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8896 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8901 eval "$wx_cv_use_mdidoc"
8903 if test x"$enablestring" = xdisable; then
8904 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8910 result=$wxUSE_MDI_ARCHITECTURE
8913 { echo "$as_me:$LINENO: result: $result" >&5
8914 echo "${ECHO_T}$result" >&6; }
8918 defaultval=$wxUSE_ALL_FEATURES
8919 if test -z "$defaultval"; then
8920 if test x"$enablestring" = xdisable; then
8927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8928 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8929 # Check whether --enable-mediactrl was given.
8930 if test "${enable_mediactrl+set}" = set; then
8931 enableval=$enable_mediactrl;
8932 if test "$enableval" = yes; then
8933 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
8935 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
8940 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8945 eval "$wx_cv_use_mediactrl"
8947 if test x"$enablestring" = xdisable; then
8948 if test $wxUSE_MEDIACTRL = yes; then
8954 result=$wxUSE_MEDIACTRL
8957 { echo "$as_me:$LINENO: result
: $result" >&5
8958 echo "${ECHO_T}$result" >&6; }
8962 defaultval=$wxUSE_ALL_FEATURES
8963 if test -z "$defaultval"; then
8964 if test x"$enablestring" = xdisable; then
8971 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
8972 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
8973 # Check whether --enable-gstreamer8 was given.
8974 if test "${enable_gstreamer8+set}" = set; then
8975 enableval=$enable_gstreamer8;
8976 if test "$enableval" = yes; then
8977 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8979 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8984 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8989 eval "$wx_cv_use_gstreamer8"
8991 if test x
"$enablestring" = xdisable
; then
8992 if test $wxUSE_GSTREAMER8 = yes; then
8998 result
=$wxUSE_GSTREAMER8
9001 { echo "$as_me:$LINENO: result: $result" >&5
9002 echo "${ECHO_T}$result" >&6; }
9006 defaultval
=$wxUSE_ALL_FEATURES
9007 if test -z "$defaultval"; then
9008 if test x
"$enablestring" = xdisable
; then
9015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9016 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9017 # Check whether --enable-webkit was given.
9018 if test "${enable_webkit+set}" = set; then
9019 enableval
=$enable_webkit;
9020 if test "$enableval" = yes; then
9021 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9023 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9028 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9033 eval "$wx_cv_use_webkit"
9035 if test x"$enablestring" = xdisable; then
9036 if test $wxUSE_WEBKIT = yes; then
9042 result=$wxUSE_WEBKIT
9045 { echo "$as_me:$LINENO: result: $result" >&5
9046 echo "${ECHO_T}$result" >&6; }
9050 defaultval=$wxUSE_ALL_FEATURES
9051 if test -z "$defaultval"; then
9052 if test x"$enablestring" = xdisable; then
9059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9060 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9061 # Check whether --enable-richtext was given.
9062 if test "${enable_richtext+set}" = set; then
9063 enableval=$enable_richtext;
9064 if test "$enableval" = yes; then
9065 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9067 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9072 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9077 eval "$wx_cv_use_richtext"
9079 if test x"$enablestring" = xdisable; then
9080 if test $wxUSE_RICHTEXT = yes; then
9086 result=$wxUSE_RICHTEXT
9089 { echo "$as_me:$LINENO: result
: $result" >&5
9090 echo "${ECHO_T}$result" >&6; }
9094 defaultval=$wxUSE_ALL_FEATURES
9095 if test -z "$defaultval"; then
9096 if test x"$enablestring" = xdisable; then
9103 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9104 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9105 # Check whether --enable-graphics_ctx was given.
9106 if test "${enable_graphics_ctx+set}" = set; then
9107 enableval=$enable_graphics_ctx;
9108 if test "$enableval" = yes; then
9109 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9111 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9116 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9121 eval "$wx_cv_use_graphics_ctx"
9123 if test x
"$enablestring" = xdisable
; then
9124 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9130 result
=$wxUSE_GRAPHICS_CONTEXT
9133 { echo "$as_me:$LINENO: result: $result" >&5
9134 echo "${ECHO_T}$result" >&6; }
9138 defaultval
=$wxUSE_ALL_FEATURES
9139 if test -z "$defaultval"; then
9140 if test x
"$enablestring" = xdisable
; then
9147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9149 # Check whether --enable-postscript was given.
9150 if test "${enable_postscript+set}" = set; then
9151 enableval
=$enable_postscript;
9152 if test "$enableval" = yes; then
9153 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9155 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9160 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9165 eval "$wx_cv_use_postscript"
9167 if test x"$enablestring" = xdisable; then
9168 if test $wxUSE_POSTSCRIPT = yes; then
9174 result=$wxUSE_POSTSCRIPT
9177 { echo "$as_me:$LINENO: result: $result" >&5
9178 echo "${ECHO_T}$result" >&6; }
9182 defaultval=$wxUSE_ALL_FEATURES
9183 if test -z "$defaultval"; then
9184 if test x"$enablestring" = xdisable; then
9191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9192 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9193 # Check whether --enable-printarch was given.
9194 if test "${enable_printarch+set}" = set; then
9195 enableval=$enable_printarch;
9196 if test "$enableval" = yes; then
9197 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9199 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9204 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9209 eval "$wx_cv_use_printarch"
9211 if test x"$enablestring" = xdisable; then
9212 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9218 result=$wxUSE_PRINTING_ARCHITECTURE
9221 { echo "$as_me:$LINENO: result
: $result" >&5
9222 echo "${ECHO_T}$result" >&6; }
9226 defaultval=$wxUSE_ALL_FEATURES
9227 if test -z "$defaultval"; then
9228 if test x"$enablestring" = xdisable; then
9235 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9236 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9237 # Check whether --enable-svg was given.
9238 if test "${enable_svg+set}" = set; then
9239 enableval=$enable_svg;
9240 if test "$enableval" = yes; then
9241 wx_cv_use_svg='wxUSE_SVG=yes'
9243 wx_cv_use_svg='wxUSE_SVG=no'
9248 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9253 eval "$wx_cv_use_svg"
9255 if test x
"$enablestring" = xdisable
; then
9256 if test $wxUSE_SVG = yes; then
9265 { echo "$as_me:$LINENO: result: $result" >&5
9266 echo "${ECHO_T}$result" >&6; }
9272 defaultval
=$wxUSE_ALL_FEATURES
9273 if test -z "$defaultval"; then
9274 if test x
"$enablestring" = xdisable
; then
9281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9282 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9283 # Check whether --enable-clipboard was given.
9284 if test "${enable_clipboard+set}" = set; then
9285 enableval
=$enable_clipboard;
9286 if test "$enableval" = yes; then
9287 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9289 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9294 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9299 eval "$wx_cv_use_clipboard"
9301 if test x"$enablestring" = xdisable; then
9302 if test $wxUSE_CLIPBOARD = yes; then
9308 result=$wxUSE_CLIPBOARD
9311 { echo "$as_me:$LINENO: result: $result" >&5
9312 echo "${ECHO_T}$result" >&6; }
9316 defaultval=$wxUSE_ALL_FEATURES
9317 if test -z "$defaultval"; then
9318 if test x"$enablestring" = xdisable; then
9325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9326 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9327 # Check whether --enable-dnd was given.
9328 if test "${enable_dnd+set}" = set; then
9329 enableval=$enable_dnd;
9330 if test "$enableval" = yes; then
9331 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9333 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9338 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9343 eval "$wx_cv_use_dnd"
9345 if test x"$enablestring" = xdisable; then
9346 if test $wxUSE_DRAG_AND_DROP = yes; then
9352 result=$wxUSE_DRAG_AND_DROP
9355 { echo "$as_me:$LINENO: result
: $result" >&5
9356 echo "${ECHO_T}$result" >&6; }
9360 defaultval=$wxUSE_ALL_FEATURES
9361 if test -z "$defaultval"; then
9362 if test x"$enablestring" = xdisable; then
9369 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9370 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9371 # Check whether --enable-metafile was given.
9372 if test "${enable_metafile+set}" = set; then
9373 enableval=$enable_metafile;
9374 if test "$enableval" = yes; then
9375 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9377 wx_cv_use_metafile='wxUSE_METAFILE=no'
9382 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9387 eval "$wx_cv_use_metafile"
9389 if test x
"$enablestring" = xdisable
; then
9390 if test $wxUSE_METAFILE = yes; then
9396 result
=$wxUSE_METAFILE
9399 { echo "$as_me:$LINENO: result: $result" >&5
9400 echo "${ECHO_T}$result" >&6; }
9404 DEFAULT_wxUSE_CONTROLS
=none
9406 enablestring
=disable
9408 if test -z "$defaultval"; then
9409 if test x
"$enablestring" = xdisable
; then
9416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9417 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9418 # Check whether --enable-controls was given.
9419 if test "${enable_controls+set}" = set; then
9420 enableval
=$enable_controls;
9421 if test "$enableval" = yes; then
9422 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9424 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9429 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9434 eval "$wx_cv_use_controls"
9436 if test x"$enablestring" = xdisable; then
9437 if test $wxUSE_CONTROLS = yes; then
9443 result=$wxUSE_CONTROLS
9446 { echo "$as_me:$LINENO: result: $result" >&5
9447 echo "${ECHO_T}$result" >&6; }
9450 if test "$wxUSE_CONTROLS" = "yes"; then
9451 DEFAULT_wxUSE_ACCEL=yes
9452 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9453 DEFAULT_wxUSE_BMPBUTTON=yes
9454 DEFAULT_wxUSE_BUTTON=yes
9455 DEFAULT_wxUSE_CALCTRL=yes
9456 DEFAULT_wxUSE_CARET=yes
9457 DEFAULT_wxUSE_COMBOBOX=yes
9458 DEFAULT_wxUSE_CHECKBOX=yes
9459 DEFAULT_wxUSE_CHECKLISTBOX=yes
9460 DEFAULT_wxUSE_CHOICE=yes
9461 DEFAULT_wxUSE_CHOICEBOOK=yes
9462 DEFAULT_wxUSE_COLLPANE=yes
9463 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9464 DEFAULT_wxUSE_COMBOBOX=yes
9465 DEFAULT_wxUSE_DATEPICKCTRL=yes
9466 DEFAULT_wxUSE_DISPLAY=yes
9467 DEFAULT_wxUSE_DETECT_SM=yes
9468 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9469 DEFAULT_wxUSE_FILECTRL=yes
9470 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9471 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9472 DEFAULT_wxUSE_GAUGE=yes
9473 DEFAULT_wxUSE_GRID=yes
9474 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9475 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9476 DEFAULT_wxUSE_IMAGLIST=yes
9477 DEFAULT_wxUSE_LISTBOOK=yes
9478 DEFAULT_wxUSE_LISTBOX=yes
9479 DEFAULT_wxUSE_LISTCTRL=yes
9480 DEFAULT_wxUSE_NOTEBOOK=yes
9481 DEFAULT_wxUSE_RADIOBOX=yes
9482 DEFAULT_wxUSE_RADIOBTN=yes
9483 DEFAULT_wxUSE_SASH=yes
9484 DEFAULT_wxUSE_SCROLLBAR=yes
9485 DEFAULT_wxUSE_SEARCHCTRL=yes
9486 DEFAULT_wxUSE_SLIDER=yes
9487 DEFAULT_wxUSE_SPINBTN=yes
9488 DEFAULT_wxUSE_SPINCTRL=yes
9489 DEFAULT_wxUSE_SPLITTER=yes
9490 DEFAULT_wxUSE_STATBMP=yes
9491 DEFAULT_wxUSE_STATBOX=yes
9492 DEFAULT_wxUSE_STATLINE=yes
9493 DEFAULT_wxUSE_STATUSBAR=yes
9494 DEFAULT_wxUSE_TAB_DIALOG=yes
9495 DEFAULT_wxUSE_TOGGLEBTN=yes
9496 DEFAULT_wxUSE_TOOLBAR=yes
9497 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9498 DEFAULT_wxUSE_TOOLTIPS=yes
9499 DEFAULT_wxUSE_TREEBOOK=yes
9500 DEFAULT_wxUSE_TOOLBOOK=yes
9501 DEFAULT_wxUSE_TREECTRL=yes
9502 DEFAULT_wxUSE_POPUPWIN=yes
9503 DEFAULT_wxUSE_TIPWINDOW=yes
9504 elif test "$wxUSE_CONTROLS" = "no"; then
9505 DEFAULT_wxUSE_ACCEL=no
9506 DEFAULT_wxUSE_ANIMATIONCTRL=no
9507 DEFAULT_wxUSE_BMPBUTTON=no
9508 DEFAULT_wxUSE_BUTTON=no
9509 DEFAULT_wxUSE_CALCTRL=no
9510 DEFAULT_wxUSE_CARET=no
9511 DEFAULT_wxUSE_COLLPANE=no
9512 DEFAULT_wxUSE_COMBOBOX=no
9513 DEFAULT_wxUSE_CHECKBOX=no
9514 DEFAULT_wxUSE_CHECKLISTBOX=no
9515 DEFAULT_wxUSE_CHOICE=no
9516 DEFAULT_wxUSE_CHOICEBOOK=no
9517 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9518 DEFAULT_wxUSE_COMBOBOX=no
9519 DEFAULT_wxUSE_DATEPICKCTRL=no
9520 DEFAULT_wxUSE_DISPLAY=no
9521 DEFAULT_wxUSE_DETECT_SM=no
9522 DEFAULT_wxUSE_DIRPICKERCTRL=no
9523 DEFAULT_wxUSE_FILECTRL=no
9524 DEFAULT_wxUSE_FILEPICKERCTRL=no
9525 DEFAULT_wxUSE_FONTPICKERCTRL=no
9526 DEFAULT_wxUSE_GAUGE=no
9527 DEFAULT_wxUSE_GRID=no
9528 DEFAULT_wxUSE_HYPERLINKCTRL=no
9529 DEFAULT_wxUSE_DATAVIEWCTRL=no
9530 DEFAULT_wxUSE_IMAGLIST=no
9531 DEFAULT_wxUSE_LISTBOOK=no
9532 DEFAULT_wxUSE_LISTBOX=no
9533 DEFAULT_wxUSE_LISTCTRL=no
9534 DEFAULT_wxUSE_NOTEBOOK=no
9535 DEFAULT_wxUSE_RADIOBOX=no
9536 DEFAULT_wxUSE_RADIOBTN=no
9537 DEFAULT_wxUSE_SASH=no
9538 DEFAULT_wxUSE_SCROLLBAR=no
9539 DEFAULT_wxUSE_SEARCHCTRL=no
9540 DEFAULT_wxUSE_SLIDER=no
9541 DEFAULT_wxUSE_SPINBTN=no
9542 DEFAULT_wxUSE_SPINCTRL=no
9543 DEFAULT_wxUSE_SPLITTER=no
9544 DEFAULT_wxUSE_STATBMP=no
9545 DEFAULT_wxUSE_STATBOX=no
9546 DEFAULT_wxUSE_STATLINE=no
9547 DEFAULT_wxUSE_STATUSBAR=no
9548 DEFAULT_wxUSE_TAB_DIALOG=no
9549 DEFAULT_wxUSE_TOGGLEBTN=no
9550 DEFAULT_wxUSE_TOOLBAR=no
9551 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9552 DEFAULT_wxUSE_TOOLTIPS=no
9553 DEFAULT_wxUSE_TREEBOOK=no
9554 DEFAULT_wxUSE_TOOLBOOK=no
9555 DEFAULT_wxUSE_TREECTRL=no
9556 DEFAULT_wxUSE_POPUPWIN=no
9557 DEFAULT_wxUSE_TIPWINDOW=no
9562 defaultval=$wxUSE_ALL_FEATURES
9563 if test -z "$defaultval"; then
9564 if test x"$enablestring" = xdisable; then
9571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9572 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9573 # Check whether --enable-accel was given.
9574 if test "${enable_accel+set}" = set; then
9575 enableval=$enable_accel;
9576 if test "$enableval" = yes; then
9577 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9579 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9584 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9589 eval "$wx_cv_use_accel"
9591 if test x"$enablestring" = xdisable; then
9592 if test $wxUSE_ACCEL = yes; then
9601 { echo "$as_me:$LINENO: result
: $result" >&5
9602 echo "${ECHO_T}$result" >&6; }
9606 defaultval=$wxUSE_ALL_FEATURES
9607 if test -z "$defaultval"; then
9608 if test x"$enablestring" = xdisable; then
9615 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9616 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9617 # Check whether --enable-animatectrl was given.
9618 if test "${enable_animatectrl+set}" = set; then
9619 enableval=$enable_animatectrl;
9620 if test "$enableval" = yes; then
9621 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9623 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9628 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9633 eval "$wx_cv_use_animatectrl"
9635 if test x
"$enablestring" = xdisable
; then
9636 if test $wxUSE_ANIMATIONCTRL = yes; then
9642 result
=$wxUSE_ANIMATIONCTRL
9645 { echo "$as_me:$LINENO: result: $result" >&5
9646 echo "${ECHO_T}$result" >&6; }
9650 defaultval
=$wxUSE_ALL_FEATURES
9651 if test -z "$defaultval"; then
9652 if test x
"$enablestring" = xdisable
; then
9659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9660 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9661 # Check whether --enable-button was given.
9662 if test "${enable_button+set}" = set; then
9663 enableval
=$enable_button;
9664 if test "$enableval" = yes; then
9665 wx_cv_use_button
='wxUSE_BUTTON=yes'
9667 wx_cv_use_button
='wxUSE_BUTTON=no'
9672 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9677 eval "$wx_cv_use_button"
9679 if test x"$enablestring" = xdisable; then
9680 if test $wxUSE_BUTTON = yes; then
9686 result=$wxUSE_BUTTON
9689 { echo "$as_me:$LINENO: result: $result" >&5
9690 echo "${ECHO_T}$result" >&6; }
9694 defaultval=$wxUSE_ALL_FEATURES
9695 if test -z "$defaultval"; then
9696 if test x"$enablestring" = xdisable; then
9703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9704 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9705 # Check whether --enable-bmpbutton was given.
9706 if test "${enable_bmpbutton+set}" = set; then
9707 enableval=$enable_bmpbutton;
9708 if test "$enableval" = yes; then
9709 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9711 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9716 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9721 eval "$wx_cv_use_bmpbutton"
9723 if test x"$enablestring" = xdisable; then
9724 if test $wxUSE_BMPBUTTON = yes; then
9730 result=$wxUSE_BMPBUTTON
9733 { echo "$as_me:$LINENO: result
: $result" >&5
9734 echo "${ECHO_T}$result" >&6; }
9738 defaultval=$wxUSE_ALL_FEATURES
9739 if test -z "$defaultval"; then
9740 if test x"$enablestring" = xdisable; then
9747 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9748 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9749 # Check whether --enable-bmpcombobox was given.
9750 if test "${enable_bmpcombobox+set}" = set; then
9751 enableval=$enable_bmpcombobox;
9752 if test "$enableval" = yes; then
9753 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9755 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9760 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9765 eval "$wx_cv_use_bmpcombobox"
9767 if test x
"$enablestring" = xdisable
; then
9768 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9774 result
=$wxUSE_BITMAPCOMBOBOX
9777 { echo "$as_me:$LINENO: result: $result" >&5
9778 echo "${ECHO_T}$result" >&6; }
9782 defaultval
=$wxUSE_ALL_FEATURES
9783 if test -z "$defaultval"; then
9784 if test x
"$enablestring" = xdisable
; then
9791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9792 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9793 # Check whether --enable-calendar was given.
9794 if test "${enable_calendar+set}" = set; then
9795 enableval
=$enable_calendar;
9796 if test "$enableval" = yes; then
9797 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9799 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9804 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9809 eval "$wx_cv_use_calendar"
9811 if test x"$enablestring" = xdisable; then
9812 if test $wxUSE_CALCTRL = yes; then
9818 result=$wxUSE_CALCTRL
9821 { echo "$as_me:$LINENO: result: $result" >&5
9822 echo "${ECHO_T}$result" >&6; }
9826 defaultval=$wxUSE_ALL_FEATURES
9827 if test -z "$defaultval"; then
9828 if test x"$enablestring" = xdisable; then
9835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9836 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9837 # Check whether --enable-caret was given.
9838 if test "${enable_caret+set}" = set; then
9839 enableval=$enable_caret;
9840 if test "$enableval" = yes; then
9841 wx_cv_use_caret='wxUSE_CARET
=yes'
9843 wx_cv_use_caret='wxUSE_CARET
=no
'
9848 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9853 eval "$wx_cv_use_caret"
9855 if test x"$enablestring" = xdisable; then
9856 if test $wxUSE_CARET = yes; then
9865 { echo "$as_me:$LINENO: result
: $result" >&5
9866 echo "${ECHO_T}$result" >&6; }
9870 defaultval=$wxUSE_ALL_FEATURES
9871 if test -z "$defaultval"; then
9872 if test x"$enablestring" = xdisable; then
9879 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9880 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9881 # Check whether --enable-checkbox was given.
9882 if test "${enable_checkbox+set}" = set; then
9883 enableval=$enable_checkbox;
9884 if test "$enableval" = yes; then
9885 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9887 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9892 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9897 eval "$wx_cv_use_checkbox"
9899 if test x
"$enablestring" = xdisable
; then
9900 if test $wxUSE_CHECKBOX = yes; then
9906 result
=$wxUSE_CHECKBOX
9909 { echo "$as_me:$LINENO: result: $result" >&5
9910 echo "${ECHO_T}$result" >&6; }
9914 defaultval
=$wxUSE_ALL_FEATURES
9915 if test -z "$defaultval"; then
9916 if test x
"$enablestring" = xdisable
; then
9923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9924 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9925 # Check whether --enable-checklst was given.
9926 if test "${enable_checklst+set}" = set; then
9927 enableval
=$enable_checklst;
9928 if test "$enableval" = yes; then
9929 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9931 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9936 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9941 eval "$wx_cv_use_checklst"
9943 if test x"$enablestring" = xdisable; then
9944 if test $wxUSE_CHECKLST = yes; then
9950 result=$wxUSE_CHECKLST
9953 { echo "$as_me:$LINENO: result: $result" >&5
9954 echo "${ECHO_T}$result" >&6; }
9958 defaultval=$wxUSE_ALL_FEATURES
9959 if test -z "$defaultval"; then
9960 if test x"$enablestring" = xdisable; then
9967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9968 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9969 # Check whether --enable-choice was given.
9970 if test "${enable_choice+set}" = set; then
9971 enableval=$enable_choice;
9972 if test "$enableval" = yes; then
9973 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9975 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9980 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9985 eval "$wx_cv_use_choice"
9987 if test x"$enablestring" = xdisable; then
9988 if test $wxUSE_CHOICE = yes; then
9994 result=$wxUSE_CHOICE
9997 { echo "$as_me:$LINENO: result
: $result" >&5
9998 echo "${ECHO_T}$result" >&6; }
10002 defaultval=$wxUSE_ALL_FEATURES
10003 if test -z "$defaultval"; then
10004 if test x"$enablestring" = xdisable; then
10011 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
10012 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
10013 # Check whether --enable-choicebook was given.
10014 if test "${enable_choicebook+set}" = set; then
10015 enableval=$enable_choicebook;
10016 if test "$enableval" = yes; then
10017 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10019 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10024 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10029 eval "$wx_cv_use_choicebook"
10031 if test x
"$enablestring" = xdisable
; then
10032 if test $wxUSE_CHOICEBOOK = yes; then
10038 result
=$wxUSE_CHOICEBOOK
10041 { echo "$as_me:$LINENO: result: $result" >&5
10042 echo "${ECHO_T}$result" >&6; }
10046 defaultval
=$wxUSE_ALL_FEATURES
10047 if test -z "$defaultval"; then
10048 if test x
"$enablestring" = xdisable
; then
10055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10056 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10057 # Check whether --enable-collpane was given.
10058 if test "${enable_collpane+set}" = set; then
10059 enableval
=$enable_collpane;
10060 if test "$enableval" = yes; then
10061 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10063 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10068 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10073 eval "$wx_cv_use_collpane"
10075 if test x"$enablestring" = xdisable; then
10076 if test $wxUSE_COLLPANE = yes; then
10082 result=$wxUSE_COLLPANE
10085 { echo "$as_me:$LINENO: result: $result" >&5
10086 echo "${ECHO_T}$result" >&6; }
10090 defaultval=$wxUSE_ALL_FEATURES
10091 if test -z "$defaultval"; then
10092 if test x"$enablestring" = xdisable; then
10099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10100 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10101 # Check whether --enable-colourpicker was given.
10102 if test "${enable_colourpicker+set}" = set; then
10103 enableval=$enable_colourpicker;
10104 if test "$enableval" = yes; then
10105 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10107 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10112 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10117 eval "$wx_cv_use_colourpicker"
10119 if test x"$enablestring" = xdisable; then
10120 if test $wxUSE_COLOURPICKERCTRL = yes; then
10126 result=$wxUSE_COLOURPICKERCTRL
10129 { echo "$as_me:$LINENO: result
: $result" >&5
10130 echo "${ECHO_T}$result" >&6; }
10134 defaultval=$wxUSE_ALL_FEATURES
10135 if test -z "$defaultval"; then
10136 if test x"$enablestring" = xdisable; then
10143 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10144 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10145 # Check whether --enable-combobox was given.
10146 if test "${enable_combobox+set}" = set; then
10147 enableval=$enable_combobox;
10148 if test "$enableval" = yes; then
10149 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10151 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10156 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10161 eval "$wx_cv_use_combobox"
10163 if test x
"$enablestring" = xdisable
; then
10164 if test $wxUSE_COMBOBOX = yes; then
10170 result
=$wxUSE_COMBOBOX
10173 { echo "$as_me:$LINENO: result: $result" >&5
10174 echo "${ECHO_T}$result" >&6; }
10178 defaultval
=$wxUSE_ALL_FEATURES
10179 if test -z "$defaultval"; then
10180 if test x
"$enablestring" = xdisable
; then
10187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10188 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10189 # Check whether --enable-comboctrl was given.
10190 if test "${enable_comboctrl+set}" = set; then
10191 enableval
=$enable_comboctrl;
10192 if test "$enableval" = yes; then
10193 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10195 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10200 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10205 eval "$wx_cv_use_comboctrl"
10207 if test x"$enablestring" = xdisable; then
10208 if test $wxUSE_COMBOCTRL = yes; then
10214 result=$wxUSE_COMBOCTRL
10217 { echo "$as_me:$LINENO: result: $result" >&5
10218 echo "${ECHO_T}$result" >&6; }
10222 defaultval=$wxUSE_ALL_FEATURES
10223 if test -z "$defaultval"; then
10224 if test x"$enablestring" = xdisable; then
10231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10232 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10233 # Check whether --enable-datepick was given.
10234 if test "${enable_datepick+set}" = set; then
10235 enableval=$enable_datepick;
10236 if test "$enableval" = yes; then
10237 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10239 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10244 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10249 eval "$wx_cv_use_datepick"
10251 if test x"$enablestring" = xdisable; then
10252 if test $wxUSE_DATEPICKCTRL = yes; then
10258 result=$wxUSE_DATEPICKCTRL
10261 { echo "$as_me:$LINENO: result
: $result" >&5
10262 echo "${ECHO_T}$result" >&6; }
10266 defaultval=$wxUSE_ALL_FEATURES
10267 if test -z "$defaultval"; then
10268 if test x"$enablestring" = xdisable; then
10275 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10276 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10277 # Check whether --enable-dirpicker was given.
10278 if test "${enable_dirpicker+set}" = set; then
10279 enableval=$enable_dirpicker;
10280 if test "$enableval" = yes; then
10281 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10283 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10288 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10293 eval "$wx_cv_use_dirpicker"
10295 if test x
"$enablestring" = xdisable
; then
10296 if test $wxUSE_DIRPICKERCTRL = yes; then
10302 result
=$wxUSE_DIRPICKERCTRL
10305 { echo "$as_me:$LINENO: result: $result" >&5
10306 echo "${ECHO_T}$result" >&6; }
10310 defaultval
=$wxUSE_ALL_FEATURES
10311 if test -z "$defaultval"; then
10312 if test x
"$enablestring" = xdisable
; then
10319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10320 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10321 # Check whether --enable-display was given.
10322 if test "${enable_display+set}" = set; then
10323 enableval
=$enable_display;
10324 if test "$enableval" = yes; then
10325 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10327 wx_cv_use_display
='wxUSE_DISPLAY=no'
10332 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10337 eval "$wx_cv_use_display"
10339 if test x"$enablestring" = xdisable; then
10340 if test $wxUSE_DISPLAY = yes; then
10346 result=$wxUSE_DISPLAY
10349 { echo "$as_me:$LINENO: result: $result" >&5
10350 echo "${ECHO_T}$result" >&6; }
10354 defaultval=$wxUSE_ALL_FEATURES
10355 if test -z "$defaultval"; then
10356 if test x"$enablestring" = xdisable; then
10363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10364 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10365 # Check whether --enable-detect_sm was given.
10366 if test "${enable_detect_sm+set}" = set; then
10367 enableval=$enable_detect_sm;
10368 if test "$enableval" = yes; then
10369 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10371 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10376 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10381 eval "$wx_cv_use_detect_sm"
10383 if test x"$enablestring" = xdisable; then
10384 if test $wxUSE_DETECT_SM = yes; then
10390 result=$wxUSE_DETECT_SM
10393 { echo "$as_me:$LINENO: result
: $result" >&5
10394 echo "${ECHO_T}$result" >&6; }
10398 defaultval=$wxUSE_ALL_FEATURES
10399 if test -z "$defaultval"; then
10400 if test x"$enablestring" = xdisable; then
10407 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
10408 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
10409 # Check whether --enable-editablebox was given.
10410 if test "${enable_editablebox+set}" = set; then
10411 enableval=$enable_editablebox;
10412 if test "$enableval" = yes; then
10413 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10415 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10420 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10425 eval "$wx_cv_use_editablebox"
10427 if test x
"$enablestring" = xdisable
; then
10428 if test $wxUSE_EDITABLELISTBOX = yes; then
10434 result
=$wxUSE_EDITABLELISTBOX
10437 { echo "$as_me:$LINENO: result: $result" >&5
10438 echo "${ECHO_T}$result" >&6; }
10442 defaultval
=$wxUSE_ALL_FEATURES
10443 if test -z "$defaultval"; then
10444 if test x
"$enablestring" = xdisable
; then
10451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10452 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10453 # Check whether --enable-filepicker was given.
10454 if test "${enable_filepicker+set}" = set; then
10455 enableval
=$enable_filepicker;
10456 if test "$enableval" = yes; then
10457 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10459 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10464 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10469 eval "$wx_cv_use_filepicker"
10471 if test x"$enablestring" = xdisable; then
10472 if test $wxUSE_FILEPICKERCTRL = yes; then
10478 result=$wxUSE_FILEPICKERCTRL
10481 { echo "$as_me:$LINENO: result: $result" >&5
10482 echo "${ECHO_T}$result" >&6; }
10486 defaultval=$wxUSE_ALL_FEATURES
10487 if test -z "$defaultval"; then
10488 if test x"$enablestring" = xdisable; then
10495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10496 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10497 # Check whether --enable-filectrl was given.
10498 if test "${enable_filectrl+set}" = set; then
10499 enableval=$enable_filectrl;
10500 if test "$enableval" = yes; then
10501 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10503 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10508 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10513 eval "$wx_cv_use_filectrl"
10515 if test x"$enablestring" = xdisable; then
10516 if test $wxUSE_FILECTRL = yes; then
10522 result=$wxUSE_FILECTRL
10525 { echo "$as_me:$LINENO: result
: $result" >&5
10526 echo "${ECHO_T}$result" >&6; }
10530 defaultval=$wxUSE_ALL_FEATURES
10531 if test -z "$defaultval"; then
10532 if test x"$enablestring" = xdisable; then
10539 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
10540 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
10541 # Check whether --enable-fontpicker was given.
10542 if test "${enable_fontpicker+set}" = set; then
10543 enableval=$enable_fontpicker;
10544 if test "$enableval" = yes; then
10545 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10547 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10552 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10557 eval "$wx_cv_use_fontpicker"
10559 if test x
"$enablestring" = xdisable
; then
10560 if test $wxUSE_FONTPICKERCTRL = yes; then
10566 result
=$wxUSE_FONTPICKERCTRL
10569 { echo "$as_me:$LINENO: result: $result" >&5
10570 echo "${ECHO_T}$result" >&6; }
10574 defaultval
=$wxUSE_ALL_FEATURES
10575 if test -z "$defaultval"; then
10576 if test x
"$enablestring" = xdisable
; then
10583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10584 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10585 # Check whether --enable-gauge was given.
10586 if test "${enable_gauge+set}" = set; then
10587 enableval
=$enable_gauge;
10588 if test "$enableval" = yes; then
10589 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
10591 wx_cv_use_gauge
='wxUSE_GAUGE=no'
10596 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10601 eval "$wx_cv_use_gauge"
10603 if test x"$enablestring" = xdisable; then
10604 if test $wxUSE_GAUGE = yes; then
10610 result=$wxUSE_GAUGE
10613 { echo "$as_me:$LINENO: result: $result" >&5
10614 echo "${ECHO_T}$result" >&6; }
10618 defaultval=$wxUSE_ALL_FEATURES
10619 if test -z "$defaultval"; then
10620 if test x"$enablestring" = xdisable; then
10627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10628 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10629 # Check whether --enable-grid was given.
10630 if test "${enable_grid+set}" = set; then
10631 enableval=$enable_grid;
10632 if test "$enableval" = yes; then
10633 wx_cv_use_grid='wxUSE_GRID
=yes'
10635 wx_cv_use_grid='wxUSE_GRID
=no
'
10640 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10645 eval "$wx_cv_use_grid"
10647 if test x"$enablestring" = xdisable; then
10648 if test $wxUSE_GRID = yes; then
10657 { echo "$as_me:$LINENO: result
: $result" >&5
10658 echo "${ECHO_T}$result" >&6; }
10662 defaultval=$wxUSE_ALL_FEATURES
10663 if test -z "$defaultval"; then
10664 if test x"$enablestring" = xdisable; then
10671 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10672 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10673 # Check whether --enable-dataviewctrl was given.
10674 if test "${enable_dataviewctrl+set}" = set; then
10675 enableval=$enable_dataviewctrl;
10676 if test "$enableval" = yes; then
10677 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10679 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10684 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10689 eval "$wx_cv_use_dataviewctrl"
10691 if test x
"$enablestring" = xdisable
; then
10692 if test $wxUSE_DATAVIEWCTRL = yes; then
10698 result
=$wxUSE_DATAVIEWCTRL
10701 { echo "$as_me:$LINENO: result: $result" >&5
10702 echo "${ECHO_T}$result" >&6; }
10706 defaultval
=$wxUSE_ALL_FEATURES
10707 if test -z "$defaultval"; then
10708 if test x
"$enablestring" = xdisable
; then
10715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10716 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10717 # Check whether --enable-hyperlink was given.
10718 if test "${enable_hyperlink+set}" = set; then
10719 enableval
=$enable_hyperlink;
10720 if test "$enableval" = yes; then
10721 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
10723 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
10728 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10733 eval "$wx_cv_use_hyperlink"
10735 if test x"$enablestring" = xdisable; then
10736 if test $wxUSE_HYPERLINKCTRL = yes; then
10742 result=$wxUSE_HYPERLINKCTRL
10745 { echo "$as_me:$LINENO: result: $result" >&5
10746 echo "${ECHO_T}$result" >&6; }
10750 defaultval=$wxUSE_ALL_FEATURES
10751 if test -z "$defaultval"; then
10752 if test x"$enablestring" = xdisable; then
10759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10760 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10761 # Check whether --enable-imaglist was given.
10762 if test "${enable_imaglist+set}" = set; then
10763 enableval=$enable_imaglist;
10764 if test "$enableval" = yes; then
10765 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
10767 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
10772 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10777 eval "$wx_cv_use_imaglist"
10779 if test x"$enablestring" = xdisable; then
10780 if test $wxUSE_IMAGLIST = yes; then
10786 result=$wxUSE_IMAGLIST
10789 { echo "$as_me:$LINENO: result
: $result" >&5
10790 echo "${ECHO_T}$result" >&6; }
10794 defaultval=$wxUSE_ALL_FEATURES
10795 if test -z "$defaultval"; then
10796 if test x"$enablestring" = xdisable; then
10803 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
10804 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
10805 # Check whether --enable-listbook was given.
10806 if test "${enable_listbook+set}" = set; then
10807 enableval=$enable_listbook;
10808 if test "$enableval" = yes; then
10809 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10811 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10816 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10821 eval "$wx_cv_use_listbook"
10823 if test x
"$enablestring" = xdisable
; then
10824 if test $wxUSE_LISTBOOK = yes; then
10830 result
=$wxUSE_LISTBOOK
10833 { echo "$as_me:$LINENO: result: $result" >&5
10834 echo "${ECHO_T}$result" >&6; }
10838 defaultval
=$wxUSE_ALL_FEATURES
10839 if test -z "$defaultval"; then
10840 if test x
"$enablestring" = xdisable
; then
10847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10848 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10849 # Check whether --enable-listbox was given.
10850 if test "${enable_listbox+set}" = set; then
10851 enableval
=$enable_listbox;
10852 if test "$enableval" = yes; then
10853 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
10855 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
10860 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10865 eval "$wx_cv_use_listbox"
10867 if test x"$enablestring" = xdisable; then
10868 if test $wxUSE_LISTBOX = yes; then
10874 result=$wxUSE_LISTBOX
10877 { echo "$as_me:$LINENO: result: $result" >&5
10878 echo "${ECHO_T}$result" >&6; }
10882 defaultval=$wxUSE_ALL_FEATURES
10883 if test -z "$defaultval"; then
10884 if test x"$enablestring" = xdisable; then
10891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10892 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10893 # Check whether --enable-listctrl was given.
10894 if test "${enable_listctrl+set}" = set; then
10895 enableval=$enable_listctrl;
10896 if test "$enableval" = yes; then
10897 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
10899 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
10904 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10909 eval "$wx_cv_use_listctrl"
10911 if test x"$enablestring" = xdisable; then
10912 if test $wxUSE_LISTCTRL = yes; then
10918 result=$wxUSE_LISTCTRL
10921 { echo "$as_me:$LINENO: result
: $result" >&5
10922 echo "${ECHO_T}$result" >&6; }
10926 defaultval=$wxUSE_ALL_FEATURES
10927 if test -z "$defaultval"; then
10928 if test x"$enablestring" = xdisable; then
10935 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
10936 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
10937 # Check whether --enable-notebook was given.
10938 if test "${enable_notebook+set}" = set; then
10939 enableval=$enable_notebook;
10940 if test "$enableval" = yes; then
10941 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10943 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10948 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10953 eval "$wx_cv_use_notebook"
10955 if test x
"$enablestring" = xdisable
; then
10956 if test $wxUSE_NOTEBOOK = yes; then
10962 result
=$wxUSE_NOTEBOOK
10965 { echo "$as_me:$LINENO: result: $result" >&5
10966 echo "${ECHO_T}$result" >&6; }
10970 defaultval
=$wxUSE_ALL_FEATURES
10971 if test -z "$defaultval"; then
10972 if test x
"$enablestring" = xdisable
; then
10979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10980 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10981 # Check whether --enable-notifmsg was given.
10982 if test "${enable_notifmsg+set}" = set; then
10983 enableval
=$enable_notifmsg;
10984 if test "$enableval" = yes; then
10985 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
10987 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
10992 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10997 eval "$wx_cv_use_notifmsg"
10999 if test x"$enablestring" = xdisable; then
11000 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11006 result=$wxUSE_NOTIFICATION_MESSAGE
11009 { echo "$as_me:$LINENO: result: $result" >&5
11010 echo "${ECHO_T}$result" >&6; }
11014 defaultval=$wxUSE_ALL_FEATURES
11015 if test -z "$defaultval"; then
11016 if test x"$enablestring" = xdisable; then
11023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11024 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11025 # Check whether --enable-odcombobox was given.
11026 if test "${enable_odcombobox+set}" = set; then
11027 enableval=$enable_odcombobox;
11028 if test "$enableval" = yes; then
11029 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
11031 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
11036 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11041 eval "$wx_cv_use_odcombobox"
11043 if test x"$enablestring" = xdisable; then
11044 if test $wxUSE_ODCOMBOBOX = yes; then
11050 result=$wxUSE_ODCOMBOBOX
11053 { echo "$as_me:$LINENO: result
: $result" >&5
11054 echo "${ECHO_T}$result" >&6; }
11058 defaultval=$wxUSE_ALL_FEATURES
11059 if test -z "$defaultval"; then
11060 if test x"$enablestring" = xdisable; then
11067 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
11068 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
11069 # Check whether --enable-radiobox was given.
11070 if test "${enable_radiobox+set}" = set; then
11071 enableval=$enable_radiobox;
11072 if test "$enableval" = yes; then
11073 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11075 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11080 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11085 eval "$wx_cv_use_radiobox"
11087 if test x
"$enablestring" = xdisable
; then
11088 if test $wxUSE_RADIOBOX = yes; then
11094 result
=$wxUSE_RADIOBOX
11097 { echo "$as_me:$LINENO: result: $result" >&5
11098 echo "${ECHO_T}$result" >&6; }
11102 defaultval
=$wxUSE_ALL_FEATURES
11103 if test -z "$defaultval"; then
11104 if test x
"$enablestring" = xdisable
; then
11111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11112 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11113 # Check whether --enable-radiobtn was given.
11114 if test "${enable_radiobtn+set}" = set; then
11115 enableval
=$enable_radiobtn;
11116 if test "$enableval" = yes; then
11117 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11119 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11124 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11129 eval "$wx_cv_use_radiobtn"
11131 if test x"$enablestring" = xdisable; then
11132 if test $wxUSE_RADIOBTN = yes; then
11138 result=$wxUSE_RADIOBTN
11141 { echo "$as_me:$LINENO: result: $result" >&5
11142 echo "${ECHO_T}$result" >&6; }
11146 defaultval=$wxUSE_ALL_FEATURES
11147 if test -z "$defaultval"; then
11148 if test x"$enablestring" = xdisable; then
11155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11156 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11157 # Check whether --enable-sash was given.
11158 if test "${enable_sash+set}" = set; then
11159 enableval=$enable_sash;
11160 if test "$enableval" = yes; then
11161 wx_cv_use_sash='wxUSE_SASH
=yes'
11163 wx_cv_use_sash='wxUSE_SASH
=no
'
11168 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11173 eval "$wx_cv_use_sash"
11175 if test x"$enablestring" = xdisable; then
11176 if test $wxUSE_SASH = yes; then
11185 { echo "$as_me:$LINENO: result
: $result" >&5
11186 echo "${ECHO_T}$result" >&6; }
11190 defaultval=$wxUSE_ALL_FEATURES
11191 if test -z "$defaultval"; then
11192 if test x"$enablestring" = xdisable; then
11199 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11200 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11201 # Check whether --enable-scrollbar was given.
11202 if test "${enable_scrollbar+set}" = set; then
11203 enableval=$enable_scrollbar;
11204 if test "$enableval" = yes; then
11205 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11207 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11212 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11217 eval "$wx_cv_use_scrollbar"
11219 if test x
"$enablestring" = xdisable
; then
11220 if test $wxUSE_SCROLLBAR = yes; then
11226 result
=$wxUSE_SCROLLBAR
11229 { echo "$as_me:$LINENO: result: $result" >&5
11230 echo "${ECHO_T}$result" >&6; }
11234 defaultval
=$wxUSE_ALL_FEATURES
11235 if test -z "$defaultval"; then
11236 if test x
"$enablestring" = xdisable
; then
11243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11244 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11245 # Check whether --enable-searchctrl was given.
11246 if test "${enable_searchctrl+set}" = set; then
11247 enableval
=$enable_searchctrl;
11248 if test "$enableval" = yes; then
11249 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11251 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11256 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11261 eval "$wx_cv_use_searchctrl"
11263 if test x"$enablestring" = xdisable; then
11264 if test $wxUSE_SEARCHCTRL = yes; then
11270 result=$wxUSE_SEARCHCTRL
11273 { echo "$as_me:$LINENO: result: $result" >&5
11274 echo "${ECHO_T}$result" >&6; }
11278 defaultval=$wxUSE_ALL_FEATURES
11279 if test -z "$defaultval"; then
11280 if test x"$enablestring" = xdisable; then
11287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11288 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11289 # Check whether --enable-slider was given.
11290 if test "${enable_slider+set}" = set; then
11291 enableval=$enable_slider;
11292 if test "$enableval" = yes; then
11293 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11295 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11300 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11305 eval "$wx_cv_use_slider"
11307 if test x"$enablestring" = xdisable; then
11308 if test $wxUSE_SLIDER = yes; then
11314 result=$wxUSE_SLIDER
11317 { echo "$as_me:$LINENO: result
: $result" >&5
11318 echo "${ECHO_T}$result" >&6; }
11322 defaultval=$wxUSE_ALL_FEATURES
11323 if test -z "$defaultval"; then
11324 if test x"$enablestring" = xdisable; then
11331 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11332 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11333 # Check whether --enable-spinbtn was given.
11334 if test "${enable_spinbtn+set}" = set; then
11335 enableval=$enable_spinbtn;
11336 if test "$enableval" = yes; then
11337 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11339 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11344 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11349 eval "$wx_cv_use_spinbtn"
11351 if test x
"$enablestring" = xdisable
; then
11352 if test $wxUSE_SPINBTN = yes; then
11358 result
=$wxUSE_SPINBTN
11361 { echo "$as_me:$LINENO: result: $result" >&5
11362 echo "${ECHO_T}$result" >&6; }
11366 defaultval
=$wxUSE_ALL_FEATURES
11367 if test -z "$defaultval"; then
11368 if test x
"$enablestring" = xdisable
; then
11375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11376 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11377 # Check whether --enable-spinctrl was given.
11378 if test "${enable_spinctrl+set}" = set; then
11379 enableval
=$enable_spinctrl;
11380 if test "$enableval" = yes; then
11381 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11383 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11388 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11393 eval "$wx_cv_use_spinctrl"
11395 if test x"$enablestring" = xdisable; then
11396 if test $wxUSE_SPINCTRL = yes; then
11402 result=$wxUSE_SPINCTRL
11405 { echo "$as_me:$LINENO: result: $result" >&5
11406 echo "${ECHO_T}$result" >&6; }
11410 defaultval=$wxUSE_ALL_FEATURES
11411 if test -z "$defaultval"; then
11412 if test x"$enablestring" = xdisable; then
11419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11420 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11421 # Check whether --enable-splitter was given.
11422 if test "${enable_splitter+set}" = set; then
11423 enableval=$enable_splitter;
11424 if test "$enableval" = yes; then
11425 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11427 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11432 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11437 eval "$wx_cv_use_splitter"
11439 if test x"$enablestring" = xdisable; then
11440 if test $wxUSE_SPLITTER = yes; then
11446 result=$wxUSE_SPLITTER
11449 { echo "$as_me:$LINENO: result
: $result" >&5
11450 echo "${ECHO_T}$result" >&6; }
11454 defaultval=$wxUSE_ALL_FEATURES
11455 if test -z "$defaultval"; then
11456 if test x"$enablestring" = xdisable; then
11463 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11464 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11465 # Check whether --enable-statbmp was given.
11466 if test "${enable_statbmp+set}" = set; then
11467 enableval=$enable_statbmp;
11468 if test "$enableval" = yes; then
11469 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11471 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11476 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11481 eval "$wx_cv_use_statbmp"
11483 if test x
"$enablestring" = xdisable
; then
11484 if test $wxUSE_STATBMP = yes; then
11490 result
=$wxUSE_STATBMP
11493 { echo "$as_me:$LINENO: result: $result" >&5
11494 echo "${ECHO_T}$result" >&6; }
11498 defaultval
=$wxUSE_ALL_FEATURES
11499 if test -z "$defaultval"; then
11500 if test x
"$enablestring" = xdisable
; then
11507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11508 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11509 # Check whether --enable-statbox was given.
11510 if test "${enable_statbox+set}" = set; then
11511 enableval
=$enable_statbox;
11512 if test "$enableval" = yes; then
11513 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11515 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11520 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11525 eval "$wx_cv_use_statbox"
11527 if test x"$enablestring" = xdisable; then
11528 if test $wxUSE_STATBOX = yes; then
11534 result=$wxUSE_STATBOX
11537 { echo "$as_me:$LINENO: result: $result" >&5
11538 echo "${ECHO_T}$result" >&6; }
11542 defaultval=$wxUSE_ALL_FEATURES
11543 if test -z "$defaultval"; then
11544 if test x"$enablestring" = xdisable; then
11551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11552 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11553 # Check whether --enable-statline was given.
11554 if test "${enable_statline+set}" = set; then
11555 enableval=$enable_statline;
11556 if test "$enableval" = yes; then
11557 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11559 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11564 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11569 eval "$wx_cv_use_statline"
11571 if test x"$enablestring" = xdisable; then
11572 if test $wxUSE_STATLINE = yes; then
11578 result=$wxUSE_STATLINE
11581 { echo "$as_me:$LINENO: result
: $result" >&5
11582 echo "${ECHO_T}$result" >&6; }
11586 defaultval=$wxUSE_ALL_FEATURES
11587 if test -z "$defaultval"; then
11588 if test x"$enablestring" = xdisable; then
11595 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11596 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11597 # Check whether --enable-stattext was given.
11598 if test "${enable_stattext+set}" = set; then
11599 enableval=$enable_stattext;
11600 if test "$enableval" = yes; then
11601 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11603 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11608 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11613 eval "$wx_cv_use_stattext"
11615 if test x
"$enablestring" = xdisable
; then
11616 if test $wxUSE_STATTEXT = yes; then
11622 result
=$wxUSE_STATTEXT
11625 { echo "$as_me:$LINENO: result: $result" >&5
11626 echo "${ECHO_T}$result" >&6; }
11630 defaultval
=$wxUSE_ALL_FEATURES
11631 if test -z "$defaultval"; then
11632 if test x
"$enablestring" = xdisable
; then
11639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11640 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11641 # Check whether --enable-statusbar was given.
11642 if test "${enable_statusbar+set}" = set; then
11643 enableval
=$enable_statusbar;
11644 if test "$enableval" = yes; then
11645 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11647 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11652 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11657 eval "$wx_cv_use_statusbar"
11659 if test x"$enablestring" = xdisable; then
11660 if test $wxUSE_STATUSBAR = yes; then
11666 result=$wxUSE_STATUSBAR
11669 { echo "$as_me:$LINENO: result: $result" >&5
11670 echo "${ECHO_T}$result" >&6; }
11674 defaultval=$wxUSE_ALL_FEATURES
11675 if test -z "$defaultval"; then
11676 if test x"$enablestring" = xdisable; then
11683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11684 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11685 # Check whether --enable-tabdialog was given.
11686 if test "${enable_tabdialog+set}" = set; then
11687 enableval=$enable_tabdialog;
11688 if test "$enableval" = yes; then
11689 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
11691 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
11696 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11701 eval "$wx_cv_use_tabdialog"
11703 if test x"$enablestring" = xdisable; then
11704 if test $wxUSE_TAB_DIALOG = yes; then
11710 result=$wxUSE_TAB_DIALOG
11713 { echo "$as_me:$LINENO: result
: $result" >&5
11714 echo "${ECHO_T}$result" >&6; }
11718 defaultval=$wxUSE_ALL_FEATURES
11719 if test -z "$defaultval"; then
11720 if test x"$enablestring" = xdisable; then
11727 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
11728 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
11729 # Check whether --enable-taskbaricon was given.
11730 if test "${enable_taskbaricon+set}" = set; then
11731 enableval=$enable_taskbaricon;
11732 if test "$enableval" = yes; then
11733 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11735 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11740 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11745 eval "$wx_cv_use_taskbaricon"
11747 if test x
"$enablestring" = xdisable
; then
11748 if test $wxUSE_TASKBARICON = yes; then
11754 result
=$wxUSE_TASKBARICON
11757 { echo "$as_me:$LINENO: result: $result" >&5
11758 echo "${ECHO_T}$result" >&6; }
11762 defaultval
=$wxUSE_ALL_FEATURES
11763 if test -z "$defaultval"; then
11764 if test x
"$enablestring" = xdisable
; then
11771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11772 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11773 # Check whether --enable-textctrl was given.
11774 if test "${enable_textctrl+set}" = set; then
11775 enableval
=$enable_textctrl;
11776 if test "$enableval" = yes; then
11777 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
11779 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
11784 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11789 eval "$wx_cv_use_textctrl"
11791 if test x"$enablestring" = xdisable; then
11792 if test $wxUSE_TEXTCTRL = yes; then
11798 result=$wxUSE_TEXTCTRL
11801 { echo "$as_me:$LINENO: result: $result" >&5
11802 echo "${ECHO_T}$result" >&6; }
11806 defaultval=$wxUSE_ALL_FEATURES
11807 if test -z "$defaultval"; then
11808 if test x"$enablestring" = xdisable; then
11815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11816 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11817 # Check whether --enable-togglebtn was given.
11818 if test "${enable_togglebtn+set}" = set; then
11819 enableval=$enable_togglebtn;
11820 if test "$enableval" = yes; then
11821 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
11823 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
11828 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11833 eval "$wx_cv_use_togglebtn"
11835 if test x"$enablestring" = xdisable; then
11836 if test $wxUSE_TOGGLEBTN = yes; then
11842 result=$wxUSE_TOGGLEBTN
11845 { echo "$as_me:$LINENO: result
: $result" >&5
11846 echo "${ECHO_T}$result" >&6; }
11850 defaultval=$wxUSE_ALL_FEATURES
11851 if test -z "$defaultval"; then
11852 if test x"$enablestring" = xdisable; then
11859 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbar" >&5
11860 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbar...
$ECHO_C" >&6; }
11861 # Check whether --enable-toolbar was given.
11862 if test "${enable_toolbar+set}" = set; then
11863 enableval=$enable_toolbar;
11864 if test "$enableval" = yes; then
11865 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11867 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11872 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11877 eval "$wx_cv_use_toolbar"
11879 if test x
"$enablestring" = xdisable
; then
11880 if test $wxUSE_TOOLBAR = yes; then
11886 result
=$wxUSE_TOOLBAR
11889 { echo "$as_me:$LINENO: result: $result" >&5
11890 echo "${ECHO_T}$result" >&6; }
11894 defaultval
=$wxUSE_ALL_FEATURES
11895 if test -z "$defaultval"; then
11896 if test x
"$enablestring" = xdisable
; then
11903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11904 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11905 # Check whether --enable-tbarnative was given.
11906 if test "${enable_tbarnative+set}" = set; then
11907 enableval
=$enable_tbarnative;
11908 if test "$enableval" = yes; then
11909 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
11911 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
11916 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11921 eval "$wx_cv_use_tbarnative"
11923 if test x"$enablestring" = xdisable; then
11924 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11930 result=$wxUSE_TOOLBAR_NATIVE
11933 { echo "$as_me:$LINENO: result: $result" >&5
11934 echo "${ECHO_T}$result" >&6; }
11938 defaultval=$wxUSE_ALL_FEATURES
11939 if test -z "$defaultval"; then
11940 if test x"$enablestring" = xdisable; then
11947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11948 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11949 # Check whether --enable-treebook was given.
11950 if test "${enable_treebook+set}" = set; then
11951 enableval=$enable_treebook;
11952 if test "$enableval" = yes; then
11953 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
11955 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
11960 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11965 eval "$wx_cv_use_treebook"
11967 if test x"$enablestring" = xdisable; then
11968 if test $wxUSE_TREEBOOK = yes; then
11974 result=$wxUSE_TREEBOOK
11977 { echo "$as_me:$LINENO: result
: $result" >&5
11978 echo "${ECHO_T}$result" >&6; }
11982 defaultval=$wxUSE_ALL_FEATURES
11983 if test -z "$defaultval"; then
11984 if test x"$enablestring" = xdisable; then
11991 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
11992 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
11993 # Check whether --enable-toolbook was given.
11994 if test "${enable_toolbook+set}" = set; then
11995 enableval=$enable_toolbook;
11996 if test "$enableval" = yes; then
11997 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11999 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12004 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12009 eval "$wx_cv_use_toolbook"
12011 if test x
"$enablestring" = xdisable
; then
12012 if test $wxUSE_TOOLBOOK = yes; then
12018 result
=$wxUSE_TOOLBOOK
12021 { echo "$as_me:$LINENO: result: $result" >&5
12022 echo "${ECHO_T}$result" >&6; }
12026 defaultval
=$wxUSE_ALL_FEATURES
12027 if test -z "$defaultval"; then
12028 if test x
"$enablestring" = xdisable
; then
12035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12036 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12037 # Check whether --enable-treectrl was given.
12038 if test "${enable_treectrl+set}" = set; then
12039 enableval
=$enable_treectrl;
12040 if test "$enableval" = yes; then
12041 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12043 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12048 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12053 eval "$wx_cv_use_treectrl"
12055 if test x"$enablestring" = xdisable; then
12056 if test $wxUSE_TREECTRL = yes; then
12062 result=$wxUSE_TREECTRL
12065 { echo "$as_me:$LINENO: result: $result" >&5
12066 echo "${ECHO_T}$result" >&6; }
12070 defaultval=$wxUSE_ALL_FEATURES
12071 if test -z "$defaultval"; then
12072 if test x"$enablestring" = xdisable; then
12079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12080 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12081 # Check whether --enable-tipwindow was given.
12082 if test "${enable_tipwindow+set}" = set; then
12083 enableval=$enable_tipwindow;
12084 if test "$enableval" = yes; then
12085 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
12087 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
12092 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12097 eval "$wx_cv_use_tipwindow"
12099 if test x"$enablestring" = xdisable; then
12100 if test $wxUSE_TIPWINDOW = yes; then
12106 result=$wxUSE_TIPWINDOW
12109 { echo "$as_me:$LINENO: result
: $result" >&5
12110 echo "${ECHO_T}$result" >&6; }
12114 defaultval=$wxUSE_ALL_FEATURES
12115 if test -z "$defaultval"; then
12116 if test x"$enablestring" = xdisable; then
12123 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
12124 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
12125 # Check whether --enable-popupwin was given.
12126 if test "${enable_popupwin+set}" = set; then
12127 enableval=$enable_popupwin;
12128 if test "$enableval" = yes; then
12129 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12131 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12136 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12141 eval "$wx_cv_use_popupwin"
12143 if test x
"$enablestring" = xdisable
; then
12144 if test $wxUSE_POPUPWIN = yes; then
12150 result
=$wxUSE_POPUPWIN
12153 { echo "$as_me:$LINENO: result: $result" >&5
12154 echo "${ECHO_T}$result" >&6; }
12160 defaultval
=$wxUSE_ALL_FEATURES
12161 if test -z "$defaultval"; then
12162 if test x
"$enablestring" = xdisable
; then
12169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12170 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12171 # Check whether --enable-commondlg was given.
12172 if test "${enable_commondlg+set}" = set; then
12173 enableval
=$enable_commondlg;
12174 if test "$enableval" = yes; then
12175 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
12177 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
12182 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12187 eval "$wx_cv_use_commondlg"
12189 if test x"$enablestring" = xdisable; then
12190 if test $wxUSE_COMMONDLGS = yes; then
12196 result=$wxUSE_COMMONDLGS
12199 { echo "$as_me:$LINENO: result: $result" >&5
12200 echo "${ECHO_T}$result" >&6; }
12204 defaultval=$wxUSE_ALL_FEATURES
12205 if test -z "$defaultval"; then
12206 if test x"$enablestring" = xdisable; then
12213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12214 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12215 # Check whether --enable-aboutdlg was given.
12216 if test "${enable_aboutdlg+set}" = set; then
12217 enableval=$enable_aboutdlg;
12218 if test "$enableval" = yes; then
12219 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
12221 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
12226 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12231 eval "$wx_cv_use_aboutdlg"
12233 if test x"$enablestring" = xdisable; then
12234 if test $wxUSE_ABOUTDLG = yes; then
12240 result=$wxUSE_ABOUTDLG
12243 { echo "$as_me:$LINENO: result
: $result" >&5
12244 echo "${ECHO_T}$result" >&6; }
12248 defaultval=$wxUSE_ALL_FEATURES
12249 if test -z "$defaultval"; then
12250 if test x"$enablestring" = xdisable; then
12257 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicedlg" >&5
12258 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6; }
12259 # Check whether --enable-choicedlg was given.
12260 if test "${enable_choicedlg+set}" = set; then
12261 enableval=$enable_choicedlg;
12262 if test "$enableval" = yes; then
12263 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12265 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12270 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12275 eval "$wx_cv_use_choicedlg"
12277 if test x
"$enablestring" = xdisable
; then
12278 if test $wxUSE_CHOICEDLG = yes; then
12284 result
=$wxUSE_CHOICEDLG
12287 { echo "$as_me:$LINENO: result: $result" >&5
12288 echo "${ECHO_T}$result" >&6; }
12292 defaultval
=$wxUSE_ALL_FEATURES
12293 if test -z "$defaultval"; then
12294 if test x
"$enablestring" = xdisable
; then
12301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12302 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12303 # Check whether --enable-coldlg was given.
12304 if test "${enable_coldlg+set}" = set; then
12305 enableval
=$enable_coldlg;
12306 if test "$enableval" = yes; then
12307 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
12309 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
12314 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12319 eval "$wx_cv_use_coldlg"
12321 if test x"$enablestring" = xdisable; then
12322 if test $wxUSE_COLOURDLG = yes; then
12328 result=$wxUSE_COLOURDLG
12331 { echo "$as_me:$LINENO: result: $result" >&5
12332 echo "${ECHO_T}$result" >&6; }
12336 defaultval=$wxUSE_ALL_FEATURES
12337 if test -z "$defaultval"; then
12338 if test x"$enablestring" = xdisable; then
12345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12346 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12347 # Check whether --enable-filedlg was given.
12348 if test "${enable_filedlg+set}" = set; then
12349 enableval=$enable_filedlg;
12350 if test "$enableval" = yes; then
12351 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
12353 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
12358 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12363 eval "$wx_cv_use_filedlg"
12365 if test x"$enablestring" = xdisable; then
12366 if test $wxUSE_FILEDLG = yes; then
12372 result=$wxUSE_FILEDLG
12375 { echo "$as_me:$LINENO: result
: $result" >&5
12376 echo "${ECHO_T}$result" >&6; }
12380 defaultval=$wxUSE_ALL_FEATURES
12381 if test -z "$defaultval"; then
12382 if test x"$enablestring" = xdisable; then
12389 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-finddlg" >&5
12390 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6; }
12391 # Check whether --enable-finddlg was given.
12392 if test "${enable_finddlg+set}" = set; then
12393 enableval=$enable_finddlg;
12394 if test "$enableval" = yes; then
12395 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12397 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12402 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12407 eval "$wx_cv_use_finddlg"
12409 if test x
"$enablestring" = xdisable
; then
12410 if test $wxUSE_FINDREPLDLG = yes; then
12416 result
=$wxUSE_FINDREPLDLG
12419 { echo "$as_me:$LINENO: result: $result" >&5
12420 echo "${ECHO_T}$result" >&6; }
12424 defaultval
=$wxUSE_ALL_FEATURES
12425 if test -z "$defaultval"; then
12426 if test x
"$enablestring" = xdisable
; then
12433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12434 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12435 # Check whether --enable-fontdlg was given.
12436 if test "${enable_fontdlg+set}" = set; then
12437 enableval
=$enable_fontdlg;
12438 if test "$enableval" = yes; then
12439 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
12441 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
12446 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12451 eval "$wx_cv_use_fontdlg"
12453 if test x"$enablestring" = xdisable; then
12454 if test $wxUSE_FONTDLG = yes; then
12460 result=$wxUSE_FONTDLG
12463 { echo "$as_me:$LINENO: result: $result" >&5
12464 echo "${ECHO_T}$result" >&6; }
12468 defaultval=$wxUSE_ALL_FEATURES
12469 if test -z "$defaultval"; then
12470 if test x"$enablestring" = xdisable; then
12477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12478 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12479 # Check whether --enable-dirdlg was given.
12480 if test "${enable_dirdlg+set}" = set; then
12481 enableval=$enable_dirdlg;
12482 if test "$enableval" = yes; then
12483 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
12485 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
12490 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12495 eval "$wx_cv_use_dirdlg"
12497 if test x"$enablestring" = xdisable; then
12498 if test $wxUSE_DIRDLG = yes; then
12504 result=$wxUSE_DIRDLG
12507 { echo "$as_me:$LINENO: result
: $result" >&5
12508 echo "${ECHO_T}$result" >&6; }
12512 defaultval=$wxUSE_ALL_FEATURES
12513 if test -z "$defaultval"; then
12514 if test x"$enablestring" = xdisable; then
12521 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-msgdlg" >&5
12522 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6; }
12523 # Check whether --enable-msgdlg was given.
12524 if test "${enable_msgdlg+set}" = set; then
12525 enableval=$enable_msgdlg;
12526 if test "$enableval" = yes; then
12527 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12529 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12534 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12539 eval "$wx_cv_use_msgdlg"
12541 if test x
"$enablestring" = xdisable
; then
12542 if test $wxUSE_MSGDLG = yes; then
12548 result
=$wxUSE_MSGDLG
12551 { echo "$as_me:$LINENO: result: $result" >&5
12552 echo "${ECHO_T}$result" >&6; }
12556 defaultval
=$wxUSE_ALL_FEATURES
12557 if test -z "$defaultval"; then
12558 if test x
"$enablestring" = xdisable
; then
12565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12566 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12567 # Check whether --enable-numberdlg was given.
12568 if test "${enable_numberdlg+set}" = set; then
12569 enableval
=$enable_numberdlg;
12570 if test "$enableval" = yes; then
12571 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
12573 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
12578 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12583 eval "$wx_cv_use_numberdlg"
12585 if test x"$enablestring" = xdisable; then
12586 if test $wxUSE_NUMBERDLG = yes; then
12592 result=$wxUSE_NUMBERDLG
12595 { echo "$as_me:$LINENO: result: $result" >&5
12596 echo "${ECHO_T}$result" >&6; }
12600 defaultval=$wxUSE_ALL_FEATURES
12601 if test -z "$defaultval"; then
12602 if test x"$enablestring" = xdisable; then
12609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12610 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12611 # Check whether --enable-splash was given.
12612 if test "${enable_splash+set}" = set; then
12613 enableval=$enable_splash;
12614 if test "$enableval" = yes; then
12615 wx_cv_use_splash='wxUSE_SPLASH
=yes'
12617 wx_cv_use_splash='wxUSE_SPLASH
=no
'
12622 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12627 eval "$wx_cv_use_splash"
12629 if test x"$enablestring" = xdisable; then
12630 if test $wxUSE_SPLASH = yes; then
12636 result=$wxUSE_SPLASH
12639 { echo "$as_me:$LINENO: result
: $result" >&5
12640 echo "${ECHO_T}$result" >&6; }
12644 defaultval=$wxUSE_ALL_FEATURES
12645 if test -z "$defaultval"; then
12646 if test x"$enablestring" = xdisable; then
12653 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textdlg" >&5
12654 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6; }
12655 # Check whether --enable-textdlg was given.
12656 if test "${enable_textdlg+set}" = set; then
12657 enableval=$enable_textdlg;
12658 if test "$enableval" = yes; then
12659 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12661 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12666 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12671 eval "$wx_cv_use_textdlg"
12673 if test x
"$enablestring" = xdisable
; then
12674 if test $wxUSE_TEXTDLG = yes; then
12680 result
=$wxUSE_TEXTDLG
12683 { echo "$as_me:$LINENO: result: $result" >&5
12684 echo "${ECHO_T}$result" >&6; }
12688 defaultval
=$wxUSE_ALL_FEATURES
12689 if test -z "$defaultval"; then
12690 if test x
"$enablestring" = xdisable
; then
12697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12698 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12699 # Check whether --enable-tipdlg was given.
12700 if test "${enable_tipdlg+set}" = set; then
12701 enableval
=$enable_tipdlg;
12702 if test "$enableval" = yes; then
12703 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
12705 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
12710 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12715 eval "$wx_cv_use_tipdlg"
12717 if test x"$enablestring" = xdisable; then
12718 if test $wxUSE_STARTUP_TIPS = yes; then
12724 result=$wxUSE_STARTUP_TIPS
12727 { echo "$as_me:$LINENO: result: $result" >&5
12728 echo "${ECHO_T}$result" >&6; }
12732 defaultval=$wxUSE_ALL_FEATURES
12733 if test -z "$defaultval"; then
12734 if test x"$enablestring" = xdisable; then
12741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12742 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12743 # Check whether --enable-progressdlg was given.
12744 if test "${enable_progressdlg+set}" = set; then
12745 enableval=$enable_progressdlg;
12746 if test "$enableval" = yes; then
12747 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
12749 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
12754 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12759 eval "$wx_cv_use_progressdlg"
12761 if test x"$enablestring" = xdisable; then
12762 if test $wxUSE_PROGRESSDLG = yes; then
12768 result=$wxUSE_PROGRESSDLG
12771 { echo "$as_me:$LINENO: result
: $result" >&5
12772 echo "${ECHO_T}$result" >&6; }
12776 defaultval=$wxUSE_ALL_FEATURES
12777 if test -z "$defaultval"; then
12778 if test x"$enablestring" = xdisable; then
12785 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
12786 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6; }
12787 # Check whether --enable-wizarddlg was given.
12788 if test "${enable_wizarddlg+set}" = set; then
12789 enableval=$enable_wizarddlg;
12790 if test "$enableval" = yes; then
12791 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12793 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12798 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12803 eval "$wx_cv_use_wizarddlg"
12805 if test x
"$enablestring" = xdisable
; then
12806 if test $wxUSE_WIZARDDLG = yes; then
12812 result
=$wxUSE_WIZARDDLG
12815 { echo "$as_me:$LINENO: result: $result" >&5
12816 echo "${ECHO_T}$result" >&6; }
12822 defaultval
=$wxUSE_ALL_FEATURES
12823 if test -z "$defaultval"; then
12824 if test x
"$enablestring" = xdisable
; then
12831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12832 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12833 # Check whether --enable-menus was given.
12834 if test "${enable_menus+set}" = set; then
12835 enableval
=$enable_menus;
12836 if test "$enableval" = yes; then
12837 wx_cv_use_menus
='wxUSE_MENUS=yes'
12839 wx_cv_use_menus
='wxUSE_MENUS=no'
12844 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12849 eval "$wx_cv_use_menus"
12851 if test x"$enablestring" = xdisable; then
12852 if test $wxUSE_MENUS = yes; then
12858 result=$wxUSE_MENUS
12861 { echo "$as_me:$LINENO: result: $result" >&5
12862 echo "${ECHO_T}$result" >&6; }
12866 defaultval=$wxUSE_ALL_FEATURES
12867 if test -z "$defaultval"; then
12868 if test x"$enablestring" = xdisable; then
12875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12876 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12877 # Check whether --enable-miniframe was given.
12878 if test "${enable_miniframe+set}" = set; then
12879 enableval=$enable_miniframe;
12880 if test "$enableval" = yes; then
12881 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
12883 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
12888 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12893 eval "$wx_cv_use_miniframe"
12895 if test x"$enablestring" = xdisable; then
12896 if test $wxUSE_MINIFRAME = yes; then
12902 result=$wxUSE_MINIFRAME
12905 { echo "$as_me:$LINENO: result
: $result" >&5
12906 echo "${ECHO_T}$result" >&6; }
12910 defaultval=$wxUSE_ALL_FEATURES
12911 if test -z "$defaultval"; then
12912 if test x"$enablestring" = xdisable; then
12919 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tooltips" >&5
12920 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6; }
12921 # Check whether --enable-tooltips was given.
12922 if test "${enable_tooltips+set}" = set; then
12923 enableval=$enable_tooltips;
12924 if test "$enableval" = yes; then
12925 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12927 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12932 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12937 eval "$wx_cv_use_tooltips"
12939 if test x
"$enablestring" = xdisable
; then
12940 if test $wxUSE_TOOLTIPS = yes; then
12946 result
=$wxUSE_TOOLTIPS
12949 { echo "$as_me:$LINENO: result: $result" >&5
12950 echo "${ECHO_T}$result" >&6; }
12954 defaultval
=$wxUSE_ALL_FEATURES
12955 if test -z "$defaultval"; then
12956 if test x
"$enablestring" = xdisable
; then
12963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12964 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12965 # Check whether --enable-splines was given.
12966 if test "${enable_splines+set}" = set; then
12967 enableval
=$enable_splines;
12968 if test "$enableval" = yes; then
12969 wx_cv_use_splines
='wxUSE_SPLINES=yes'
12971 wx_cv_use_splines
='wxUSE_SPLINES=no'
12976 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12981 eval "$wx_cv_use_splines"
12983 if test x"$enablestring" = xdisable; then
12984 if test $wxUSE_SPLINES = yes; then
12990 result=$wxUSE_SPLINES
12993 { echo "$as_me:$LINENO: result: $result" >&5
12994 echo "${ECHO_T}$result" >&6; }
12998 defaultval=$wxUSE_ALL_FEATURES
12999 if test -z "$defaultval"; then
13000 if test x"$enablestring" = xdisable; then
13007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13008 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13009 # Check whether --enable-mousewheel was given.
13010 if test "${enable_mousewheel+set}" = set; then
13011 enableval=$enable_mousewheel;
13012 if test "$enableval" = yes; then
13013 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
13015 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
13020 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13025 eval "$wx_cv_use_mousewheel"
13027 if test x"$enablestring" = xdisable; then
13028 if test $wxUSE_MOUSEWHEEL = yes; then
13034 result=$wxUSE_MOUSEWHEEL
13037 { echo "$as_me:$LINENO: result
: $result" >&5
13038 echo "${ECHO_T}$result" >&6; }
13042 defaultval=$wxUSE_ALL_FEATURES
13043 if test -z "$defaultval"; then
13044 if test x"$enablestring" = xdisable; then
13051 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-validators" >&5
13052 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6; }
13053 # Check whether --enable-validators was given.
13054 if test "${enable_validators+set}" = set; then
13055 enableval=$enable_validators;
13056 if test "$enableval" = yes; then
13057 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13059 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13064 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13069 eval "$wx_cv_use_validators"
13071 if test x
"$enablestring" = xdisable
; then
13072 if test $wxUSE_VALIDATORS = yes; then
13078 result
=$wxUSE_VALIDATORS
13081 { echo "$as_me:$LINENO: result: $result" >&5
13082 echo "${ECHO_T}$result" >&6; }
13086 defaultval
=$wxUSE_ALL_FEATURES
13087 if test -z "$defaultval"; then
13088 if test x
"$enablestring" = xdisable
; then
13095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13096 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13097 # Check whether --enable-busyinfo was given.
13098 if test "${enable_busyinfo+set}" = set; then
13099 enableval
=$enable_busyinfo;
13100 if test "$enableval" = yes; then
13101 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
13103 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
13108 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13113 eval "$wx_cv_use_busyinfo"
13115 if test x"$enablestring" = xdisable; then
13116 if test $wxUSE_BUSYINFO = yes; then
13122 result=$wxUSE_BUSYINFO
13125 { echo "$as_me:$LINENO: result: $result" >&5
13126 echo "${ECHO_T}$result" >&6; }
13130 defaultval=$wxUSE_ALL_FEATURES
13131 if test -z "$defaultval"; then
13132 if test x"$enablestring" = xdisable; then
13139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13140 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13141 # Check whether --enable-joystick was given.
13142 if test "${enable_joystick+set}" = set; then
13143 enableval=$enable_joystick;
13144 if test "$enableval" = yes; then
13145 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
13147 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
13152 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13157 eval "$wx_cv_use_joystick"
13159 if test x"$enablestring" = xdisable; then
13160 if test $wxUSE_JOYSTICK = yes; then
13166 result=$wxUSE_JOYSTICK
13169 { echo "$as_me:$LINENO: result
: $result" >&5
13170 echo "${ECHO_T}$result" >&6; }
13174 defaultval=$wxUSE_ALL_FEATURES
13175 if test -z "$defaultval"; then
13176 if test x"$enablestring" = xdisable; then
13183 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
13184 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
13185 # Check whether --enable-metafile was given.
13186 if test "${enable_metafile+set}" = set; then
13187 enableval=$enable_metafile;
13188 if test "$enableval" = yes; then
13189 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13191 wx_cv_use_metafile='wxUSE_METAFILE=no'
13196 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13201 eval "$wx_cv_use_metafile"
13203 if test x
"$enablestring" = xdisable
; then
13204 if test $wxUSE_METAFILE = yes; then
13210 result
=$wxUSE_METAFILE
13213 { echo "$as_me:$LINENO: result: $result" >&5
13214 echo "${ECHO_T}$result" >&6; }
13218 defaultval
=$wxUSE_ALL_FEATURES
13219 if test -z "$defaultval"; then
13220 if test x
"$enablestring" = xdisable
; then
13227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13228 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13229 # Check whether --enable-dragimage was given.
13230 if test "${enable_dragimage+set}" = set; then
13231 enableval
=$enable_dragimage;
13232 if test "$enableval" = yes; then
13233 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
13235 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
13240 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13245 eval "$wx_cv_use_dragimage"
13247 if test x"$enablestring" = xdisable; then
13248 if test $wxUSE_DRAGIMAGE = yes; then
13254 result=$wxUSE_DRAGIMAGE
13257 { echo "$as_me:$LINENO: result: $result" >&5
13258 echo "${ECHO_T}$result" >&6; }
13262 defaultval=$wxUSE_ALL_FEATURES
13263 if test -z "$defaultval"; then
13264 if test x"$enablestring" = xdisable; then
13271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13272 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13273 # Check whether --enable-accessibility was given.
13274 if test "${enable_accessibility+set}" = set; then
13275 enableval=$enable_accessibility;
13276 if test "$enableval" = yes; then
13277 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
13279 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
13284 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13289 eval "$wx_cv_use_accessibility"
13291 if test x"$enablestring" = xdisable; then
13292 if test $wxUSE_ACCESSIBILITY = yes; then
13298 result=$wxUSE_ACCESSIBILITY
13301 { echo "$as_me:$LINENO: result
: $result" >&5
13302 echo "${ECHO_T}$result" >&6; }
13308 defaultval=$wxUSE_ALL_FEATURES
13309 if test -z "$defaultval"; then
13310 if test x"$enablestring" = xdisable; then
13317 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
13318 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
13319 # Check whether --enable-palette was given.
13320 if test "${enable_palette+set}" = set; then
13321 enableval=$enable_palette;
13322 if test "$enableval" = yes; then
13323 wx_cv_use_palette='wxUSE_PALETTE=yes'
13325 wx_cv_use_palette='wxUSE_PALETTE=no'
13330 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13335 eval "$wx_cv_use_palette"
13337 if test x
"$enablestring" = xdisable
; then
13338 if test $wxUSE_PALETTE = yes; then
13344 result
=$wxUSE_PALETTE
13347 { echo "$as_me:$LINENO: result: $result" >&5
13348 echo "${ECHO_T}$result" >&6; }
13352 defaultval
=$wxUSE_ALL_FEATURES
13353 if test -z "$defaultval"; then
13354 if test x
"$enablestring" = xdisable
; then
13361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13362 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13363 # Check whether --enable-image was given.
13364 if test "${enable_image+set}" = set; then
13365 enableval
=$enable_image;
13366 if test "$enableval" = yes; then
13367 wx_cv_use_image
='wxUSE_IMAGE=yes'
13369 wx_cv_use_image
='wxUSE_IMAGE=no'
13374 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13379 eval "$wx_cv_use_image"
13381 if test x"$enablestring" = xdisable; then
13382 if test $wxUSE_IMAGE = yes; then
13388 result=$wxUSE_IMAGE
13391 { echo "$as_me:$LINENO: result: $result" >&5
13392 echo "${ECHO_T}$result" >&6; }
13396 defaultval=$wxUSE_ALL_FEATURES
13397 if test -z "$defaultval"; then
13398 if test x"$enablestring" = xdisable; then
13405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13406 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13407 # Check whether --enable-gif was given.
13408 if test "${enable_gif+set}" = set; then
13409 enableval=$enable_gif;
13410 if test "$enableval" = yes; then
13411 wx_cv_use_gif='wxUSE_GIF
=yes'
13413 wx_cv_use_gif='wxUSE_GIF
=no
'
13418 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13423 eval "$wx_cv_use_gif"
13425 if test x"$enablestring" = xdisable; then
13426 if test $wxUSE_GIF = yes; then
13435 { echo "$as_me:$LINENO: result
: $result" >&5
13436 echo "${ECHO_T}$result" >&6; }
13440 defaultval=$wxUSE_ALL_FEATURES
13441 if test -z "$defaultval"; then
13442 if test x"$enablestring" = xdisable; then
13449 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
13450 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
13451 # Check whether --enable-pcx was given.
13452 if test "${enable_pcx+set}" = set; then
13453 enableval=$enable_pcx;
13454 if test "$enableval" = yes; then
13455 wx_cv_use_pcx='wxUSE_PCX=yes'
13457 wx_cv_use_pcx='wxUSE_PCX=no'
13462 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13467 eval "$wx_cv_use_pcx"
13469 if test x
"$enablestring" = xdisable
; then
13470 if test $wxUSE_PCX = yes; then
13479 { echo "$as_me:$LINENO: result: $result" >&5
13480 echo "${ECHO_T}$result" >&6; }
13484 defaultval
=$wxUSE_ALL_FEATURES
13485 if test -z "$defaultval"; then
13486 if test x
"$enablestring" = xdisable
; then
13493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13494 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13495 # Check whether --enable-tga was given.
13496 if test "${enable_tga+set}" = set; then
13497 enableval
=$enable_tga;
13498 if test "$enableval" = yes; then
13499 wx_cv_use_tga
='wxUSE_TGA=yes'
13501 wx_cv_use_tga
='wxUSE_TGA=no'
13506 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13511 eval "$wx_cv_use_tga"
13513 if test x"$enablestring" = xdisable; then
13514 if test $wxUSE_TGA = yes; then
13523 { echo "$as_me:$LINENO: result: $result" >&5
13524 echo "${ECHO_T}$result" >&6; }
13528 defaultval=$wxUSE_ALL_FEATURES
13529 if test -z "$defaultval"; then
13530 if test x"$enablestring" = xdisable; then
13537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13538 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13539 # Check whether --enable-iff was given.
13540 if test "${enable_iff+set}" = set; then
13541 enableval=$enable_iff;
13542 if test "$enableval" = yes; then
13543 wx_cv_use_iff='wxUSE_IFF
=yes'
13545 wx_cv_use_iff='wxUSE_IFF
=no
'
13550 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13555 eval "$wx_cv_use_iff"
13557 if test x"$enablestring" = xdisable; then
13558 if test $wxUSE_IFF = yes; then
13567 { echo "$as_me:$LINENO: result
: $result" >&5
13568 echo "${ECHO_T}$result" >&6; }
13572 defaultval=$wxUSE_ALL_FEATURES
13573 if test -z "$defaultval"; then
13574 if test x"$enablestring" = xdisable; then
13581 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
13582 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
13583 # Check whether --enable-pnm was given.
13584 if test "${enable_pnm+set}" = set; then
13585 enableval=$enable_pnm;
13586 if test "$enableval" = yes; then
13587 wx_cv_use_pnm='wxUSE_PNM=yes'
13589 wx_cv_use_pnm='wxUSE_PNM=no'
13594 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13599 eval "$wx_cv_use_pnm"
13601 if test x
"$enablestring" = xdisable
; then
13602 if test $wxUSE_PNM = yes; then
13611 { echo "$as_me:$LINENO: result: $result" >&5
13612 echo "${ECHO_T}$result" >&6; }
13616 defaultval
=$wxUSE_ALL_FEATURES
13617 if test -z "$defaultval"; then
13618 if test x
"$enablestring" = xdisable
; then
13625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13626 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13627 # Check whether --enable-xpm was given.
13628 if test "${enable_xpm+set}" = set; then
13629 enableval
=$enable_xpm;
13630 if test "$enableval" = yes; then
13631 wx_cv_use_xpm
='wxUSE_XPM=yes'
13633 wx_cv_use_xpm
='wxUSE_XPM=no'
13638 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13643 eval "$wx_cv_use_xpm"
13645 if test x"$enablestring" = xdisable; then
13646 if test $wxUSE_XPM = yes; then
13655 { echo "$as_me:$LINENO: result: $result" >&5
13656 echo "${ECHO_T}$result" >&6; }
13660 defaultval=$wxUSE_ALL_FEATURES
13661 if test -z "$defaultval"; then
13662 if test x"$enablestring" = xdisable; then
13669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13670 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13671 # Check whether --enable-ico_cur was given.
13672 if test "${enable_ico_cur+set}" = set; then
13673 enableval=$enable_ico_cur;
13674 if test "$enableval" = yes; then
13675 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
13677 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
13682 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13687 eval "$wx_cv_use_ico_cur"
13689 if test x"$enablestring" = xdisable; then
13690 if test $wxUSE_ICO_CUR = yes; then
13696 result=$wxUSE_ICO_CUR
13699 { echo "$as_me:$LINENO: result
: $result" >&5
13700 echo "${ECHO_T}$result" >&6; }
13706 defaultval=$wxUSE_ALL_FEATURES
13707 if test -z "$defaultval"; then
13708 if test x"$enablestring" = xdisable; then
13715 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
13716 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
13717 # Check whether --enable-dccache was given.
13718 if test "${enable_dccache+set}" = set; then
13719 enableval=$enable_dccache;
13720 if test "$enableval" = yes; then
13721 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13723 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13728 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13733 eval "$wx_cv_use_dccache"
13735 if test x
"$enablestring" = xdisable
; then
13736 if test $wxUSE_DC_CACHEING = yes; then
13742 result
=$wxUSE_DC_CACHEING
13745 { echo "$as_me:$LINENO: result: $result" >&5
13746 echo "${ECHO_T}$result" >&6; }
13750 defaultval
=$wxUSE_ALL_FEATURES
13751 if test -z "$defaultval"; then
13752 if test x
"$enablestring" = xdisable
; then
13759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13760 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13761 # Check whether --enable-ps-in-msw was given.
13762 if test "${enable_ps_in_msw+set}" = set; then
13763 enableval
=$enable_ps_in_msw;
13764 if test "$enableval" = yes; then
13765 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13767 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13772 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13777 eval "$wx_cv_use_ps_in_msw"
13779 if test x"$enablestring" = xdisable; then
13780 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13786 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13789 { echo "$as_me:$LINENO: result: $result" >&5
13790 echo "${ECHO_T}$result" >&6; }
13794 defaultval=$wxUSE_ALL_FEATURES
13795 if test -z "$defaultval"; then
13796 if test x"$enablestring" = xdisable; then
13803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13804 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13805 # Check whether --enable-ownerdrawn was given.
13806 if test "${enable_ownerdrawn+set}" = set; then
13807 enableval=$enable_ownerdrawn;
13808 if test "$enableval" = yes; then
13809 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
13811 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
13816 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13821 eval "$wx_cv_use_ownerdrawn"
13823 if test x"$enablestring" = xdisable; then
13824 if test $wxUSE_OWNER_DRAWN = yes; then
13830 result=$wxUSE_OWNER_DRAWN
13833 { echo "$as_me:$LINENO: result
: $result" >&5
13834 echo "${ECHO_T}$result" >&6; }
13838 defaultval=$wxUSE_ALL_FEATURES
13839 if test -z "$defaultval"; then
13840 if test x"$enablestring" = xdisable; then
13847 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
13848 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
13849 # Check whether --enable-uxtheme was given.
13850 if test "${enable_uxtheme+set}" = set; then
13851 enableval=$enable_uxtheme;
13852 if test "$enableval" = yes; then
13853 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13855 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13860 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13865 eval "$wx_cv_use_uxtheme"
13867 if test x
"$enablestring" = xdisable
; then
13868 if test $wxUSE_UXTHEME = yes; then
13874 result
=$wxUSE_UXTHEME
13877 { echo "$as_me:$LINENO: result: $result" >&5
13878 echo "${ECHO_T}$result" >&6; }
13882 defaultval
=$wxUSE_ALL_FEATURES
13883 if test -z "$defaultval"; then
13884 if test x
"$enablestring" = xdisable
; then
13891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13892 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13893 # Check whether --enable-wxdib was given.
13894 if test "${enable_wxdib+set}" = set; then
13895 enableval
=$enable_wxdib;
13896 if test "$enableval" = yes; then
13897 wx_cv_use_wxdib
='wxUSE_DIB=yes'
13899 wx_cv_use_wxdib
='wxUSE_DIB=no'
13904 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13909 eval "$wx_cv_use_wxdib"
13911 if test x"$enablestring" = xdisable; then
13912 if test $wxUSE_DIB = yes; then
13921 { echo "$as_me:$LINENO: result: $result" >&5
13922 echo "${ECHO_T}$result" >&6; }
13925 if test "$wxUSE_MSW" != 1; then
13926 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13931 defaultval=$wxUSE_ALL_FEATURES
13932 if test -z "$defaultval"; then
13933 if test x"$enablestring" = xdisable; then
13940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13941 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13942 # Check whether --enable-autoidman was given.
13943 if test "${enable_autoidman+set}" = set; then
13944 enableval=$enable_autoidman;
13945 if test "$enableval" = yes; then
13946 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=yes'
13948 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=no
'
13953 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13958 eval "$wx_cv_use_autoidman"
13960 if test x"$enablestring" = xdisable; then
13961 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13967 result=$wxUSE_AUTOID_MANAGEMENT
13970 { echo "$as_me:$LINENO: result
: $result" >&5
13971 echo "${ECHO_T}$result" >&6; }
13977 cat >confcache <<\_ACEOF
13978 # This file is a shell script that caches the results of configure
13979 # tests run on this system so they can be shared between configure
13980 # scripts and configure runs, see configure's option --config-cache.
13981 # It is not useful on other systems. If it contains results you don't
13982 # want to keep, you may remove or edit it.
13984 # config.status only pays attention to the cache file if you give it
13985 # the --recheck option to rerun configure.
13987 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13988 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13989 # following values.
13993 # The following way of writing the cache mishandles newlines in values,
13994 # but we know of no workaround that is simple, portable, and efficient.
13995 # So, we kill variables containing newlines.
13996 # Ultrix sh set writes to stderr and can't be redirected directly,
13997 # and sets the high bit in the cache file unless we assign to the vars.
13999 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14000 eval ac_val=\$$ac_var
14004 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
14005 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
14008 _ | IFS | as_nl) ;; #(
14009 *) $as_unset $ac_var ;;
14015 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14016 *${as_nl}ac_space=\ *)
14017 # `set' does not quote correctly, so add quotes (double-quote
14018 # substitution turns \\\\ into \\, and sed turns \\ into \).
14021 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14024 # `set' quotes correctly as required by POSIX, so do not add quotes.
14025 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14034 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14036 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14038 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14039 if test -w "$cache_file"; then
14040 test "x
$cache_file" != "x
/dev
/null
" &&
14041 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
14042 echo "$as_me: updating cache
$cache_file" >&6;}
14043 cat confcache >$cache_file
14045 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
14046 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14056 ac_cpp='$CPP $CPPFLAGS'
14057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14060 if test -n "$ac_tool_prefix"; then
14061 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
14062 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14063 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14064 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14065 if test "${ac_cv_prog_CC+set}" = set; then
14066 echo $ECHO_N "(cached
) $ECHO_C" >&6
14068 if test -n "$CC"; then
14069 ac_cv_prog_CC="$CC" # Let the user override the test.
14071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14072 for as_dir in $PATH
14075 test -z "$as_dir" && as_dir=.
14076 for ac_exec_ext in '' $ac_executable_extensions; do
14077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14078 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
14079 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14089 if test -n "$CC"; then
14090 { echo "$as_me:$LINENO: result
: $CC" >&5
14091 echo "${ECHO_T}$CC" >&6; }
14093 { echo "$as_me:$LINENO: result
: no
" >&5
14094 echo "${ECHO_T}no
" >&6; }
14099 if test -z "$ac_cv_prog_CC"; then
14101 # Extract the first word of "gcc
", so it can be a program name with args.
14102 set dummy gcc; ac_word=$2
14103 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14104 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14105 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14106 echo $ECHO_N "(cached
) $ECHO_C" >&6
14108 if test -n "$ac_ct_CC"; then
14109 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14112 for as_dir in $PATH
14115 test -z "$as_dir" && as_dir=.
14116 for ac_exec_ext in '' $ac_executable_extensions; do
14117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14118 ac_cv_prog_ac_ct_CC="gcc
"
14119 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14128 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14129 if test -n "$ac_ct_CC"; then
14130 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14131 echo "${ECHO_T}$ac_ct_CC" >&6; }
14133 { echo "$as_me:$LINENO: result
: no
" >&5
14134 echo "${ECHO_T}no
" >&6; }
14137 if test "x
$ac_ct_CC" = x; then
14140 case $cross_compiling:$ac_tool_warned in
14142 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14143 whose name does not start with the
host triplet. If you think this
14144 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14145 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14146 whose name does not start with the
host triplet. If you think this
14147 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14148 ac_tool_warned=yes ;;
14153 CC="$ac_cv_prog_CC"
14156 if test -z "$CC"; then
14157 if test -n "$ac_tool_prefix"; then
14158 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
14159 set dummy ${ac_tool_prefix}cc; ac_word=$2
14160 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14161 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14162 if test "${ac_cv_prog_CC+set}" = set; then
14163 echo $ECHO_N "(cached
) $ECHO_C" >&6
14165 if test -n "$CC"; then
14166 ac_cv_prog_CC="$CC" # Let the user override the test.
14168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14169 for as_dir in $PATH
14172 test -z "$as_dir" && as_dir=.
14173 for ac_exec_ext in '' $ac_executable_extensions; do
14174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14175 ac_cv_prog_CC="${ac_tool_prefix}cc
"
14176 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14186 if test -n "$CC"; then
14187 { echo "$as_me:$LINENO: result
: $CC" >&5
14188 echo "${ECHO_T}$CC" >&6; }
14190 { echo "$as_me:$LINENO: result
: no
" >&5
14191 echo "${ECHO_T}no
" >&6; }
14197 if test -z "$CC"; then
14198 # Extract the first word of "cc
", so it can be a program name with args.
14199 set dummy cc; ac_word=$2
14200 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14201 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14202 if test "${ac_cv_prog_CC+set}" = set; then
14203 echo $ECHO_N "(cached
) $ECHO_C" >&6
14205 if test -n "$CC"; then
14206 ac_cv_prog_CC="$CC" # Let the user override the test.
14208 ac_prog_rejected=no
14209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14210 for as_dir in $PATH
14213 test -z "$as_dir" && as_dir=.
14214 for ac_exec_ext in '' $ac_executable_extensions; do
14215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14216 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
14217 ac_prog_rejected=yes
14221 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14228 if test $ac_prog_rejected = yes; then
14229 # We found a bogon in the path, so make sure we never use it.
14230 set dummy $ac_cv_prog_CC
14232 if test $# != 0; then
14233 # We chose a different compiler from the bogus one.
14234 # However, it has the same basename, so the bogon will be chosen
14235 # first if we set CC to just the basename; use the full file name.
14237 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
14243 if test -n "$CC"; then
14244 { echo "$as_me:$LINENO: result
: $CC" >&5
14245 echo "${ECHO_T}$CC" >&6; }
14247 { echo "$as_me:$LINENO: result
: no
" >&5
14248 echo "${ECHO_T}no
" >&6; }
14253 if test -z "$CC"; then
14254 if test -n "$ac_tool_prefix"; then
14255 for ac_prog in cl.exe
14257 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14258 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14259 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14260 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14261 if test "${ac_cv_prog_CC+set}" = set; then
14262 echo $ECHO_N "(cached
) $ECHO_C" >&6
14264 if test -n "$CC"; then
14265 ac_cv_prog_CC="$CC" # Let the user override the test.
14267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14268 for as_dir in $PATH
14271 test -z "$as_dir" && as_dir=.
14272 for ac_exec_ext in '' $ac_executable_extensions; do
14273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14274 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14275 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14285 if test -n "$CC"; then
14286 { echo "$as_me:$LINENO: result
: $CC" >&5
14287 echo "${ECHO_T}$CC" >&6; }
14289 { echo "$as_me:$LINENO: result
: no
" >&5
14290 echo "${ECHO_T}no
" >&6; }
14294 test -n "$CC" && break
14297 if test -z "$CC"; then
14299 for ac_prog in cl.exe
14301 # Extract the first word of "$ac_prog", so it can be a program name with args.
14302 set dummy $ac_prog; ac_word=$2
14303 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14304 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14305 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14306 echo $ECHO_N "(cached
) $ECHO_C" >&6
14308 if test -n "$ac_ct_CC"; then
14309 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14312 for as_dir in $PATH
14315 test -z "$as_dir" && as_dir=.
14316 for ac_exec_ext in '' $ac_executable_extensions; do
14317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14318 ac_cv_prog_ac_ct_CC="$ac_prog"
14319 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14328 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14329 if test -n "$ac_ct_CC"; then
14330 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14331 echo "${ECHO_T}$ac_ct_CC" >&6; }
14333 { echo "$as_me:$LINENO: result
: no
" >&5
14334 echo "${ECHO_T}no
" >&6; }
14338 test -n "$ac_ct_CC" && break
14341 if test "x
$ac_ct_CC" = x; then
14344 case $cross_compiling:$ac_tool_warned in
14346 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14347 whose name does not start with the
host triplet. If you think this
14348 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14349 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14350 whose name does not start with the
host triplet. If you think this
14351 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14352 ac_tool_warned=yes ;;
14361 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
14362 See \
`config.log' for more details." >&5
14363 echo "$as_me: error: no acceptable C compiler found in \$PATH
14364 See \`config.log
' for more details." >&2;}
14365 { (exit 1); exit 1; }; }
14367 # Provide some information about the compiler.
14368 echo "$as_me:$LINENO: checking for C compiler version" >&5
14369 ac_compiler=`set X $ac_compile; echo $2`
14370 { (ac_try="$ac_compiler --version >&5"
14371 case "(($ac_try" in
14372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14373 *) ac_try_echo=$ac_try;;
14375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14376 (eval "$ac_compiler --version >&5") 2>&5
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }
14380 { (ac_try="$ac_compiler -v >&5"
14381 case "(($ac_try" in
14382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14383 *) ac_try_echo=$ac_try;;
14385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14386 (eval "$ac_compiler -v >&5") 2>&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }
14390 { (ac_try="$ac_compiler -V >&5"
14391 case "(($ac_try" in
14392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14393 *) ac_try_echo=$ac_try;;
14395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14396 (eval "$ac_compiler -V >&5") 2>&5
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); }
14401 cat >conftest.$ac_ext <<_ACEOF
14404 cat confdefs.h >>conftest.$ac_ext
14405 cat >>conftest.$ac_ext <<_ACEOF
14406 /* end confdefs.h. */
14416 ac_clean_files_save=$ac_clean_files
14417 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14418 # Try to create an executable without -o first, disregard a.out.
14419 # It will help us diagnose broken compilers, and finding out an intuition
14421 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14422 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14423 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
14425 # List of possible output files, starting from the most likely.
14426 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
14427 # only as a last resort. b.out is created by i960 compilers.
14428 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14430 # The IRIX 6 linker writes into existing files which may not be
14431 # executable, retaining their permissions. Remove them first so a
14432 # subsequent execution test works.
14434 for ac_file
in $ac_files
14437 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14438 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
14443 if { (ac_try
="$ac_link_default"
14444 case "(($ac_try" in
14445 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14446 *) ac_try_echo=$ac_try;;
14448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14449 (eval "$ac_link_default") 2>&5
14451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 (exit $ac_status); }; then
14453 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
14454 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
14455 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14456 # so that the user can short-circuit this test for compilers unknown to
14458 for ac_file in $ac_files ''
14460 test -f "$ac_file" || continue
14462 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14465 # We found the default executable, but exeext='' is most
14469 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14471 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14473 # We set ac_cv_exeext here because the later test for it is not
14474 # safe: cross compilers may not add the suffix if given an `-o'
14475 # argument, so we may need to know it at that point already.
14476 # Even if this section looks crufty: it has the advantage of
14477 # actually working.
14483 test "$ac_cv_exeext" = no && ac_cv_exeext=
14489 { echo "$as_me:$LINENO: result: $ac_file" >&5
14490 echo "${ECHO_T}$ac_file" >&6; }
14491 if test -z "$ac_file"; then
14492 echo "$as_me: failed program was:" >&5
14493 sed 's
/^
/| /' conftest.$ac_ext >&5
14495 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14496 See \`config.log' for more details.
" >&5
14497 echo "$as_me: error
: C compiler cannot create executables
14498 See \
`config.log' for more details." >&2;}
14499 { (exit 77); exit 77; }; }
14502 ac_exeext=$ac_cv_exeext
14504 # Check that the compiler produces executables we can run. If not, either
14505 # the compiler is broken, or we cross compile.
14506 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14507 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14508 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14509 # If not cross compiling, check that we can run a simple program.
14510 if test "$cross_compiling" != yes; then
14511 if { ac_try='./$ac_file'
14512 { (case "(($ac_try" in
14513 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14514 *) ac_try_echo
=$ac_try;;
14516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14517 (eval "$ac_try") 2>&5
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }; }; then
14523 if test "$cross_compiling" = maybe
; then
14524 cross_compiling
=yes
14526 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14527 If you meant to cross compile, use \`--host'.
14528 See \`config.log' for more details." >&5
14529 echo "$as_me: error: cannot run C compiled programs.
14530 If you meant to cross compile, use \`--host'.
14531 See \`config.log' for more details." >&2;}
14532 { (exit 1); exit 1; }; }
14536 { echo "$as_me:$LINENO: result: yes" >&5
14537 echo "${ECHO_T}yes" >&6; }
14539 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
14540 ac_clean_files
=$ac_clean_files_save
14541 # Check that the compiler produces executables we can run. If not, either
14542 # the compiler is broken, or we cross compile.
14543 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14544 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14545 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14546 echo "${ECHO_T}$cross_compiling" >&6; }
14548 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14549 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14550 if { (ac_try
="$ac_link"
14551 case "(($ac_try" in
14552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14553 *) ac_try_echo=$ac_try;;
14555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14556 (eval "$ac_link") 2>&5
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); }; then
14560 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
14561 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
14562 # work properly (i.e., refer to `conftest.exe'), while it won't with
14564 for ac_file
in conftest.exe conftest conftest.
*; do
14565 test -f "$ac_file" || continue
14567 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14568 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14574 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14575 See \`config.log' for more details." >&5
14576 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14577 See \`config.log' for more details." >&2;}
14578 { (exit 1); exit 1; }; }
14581 rm -f conftest
$ac_cv_exeext
14582 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14583 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14585 rm -f conftest.
$ac_ext
14586 EXEEXT
=$ac_cv_exeext
14588 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14589 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14590 if test "${ac_cv_objext+set}" = set; then
14591 echo $ECHO_N "(cached) $ECHO_C" >&6
14593 cat >conftest.
$ac_ext <<_ACEOF
14596 cat confdefs.h
>>conftest.
$ac_ext
14597 cat >>conftest.
$ac_ext <<_ACEOF
14598 /* end confdefs.h. */
14608 rm -f conftest.o conftest.obj
14609 if { (ac_try
="$ac_compile"
14610 case "(($ac_try" in
14611 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14612 *) ac_try_echo=$ac_try;;
14614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14615 (eval "$ac_compile") 2>&5
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); }; then
14619 for ac_file in conftest.o conftest.obj conftest.*; do
14620 test -f "$ac_file" || continue;
14622 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14623 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14628 echo "$as_me: failed program was:" >&5
14629 sed 's/^/| /' conftest.$ac_ext >&5
14631 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14632 See \`config.log
' for more details." >&5
14633 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14634 See \`config.log' for more details.
" >&2;}
14635 { (exit 1); exit 1; }; }
14638 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14640 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14641 echo "${ECHO_T}$ac_cv_objext" >&6; }
14642 OBJEXT=$ac_cv_objext
14644 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14645 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14646 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14647 echo $ECHO_N "(cached
) $ECHO_C" >&6
14649 cat >conftest.$ac_ext <<_ACEOF
14652 cat confdefs.h >>conftest.$ac_ext
14653 cat >>conftest.$ac_ext <<_ACEOF
14654 /* end confdefs.h. */
14667 rm -f conftest.$ac_objext
14668 if { (ac_try="$ac_compile"
14669 case "(($ac_try" in
14670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14671 *) ac_try_echo=$ac_try;;
14673 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14674 (eval "$ac_compile") 2>conftest.er1
14676 grep -v '^ *+' conftest.er1 >conftest.err
14678 cat conftest.err >&5
14679 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14680 (exit $ac_status); } && {
14681 test -z "$ac_c_werror_flag" ||
14682 test ! -s conftest.err
14683 } && test -s conftest.$ac_objext; then
14684 ac_compiler_gnu=yes
14686 echo "$as_me: failed program was
:" >&5
14687 sed 's/^/| /' conftest.$ac_ext >&5
14692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14693 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14696 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14697 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14698 GCC=`test $ac_compiler_gnu = yes && echo yes`
14699 ac_test_CFLAGS=${CFLAGS+set}
14700 ac_save_CFLAGS=$CFLAGS
14701 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14702 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14703 if test "${ac_cv_prog_cc_g+set}" = set; then
14704 echo $ECHO_N "(cached
) $ECHO_C" >&6
14706 ac_save_c_werror_flag=$ac_c_werror_flag
14707 ac_c_werror_flag=yes
14710 cat >conftest.$ac_ext <<_ACEOF
14713 cat confdefs.h >>conftest.$ac_ext
14714 cat >>conftest.$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14725 rm -f conftest.$ac_objext
14726 if { (ac_try="$ac_compile"
14727 case "(($ac_try" in
14728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14729 *) ac_try_echo=$ac_try;;
14731 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14732 (eval "$ac_compile") 2>conftest.er1
14734 grep -v '^ *+' conftest.er1 >conftest.err
14736 cat conftest.err >&5
14737 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14738 (exit $ac_status); } && {
14739 test -z "$ac_c_werror_flag" ||
14740 test ! -s conftest.err
14741 } && test -s conftest.$ac_objext; then
14742 ac_cv_prog_cc_g=yes
14744 echo "$as_me: failed program was
:" >&5
14745 sed 's/^/| /' conftest.$ac_ext >&5
14748 cat >conftest.$ac_ext <<_ACEOF
14751 cat confdefs.h >>conftest.$ac_ext
14752 cat >>conftest.$ac_ext <<_ACEOF
14753 /* end confdefs.h. */
14763 rm -f conftest.$ac_objext
14764 if { (ac_try="$ac_compile"
14765 case "(($ac_try" in
14766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14767 *) ac_try_echo=$ac_try;;
14769 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14770 (eval "$ac_compile") 2>conftest.er1
14772 grep -v '^ *+' conftest.er1 >conftest.err
14774 cat conftest.err >&5
14775 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14776 (exit $ac_status); } && {
14777 test -z "$ac_c_werror_flag" ||
14778 test ! -s conftest.err
14779 } && test -s conftest.$ac_objext; then
14782 echo "$as_me: failed program was
:" >&5
14783 sed 's/^/| /' conftest.$ac_ext >&5
14785 ac_c_werror_flag=$ac_save_c_werror_flag
14787 cat >conftest.$ac_ext <<_ACEOF
14790 cat confdefs.h >>conftest.$ac_ext
14791 cat >>conftest.$ac_ext <<_ACEOF
14792 /* end confdefs.h. */
14802 rm -f conftest.$ac_objext
14803 if { (ac_try="$ac_compile"
14804 case "(($ac_try" in
14805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14806 *) ac_try_echo=$ac_try;;
14808 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14809 (eval "$ac_compile") 2>conftest.er1
14811 grep -v '^ *+' conftest.er1 >conftest.err
14813 cat conftest.err >&5
14814 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14815 (exit $ac_status); } && {
14816 test -z "$ac_c_werror_flag" ||
14817 test ! -s conftest.err
14818 } && test -s conftest.$ac_objext; then
14819 ac_cv_prog_cc_g=yes
14821 echo "$as_me: failed program was
:" >&5
14822 sed 's/^/| /' conftest.$ac_ext >&5
14827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14834 ac_c_werror_flag=$ac_save_c_werror_flag
14836 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14837 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14838 if test "$ac_test_CFLAGS" = set; then
14839 CFLAGS=$ac_save_CFLAGS
14840 elif test $ac_cv_prog_cc_g = yes; then
14841 if test "$GCC" = yes; then
14847 if test "$GCC" = yes; then
14853 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14854 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14855 if test "${ac_cv_prog_cc_c89+set}" = set; then
14856 echo $ECHO_N "(cached
) $ECHO_C" >&6
14858 ac_cv_prog_cc_c89=no
14860 cat >conftest.$ac_ext <<_ACEOF
14863 cat confdefs.h >>conftest.$ac_ext
14864 cat >>conftest.$ac_ext <<_ACEOF
14865 /* end confdefs.h. */
14866 #include <stdarg.h>
14868 #include <sys/types.h>
14869 #include <sys/stat.h>
14870 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14871 struct buf { int x; };
14872 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14873 static char *e (p, i)
14879 static char *f (char * (*g) (char **, int), char **p, ...)
14884 s = g (p, va_arg (v,int));
14889 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14890 function prototypes and stuff, but not '\xHH' hex character constants.
14891 These don't provoke an error unfortunately, instead are silently treated
14892 as 'x'. The following induces an error, until -std is added to get
14893 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14894 array size at least. It's necessary to write '\x00'==0 to get something
14895 that's true only with -std. */
14896 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14898 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14899 inside strings and character constants. */
14901 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14903 int test (int i, double x);
14904 struct s1 {int (*f) (int a);};
14905 struct s2 {int (*f) (double a);};
14906 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14912 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14917 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14918 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14920 CC="$ac_save_CC $ac_arg"
14921 rm -f conftest.$ac_objext
14922 if { (ac_try="$ac_compile"
14923 case "(($ac_try" in
14924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14925 *) ac_try_echo=$ac_try;;
14927 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14928 (eval "$ac_compile") 2>conftest.er1
14930 grep -v '^ *+' conftest.er1 >conftest.err
14932 cat conftest.err >&5
14933 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14934 (exit $ac_status); } && {
14935 test -z "$ac_c_werror_flag" ||
14936 test ! -s conftest.err
14937 } && test -s conftest.$ac_objext; then
14938 ac_cv_prog_cc_c89=$ac_arg
14940 echo "$as_me: failed program was
:" >&5
14941 sed 's/^/| /' conftest.$ac_ext >&5
14946 rm -f core conftest.err conftest.$ac_objext
14947 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14949 rm -f conftest.$ac_ext
14954 case "x
$ac_cv_prog_cc_c89" in
14956 { echo "$as_me:$LINENO: result
: none needed
" >&5
14957 echo "${ECHO_T}none needed
" >&6; } ;;
14959 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14960 echo "${ECHO_T}unsupported
" >&6; } ;;
14962 CC="$CC $ac_cv_prog_cc_c89"
14963 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14964 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14969 ac_cpp='$CPP $CPPFLAGS'
14970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14978 ac_cpp='$CPP $CPPFLAGS'
14979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14983 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14984 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14985 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14986 echo $ECHO_N "(cached
) $ECHO_C" >&6
14988 cat >conftest.$ac_ext <<_ACEOF
14991 cat confdefs.h >>conftest.$ac_ext
14992 cat >>conftest.$ac_ext <<_ACEOF
14993 /* end confdefs.h. */
14999 #ifndef __INTEL_COMPILER
15007 rm -f conftest.$ac_objext
15008 if { (ac_try="$ac_compile"
15009 case "(($ac_try" in
15010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15011 *) ac_try_echo=$ac_try;;
15013 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15014 (eval "$ac_compile") 2>conftest.er1
15016 grep -v '^ *+' conftest.er1 >conftest.err
15018 cat conftest.err >&5
15019 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15020 (exit $ac_status); } && {
15021 test -z "$ac_c_werror_flag" ||
15022 test ! -s conftest.err
15023 } && test -s conftest.$ac_objext; then
15024 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15026 echo "$as_me: failed program was
:" >&5
15027 sed 's/^/| /' conftest.$ac_ext >&5
15029 bakefile_cv_c_compiler___INTEL_COMPILER=no
15033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15037 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15038 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15039 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15045 ac_cpp='$CPP $CPPFLAGS'
15046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15053 if test "x
$GCC" != "xyes
"; then
15054 if test "xCC
" = "xC
"; then
15055 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15056 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15057 if test "${bakefile_cv_c_exto+set}" = set; then
15058 echo $ECHO_N "(cached
) $ECHO_C" >&6
15060 cat >conftest.$ac_ext <<_ACEOF
15063 cat confdefs.h >>conftest.$ac_ext
15064 cat >>conftest.$ac_ext <<_ACEOF
15065 /* end confdefs.h. */
15075 rm -f conftest.$ac_objext conftest.$ac_ext.o
15076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15077 (eval $ac_compile) 2>&5
15079 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15080 (exit $ac_status); }; then
15081 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15083 conftest.$ac_ext.o)
15084 bakefile_cv_c_exto="-ext o
"
15091 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15092 See \
`config.log' for more details." >&5
15093 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15094 See \`config.log
' for more details." >&2;}
15095 { (exit 1); exit 1; }; }
15099 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15102 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15103 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15104 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15105 if test "c" = "c"; then
15106 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15108 if test "c" = "cxx"; then
15109 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15113 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15114 unset ac_cv_prog_cc_g
15115 ac_test_CFLAGS=${CFLAGS+set}
15116 ac_save_CFLAGS=$CFLAGS
15117 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15118 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15119 if test "${ac_cv_prog_cc_g+set}" = set; then
15120 echo $ECHO_N "(cached) $ECHO_C" >&6
15122 ac_save_c_werror_flag=$ac_c_werror_flag
15123 ac_c_werror_flag=yes
15126 cat >conftest.$ac_ext <<_ACEOF
15129 cat confdefs.h >>conftest.$ac_ext
15130 cat >>conftest.$ac_ext <<_ACEOF
15131 /* end confdefs.h. */
15141 rm -f conftest.$ac_objext
15142 if { (ac_try="$ac_compile"
15143 case "(($ac_try" in
15144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15145 *) ac_try_echo=$ac_try;;
15147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15148 (eval "$ac_compile") 2>conftest.er1
15150 grep -v '^
*+' conftest.er1 >conftest.err
15152 cat conftest.err >&5
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154 (exit $ac_status); } && {
15155 test -z "$ac_c_werror_flag" ||
15156 test ! -s conftest.err
15157 } && test -s conftest.$ac_objext; then
15158 ac_cv_prog_cc_g=yes
15160 echo "$as_me: failed program was:" >&5
15161 sed 's
/^
/| /' conftest.$ac_ext >&5
15164 cat >conftest.$ac_ext <<_ACEOF
15167 cat confdefs.h >>conftest.$ac_ext
15168 cat >>conftest.$ac_ext <<_ACEOF
15169 /* end confdefs.h. */
15179 rm -f conftest.$ac_objext
15180 if { (ac_try="$ac_compile"
15181 case "(($ac_try" in
15182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15183 *) ac_try_echo=$ac_try;;
15185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15186 (eval "$ac_compile") 2>conftest.er1
15188 grep -v '^
*+' conftest.er1 >conftest.err
15190 cat conftest.err >&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); } && {
15193 test -z "$ac_c_werror_flag" ||
15194 test ! -s conftest.err
15195 } && test -s conftest.$ac_objext; then
15198 echo "$as_me: failed program was:" >&5
15199 sed 's
/^
/| /' conftest.$ac_ext >&5
15201 ac_c_werror_flag=$ac_save_c_werror_flag
15203 cat >conftest.$ac_ext <<_ACEOF
15206 cat confdefs.h >>conftest.$ac_ext
15207 cat >>conftest.$ac_ext <<_ACEOF
15208 /* end confdefs.h. */
15218 rm -f conftest.$ac_objext
15219 if { (ac_try="$ac_compile"
15220 case "(($ac_try" in
15221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15222 *) ac_try_echo=$ac_try;;
15224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15225 (eval "$ac_compile") 2>conftest.er1
15227 grep -v '^
*+' conftest.er1 >conftest.err
15229 cat conftest.err >&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); } && {
15232 test -z "$ac_c_werror_flag" ||
15233 test ! -s conftest.err
15234 } && test -s conftest.$ac_objext; then
15235 ac_cv_prog_cc_g=yes
15237 echo "$as_me: failed program was:" >&5
15238 sed 's
/^
/| /' conftest.$ac_ext >&5
15243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15250 ac_c_werror_flag=$ac_save_c_werror_flag
15252 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15253 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15254 if test "$ac_test_CFLAGS" = set; then
15255 CFLAGS=$ac_save_CFLAGS
15256 elif test $ac_cv_prog_cc_g = yes; then
15257 if test "$GCC" = yes; then
15263 if test "$GCC" = yes; then
15277 ac_cpp='$CPP $CPPFLAGS'
15278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15279 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15282 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15283 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15284 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15285 echo $ECHO_N "(cached) $ECHO_C" >&6
15287 cat >conftest.$ac_ext <<_ACEOF
15290 cat confdefs.h >>conftest.$ac_ext
15291 cat >>conftest.$ac_ext <<_ACEOF
15292 /* end confdefs.h. */
15306 rm -f conftest.$ac_objext
15307 if { (ac_try="$ac_compile"
15308 case "(($ac_try" in
15309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15310 *) ac_try_echo=$ac_try;;
15312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15313 (eval "$ac_compile") 2>conftest.er1
15315 grep -v '^
*+' conftest.er1 >conftest.err
15317 cat conftest.err >&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); } && {
15320 test -z "$ac_c_werror_flag" ||
15321 test ! -s conftest.err
15322 } && test -s conftest.$ac_objext; then
15323 bakefile_cv_c_compiler___xlC__=yes
15325 echo "$as_me: failed program was:" >&5
15326 sed 's
/^
/| /' conftest.$ac_ext >&5
15328 bakefile_cv_c_compiler___xlC__=no
15332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15336 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15337 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15338 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15344 ac_cpp='$CPP $CPPFLAGS'
15345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15346 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15357 ac_cpp='$CPP $CPPFLAGS'
15358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15359 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15362 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15363 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15364 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15365 echo $ECHO_N "(cached) $ECHO_C" >&6
15367 cat >conftest.$ac_ext <<_ACEOF
15370 cat confdefs.h >>conftest.$ac_ext
15371 cat >>conftest.$ac_ext <<_ACEOF
15372 /* end confdefs.h. */
15386 rm -f conftest.$ac_objext
15387 if { (ac_try="$ac_compile"
15388 case "(($ac_try" in
15389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15390 *) ac_try_echo=$ac_try;;
15392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15393 (eval "$ac_compile") 2>conftest.er1
15395 grep -v '^
*+' conftest.er1 >conftest.err
15397 cat conftest.err >&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); } && {
15400 test -z "$ac_c_werror_flag" ||
15401 test ! -s conftest.err
15402 } && test -s conftest.$ac_objext; then
15403 bakefile_cv_c_compiler___MWERKS__=yes
15405 echo "$as_me: failed program was:" >&5
15406 sed 's
/^
/| /' conftest.$ac_ext >&5
15408 bakefile_cv_c_compiler___MWERKS__=no
15412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15416 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15417 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15418 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15424 ac_cpp='$CPP $CPPFLAGS'
15425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15426 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15434 ac_cpp='$CPP $CPPFLAGS'
15435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15436 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15439 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15440 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15441 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15442 echo $ECHO_N "(cached) $ECHO_C" >&6
15444 cat >conftest.$ac_ext <<_ACEOF
15447 cat confdefs.h >>conftest.$ac_ext
15448 cat >>conftest.$ac_ext <<_ACEOF
15449 /* end confdefs.h. */
15463 rm -f conftest.$ac_objext
15464 if { (ac_try="$ac_compile"
15465 case "(($ac_try" in
15466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15467 *) ac_try_echo=$ac_try;;
15469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15470 (eval "$ac_compile") 2>conftest.er1
15472 grep -v '^
*+' conftest.er1 >conftest.err
15474 cat conftest.err >&5
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); } && {
15477 test -z "$ac_c_werror_flag" ||
15478 test ! -s conftest.err
15479 } && test -s conftest.$ac_objext; then
15480 bakefile_cv_c_compiler___xlC__=yes
15482 echo "$as_me: failed program was:" >&5
15483 sed 's
/^
/| /' conftest.$ac_ext >&5
15485 bakefile_cv_c_compiler___xlC__=no
15489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15493 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15494 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15495 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15501 ac_cpp='$CPP $CPPFLAGS'
15502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15503 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15514 ac_cpp='$CPP $CPPFLAGS'
15515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15516 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15519 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15520 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15521 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15522 echo $ECHO_N "(cached) $ECHO_C" >&6
15524 cat >conftest.$ac_ext <<_ACEOF
15527 cat confdefs.h >>conftest.$ac_ext
15528 cat >>conftest.$ac_ext <<_ACEOF
15529 /* end confdefs.h. */
15535 #ifndef _SGI_COMPILER_VERSION
15543 rm -f conftest.$ac_objext
15544 if { (ac_try="$ac_compile"
15545 case "(($ac_try" in
15546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15547 *) ac_try_echo=$ac_try;;
15549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15550 (eval "$ac_compile") 2>conftest.er1
15552 grep -v '^
*+' conftest.er1 >conftest.err
15554 cat conftest.err >&5
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); } && {
15557 test -z "$ac_c_werror_flag" ||
15558 test ! -s conftest.err
15559 } && test -s conftest.$ac_objext; then
15560 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15562 echo "$as_me: failed program was:" >&5
15563 sed 's
/^
/| /' conftest.$ac_ext >&5
15565 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15573 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15574 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15575 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15581 ac_cpp='$CPP $CPPFLAGS'
15582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15583 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15594 ac_cpp='$CPP $CPPFLAGS'
15595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15596 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15599 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15600 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15601 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15602 echo $ECHO_N "(cached) $ECHO_C" >&6
15604 cat >conftest.$ac_ext <<_ACEOF
15607 cat confdefs.h >>conftest.$ac_ext
15608 cat >>conftest.$ac_ext <<_ACEOF
15609 /* end confdefs.h. */
15623 rm -f conftest.$ac_objext
15624 if { (ac_try="$ac_compile"
15625 case "(($ac_try" in
15626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15627 *) ac_try_echo=$ac_try;;
15629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15630 (eval "$ac_compile") 2>conftest.er1
15632 grep -v '^
*+' conftest.er1 >conftest.err
15634 cat conftest.err >&5
15635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636 (exit $ac_status); } && {
15637 test -z "$ac_c_werror_flag" ||
15638 test ! -s conftest.err
15639 } && test -s conftest.$ac_objext; then
15640 bakefile_cv_c_compiler___SUNPRO_C=yes
15642 echo "$as_me: failed program was:" >&5
15643 sed 's
/^
/| /' conftest.$ac_ext >&5
15645 bakefile_cv_c_compiler___SUNPRO_C=no
15649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15653 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15654 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15655 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15661 ac_cpp='$CPP $CPPFLAGS'
15662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15663 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15674 ac_cpp='$CPP $CPPFLAGS'
15675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15676 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15679 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15680 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15681 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15682 echo $ECHO_N "(cached) $ECHO_C" >&6
15684 cat >conftest.$ac_ext <<_ACEOF
15687 cat confdefs.h >>conftest.$ac_ext
15688 cat >>conftest.$ac_ext <<_ACEOF
15689 /* end confdefs.h. */
15703 rm -f conftest.$ac_objext
15704 if { (ac_try="$ac_compile"
15705 case "(($ac_try" in
15706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15707 *) ac_try_echo=$ac_try;;
15709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15710 (eval "$ac_compile") 2>conftest.er1
15712 grep -v '^
*+' conftest.er1 >conftest.err
15714 cat conftest.err >&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); } && {
15717 test -z "$ac_c_werror_flag" ||
15718 test ! -s conftest.err
15719 } && test -s conftest.$ac_objext; then
15720 bakefile_cv_c_compiler___HP_cc=yes
15722 echo "$as_me: failed program was:" >&5
15723 sed 's
/^
/| /' conftest.$ac_ext >&5
15725 bakefile_cv_c_compiler___HP_cc=no
15729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15733 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15734 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15735 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15741 ac_cpp='$CPP $CPPFLAGS'
15742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15743 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15754 ac_cpp='$CPP $CPPFLAGS'
15755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15756 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15759 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15760 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15761 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15762 echo $ECHO_N "(cached) $ECHO_C" >&6
15764 cat >conftest.$ac_ext <<_ACEOF
15767 cat confdefs.h >>conftest.$ac_ext
15768 cat >>conftest.$ac_ext <<_ACEOF
15769 /* end confdefs.h. */
15783 rm -f conftest.$ac_objext
15784 if { (ac_try="$ac_compile"
15785 case "(($ac_try" in
15786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15787 *) ac_try_echo=$ac_try;;
15789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15790 (eval "$ac_compile") 2>conftest.er1
15792 grep -v '^
*+' conftest.er1 >conftest.err
15794 cat conftest.err >&5
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); } && {
15797 test -z "$ac_c_werror_flag" ||
15798 test ! -s conftest.err
15799 } && test -s conftest.$ac_objext; then
15800 bakefile_cv_c_compiler___DECC=yes
15802 echo "$as_me: failed program was:" >&5
15803 sed 's
/^
/| /' conftest.$ac_ext >&5
15805 bakefile_cv_c_compiler___DECC=no
15809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15813 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15814 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15815 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15821 ac_cpp='$CPP $CPPFLAGS'
15822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15823 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15834 ac_cpp='$CPP $CPPFLAGS'
15835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15836 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15839 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15840 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15841 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15842 echo $ECHO_N "(cached) $ECHO_C" >&6
15844 cat >conftest.$ac_ext <<_ACEOF
15847 cat confdefs.h >>conftest.$ac_ext
15848 cat >>conftest.$ac_ext <<_ACEOF
15849 /* end confdefs.h. */
15863 rm -f conftest.$ac_objext
15864 if { (ac_try="$ac_compile"
15865 case "(($ac_try" in
15866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15867 *) ac_try_echo=$ac_try;;
15869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15870 (eval "$ac_compile") 2>conftest.er1
15872 grep -v '^
*+' conftest.er1 >conftest.err
15874 cat conftest.err >&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); } && {
15877 test -z "$ac_c_werror_flag" ||
15878 test ! -s conftest.err
15879 } && test -s conftest.$ac_objext; then
15880 bakefile_cv_c_compiler___SUNPRO_C=yes
15882 echo "$as_me: failed program was:" >&5
15883 sed 's
/^
/| /' conftest.$ac_ext >&5
15885 bakefile_cv_c_compiler___SUNPRO_C=no
15889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15893 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15894 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15895 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15901 ac_cpp='$CPP $CPPFLAGS'
15902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15903 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15915 ac_cpp='$CPP $CPPFLAGS'
15916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15917 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15919 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15920 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15921 # On Suns, sometimes $CPP names a directory.
15922 if test -n "$CPP" && test -d "$CPP"; then
15925 if test -z "$CPP"; then
15926 if test "${ac_cv_prog_CPP+set}" = set; then
15927 echo $ECHO_N "(cached) $ECHO_C" >&6
15929 # Double quotes because CPP needs to be expanded
15930 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15932 ac_preproc_ok=false
15933 for ac_c_preproc_warn_flag in '' yes
15935 # Use a header file that comes with gcc, so configuring glibc
15936 # with a fresh cross-compiler works.
15937 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15938 # <limits.h> exists even on freestanding compilers.
15939 # On the NeXT, cc -E runs the code through the compiler's parser
,
15940 # not just through cpp. "Syntax error" is here to catch this case.
15941 cat >conftest.
$ac_ext <<_ACEOF
15944 cat confdefs.h
>>conftest.
$ac_ext
15945 cat >>conftest.
$ac_ext <<_ACEOF
15946 /* end confdefs.h. */
15948 # include <limits.h>
15950 # include <assert.h>
15954 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15955 case "(($ac_try" in
15956 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15957 *) ac_try_echo=$ac_try;;
15959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15960 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15962 grep -v '^ *+' conftest.er1 >conftest.err
15964 cat conftest.err >&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); } >/dev/null && {
15967 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15968 test ! -s conftest.err
15972 echo "$as_me: failed program was:" >&5
15973 sed 's/^/| /' conftest.$ac_ext >&5
15975 # Broken: fails on valid input.
15979 rm -f conftest.err conftest.$ac_ext
15981 # OK, works on sane cases. Now check whether nonexistent headers
15982 # can be detected and how.
15983 cat >conftest.$ac_ext <<_ACEOF
15986 cat confdefs.h >>conftest.$ac_ext
15987 cat >>conftest.$ac_ext <<_ACEOF
15988 /* end confdefs.h. */
15989 #include <ac_nonexistent.h>
15991 if { (ac_try="$ac_cpp conftest.$ac_ext"
15992 case "(($ac_try" in
15993 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15994 *) ac_try_echo
=$ac_try;;
15996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15997 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15999 grep -v '^ *+' conftest.er1
>conftest.err
16001 cat conftest.err
>&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); } >/dev
/null
&& {
16004 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16005 test ! -s conftest.err
16007 # Broken: success on invalid input.
16010 echo "$as_me: failed program was:" >&5
16011 sed 's/^/| /' conftest.
$ac_ext >&5
16013 # Passes both tests.
16018 rm -f conftest.err conftest.
$ac_ext
16021 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16022 rm -f conftest.err conftest.
$ac_ext
16023 if $ac_preproc_ok; then
16028 ac_cv_prog_CPP
=$CPP
16031 CPP
=$ac_cv_prog_CPP
16033 ac_cv_prog_CPP
=$CPP
16035 { echo "$as_me:$LINENO: result: $CPP" >&5
16036 echo "${ECHO_T}$CPP" >&6; }
16037 ac_preproc_ok
=false
16038 for ac_c_preproc_warn_flag
in '' yes
16040 # Use a header file that comes with gcc, so configuring glibc
16041 # with a fresh cross-compiler works.
16042 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16043 # <limits.h> exists even on freestanding compilers.
16044 # On the NeXT, cc -E runs the code through the compiler's parser,
16045 # not just through cpp. "Syntax error" is here to catch this case.
16046 cat >conftest.
$ac_ext <<_ACEOF
16049 cat confdefs.h
>>conftest.
$ac_ext
16050 cat >>conftest.
$ac_ext <<_ACEOF
16051 /* end confdefs.h. */
16053 # include <limits.h>
16055 # include <assert.h>
16059 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16060 case "(($ac_try" in
16061 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16062 *) ac_try_echo=$ac_try;;
16064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16065 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16067 grep -v '^ *+' conftest.er1 >conftest.err
16069 cat conftest.err >&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } >/dev/null && {
16072 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16073 test ! -s conftest.err
16077 echo "$as_me: failed program was:" >&5
16078 sed 's/^/| /' conftest.$ac_ext >&5
16080 # Broken: fails on valid input.
16084 rm -f conftest.err conftest.$ac_ext
16086 # OK, works on sane cases. Now check whether nonexistent headers
16087 # can be detected and how.
16088 cat >conftest.$ac_ext <<_ACEOF
16091 cat confdefs.h >>conftest.$ac_ext
16092 cat >>conftest.$ac_ext <<_ACEOF
16093 /* end confdefs.h. */
16094 #include <ac_nonexistent.h>
16096 if { (ac_try="$ac_cpp conftest.$ac_ext"
16097 case "(($ac_try" in
16098 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16099 *) ac_try_echo
=$ac_try;;
16101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16102 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16104 grep -v '^ *+' conftest.er1
>conftest.err
16106 cat conftest.err
>&5
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); } >/dev
/null
&& {
16109 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16110 test ! -s conftest.err
16112 # Broken: success on invalid input.
16115 echo "$as_me: failed program was:" >&5
16116 sed 's/^/| /' conftest.
$ac_ext >&5
16118 # Passes both tests.
16123 rm -f conftest.err conftest.
$ac_ext
16126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16127 rm -f conftest.err conftest.
$ac_ext
16128 if $ac_preproc_ok; then
16131 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16132 See \`config.log' for more details." >&5
16133 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16134 See \`config.log' for more details." >&2;}
16135 { (exit 1); exit 1; }; }
16139 ac_cpp
='$CPP $CPPFLAGS'
16140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16145 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16146 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16147 if test "${ac_cv_path_GREP+set}" = set; then
16148 echo $ECHO_N "(cached) $ECHO_C" >&6
16150 # Extract the first word of "grep ggrep" to use in msg output
16151 if test -z "$GREP"; then
16152 set dummy
grep ggrep
; ac_prog_name
=$2
16153 if test "${ac_cv_path_GREP+set}" = set; then
16154 echo $ECHO_N "(cached) $ECHO_C" >&6
16156 ac_path_GREP_found
=false
16157 # Loop through the user's path and test for each of PROGNAME-LIST
16158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16159 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16162 test -z "$as_dir" && as_dir
=.
16163 for ac_prog
in grep ggrep
; do
16164 for ac_exec_ext
in '' $ac_executable_extensions; do
16165 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16166 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16167 # Check for GNU ac_path_GREP and select it if it is found.
16168 # Check for GNU $ac_path_GREP
16169 case `"$ac_path_GREP" --version 2>&1` in
16171 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16174 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16177 cat "conftest.in" "conftest.in" >"conftest.tmp"
16178 mv "conftest.tmp" "conftest.in"
16179 cp "conftest.in" "conftest.nl"
16180 echo 'GREP' >> "conftest.nl"
16181 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16182 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16183 ac_count
=`expr $ac_count + 1`
16184 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16185 # Best one so far, save it but keep looking for a better one
16186 ac_cv_path_GREP
="$ac_path_GREP"
16187 ac_path_GREP_max
=$ac_count
16189 # 10*(2^10) chars as input seems more than enough
16190 test $ac_count -gt 10 && break
16192 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16196 $ac_path_GREP_found && break 3
16206 GREP
="$ac_cv_path_GREP"
16207 if test -z "$GREP"; then
16208 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16209 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16210 { (exit 1); exit 1; }; }
16214 ac_cv_path_GREP
=$GREP
16219 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16220 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16221 GREP
="$ac_cv_path_GREP"
16224 { echo "$as_me:$LINENO: checking for egrep" >&5
16225 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16226 if test "${ac_cv_path_EGREP+set}" = set; then
16227 echo $ECHO_N "(cached) $ECHO_C" >&6
16229 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16230 then ac_cv_path_EGREP
="$GREP -E"
16232 # Extract the first word of "egrep" to use in msg output
16233 if test -z "$EGREP"; then
16234 set dummy
egrep; ac_prog_name
=$2
16235 if test "${ac_cv_path_EGREP+set}" = set; then
16236 echo $ECHO_N "(cached) $ECHO_C" >&6
16238 ac_path_EGREP_found
=false
16239 # Loop through the user's path and test for each of PROGNAME-LIST
16240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16241 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16244 test -z "$as_dir" && as_dir
=.
16245 for ac_prog
in egrep; do
16246 for ac_exec_ext
in '' $ac_executable_extensions; do
16247 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16248 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16249 # Check for GNU ac_path_EGREP and select it if it is found.
16250 # Check for GNU $ac_path_EGREP
16251 case `"$ac_path_EGREP" --version 2>&1` in
16253 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16256 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16259 cat "conftest.in" "conftest.in" >"conftest.tmp"
16260 mv "conftest.tmp" "conftest.in"
16261 cp "conftest.in" "conftest.nl"
16262 echo 'EGREP' >> "conftest.nl"
16263 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16264 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16265 ac_count
=`expr $ac_count + 1`
16266 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16267 # Best one so far, save it but keep looking for a better one
16268 ac_cv_path_EGREP
="$ac_path_EGREP"
16269 ac_path_EGREP_max
=$ac_count
16271 # 10*(2^10) chars as input seems more than enough
16272 test $ac_count -gt 10 && break
16274 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16278 $ac_path_EGREP_found && break 3
16288 EGREP
="$ac_cv_path_EGREP"
16289 if test -z "$EGREP"; then
16290 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16291 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16292 { (exit 1); exit 1; }; }
16296 ac_cv_path_EGREP
=$EGREP
16302 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16303 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16304 EGREP
="$ac_cv_path_EGREP"
16307 if test $ac_cv_c_compiler_gnu = yes; then
16308 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16309 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16310 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16311 echo $ECHO_N "(cached) $ECHO_C" >&6
16313 ac_pattern
="Autoconf.*'x'"
16314 cat >conftest.
$ac_ext <<_ACEOF
16317 cat confdefs.h
>>conftest.
$ac_ext
16318 cat >>conftest.
$ac_ext <<_ACEOF
16319 /* end confdefs.h. */
16323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16324 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16325 ac_cv_prog_gcc_traditional
=yes
16327 ac_cv_prog_gcc_traditional
=no
16332 if test $ac_cv_prog_gcc_traditional = no
; then
16333 cat >conftest.
$ac_ext <<_ACEOF
16336 cat confdefs.h
>>conftest.
$ac_ext
16337 cat >>conftest.
$ac_ext <<_ACEOF
16338 /* end confdefs.h. */
16339 #include <termio.h>
16342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16343 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16344 ac_cv_prog_gcc_traditional
=yes
16350 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16351 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16352 if test $ac_cv_prog_gcc_traditional = yes; then
16353 CC
="$CC -traditional"
16358 CXXFLAGS
=${CXXFLAGS:=}
16363 ac_cpp
='$CXXCPP $CPPFLAGS'
16364 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16365 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16366 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16367 if test -z "$CXX"; then
16368 if test -n "$CCC"; then
16371 if test -n "$ac_tool_prefix"; then
16372 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16374 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16375 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16378 if test "${ac_cv_prog_CXX+set}" = set; then
16379 echo $ECHO_N "(cached) $ECHO_C" >&6
16381 if test -n "$CXX"; then
16382 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16385 for as_dir
in $PATH
16388 test -z "$as_dir" && as_dir
=.
16389 for ac_exec_ext
in '' $ac_executable_extensions; do
16390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16391 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16401 CXX
=$ac_cv_prog_CXX
16402 if test -n "$CXX"; then
16403 { echo "$as_me:$LINENO: result: $CXX" >&5
16404 echo "${ECHO_T}$CXX" >&6; }
16406 { echo "$as_me:$LINENO: result: no" >&5
16407 echo "${ECHO_T}no" >&6; }
16411 test -n "$CXX" && break
16414 if test -z "$CXX"; then
16416 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16418 # Extract the first word of "$ac_prog", so it can be a program name with args.
16419 set dummy
$ac_prog; ac_word
=$2
16420 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16422 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16423 echo $ECHO_N "(cached) $ECHO_C" >&6
16425 if test -n "$ac_ct_CXX"; then
16426 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16429 for as_dir
in $PATH
16432 test -z "$as_dir" && as_dir
=.
16433 for ac_exec_ext
in '' $ac_executable_extensions; do
16434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16435 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16445 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16446 if test -n "$ac_ct_CXX"; then
16447 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16448 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16450 { echo "$as_me:$LINENO: result: no" >&5
16451 echo "${ECHO_T}no" >&6; }
16455 test -n "$ac_ct_CXX" && break
16458 if test "x$ac_ct_CXX" = x
; then
16461 case $cross_compiling:$ac_tool_warned in
16463 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16464 whose name does not start with the host triplet. If you think this
16465 configuration is useful to you, please write to autoconf@gnu.org." >&5
16466 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16467 whose name does not start with the host triplet. If you think this
16468 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16469 ac_tool_warned
=yes ;;
16477 # Provide some information about the compiler.
16478 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16479 ac_compiler
=`set X $ac_compile; echo $2`
16480 { (ac_try
="$ac_compiler --version >&5"
16481 case "(($ac_try" in
16482 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16483 *) ac_try_echo=$ac_try;;
16485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16486 (eval "$ac_compiler --version >&5") 2>&5
16488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16489 (exit $ac_status); }
16490 { (ac_try="$ac_compiler -v >&5"
16491 case "(($ac_try" in
16492 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16493 *) ac_try_echo
=$ac_try;;
16495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16496 (eval "$ac_compiler -v >&5") 2>&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); }
16500 { (ac_try
="$ac_compiler -V >&5"
16501 case "(($ac_try" in
16502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16503 *) ac_try_echo=$ac_try;;
16505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16506 (eval "$ac_compiler -V >&5") 2>&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); }
16511 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16512 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16513 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16514 echo $ECHO_N "(cached) $ECHO_C" >&6
16516 cat >conftest.$ac_ext <<_ACEOF
16519 cat confdefs.h >>conftest.$ac_ext
16520 cat >>conftest.$ac_ext <<_ACEOF
16521 /* end confdefs.h. */
16534 rm -f conftest.$ac_objext
16535 if { (ac_try="$ac_compile"
16536 case "(($ac_try" in
16537 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16538 *) ac_try_echo
=$ac_try;;
16540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16541 (eval "$ac_compile") 2>conftest.er1
16543 grep -v '^ *+' conftest.er1
>conftest.err
16545 cat conftest.err
>&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); } && {
16548 test -z "$ac_cxx_werror_flag" ||
16549 test ! -s conftest.err
16550 } && test -s conftest.
$ac_objext; then
16551 ac_compiler_gnu
=yes
16553 echo "$as_me: failed program was:" >&5
16554 sed 's/^/| /' conftest.
$ac_ext >&5
16559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16560 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16563 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16564 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16565 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16566 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16567 ac_save_CXXFLAGS
=$CXXFLAGS
16568 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16569 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16570 if test "${ac_cv_prog_cxx_g+set}" = set; then
16571 echo $ECHO_N "(cached) $ECHO_C" >&6
16573 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16574 ac_cxx_werror_flag
=yes
16575 ac_cv_prog_cxx_g
=no
16577 cat >conftest.
$ac_ext <<_ACEOF
16580 cat confdefs.h
>>conftest.
$ac_ext
16581 cat >>conftest.
$ac_ext <<_ACEOF
16582 /* end confdefs.h. */
16592 rm -f conftest.
$ac_objext
16593 if { (ac_try
="$ac_compile"
16594 case "(($ac_try" in
16595 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16596 *) ac_try_echo=$ac_try;;
16598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16599 (eval "$ac_compile") 2>conftest.er1
16601 grep -v '^ *+' conftest.er1 >conftest.err
16603 cat conftest.err >&5
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); } && {
16606 test -z "$ac_cxx_werror_flag" ||
16607 test ! -s conftest.err
16608 } && test -s conftest.$ac_objext; then
16609 ac_cv_prog_cxx_g=yes
16611 echo "$as_me: failed program was:" >&5
16612 sed 's/^/| /' conftest.$ac_ext >&5
16615 cat >conftest.$ac_ext <<_ACEOF
16618 cat confdefs.h >>conftest.$ac_ext
16619 cat >>conftest.$ac_ext <<_ACEOF
16620 /* end confdefs.h. */
16630 rm -f conftest.$ac_objext
16631 if { (ac_try="$ac_compile"
16632 case "(($ac_try" in
16633 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16634 *) ac_try_echo
=$ac_try;;
16636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16637 (eval "$ac_compile") 2>conftest.er1
16639 grep -v '^ *+' conftest.er1
>conftest.err
16641 cat conftest.err
>&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); } && {
16644 test -z "$ac_cxx_werror_flag" ||
16645 test ! -s conftest.err
16646 } && test -s conftest.
$ac_objext; then
16649 echo "$as_me: failed program was:" >&5
16650 sed 's/^/| /' conftest.
$ac_ext >&5
16652 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16654 cat >conftest.
$ac_ext <<_ACEOF
16657 cat confdefs.h
>>conftest.
$ac_ext
16658 cat >>conftest.
$ac_ext <<_ACEOF
16659 /* end confdefs.h. */
16669 rm -f conftest.
$ac_objext
16670 if { (ac_try
="$ac_compile"
16671 case "(($ac_try" in
16672 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16673 *) ac_try_echo=$ac_try;;
16675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16676 (eval "$ac_compile") 2>conftest.er1
16678 grep -v '^ *+' conftest.er1 >conftest.err
16680 cat conftest.err >&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); } && {
16683 test -z "$ac_cxx_werror_flag" ||
16684 test ! -s conftest.err
16685 } && test -s conftest.$ac_objext; then
16686 ac_cv_prog_cxx_g=yes
16688 echo "$as_me: failed program was:" >&5
16689 sed 's/^/| /' conftest.$ac_ext >&5
16694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16701 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16703 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16704 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16705 if test "$ac_test_CXXFLAGS" = set; then
16706 CXXFLAGS=$ac_save_CXXFLAGS
16707 elif test $ac_cv_prog_cxx_g = yes; then
16708 if test "$GXX" = yes; then
16714 if test "$GXX" = yes; then
16721 ac_cpp='$CPP $CPPFLAGS'
16722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16730 ac_cpp='$CXXCPP $CPPFLAGS'
16731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16735 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16736 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16737 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16738 echo $ECHO_N "(cached) $ECHO_C" >&6
16740 cat >conftest.$ac_ext <<_ACEOF
16743 cat confdefs.h >>conftest.$ac_ext
16744 cat >>conftest.$ac_ext <<_ACEOF
16745 /* end confdefs.h. */
16751 #ifndef __INTEL_COMPILER
16759 rm -f conftest.$ac_objext
16760 if { (ac_try="$ac_compile"
16761 case "(($ac_try" in
16762 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16763 *) ac_try_echo
=$ac_try;;
16765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16766 (eval "$ac_compile") 2>conftest.er1
16768 grep -v '^ *+' conftest.er1
>conftest.err
16770 cat conftest.err
>&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); } && {
16773 test -z "$ac_cxx_werror_flag" ||
16774 test ! -s conftest.err
16775 } && test -s conftest.
$ac_objext; then
16776 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16778 echo "$as_me: failed program was:" >&5
16779 sed 's/^/| /' conftest.
$ac_ext >&5
16781 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16789 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16790 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16791 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16797 ac_cpp
='$CPP $CPPFLAGS'
16798 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16799 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16800 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16805 if test "x$GCXX" != "xyes"; then
16806 if test "xCXX" = "xC"; then
16807 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16808 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16809 if test "${bakefile_cv_c_exto+set}" = set; then
16810 echo $ECHO_N "(cached) $ECHO_C" >&6
16812 cat >conftest.
$ac_ext <<_ACEOF
16815 cat confdefs.h
>>conftest.
$ac_ext
16816 cat >>conftest.
$ac_ext <<_ACEOF
16817 /* end confdefs.h. */
16827 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
16828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16829 (eval $ac_compile) 2>&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); }; then
16833 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
16835 conftest.
$ac_ext.o
)
16836 bakefile_cv_c_exto
="-ext o"
16843 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16844 See \`config.log' for more details." >&5
16845 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16846 See \`config.log' for more details." >&2;}
16847 { (exit 1); exit 1; }; }
16851 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
16854 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16855 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16856 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16857 if test "c" = "c"; then
16858 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
16860 if test "c" = "cxx"; then
16861 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
16865 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16866 unset ac_cv_prog_cc_g
16867 ac_test_CFLAGS
=${CFLAGS+set}
16868 ac_save_CFLAGS
=$CFLAGS
16869 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16870 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16871 if test "${ac_cv_prog_cc_g+set}" = set; then
16872 echo $ECHO_N "(cached) $ECHO_C" >&6
16874 ac_save_c_werror_flag
=$ac_c_werror_flag
16875 ac_c_werror_flag
=yes
16878 cat >conftest.
$ac_ext <<_ACEOF
16881 cat confdefs.h
>>conftest.
$ac_ext
16882 cat >>conftest.
$ac_ext <<_ACEOF
16883 /* end confdefs.h. */
16893 rm -f conftest.
$ac_objext
16894 if { (ac_try
="$ac_compile"
16895 case "(($ac_try" in
16896 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16897 *) ac_try_echo=$ac_try;;
16899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16900 (eval "$ac_compile") 2>conftest.er1
16902 grep -v '^ *+' conftest.er1 >conftest.err
16904 cat conftest.err >&5
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); } && {
16907 test -z "$ac_c_werror_flag" ||
16908 test ! -s conftest.err
16909 } && test -s conftest.$ac_objext; then
16910 ac_cv_prog_cc_g=yes
16912 echo "$as_me: failed program was:" >&5
16913 sed 's/^/| /' conftest.$ac_ext >&5
16916 cat >conftest.$ac_ext <<_ACEOF
16919 cat confdefs.h >>conftest.$ac_ext
16920 cat >>conftest.$ac_ext <<_ACEOF
16921 /* end confdefs.h. */
16931 rm -f conftest.$ac_objext
16932 if { (ac_try="$ac_compile"
16933 case "(($ac_try" in
16934 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16935 *) ac_try_echo
=$ac_try;;
16937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16938 (eval "$ac_compile") 2>conftest.er1
16940 grep -v '^ *+' conftest.er1
>conftest.err
16942 cat conftest.err
>&5
16943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16944 (exit $ac_status); } && {
16945 test -z "$ac_c_werror_flag" ||
16946 test ! -s conftest.err
16947 } && test -s conftest.
$ac_objext; then
16950 echo "$as_me: failed program was:" >&5
16951 sed 's/^/| /' conftest.
$ac_ext >&5
16953 ac_c_werror_flag
=$ac_save_c_werror_flag
16955 cat >conftest.
$ac_ext <<_ACEOF
16958 cat confdefs.h
>>conftest.
$ac_ext
16959 cat >>conftest.
$ac_ext <<_ACEOF
16960 /* end confdefs.h. */
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_c_werror_flag" ||
16985 test ! -s conftest.err
16986 } && test -s conftest.$ac_objext; then
16987 ac_cv_prog_cc_g=yes
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.$ac_ext >&5
16995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002 ac_c_werror_flag=$ac_save_c_werror_flag
17004 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17005 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17006 if test "$ac_test_CFLAGS" = set; then
17007 CFLAGS=$ac_save_CFLAGS
17008 elif test $ac_cv_prog_cc_g = yes; then
17009 if test "$GCC" = yes; then
17015 if test "$GCC" = yes; then
17029 ac_cpp='$CXXCPP $CPPFLAGS'
17030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17034 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17035 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17036 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17037 echo $ECHO_N "(cached) $ECHO_C" >&6
17039 cat >conftest.$ac_ext <<_ACEOF
17042 cat confdefs.h >>conftest.$ac_ext
17043 cat >>conftest.$ac_ext <<_ACEOF
17044 /* end confdefs.h. */
17058 rm -f conftest.$ac_objext
17059 if { (ac_try="$ac_compile"
17060 case "(($ac_try" in
17061 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17062 *) ac_try_echo
=$ac_try;;
17064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17065 (eval "$ac_compile") 2>conftest.er1
17067 grep -v '^ *+' conftest.er1
>conftest.err
17069 cat conftest.err
>&5
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); } && {
17072 test -z "$ac_cxx_werror_flag" ||
17073 test ! -s conftest.err
17074 } && test -s conftest.
$ac_objext; then
17075 bakefile_cv_cxx_compiler___xlC__
=yes
17077 echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.
$ac_ext >&5
17080 bakefile_cv_cxx_compiler___xlC__
=no
17084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17088 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17089 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17090 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17096 ac_cpp
='$CPP $CPPFLAGS'
17097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17109 ac_cpp
='$CXXCPP $CPPFLAGS'
17110 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17111 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17112 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17114 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17115 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17116 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17117 echo $ECHO_N "(cached) $ECHO_C" >&6
17119 cat >conftest.
$ac_ext <<_ACEOF
17122 cat confdefs.h
>>conftest.
$ac_ext
17123 cat >>conftest.
$ac_ext <<_ACEOF
17124 /* end confdefs.h. */
17138 rm -f conftest.
$ac_objext
17139 if { (ac_try
="$ac_compile"
17140 case "(($ac_try" in
17141 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17142 *) ac_try_echo=$ac_try;;
17144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17145 (eval "$ac_compile") 2>conftest.er1
17147 grep -v '^ *+' conftest.er1 >conftest.err
17149 cat conftest.err >&5
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); } && {
17152 test -z "$ac_cxx_werror_flag" ||
17153 test ! -s conftest.err
17154 } && test -s conftest.$ac_objext; then
17155 bakefile_cv_cxx_compiler___MWERKS__=yes
17157 echo "$as_me: failed program was:" >&5
17158 sed 's/^/| /' conftest.$ac_ext >&5
17160 bakefile_cv_cxx_compiler___MWERKS__=no
17164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17168 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17169 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17170 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17176 ac_cpp='$CPP $CPPFLAGS'
17177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17186 ac_cpp='$CXXCPP $CPPFLAGS'
17187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17191 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17192 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17193 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17196 cat >conftest.$ac_ext <<_ACEOF
17199 cat confdefs.h >>conftest.$ac_ext
17200 cat >>conftest.$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17215 rm -f conftest.$ac_objext
17216 if { (ac_try="$ac_compile"
17217 case "(($ac_try" in
17218 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17219 *) ac_try_echo
=$ac_try;;
17221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17222 (eval "$ac_compile") 2>conftest.er1
17224 grep -v '^ *+' conftest.er1
>conftest.err
17226 cat conftest.err
>&5
17227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17228 (exit $ac_status); } && {
17229 test -z "$ac_cxx_werror_flag" ||
17230 test ! -s conftest.err
17231 } && test -s conftest.
$ac_objext; then
17232 bakefile_cv_cxx_compiler___xlC__
=yes
17234 echo "$as_me: failed program was:" >&5
17235 sed 's/^/| /' conftest.
$ac_ext >&5
17237 bakefile_cv_cxx_compiler___xlC__
=no
17241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17245 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17246 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17247 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17253 ac_cpp
='$CPP $CPPFLAGS'
17254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17266 ac_cpp
='$CXXCPP $CPPFLAGS'
17267 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17268 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17269 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17271 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17272 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17273 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17274 echo $ECHO_N "(cached) $ECHO_C" >&6
17276 cat >conftest.
$ac_ext <<_ACEOF
17279 cat confdefs.h
>>conftest.
$ac_ext
17280 cat >>conftest.
$ac_ext <<_ACEOF
17281 /* end confdefs.h. */
17287 #ifndef _SGI_COMPILER_VERSION
17295 rm -f conftest.
$ac_objext
17296 if { (ac_try
="$ac_compile"
17297 case "(($ac_try" in
17298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17299 *) ac_try_echo=$ac_try;;
17301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17302 (eval "$ac_compile") 2>conftest.er1
17304 grep -v '^ *+' conftest.er1 >conftest.err
17306 cat conftest.err >&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); } && {
17309 test -z "$ac_cxx_werror_flag" ||
17310 test ! -s conftest.err
17311 } && test -s conftest.$ac_objext; then
17312 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17314 echo "$as_me: failed program was:" >&5
17315 sed 's/^/| /' conftest.$ac_ext >&5
17317 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17325 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17326 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17327 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17333 ac_cpp='$CPP $CPPFLAGS'
17334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17346 ac_cpp='$CXXCPP $CPPFLAGS'
17347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17351 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17352 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17353 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17354 echo $ECHO_N "(cached) $ECHO_C" >&6
17356 cat >conftest.$ac_ext <<_ACEOF
17359 cat confdefs.h >>conftest.$ac_ext
17360 cat >>conftest.$ac_ext <<_ACEOF
17361 /* end confdefs.h. */
17367 #ifndef __SUNPRO_CC
17375 rm -f conftest.$ac_objext
17376 if { (ac_try="$ac_compile"
17377 case "(($ac_try" in
17378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17379 *) ac_try_echo
=$ac_try;;
17381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17382 (eval "$ac_compile") 2>conftest.er1
17384 grep -v '^ *+' conftest.er1
>conftest.err
17386 cat conftest.err
>&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); } && {
17389 test -z "$ac_cxx_werror_flag" ||
17390 test ! -s conftest.err
17391 } && test -s conftest.
$ac_objext; then
17392 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17394 echo "$as_me: failed program was:" >&5
17395 sed 's/^/| /' conftest.
$ac_ext >&5
17397 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17405 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17406 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17407 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17413 ac_cpp
='$CPP $CPPFLAGS'
17414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17426 ac_cpp
='$CXXCPP $CPPFLAGS'
17427 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17428 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17429 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17431 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17432 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17433 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17434 echo $ECHO_N "(cached) $ECHO_C" >&6
17436 cat >conftest.
$ac_ext <<_ACEOF
17439 cat confdefs.h
>>conftest.
$ac_ext
17440 cat >>conftest.
$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17455 rm -f conftest.
$ac_objext
17456 if { (ac_try
="$ac_compile"
17457 case "(($ac_try" in
17458 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17459 *) ac_try_echo=$ac_try;;
17461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17462 (eval "$ac_compile") 2>conftest.er1
17464 grep -v '^ *+' conftest.er1 >conftest.err
17466 cat conftest.err >&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); } && {
17469 test -z "$ac_cxx_werror_flag" ||
17470 test ! -s conftest.err
17471 } && test -s conftest.$ac_objext; then
17472 bakefile_cv_cxx_compiler___HP_aCC=yes
17474 echo "$as_me: failed program was:" >&5
17475 sed 's/^/| /' conftest.$ac_ext >&5
17477 bakefile_cv_cxx_compiler___HP_aCC=no
17481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17485 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17486 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17487 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17493 ac_cpp='$CPP $CPPFLAGS'
17494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17506 ac_cpp='$CXXCPP $CPPFLAGS'
17507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17511 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17512 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17513 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17514 echo $ECHO_N "(cached) $ECHO_C" >&6
17516 cat >conftest.$ac_ext <<_ACEOF
17519 cat confdefs.h >>conftest.$ac_ext
17520 cat >>conftest.$ac_ext <<_ACEOF
17521 /* end confdefs.h. */
17535 rm -f conftest.$ac_objext
17536 if { (ac_try="$ac_compile"
17537 case "(($ac_try" in
17538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17539 *) ac_try_echo
=$ac_try;;
17541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17542 (eval "$ac_compile") 2>conftest.er1
17544 grep -v '^ *+' conftest.er1
>conftest.err
17546 cat conftest.err
>&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); } && {
17549 test -z "$ac_cxx_werror_flag" ||
17550 test ! -s conftest.err
17551 } && test -s conftest.
$ac_objext; then
17552 bakefile_cv_cxx_compiler___DECCXX
=yes
17554 echo "$as_me: failed program was:" >&5
17555 sed 's/^/| /' conftest.
$ac_ext >&5
17557 bakefile_cv_cxx_compiler___DECCXX
=no
17561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17565 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17566 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17567 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17573 ac_cpp
='$CPP $CPPFLAGS'
17574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17586 ac_cpp
='$CXXCPP $CPPFLAGS'
17587 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17588 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17589 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17591 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17592 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17593 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17594 echo $ECHO_N "(cached) $ECHO_C" >&6
17596 cat >conftest.
$ac_ext <<_ACEOF
17599 cat confdefs.h
>>conftest.
$ac_ext
17600 cat >>conftest.
$ac_ext <<_ACEOF
17601 /* end confdefs.h. */
17607 #ifndef __SUNPRO_CC
17615 rm -f conftest.
$ac_objext
17616 if { (ac_try
="$ac_compile"
17617 case "(($ac_try" in
17618 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17619 *) ac_try_echo=$ac_try;;
17621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17622 (eval "$ac_compile") 2>conftest.er1
17624 grep -v '^ *+' conftest.er1 >conftest.err
17626 cat conftest.err >&5
17627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628 (exit $ac_status); } && {
17629 test -z "$ac_cxx_werror_flag" ||
17630 test ! -s conftest.err
17631 } && test -s conftest.$ac_objext; then
17632 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17634 echo "$as_me: failed program was:" >&5
17635 sed 's/^/| /' conftest.$ac_ext >&5
17637 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17645 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17646 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17647 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17653 ac_cpp='$CPP $CPPFLAGS'
17654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17666 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17667 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17668 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17669 { (exit 1); exit 1; }; }
17672 if test "x$SUNCXX" != xyes; then
17673 if test -n "$ac_tool_prefix"; then
17674 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17675 set dummy ${ac_tool_prefix}ar; ac_word=$2
17676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17678 if test "${ac_cv_prog_AR+set}" = set; then
17679 echo $ECHO_N "(cached) $ECHO_C" >&6
17681 if test -n "$AR"; then
17682 ac_cv_prog_AR="$AR" # Let the user override the test.
17684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17685 for as_dir in $PATH
17688 test -z "$as_dir" && as_dir=.
17689 for ac_exec_ext in '' $ac_executable_extensions; do
17690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17691 ac_cv_prog_AR="${ac_tool_prefix}ar"
17692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17702 if test -n "$AR"; then
17703 { echo "$as_me:$LINENO: result: $AR" >&5
17704 echo "${ECHO_T}$AR" >&6; }
17706 { echo "$as_me:$LINENO: result: no" >&5
17707 echo "${ECHO_T}no" >&6; }
17712 if test -z "$ac_cv_prog_AR"; then
17714 # Extract the first word of "ar", so it can be a program name with args.
17715 set dummy ar; ac_word=$2
17716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17718 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17719 echo $ECHO_N "(cached) $ECHO_C" >&6
17721 if test -n "$ac_ct_AR"; then
17722 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17725 for as_dir in $PATH
17728 test -z "$as_dir" && as_dir=.
17729 for ac_exec_ext in '' $ac_executable_extensions; do
17730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17731 ac_cv_prog_ac_ct_AR="ar"
17732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17741 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17742 if test -n "$ac_ct_AR"; then
17743 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17744 echo "${ECHO_T}$ac_ct_AR" >&6; }
17746 { echo "$as_me:$LINENO: result: no" >&5
17747 echo "${ECHO_T}no" >&6; }
17750 if test "x$ac_ct_AR" = x; then
17753 case $cross_compiling:$ac_tool_warned in
17755 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17756 whose name does not start with the host triplet. If you think this
17757 configuration is useful to you, please write to autoconf@gnu.org." >&5
17758 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17759 whose name does not start with the host triplet. If you think this
17760 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17761 ac_tool_warned=yes ;;
17766 AR="$ac_cv_prog_AR"
17769 if test "x$AR" = "x" ; then
17770 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17771 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17772 { (exit 1); exit 1; }; }
17776 retest_macosx_linking=no
17778 #if test "$wxUSE_MAC" = 1; then
17779 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17780 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17781 # Implicitly turn on the new --with-macosx-sdk using the default
17782 # SDK which provides the behavior this option has always had.
17783 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17784 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17785 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17786 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17787 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17788 wxUSE_MACOSX_SDK=yes
17791 # Complain to user if he specified an argument to --enable-universal_binary
17792 # and also 1) specified --with-macosx-sdk using the default (yes) or
17793 # 2) specified --with-macosx-sdk using a path or 3) specified
17794 # --without-macosx-sdk (no).
17795 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17796 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17797 See \`config.log
' for more details." >&5
17798 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17799 See \`config.log' for more details.
" >&2;}
17800 { (exit 1); exit 1; }; }
17802 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17803 # special-case the empty string because the below test simply
17804 # converts "no
" to the empty string anyway.
17805 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17806 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
17807 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
17810 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
17811 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17812 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17813 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17814 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17815 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17816 retest_macosx_linking=yes
17818 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
17819 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
17824 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
17826 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
17827 # TODO: Search for most recent SDK and use it.
17828 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
17832 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
17833 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
17834 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
17835 if ! test -d "$wxUSE_MACOSX_SDK"; then
17836 { { echo "$as_me:$LINENO: error
: not found
17837 See \
`config.log' for more details." >&5
17838 echo "$as_me: error: not found
17839 See \`config.log
' for more details." >&2;}
17840 { (exit 1); exit 1; }; }
17842 { echo "$as_me:$LINENO: result: exists" >&5
17843 echo "${ECHO_T}exists" >&6; }
17845 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17846 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17847 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17848 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17849 retest_macosx_linking=yes
17852 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17853 wxUSE_MACOSX_VERSION_MIN=
17854 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17855 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17856 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17857 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17859 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/'`
17861 # If that failed, try again with the new key
17862 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17864 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/'`
17868 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17869 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17870 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17871 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17873 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17874 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17875 wxUSE_MACOSX_VERSION_MIN=
17878 wxUSE_MACOSX_VERSION_MIN=
17880 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17881 if test "$wxUSE_MAC" = 1; then
17882 # otherwise configure stops on leopard for universal_binary
17883 wxUSE_MACOSX_VERSION_MIN=10.4
17887 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17888 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17889 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17890 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17891 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17892 retest_macosx_linking=yes
17895 if test "x$retest_macosx_linking" = "xyes"; then
17897 ac_cpp='$CPP $CPPFLAGS'
17898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17899 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17902 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17903 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17904 cat >conftest.$ac_ext <<_ACEOF
17907 cat confdefs.h >>conftest.$ac_ext
17908 cat >>conftest.$ac_ext <<_ACEOF
17909 /* end confdefs.h. */
17919 rm -f conftest.$ac_objext conftest$ac_exeext
17920 if { (ac_try="$ac_link"
17921 case "(($ac_try" in
17922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17923 *) ac_try_echo=$ac_try;;
17925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17926 (eval "$ac_link") 2>conftest.er1
17928 grep -v '^
*+' conftest.er1 >conftest.err
17930 cat conftest.err >&5
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); } && {
17933 test -z "$ac_c_werror_flag" ||
17934 test ! -s conftest.err
17935 } && test -s conftest$ac_exeext &&
17936 $as_test_x conftest$ac_exeext; then
17937 { echo "$as_me:$LINENO: result: yes" >&5
17938 echo "${ECHO_T}yes" >&6; }
17940 echo "$as_me: failed program was:" >&5
17941 sed 's
/^
/| /' conftest.$ac_ext >&5
17943 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17944 See \`config.log' for more details.
" >&5
17945 echo "$as_me: error
: no. Try a different SDK
17946 See \
`config.log' for more details." >&2;}
17947 { (exit 1); exit 1; }; }; exit 1
17950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17951 conftest$ac_exeext conftest.$ac_ext
17953 ac_cpp='$CPP $CPPFLAGS'
17954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17960 ac_cpp='$CXXCPP $CPPFLAGS'
17961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17965 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17966 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17967 cat >conftest.$ac_ext <<_ACEOF
17970 cat confdefs.h >>conftest.$ac_ext
17971 cat >>conftest.$ac_ext <<_ACEOF
17972 /* end confdefs.h. */
17982 rm -f conftest.$ac_objext conftest$ac_exeext
17983 if { (ac_try="$ac_link"
17984 case "(($ac_try" in
17985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17986 *) ac_try_echo
=$ac_try;;
17988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17989 (eval "$ac_link") 2>conftest.er1
17991 grep -v '^ *+' conftest.er1
>conftest.err
17993 cat conftest.err
>&5
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); } && {
17996 test -z "$ac_cxx_werror_flag" ||
17997 test ! -s conftest.err
17998 } && test -s conftest
$ac_exeext &&
17999 $as_test_x conftest
$ac_exeext; then
18000 { echo "$as_me:$LINENO: result: yes" >&5
18001 echo "${ECHO_T}yes" >&6; }
18003 echo "$as_me: failed program was:" >&5
18004 sed 's/^/| /' conftest.
$ac_ext >&5
18006 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18007 See \`config.log' for more details." >&5
18008 echo "$as_me: error: no. Try a different SDK
18009 See \`config.log' for more details." >&2;}
18010 { (exit 1); exit 1; }; }; exit 1
18013 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18014 conftest
$ac_exeext conftest.
$ac_ext
18016 ac_cpp
='$CPP $CPPFLAGS'
18017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18027 INSTALL_PROGRAM
="cp -fp"
18028 INSTALL_DATA
="cp -fp"
18035 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18036 CXXFLAGS
="-qunique $CXXFLAGS"
18040 powerpc
-*-darwin* )
18041 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18042 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18043 cat >conftest.
$ac_ext <<_ACEOF
18046 cat confdefs.h
>>conftest.
$ac_ext
18047 cat >>conftest.
$ac_ext <<_ACEOF
18048 /* end confdefs.h. */
18053 #ifndef __POWERPC__
18054 choke me for lack of PowerPC
18061 rm -f conftest.
$ac_objext
18062 if { (ac_try
="$ac_compile"
18063 case "(($ac_try" in
18064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18065 *) ac_try_echo=$ac_try;;
18067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18068 (eval "$ac_compile") 2>conftest.er1
18070 grep -v '^ *+' conftest.er1 >conftest.err
18072 cat conftest.err >&5
18073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18074 (exit $ac_status); } && {
18075 test -z "$ac_c_werror_flag" ||
18076 test ! -s conftest.err
18077 } && test -s conftest.$ac_objext; then
18078 { echo "$as_me:$LINENO: result: yes" >&5
18079 echo "${ECHO_T}yes" >&6; }
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.$ac_ext >&5
18084 { echo "$as_me:$LINENO: result: no" >&5
18085 echo "${ECHO_T}no" >&6; }
18086 cat >>confdefs.h <<\_ACEOF
18087 #define __POWERPC__ 1
18093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18099 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18100 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18101 cat >conftest.$ac_ext <<_ACEOF
18104 cat confdefs.h >>conftest.$ac_ext
18105 cat >>conftest.$ac_ext <<_ACEOF
18106 /* end confdefs.h. */
18107 #include <CoreFoundation/CFBase.h>
18117 rm -f conftest.$ac_objext
18118 if { (ac_try="$ac_compile"
18119 case "(($ac_try" in
18120 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18121 *) ac_try_echo
=$ac_try;;
18123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18124 (eval "$ac_compile") 2>conftest.er1
18126 grep -v '^ *+' conftest.er1
>conftest.err
18128 cat conftest.err
>&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); } && {
18131 test -z "$ac_c_werror_flag" ||
18132 test ! -s conftest.err
18133 } && test -s conftest.
$ac_objext; then
18134 { echo "$as_me:$LINENO: result: yes" >&5
18135 echo "${ECHO_T}yes" >&6; }
18137 echo "$as_me: failed program was:" >&5
18138 sed 's/^/| /' conftest.
$ac_ext >&5
18140 { echo "$as_me:$LINENO: result: no" >&5
18141 echo "${ECHO_T}no" >&6; }
18142 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18143 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18144 cat >conftest.
$ac_ext <<_ACEOF
18147 cat confdefs.h
>>conftest.
$ac_ext
18148 cat >>conftest.
$ac_ext <<_ACEOF
18149 /* end confdefs.h. */
18150 #define __CF_USE_FRAMEWORK_INCLUDES__
18151 #include <CoreFoundation/CFBase.h>
18161 rm -f conftest.
$ac_objext
18162 if { (ac_try
="$ac_compile"
18163 case "(($ac_try" in
18164 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18165 *) ac_try_echo=$ac_try;;
18167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18168 (eval "$ac_compile") 2>conftest.er1
18170 grep -v '^ *+' conftest.er1 >conftest.err
18172 cat conftest.err >&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); } && {
18175 test -z "$ac_c_werror_flag" ||
18176 test ! -s conftest.err
18177 } && test -s conftest.$ac_objext; then
18178 { echo "$as_me:$LINENO: result: yes" >&5
18179 echo "${ECHO_T}yes" >&6; }
18180 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18182 echo "$as_me: failed program was:" >&5
18183 sed 's/^/| /' conftest.$ac_ext >&5
18185 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18186 See \`config.log
' for more details." >&5
18187 echo "$as_me: error: no. CoreFoundation not available.
18188 See \`config.log' for more details.
" >&2;}
18189 { (exit 1); exit 1; }; }
18193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18203 doesnt_want_win32=0
18206 if test "$wxUSE_MSW" = 1 ; then
18209 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18210 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18211 if test "${wx_cv_nocygwin+set}" = set; then
18212 echo $ECHO_N "(cached
) $ECHO_C" >&6
18215 cat >conftest.$ac_ext <<_ACEOF
18218 cat confdefs.h >>conftest.$ac_ext
18219 cat >>conftest.$ac_ext <<_ACEOF
18220 /* end confdefs.h. */
18234 rm -f conftest.$ac_objext
18235 if { (ac_try="$ac_compile"
18236 case "(($ac_try" in
18237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18238 *) ac_try_echo=$ac_try;;
18240 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18241 (eval "$ac_compile") 2>conftest.er1
18243 grep -v '^ *+' conftest.er1 >conftest.err
18245 cat conftest.err >&5
18246 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18247 (exit $ac_status); } && {
18248 test -z "$ac_c_werror_flag" ||
18249 test ! -s conftest.err
18250 } && test -s conftest.$ac_objext; then
18253 echo "$as_me: failed program was
:" >&5
18254 sed 's/^/| /' conftest.$ac_ext >&5
18260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18264 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18265 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18267 if test "$wx_cv_nocygwin" = "yes"; then
18270 doesnt_want_win32=1
18273 if test "$wants_win32" = 1 ; then
18274 BAKEFILE_FORCE_PLATFORM=win32
18282 if test "$wxUSE_WINE" = "yes"; then
18284 LDFLAGS_GUI="-mwindows"
18287 if test "$wants_win32" = 1 ; then
18290 cat >>confdefs.h <<\_ACEOF
18291 #define __WIN32__ 1
18294 cat >>confdefs.h <<\_ACEOF
18295 #define __WIN95__ 1
18298 cat >>confdefs.h <<\_ACEOF
18299 #define __WINDOWS__ 1
18302 cat >>confdefs.h <<\_ACEOF
18303 #define __GNUWIN32__ 1
18306 cat >>confdefs.h <<\_ACEOF
18311 if test "$doesnt_want_win32" = 1 ; then
18316 if test "$USE_UNIX" = 1 ; then
18318 cat >>confdefs.h <<\_ACEOF
18325 *-pc-os2_emx | *-pc-os2-emx )
18326 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18327 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18328 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18329 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18330 echo $ECHO_N "(cached
) $ECHO_C" >&6
18332 ac_check_lib_save_LIBS=$LIBS
18333 LIBS="-lcExt $LIBS"
18334 cat >conftest.$ac_ext <<_ACEOF
18337 cat confdefs.h >>conftest.$ac_ext
18338 cat >>conftest.$ac_ext <<_ACEOF
18339 /* end confdefs.h. */
18341 /* Override any GCC internal prototype to avoid an error.
18342 Use char because int might match the return type of a GCC
18343 builtin and then its argument prototype would still apply. */
18356 rm -f conftest.$ac_objext conftest$ac_exeext
18357 if { (ac_try="$ac_link"
18358 case "(($ac_try" in
18359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18360 *) ac_try_echo=$ac_try;;
18362 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18363 (eval "$ac_link") 2>conftest.er1
18365 grep -v '^ *+' conftest.er1 >conftest.err
18367 cat conftest.err >&5
18368 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18369 (exit $ac_status); } && {
18370 test -z "$ac_c_werror_flag" ||
18371 test ! -s conftest.err
18372 } && test -s conftest$ac_exeext &&
18373 $as_test_x conftest$ac_exeext; then
18374 ac_cv_lib_cExt_drand48=yes
18376 echo "$as_me: failed program was
:" >&5
18377 sed 's/^/| /' conftest.$ac_ext >&5
18379 ac_cv_lib_cExt_drand48=no
18382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18383 conftest$ac_exeext conftest.$ac_ext
18384 LIBS=$ac_check_lib_save_LIBS
18386 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18387 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18388 if test $ac_cv_lib_cExt_drand48 = yes; then
18389 LIBS="$LIBS -lcExt"
18393 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18395 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18396 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18397 if test "${wx_cv_gccversion+set}" = set; then
18398 echo $ECHO_N "(cached
) $ECHO_C" >&6
18401 if test "$cross_compiling" = yes; then
18402 wx_cv_gccversion="EMX2
"
18405 cat >conftest.$ac_ext <<_ACEOF
18408 cat confdefs.h >>conftest.$ac_ext
18409 cat >>conftest.$ac_ext <<_ACEOF
18410 /* end confdefs.h. */
18416 FILE *f=fopen("conftestval
", "w
");
18421 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18423 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18433 rm -f conftest$ac_exeext
18434 if { (ac_try="$ac_link"
18435 case "(($ac_try" in
18436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18437 *) ac_try_echo=$ac_try;;
18439 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18440 (eval "$ac_link") 2>&5
18442 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18443 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18444 { (case "(($ac_try" in
18445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18446 *) ac_try_echo=$ac_try;;
18448 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18449 (eval "$ac_try") 2>&5
18451 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18452 (exit $ac_status); }; }; then
18453 wx_cv_gccversion=`cat conftestval`
18455 echo "$as_me: program exited with status
$ac_status" >&5
18456 echo "$as_me: failed program was
:" >&5
18457 sed 's/^/| /' conftest.$ac_ext >&5
18459 ( exit $ac_status )
18460 wx_cv_gccversion="EMX2
"
18462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18468 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18469 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18470 if test "$wx_cv_gccversion" = "EMX2
"; then
18471 LIBS="$LIBS -lstdcpp"
18472 LDFLAGS="$LDFLAGS -Zsysv-signals"
18474 if test "$wx_cv_gccversion" = "EMX3
"; then
18475 LIBS="$LIBS -lstdcxx -lgcc"
18476 LDFLAGS="$LDFLAGS -Zsysv-signals"
18478 LIBS="$LIBS -lstdc++"
18481 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18482 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18483 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18490 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18491 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18492 if test "${ac_cv_string_strcasecmp+set}" = set; then
18493 echo $ECHO_N "(cached
) $ECHO_C" >&6
18496 cat >conftest.$ac_ext <<_ACEOF
18499 cat confdefs.h >>conftest.$ac_ext
18500 cat >>conftest.$ac_ext <<_ACEOF
18501 /* end confdefs.h. */
18503 #include <string.h>
18509 strcasecmp("foo
", "bar
");
18515 rm -f conftest.$ac_objext conftest$ac_exeext
18516 if { (ac_try="$ac_link"
18517 case "(($ac_try" in
18518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18519 *) ac_try_echo=$ac_try;;
18521 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18522 (eval "$ac_link") 2>conftest.er1
18524 grep -v '^ *+' conftest.er1 >conftest.err
18526 cat conftest.err >&5
18527 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18528 (exit $ac_status); } && {
18529 test -z "$ac_c_werror_flag" ||
18530 test ! -s conftest.err
18531 } && test -s conftest$ac_exeext &&
18532 $as_test_x conftest$ac_exeext; then
18533 ac_cv_string_strcasecmp=yes
18535 echo "$as_me: failed program was
:" >&5
18536 sed 's/^/| /' conftest.$ac_ext >&5
18538 ac_cv_string_strcasecmp=no
18542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18543 conftest$ac_exeext conftest.$ac_ext
18546 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18547 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18549 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18550 cat >>confdefs.h <<\_ACEOF
18551 #define HAVE_STRCASECMP_IN_STRING_H 1
18555 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18556 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18557 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18558 echo $ECHO_N "(cached
) $ECHO_C" >&6
18561 cat >conftest.$ac_ext <<_ACEOF
18564 cat confdefs.h >>conftest.$ac_ext
18565 cat >>conftest.$ac_ext <<_ACEOF
18566 /* end confdefs.h. */
18568 #include <strings.h>
18574 strcasecmp("foo
", "bar
");
18580 rm -f conftest.$ac_objext conftest$ac_exeext
18581 if { (ac_try="$ac_link"
18582 case "(($ac_try" in
18583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18584 *) ac_try_echo=$ac_try;;
18586 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18587 (eval "$ac_link") 2>conftest.er1
18589 grep -v '^ *+' conftest.er1 >conftest.err
18591 cat conftest.err >&5
18592 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18593 (exit $ac_status); } && {
18594 test -z "$ac_c_werror_flag" ||
18595 test ! -s conftest.err
18596 } && test -s conftest$ac_exeext &&
18597 $as_test_x conftest$ac_exeext; then
18598 ac_cv_strings_strcasecmp=yes
18600 echo "$as_me: failed program was
:" >&5
18601 sed 's/^/| /' conftest.$ac_ext >&5
18603 ac_cv_strings_strcasecmp=no
18607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18608 conftest$ac_exeext conftest.$ac_ext
18611 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18612 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18614 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18615 cat >>confdefs.h <<\_ACEOF
18616 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18620 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18621 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18622 { (exit 1); exit 1; }; }
18630 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18631 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18632 if test "${ac_cv_header_stdc+set}" = set; then
18633 echo $ECHO_N "(cached
) $ECHO_C" >&6
18635 cat >conftest.$ac_ext <<_ACEOF
18638 cat confdefs.h >>conftest.$ac_ext
18639 cat >>conftest.$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641 #include <stdlib.h>
18642 #include <stdarg.h>
18643 #include <string.h>
18654 rm -f conftest.$ac_objext
18655 if { (ac_try="$ac_compile"
18656 case "(($ac_try" in
18657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18658 *) ac_try_echo=$ac_try;;
18660 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18661 (eval "$ac_compile") 2>conftest.er1
18663 grep -v '^ *+' conftest.er1 >conftest.err
18665 cat conftest.err >&5
18666 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18667 (exit $ac_status); } && {
18668 test -z "$ac_c_werror_flag" ||
18669 test ! -s conftest.err
18670 } && test -s conftest.$ac_objext; then
18671 ac_cv_header_stdc=yes
18673 echo "$as_me: failed program was
:" >&5
18674 sed 's/^/| /' conftest.$ac_ext >&5
18676 ac_cv_header_stdc=no
18679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18681 if test $ac_cv_header_stdc = yes; then
18682 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18683 cat >conftest.$ac_ext <<_ACEOF
18686 cat confdefs.h >>conftest.$ac_ext
18687 cat >>conftest.$ac_ext <<_ACEOF
18688 /* end confdefs.h. */
18689 #include <string.h>
18692 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18693 $EGREP "memchr
" >/dev/null 2>&1; then
18696 ac_cv_header_stdc=no
18702 if test $ac_cv_header_stdc = yes; then
18703 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18704 cat >conftest.$ac_ext <<_ACEOF
18707 cat confdefs.h >>conftest.$ac_ext
18708 cat >>conftest.$ac_ext <<_ACEOF
18709 /* end confdefs.h. */
18710 #include <stdlib.h>
18713 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18714 $EGREP "free
" >/dev/null 2>&1; then
18717 ac_cv_header_stdc=no
18723 if test $ac_cv_header_stdc = yes; then
18724 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18725 if test "$cross_compiling" = yes; then
18728 cat >conftest.$ac_ext <<_ACEOF
18731 cat confdefs.h >>conftest.$ac_ext
18732 cat >>conftest.$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18735 #include <stdlib.h>
18736 #if ((' ' & 0x0FF) == 0x020)
18737 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18738 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18740 # define ISLOWER(c) \
18741 (('a' <= (c) && (c) <= 'i') \
18742 || ('j' <= (c) && (c) <= 'r') \
18743 || ('s' <= (c) && (c) <= 'z'))
18744 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18747 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18752 for (i = 0; i < 256; i++)
18753 if (XOR (islower (i), ISLOWER (i))
18754 || toupper (i) != TOUPPER (i))
18759 rm -f conftest$ac_exeext
18760 if { (ac_try="$ac_link"
18761 case "(($ac_try" in
18762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18763 *) ac_try_echo=$ac_try;;
18765 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18766 (eval "$ac_link") 2>&5
18768 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18769 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18770 { (case "(($ac_try" in
18771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18772 *) ac_try_echo=$ac_try;;
18774 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18775 (eval "$ac_try") 2>&5
18777 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18778 (exit $ac_status); }; }; then
18781 echo "$as_me: program exited with status
$ac_status" >&5
18782 echo "$as_me: failed program was
:" >&5
18783 sed 's/^/| /' conftest.$ac_ext >&5
18785 ( exit $ac_status )
18786 ac_cv_header_stdc=no
18788 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18794 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18795 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18796 if test $ac_cv_header_stdc = yes; then
18798 cat >>confdefs.h <<\_ACEOF
18799 #define STDC_HEADERS 1
18804 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18814 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18815 inttypes.h stdint.h unistd.h
18817 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18818 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18819 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18820 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18821 echo $ECHO_N "(cached
) $ECHO_C" >&6
18823 cat >conftest.$ac_ext <<_ACEOF
18826 cat confdefs.h >>conftest.$ac_ext
18827 cat >>conftest.$ac_ext <<_ACEOF
18828 /* end confdefs.h. */
18829 $ac_includes_default
18831 #include <$ac_header>
18833 rm -f conftest.$ac_objext
18834 if { (ac_try="$ac_compile"
18835 case "(($ac_try" in
18836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18837 *) ac_try_echo=$ac_try;;
18839 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18840 (eval "$ac_compile") 2>conftest.er1
18842 grep -v '^ *+' conftest.er1 >conftest.err
18844 cat conftest.err >&5
18845 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18846 (exit $ac_status); } && {
18847 test -z "$ac_c_werror_flag" ||
18848 test ! -s conftest.err
18849 } && test -s conftest.$ac_objext; then
18850 eval "$as_ac_Header=yes"
18852 echo "$as_me: failed program was
:" >&5
18853 sed 's/^/| /' conftest.$ac_ext >&5
18855 eval "$as_ac_Header=no
"
18858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18860 ac_res=`eval echo '${'$as_ac_Header'}'`
18861 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18862 echo "${ECHO_T}$ac_res" >&6; }
18863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18864 cat >>confdefs.h <<_ACEOF
18865 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18875 for ac_header in langinfo.h wchar.h
18877 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18878 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18879 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18880 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18881 echo $ECHO_N "(cached
) $ECHO_C" >&6
18883 cat >conftest.$ac_ext <<_ACEOF
18886 cat confdefs.h >>conftest.$ac_ext
18887 cat >>conftest.$ac_ext <<_ACEOF
18888 /* end confdefs.h. */
18889 $ac_includes_default
18891 #include <$ac_header>
18893 rm -f conftest.$ac_objext
18894 if { (ac_try="$ac_compile"
18895 case "(($ac_try" in
18896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18897 *) ac_try_echo=$ac_try;;
18899 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18900 (eval "$ac_compile") 2>conftest.er1
18902 grep -v '^ *+' conftest.er1 >conftest.err
18904 cat conftest.err >&5
18905 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18906 (exit $ac_status); } && {
18907 test -z "$ac_c_werror_flag" ||
18908 test ! -s conftest.err
18909 } && test -s conftest.$ac_objext; then
18910 eval "$as_ac_Header=yes"
18912 echo "$as_me: failed program was
:" >&5
18913 sed 's/^/| /' conftest.$ac_ext >&5
18915 eval "$as_ac_Header=no
"
18918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18920 ac_res=`eval echo '${'$as_ac_Header'}'`
18921 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18922 echo "${ECHO_T}$ac_res" >&6; }
18923 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18924 cat >>confdefs.h <<_ACEOF
18925 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18933 if test "$ac_cv_header_wchar_h" != "yes"; then
18935 for ac_header in wcstr.h
18937 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18938 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18939 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18940 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18941 echo $ECHO_N "(cached
) $ECHO_C" >&6
18943 cat >conftest.$ac_ext <<_ACEOF
18946 cat confdefs.h >>conftest.$ac_ext
18947 cat >>conftest.$ac_ext <<_ACEOF
18948 /* end confdefs.h. */
18949 $ac_includes_default
18951 #include <$ac_header>
18953 rm -f conftest.$ac_objext
18954 if { (ac_try="$ac_compile"
18955 case "(($ac_try" in
18956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18957 *) ac_try_echo=$ac_try;;
18959 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18960 (eval "$ac_compile") 2>conftest.er1
18962 grep -v '^ *+' conftest.er1 >conftest.err
18964 cat conftest.err >&5
18965 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18966 (exit $ac_status); } && {
18967 test -z "$ac_c_werror_flag" ||
18968 test ! -s conftest.err
18969 } && test -s conftest.$ac_objext; then
18970 eval "$as_ac_Header=yes"
18972 echo "$as_me: failed program was
:" >&5
18973 sed 's/^/| /' conftest.$ac_ext >&5
18975 eval "$as_ac_Header=no
"
18978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18980 ac_res=`eval echo '${'$as_ac_Header'}'`
18981 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18982 echo "${ECHO_T}$ac_res" >&6; }
18983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18984 cat >>confdefs.h <<_ACEOF
18985 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18995 *-pc-os2_emx | *-pc-os2-emx )
18996 if test $ac_cv_header_langinfo_h = "yes" \
18997 -a \( "$wx_cv_gccversion" = "EMX2
" \
18998 -o "$wx_cv_gccversion" = "EMX3
" \
18999 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19000 LIBS="$LIBS -lintl"
19005 if test "$USE_UNIX" = 1 ; then
19007 for ac_header in sys/select.h
19009 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19010 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19011 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19012 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19013 echo $ECHO_N "(cached
) $ECHO_C" >&6
19015 cat >conftest.$ac_ext <<_ACEOF
19018 cat confdefs.h >>conftest.$ac_ext
19019 cat >>conftest.$ac_ext <<_ACEOF
19020 /* end confdefs.h. */
19021 $ac_includes_default
19023 #include <$ac_header>
19025 rm -f conftest.$ac_objext
19026 if { (ac_try="$ac_compile"
19027 case "(($ac_try" in
19028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19029 *) ac_try_echo=$ac_try;;
19031 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19032 (eval "$ac_compile") 2>conftest.er1
19034 grep -v '^ *+' conftest.er1 >conftest.err
19036 cat conftest.err >&5
19037 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19038 (exit $ac_status); } && {
19039 test -z "$ac_c_werror_flag" ||
19040 test ! -s conftest.err
19041 } && test -s conftest.$ac_objext; then
19042 eval "$as_ac_Header=yes"
19044 echo "$as_me: failed program was
:" >&5
19045 sed 's/^/| /' conftest.$ac_ext >&5
19047 eval "$as_ac_Header=no
"
19050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19052 ac_res=`eval echo '${'$as_ac_Header'}'`
19053 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19054 echo "${ECHO_T}$ac_res" >&6; }
19055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19056 cat >>confdefs.h <<_ACEOF
19057 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19067 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19068 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19069 if test "${ac_cv_c_const+set}" = set; then
19070 echo $ECHO_N "(cached
) $ECHO_C" >&6
19072 cat >conftest.$ac_ext <<_ACEOF
19075 cat confdefs.h >>conftest.$ac_ext
19076 cat >>conftest.$ac_ext <<_ACEOF
19077 /* end confdefs.h. */
19082 /* FIXME: Include the comments suggested by Paul. */
19083 #ifndef __cplusplus
19084 /* Ultrix mips cc rejects this. */
19085 typedef int charset[2];
19087 /* SunOS 4.1.1 cc rejects this. */
19088 char const *const *pcpcc;
19090 /* NEC SVR4.0.2 mips cc rejects this. */
19091 struct point {int x, y;};
19092 static struct point const zero = {0,0};
19093 /* AIX XL C 1.02.0.0 rejects this.
19094 It does not let you subtract one const X* pointer from another in
19095 an arm of an if-expression whose if-part is not a constant
19097 const char *g = "string
";
19098 pcpcc = &g + (g ? g-g : 0);
19099 /* HPUX 7.0 cc rejects these. */
19101 ppc = (char**) pcpcc;
19102 pcpcc = (char const *const *) ppc;
19103 { /* SCO 3.2v4 cc rejects this. */
19105 char const *s = 0 ? (char *) 0 : (char const *) 0;
19110 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19111 int x[] = {25, 17};
19112 const int *foo = &x[0];
19115 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19116 typedef const int *iptr;
19120 { /* AIX XL C 1.02.0.0 rejects this saying
19121 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19122 struct s { int j; const int *ap[3]; };
19123 struct s *b; b->j = 5;
19125 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19126 const int foo = 10;
19127 if (!foo) return 0;
19129 return !cs[0] && !zero.x;
19136 rm -f conftest.$ac_objext
19137 if { (ac_try="$ac_compile"
19138 case "(($ac_try" in
19139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19140 *) ac_try_echo=$ac_try;;
19142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19143 (eval "$ac_compile") 2>conftest.er1
19145 grep -v '^ *+' conftest.er1 >conftest.err
19147 cat conftest.err >&5
19148 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19149 (exit $ac_status); } && {
19150 test -z "$ac_c_werror_flag" ||
19151 test ! -s conftest.err
19152 } && test -s conftest.$ac_objext; then
19155 echo "$as_me: failed program was
:" >&5
19156 sed 's/^/| /' conftest.$ac_ext >&5
19161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19163 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19164 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19165 if test $ac_cv_c_const = no; then
19167 cat >>confdefs.h <<\_ACEOF
19173 { echo "$as_me:$LINENO: checking
for inline
" >&5
19174 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19175 if test "${ac_cv_c_inline+set}" = set; then
19176 echo $ECHO_N "(cached
) $ECHO_C" >&6
19179 for ac_kw in inline __inline__ __inline; do
19180 cat >conftest.$ac_ext <<_ACEOF
19183 cat confdefs.h >>conftest.$ac_ext
19184 cat >>conftest.$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19186 #ifndef __cplusplus
19188 static $ac_kw foo_t static_foo () {return 0; }
19189 $ac_kw foo_t foo () {return 0; }
19193 rm -f conftest.$ac_objext
19194 if { (ac_try="$ac_compile"
19195 case "(($ac_try" in
19196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19197 *) ac_try_echo=$ac_try;;
19199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19200 (eval "$ac_compile") 2>conftest.er1
19202 grep -v '^ *+' conftest.er1 >conftest.err
19204 cat conftest.err >&5
19205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19206 (exit $ac_status); } && {
19207 test -z "$ac_c_werror_flag" ||
19208 test ! -s conftest.err
19209 } && test -s conftest.$ac_objext; then
19210 ac_cv_c_inline=$ac_kw
19212 echo "$as_me: failed program was
:" >&5
19213 sed 's/^/| /' conftest.$ac_ext >&5
19218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19219 test "$ac_cv_c_inline" != no && break
19223 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19224 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19227 case $ac_cv_c_inline in
19230 case $ac_cv_c_inline in
19232 *) ac_val=$ac_cv_c_inline;;
19234 cat >>confdefs.h <<_ACEOF
19235 #ifndef __cplusplus
19236 #define inline $ac_val
19243 { echo "$as_me:$LINENO: checking
for short
" >&5
19244 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19245 if test "${ac_cv_type_short+set}" = set; then
19246 echo $ECHO_N "(cached
) $ECHO_C" >&6
19248 cat >conftest.$ac_ext <<_ACEOF
19251 cat confdefs.h >>conftest.$ac_ext
19252 cat >>conftest.$ac_ext <<_ACEOF
19253 /* end confdefs.h. */
19254 $ac_includes_default
19255 typedef short ac__type_new_;
19259 if ((ac__type_new_ *) 0)
19261 if (sizeof (ac__type_new_))
19267 rm -f conftest.$ac_objext
19268 if { (ac_try="$ac_compile"
19269 case "(($ac_try" in
19270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19271 *) ac_try_echo=$ac_try;;
19273 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19274 (eval "$ac_compile") 2>conftest.er1
19276 grep -v '^ *+' conftest.er1 >conftest.err
19278 cat conftest.err >&5
19279 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19280 (exit $ac_status); } && {
19281 test -z "$ac_c_werror_flag" ||
19282 test ! -s conftest.err
19283 } && test -s conftest.$ac_objext; then
19284 ac_cv_type_short=yes
19286 echo "$as_me: failed program was
:" >&5
19287 sed 's/^/| /' conftest.$ac_ext >&5
19289 ac_cv_type_short=no
19292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19294 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19295 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19297 # The cast to long int works around a bug in the HP C Compiler
19298 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19299 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19300 # This bug is HP SR number 8606223364.
19301 { echo "$as_me:$LINENO: checking size of short
" >&5
19302 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19303 if test "${ac_cv_sizeof_short+set}" = set; then
19304 echo $ECHO_N "(cached
) $ECHO_C" >&6
19306 if test "$cross_compiling" = yes; then
19307 # Depending upon the size, compute the lo and hi bounds.
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
19315 typedef short ac__type_sizeof_;
19319 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19326 rm -f conftest.$ac_objext
19327 if { (ac_try="$ac_compile"
19328 case "(($ac_try" in
19329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19330 *) ac_try_echo=$ac_try;;
19332 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19333 (eval "$ac_compile") 2>conftest.er1
19335 grep -v '^ *+' conftest.er1 >conftest.err
19337 cat conftest.err >&5
19338 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19339 (exit $ac_status); } && {
19340 test -z "$ac_c_werror_flag" ||
19341 test ! -s conftest.err
19342 } && test -s conftest.$ac_objext; then
19345 cat >conftest.$ac_ext <<_ACEOF
19348 cat confdefs.h >>conftest.$ac_ext
19349 cat >>conftest.$ac_ext <<_ACEOF
19350 /* end confdefs.h. */
19351 $ac_includes_default
19352 typedef short ac__type_sizeof_;
19356 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19363 rm -f conftest.$ac_objext
19364 if { (ac_try="$ac_compile"
19365 case "(($ac_try" in
19366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19367 *) ac_try_echo=$ac_try;;
19369 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19370 (eval "$ac_compile") 2>conftest.er1
19372 grep -v '^ *+' conftest.er1 >conftest.err
19374 cat conftest.err >&5
19375 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19376 (exit $ac_status); } && {
19377 test -z "$ac_c_werror_flag" ||
19378 test ! -s conftest.err
19379 } && test -s conftest.$ac_objext; then
19380 ac_hi=$ac_mid; break
19382 echo "$as_me: failed program was
:" >&5
19383 sed 's/^/| /' conftest.$ac_ext >&5
19385 ac_lo=`expr $ac_mid + 1`
19386 if test $ac_lo -le $ac_mid; then
19390 ac_mid=`expr 2 '*' $ac_mid + 1`
19393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19396 echo "$as_me: failed program was
:" >&5
19397 sed 's/^/| /' conftest.$ac_ext >&5
19399 cat >conftest.$ac_ext <<_ACEOF
19402 cat confdefs.h >>conftest.$ac_ext
19403 cat >>conftest.$ac_ext <<_ACEOF
19404 /* end confdefs.h. */
19405 $ac_includes_default
19406 typedef short ac__type_sizeof_;
19410 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19417 rm -f conftest.$ac_objext
19418 if { (ac_try="$ac_compile"
19419 case "(($ac_try" in
19420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19421 *) ac_try_echo=$ac_try;;
19423 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19424 (eval "$ac_compile") 2>conftest.er1
19426 grep -v '^ *+' conftest.er1 >conftest.err
19428 cat conftest.err >&5
19429 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19430 (exit $ac_status); } && {
19431 test -z "$ac_c_werror_flag" ||
19432 test ! -s conftest.err
19433 } && test -s conftest.$ac_objext; then
19436 cat >conftest.$ac_ext <<_ACEOF
19439 cat confdefs.h >>conftest.$ac_ext
19440 cat >>conftest.$ac_ext <<_ACEOF
19441 /* end confdefs.h. */
19442 $ac_includes_default
19443 typedef short ac__type_sizeof_;
19447 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19454 rm -f conftest.$ac_objext
19455 if { (ac_try="$ac_compile"
19456 case "(($ac_try" in
19457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19458 *) ac_try_echo=$ac_try;;
19460 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19461 (eval "$ac_compile") 2>conftest.er1
19463 grep -v '^ *+' conftest.er1 >conftest.err
19465 cat conftest.err >&5
19466 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19467 (exit $ac_status); } && {
19468 test -z "$ac_c_werror_flag" ||
19469 test ! -s conftest.err
19470 } && test -s conftest.$ac_objext; then
19471 ac_lo=$ac_mid; break
19473 echo "$as_me: failed program was
:" >&5
19474 sed 's/^/| /' conftest.$ac_ext >&5
19476 ac_hi=`expr '(' $ac_mid ')' - 1`
19477 if test $ac_mid -le $ac_hi; then
19481 ac_mid=`expr 2 '*' $ac_mid`
19484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19487 echo "$as_me: failed program was
:" >&5
19488 sed 's/^/| /' conftest.$ac_ext >&5
19493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19497 # Binary search between lo and hi bounds.
19498 while test "x
$ac_lo" != "x
$ac_hi"; do
19499 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19500 cat >conftest.$ac_ext <<_ACEOF
19503 cat confdefs.h >>conftest.$ac_ext
19504 cat >>conftest.$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19506 $ac_includes_default
19507 typedef short ac__type_sizeof_;
19511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19518 rm -f conftest.$ac_objext
19519 if { (ac_try="$ac_compile"
19520 case "(($ac_try" in
19521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19522 *) ac_try_echo=$ac_try;;
19524 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19525 (eval "$ac_compile") 2>conftest.er1
19527 grep -v '^ *+' conftest.er1 >conftest.err
19529 cat conftest.err >&5
19530 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19531 (exit $ac_status); } && {
19532 test -z "$ac_c_werror_flag" ||
19533 test ! -s conftest.err
19534 } && test -s conftest.$ac_objext; then
19537 echo "$as_me: failed program was
:" >&5
19538 sed 's/^/| /' conftest.$ac_ext >&5
19540 ac_lo=`expr '(' $ac_mid ')' + 1`
19543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19546 ?*) ac_cv_sizeof_short=$ac_lo;;
19547 '') if test "$ac_cv_type_short" = yes; then
19548 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19549 See \
`config.log' for more details." >&5
19550 echo "$as_me: error: cannot compute sizeof (short)
19551 See \`config.log
' for more details." >&2;}
19552 { (exit 77); exit 77; }; }
19554 ac_cv_sizeof_short=0
19558 cat >conftest.$ac_ext <<_ACEOF
19561 cat confdefs.h >>conftest.$ac_ext
19562 cat >>conftest.$ac_ext <<_ACEOF
19563 /* end confdefs.h. */
19564 $ac_includes_default
19565 typedef short ac__type_sizeof_;
19566 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19567 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19569 #include <stdlib.h>
19574 FILE *f = fopen ("conftest.val", "w");
19577 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19579 long int i = longval ();
19580 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19582 fprintf (f, "%ld\n", i);
19586 unsigned long int i = ulongval ();
19587 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19589 fprintf (f, "%lu\n", i);
19591 return ferror (f) || fclose (f) != 0;
19597 rm -f conftest$ac_exeext
19598 if { (ac_try="$ac_link"
19599 case "(($ac_try" in
19600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19601 *) ac_try_echo=$ac_try;;
19603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19604 (eval "$ac_link") 2>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19608 { (case "(($ac_try" in
19609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19610 *) ac_try_echo=$ac_try;;
19612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19613 (eval "$ac_try") 2>&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); }; }; then
19617 ac_cv_sizeof_short=`cat conftest.val`
19619 echo "$as_me: program exited with status $ac_status" >&5
19620 echo "$as_me: failed program was:" >&5
19621 sed 's
/^
/| /' conftest.$ac_ext >&5
19623 ( exit $ac_status )
19624 if test "$ac_cv_type_short" = yes; then
19625 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19626 See \`config.log' for more details.
" >&5
19627 echo "$as_me: error
: cannot compute sizeof
(short
)
19628 See \
`config.log' for more details." >&2;}
19629 { (exit 77); exit 77; }; }
19631 ac_cv_sizeof_short=0
19634 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19638 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19639 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19643 cat >>confdefs.h <<_ACEOF
19644 #define SIZEOF_SHORT $ac_cv_sizeof_short
19648 { echo "$as_me:$LINENO: checking for void *" >&5
19649 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19650 if test "${ac_cv_type_void_p+set}" = set; then
19651 echo $ECHO_N "(cached) $ECHO_C" >&6
19653 cat >conftest.$ac_ext <<_ACEOF
19656 cat confdefs.h >>conftest.$ac_ext
19657 cat >>conftest.$ac_ext <<_ACEOF
19658 /* end confdefs.h. */
19659 $ac_includes_default
19660 typedef void * ac__type_new_;
19664 if ((ac__type_new_ *) 0)
19666 if (sizeof (ac__type_new_))
19672 rm -f conftest.$ac_objext
19673 if { (ac_try="$ac_compile"
19674 case "(($ac_try" in
19675 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19676 *) ac_try_echo
=$ac_try;;
19678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19679 (eval "$ac_compile") 2>conftest.er1
19681 grep -v '^ *+' conftest.er1
>conftest.err
19683 cat conftest.err
>&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); } && {
19686 test -z "$ac_c_werror_flag" ||
19687 test ! -s conftest.err
19688 } && test -s conftest.
$ac_objext; then
19689 ac_cv_type_void_p
=yes
19691 echo "$as_me: failed program was:" >&5
19692 sed 's/^/| /' conftest.
$ac_ext >&5
19694 ac_cv_type_void_p
=no
19697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19699 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19700 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19702 # The cast to long int works around a bug in the HP C Compiler
19703 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19704 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19705 # This bug is HP SR number 8606223364.
19706 { echo "$as_me:$LINENO: checking size of void *" >&5
19707 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19708 if test "${ac_cv_sizeof_void_p+set}" = set; then
19709 echo $ECHO_N "(cached) $ECHO_C" >&6
19711 if test "$cross_compiling" = yes; then
19712 # Depending upon the size, compute the lo and hi bounds.
19713 cat >conftest.
$ac_ext <<_ACEOF
19716 cat confdefs.h
>>conftest.
$ac_ext
19717 cat >>conftest.
$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19719 $ac_includes_default
19720 typedef void * ac__type_sizeof_;
19724 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19731 rm -f conftest.
$ac_objext
19732 if { (ac_try
="$ac_compile"
19733 case "(($ac_try" in
19734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19735 *) ac_try_echo=$ac_try;;
19737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19738 (eval "$ac_compile") 2>conftest.er1
19740 grep -v '^ *+' conftest.er1 >conftest.err
19742 cat conftest.err >&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); } && {
19745 test -z "$ac_c_werror_flag" ||
19746 test ! -s conftest.err
19747 } && test -s conftest.$ac_objext; then
19750 cat >conftest.$ac_ext <<_ACEOF
19753 cat confdefs.h >>conftest.$ac_ext
19754 cat >>conftest.$ac_ext <<_ACEOF
19755 /* end confdefs.h. */
19756 $ac_includes_default
19757 typedef void * ac__type_sizeof_;
19761 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19768 rm -f conftest.$ac_objext
19769 if { (ac_try="$ac_compile"
19770 case "(($ac_try" in
19771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19772 *) ac_try_echo
=$ac_try;;
19774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19775 (eval "$ac_compile") 2>conftest.er1
19777 grep -v '^ *+' conftest.er1
>conftest.err
19779 cat conftest.err
>&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); } && {
19782 test -z "$ac_c_werror_flag" ||
19783 test ! -s conftest.err
19784 } && test -s conftest.
$ac_objext; then
19785 ac_hi
=$ac_mid; break
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.
$ac_ext >&5
19790 ac_lo
=`expr $ac_mid + 1`
19791 if test $ac_lo -le $ac_mid; then
19795 ac_mid
=`expr 2 '*' $ac_mid + 1`
19798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19801 echo "$as_me: failed program was:" >&5
19802 sed 's/^/| /' conftest.
$ac_ext >&5
19804 cat >conftest.
$ac_ext <<_ACEOF
19807 cat confdefs.h
>>conftest.
$ac_ext
19808 cat >>conftest.
$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19810 $ac_includes_default
19811 typedef void * ac__type_sizeof_;
19815 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19822 rm -f conftest.
$ac_objext
19823 if { (ac_try
="$ac_compile"
19824 case "(($ac_try" in
19825 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19826 *) ac_try_echo=$ac_try;;
19828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19829 (eval "$ac_compile") 2>conftest.er1
19831 grep -v '^ *+' conftest.er1 >conftest.err
19833 cat conftest.err >&5
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); } && {
19836 test -z "$ac_c_werror_flag" ||
19837 test ! -s conftest.err
19838 } && test -s conftest.$ac_objext; then
19841 cat >conftest.$ac_ext <<_ACEOF
19844 cat confdefs.h >>conftest.$ac_ext
19845 cat >>conftest.$ac_ext <<_ACEOF
19846 /* end confdefs.h. */
19847 $ac_includes_default
19848 typedef void * ac__type_sizeof_;
19852 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19859 rm -f conftest.$ac_objext
19860 if { (ac_try="$ac_compile"
19861 case "(($ac_try" in
19862 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19863 *) ac_try_echo
=$ac_try;;
19865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19866 (eval "$ac_compile") 2>conftest.er1
19868 grep -v '^ *+' conftest.er1
>conftest.err
19870 cat conftest.err
>&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); } && {
19873 test -z "$ac_c_werror_flag" ||
19874 test ! -s conftest.err
19875 } && test -s conftest.
$ac_objext; then
19876 ac_lo
=$ac_mid; break
19878 echo "$as_me: failed program was:" >&5
19879 sed 's/^/| /' conftest.
$ac_ext >&5
19881 ac_hi
=`expr '(' $ac_mid ')' - 1`
19882 if test $ac_mid -le $ac_hi; then
19886 ac_mid
=`expr 2 '*' $ac_mid`
19889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19892 echo "$as_me: failed program was:" >&5
19893 sed 's/^/| /' conftest.
$ac_ext >&5
19898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19902 # Binary search between lo and hi bounds.
19903 while test "x$ac_lo" != "x$ac_hi"; do
19904 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19905 cat >conftest.
$ac_ext <<_ACEOF
19908 cat confdefs.h
>>conftest.
$ac_ext
19909 cat >>conftest.
$ac_ext <<_ACEOF
19910 /* end confdefs.h. */
19911 $ac_includes_default
19912 typedef void * ac__type_sizeof_;
19916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19923 rm -f conftest.
$ac_objext
19924 if { (ac_try
="$ac_compile"
19925 case "(($ac_try" in
19926 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19927 *) ac_try_echo=$ac_try;;
19929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19930 (eval "$ac_compile") 2>conftest.er1
19932 grep -v '^ *+' conftest.er1 >conftest.err
19934 cat conftest.err >&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); } && {
19937 test -z "$ac_c_werror_flag" ||
19938 test ! -s conftest.err
19939 } && test -s conftest.$ac_objext; then
19942 echo "$as_me: failed program was:" >&5
19943 sed 's/^/| /' conftest.$ac_ext >&5
19945 ac_lo=`expr '(' $ac_mid ')' + 1`
19948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19951 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19952 '') if test "$ac_cv_type_void_p" = yes; then
19953 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19954 See \`config.log
' for more details." >&5
19955 echo "$as_me: error: cannot compute sizeof (void *)
19956 See \`config.log' for more details.
" >&2;}
19957 { (exit 77); exit 77; }; }
19959 ac_cv_sizeof_void_p=0
19963 cat >conftest.$ac_ext <<_ACEOF
19966 cat confdefs.h >>conftest.$ac_ext
19967 cat >>conftest.$ac_ext <<_ACEOF
19968 /* end confdefs.h. */
19969 $ac_includes_default
19970 typedef void * ac__type_sizeof_;
19971 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19972 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19974 #include <stdlib.h>
19979 FILE *f = fopen ("conftest.val
", "w
");
19982 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19984 long int i = longval ();
19985 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19987 fprintf (f, "%ld
\n", i);
19991 unsigned long int i = ulongval ();
19992 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19994 fprintf (f, "%lu
\n", i);
19996 return ferror (f) || fclose (f) != 0;
20002 rm -f conftest$ac_exeext
20003 if { (ac_try="$ac_link"
20004 case "(($ac_try" in
20005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20006 *) ac_try_echo=$ac_try;;
20008 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20009 (eval "$ac_link") 2>&5
20011 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20012 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20013 { (case "(($ac_try" in
20014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20015 *) ac_try_echo=$ac_try;;
20017 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20018 (eval "$ac_try") 2>&5
20020 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20021 (exit $ac_status); }; }; then
20022 ac_cv_sizeof_void_p=`cat conftest.val`
20024 echo "$as_me: program exited with status
$ac_status" >&5
20025 echo "$as_me: failed program was
:" >&5
20026 sed 's/^/| /' conftest.$ac_ext >&5
20028 ( exit $ac_status )
20029 if test "$ac_cv_type_void_p" = yes; then
20030 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20031 See \
`config.log' for more details." >&5
20032 echo "$as_me: error: cannot compute sizeof (void *)
20033 See \`config.log
' for more details." >&2;}
20034 { (exit 77); exit 77; }; }
20036 ac_cv_sizeof_void_p=0
20039 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20043 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20044 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20048 cat >>confdefs.h <<_ACEOF
20049 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20053 { echo "$as_me:$LINENO: checking for int" >&5
20054 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20055 if test "${ac_cv_type_int+set}" = set; then
20056 echo $ECHO_N "(cached) $ECHO_C" >&6
20058 cat >conftest.$ac_ext <<_ACEOF
20061 cat confdefs.h >>conftest.$ac_ext
20062 cat >>conftest.$ac_ext <<_ACEOF
20063 /* end confdefs.h. */
20064 $ac_includes_default
20065 typedef int ac__type_new_;
20069 if ((ac__type_new_ *) 0)
20071 if (sizeof (ac__type_new_))
20077 rm -f conftest.$ac_objext
20078 if { (ac_try="$ac_compile"
20079 case "(($ac_try" in
20080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20081 *) ac_try_echo=$ac_try;;
20083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20084 (eval "$ac_compile") 2>conftest.er1
20086 grep -v '^
*+' conftest.er1 >conftest.err
20088 cat conftest.err >&5
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); } && {
20091 test -z "$ac_c_werror_flag" ||
20092 test ! -s conftest.err
20093 } && test -s conftest.$ac_objext; then
20096 echo "$as_me: failed program was:" >&5
20097 sed 's
/^
/| /' conftest.$ac_ext >&5
20102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20104 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20105 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20107 # The cast to long int works around a bug in the HP C Compiler
20108 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20109 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20110 # This bug is HP SR number 8606223364.
20111 { echo "$as_me:$LINENO: checking size of int" >&5
20112 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20113 if test "${ac_cv_sizeof_int+set}" = set; then
20114 echo $ECHO_N "(cached) $ECHO_C" >&6
20116 if test "$cross_compiling" = yes; then
20117 # Depending upon the size, compute the lo and hi bounds.
20118 cat >conftest.
$ac_ext <<_ACEOF
20121 cat confdefs.h
>>conftest.
$ac_ext
20122 cat >>conftest.
$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20124 $ac_includes_default
20125 typedef int ac__type_sizeof_;
20129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20136 rm -f conftest.
$ac_objext
20137 if { (ac_try
="$ac_compile"
20138 case "(($ac_try" in
20139 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20140 *) ac_try_echo=$ac_try;;
20142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_compile") 2>conftest.er1
20145 grep -v '^ *+' conftest.er1 >conftest.err
20147 cat conftest.err >&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && {
20150 test -z "$ac_c_werror_flag" ||
20151 test ! -s conftest.err
20152 } && test -s conftest.$ac_objext; then
20155 cat >conftest.$ac_ext <<_ACEOF
20158 cat confdefs.h >>conftest.$ac_ext
20159 cat >>conftest.$ac_ext <<_ACEOF
20160 /* end confdefs.h. */
20161 $ac_includes_default
20162 typedef int ac__type_sizeof_;
20166 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20173 rm -f conftest.$ac_objext
20174 if { (ac_try="$ac_compile"
20175 case "(($ac_try" in
20176 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20177 *) ac_try_echo
=$ac_try;;
20179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20180 (eval "$ac_compile") 2>conftest.er1
20182 grep -v '^ *+' conftest.er1
>conftest.err
20184 cat conftest.err
>&5
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); } && {
20187 test -z "$ac_c_werror_flag" ||
20188 test ! -s conftest.err
20189 } && test -s conftest.
$ac_objext; then
20190 ac_hi
=$ac_mid; break
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.
$ac_ext >&5
20195 ac_lo
=`expr $ac_mid + 1`
20196 if test $ac_lo -le $ac_mid; then
20200 ac_mid
=`expr 2 '*' $ac_mid + 1`
20203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20206 echo "$as_me: failed program was:" >&5
20207 sed 's/^/| /' conftest.
$ac_ext >&5
20209 cat >conftest.
$ac_ext <<_ACEOF
20212 cat confdefs.h
>>conftest.
$ac_ext
20213 cat >>conftest.
$ac_ext <<_ACEOF
20214 /* end confdefs.h. */
20215 $ac_includes_default
20216 typedef int ac__type_sizeof_;
20220 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20227 rm -f conftest.
$ac_objext
20228 if { (ac_try
="$ac_compile"
20229 case "(($ac_try" in
20230 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20231 *) ac_try_echo=$ac_try;;
20233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20234 (eval "$ac_compile") 2>conftest.er1
20236 grep -v '^ *+' conftest.er1 >conftest.err
20238 cat conftest.err >&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); } && {
20241 test -z "$ac_c_werror_flag" ||
20242 test ! -s conftest.err
20243 } && test -s conftest.$ac_objext; then
20246 cat >conftest.$ac_ext <<_ACEOF
20249 cat confdefs.h >>conftest.$ac_ext
20250 cat >>conftest.$ac_ext <<_ACEOF
20251 /* end confdefs.h. */
20252 $ac_includes_default
20253 typedef int ac__type_sizeof_;
20257 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20264 rm -f conftest.$ac_objext
20265 if { (ac_try="$ac_compile"
20266 case "(($ac_try" in
20267 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20268 *) ac_try_echo
=$ac_try;;
20270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20271 (eval "$ac_compile") 2>conftest.er1
20273 grep -v '^ *+' conftest.er1
>conftest.err
20275 cat conftest.err
>&5
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); } && {
20278 test -z "$ac_c_werror_flag" ||
20279 test ! -s conftest.err
20280 } && test -s conftest.
$ac_objext; then
20281 ac_lo
=$ac_mid; break
20283 echo "$as_me: failed program was:" >&5
20284 sed 's/^/| /' conftest.
$ac_ext >&5
20286 ac_hi
=`expr '(' $ac_mid ')' - 1`
20287 if test $ac_mid -le $ac_hi; then
20291 ac_mid
=`expr 2 '*' $ac_mid`
20294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20297 echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.
$ac_ext >&5
20303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20307 # Binary search between lo and hi bounds.
20308 while test "x$ac_lo" != "x$ac_hi"; do
20309 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20310 cat >conftest.
$ac_ext <<_ACEOF
20313 cat confdefs.h
>>conftest.
$ac_ext
20314 cat >>conftest.
$ac_ext <<_ACEOF
20315 /* end confdefs.h. */
20316 $ac_includes_default
20317 typedef int ac__type_sizeof_;
20321 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20328 rm -f conftest.
$ac_objext
20329 if { (ac_try
="$ac_compile"
20330 case "(($ac_try" in
20331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20332 *) ac_try_echo=$ac_try;;
20334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20335 (eval "$ac_compile") 2>conftest.er1
20337 grep -v '^ *+' conftest.er1 >conftest.err
20339 cat conftest.err >&5
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); } && {
20342 test -z "$ac_c_werror_flag" ||
20343 test ! -s conftest.err
20344 } && test -s conftest.$ac_objext; then
20347 echo "$as_me: failed program was:" >&5
20348 sed 's/^/| /' conftest.$ac_ext >&5
20350 ac_lo=`expr '(' $ac_mid ')' + 1`
20353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20356 ?*) ac_cv_sizeof_int=$ac_lo;;
20357 '') if test "$ac_cv_type_int" = yes; then
20358 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20359 See \`config.log
' for more details." >&5
20360 echo "$as_me: error: cannot compute sizeof (int)
20361 See \`config.log' for more details.
" >&2;}
20362 { (exit 77); exit 77; }; }
20368 cat >conftest.$ac_ext <<_ACEOF
20371 cat confdefs.h >>conftest.$ac_ext
20372 cat >>conftest.$ac_ext <<_ACEOF
20373 /* end confdefs.h. */
20374 $ac_includes_default
20375 typedef int ac__type_sizeof_;
20376 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20377 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20379 #include <stdlib.h>
20384 FILE *f = fopen ("conftest.val
", "w
");
20387 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20389 long int i = longval ();
20390 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20392 fprintf (f, "%ld
\n", i);
20396 unsigned long int i = ulongval ();
20397 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20399 fprintf (f, "%lu
\n", i);
20401 return ferror (f) || fclose (f) != 0;
20407 rm -f conftest$ac_exeext
20408 if { (ac_try="$ac_link"
20409 case "(($ac_try" in
20410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20411 *) ac_try_echo=$ac_try;;
20413 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20414 (eval "$ac_link") 2>&5
20416 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20417 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20418 { (case "(($ac_try" in
20419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20420 *) ac_try_echo=$ac_try;;
20422 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20423 (eval "$ac_try") 2>&5
20425 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20426 (exit $ac_status); }; }; then
20427 ac_cv_sizeof_int=`cat conftest.val`
20429 echo "$as_me: program exited with status
$ac_status" >&5
20430 echo "$as_me: failed program was
:" >&5
20431 sed 's/^/| /' conftest.$ac_ext >&5
20433 ( exit $ac_status )
20434 if test "$ac_cv_type_int" = yes; then
20435 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20436 See \
`config.log' for more details." >&5
20437 echo "$as_me: error: cannot compute sizeof (int)
20438 See \`config.log
' for more details." >&2;}
20439 { (exit 77); exit 77; }; }
20444 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20448 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20449 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20453 cat >>confdefs.h <<_ACEOF
20454 #define SIZEOF_INT $ac_cv_sizeof_int
20458 { echo "$as_me:$LINENO: checking for long" >&5
20459 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20460 if test "${ac_cv_type_long+set}" = set; then
20461 echo $ECHO_N "(cached) $ECHO_C" >&6
20463 cat >conftest.$ac_ext <<_ACEOF
20466 cat confdefs.h >>conftest.$ac_ext
20467 cat >>conftest.$ac_ext <<_ACEOF
20468 /* end confdefs.h. */
20469 $ac_includes_default
20470 typedef long ac__type_new_;
20474 if ((ac__type_new_ *) 0)
20476 if (sizeof (ac__type_new_))
20482 rm -f conftest.$ac_objext
20483 if { (ac_try="$ac_compile"
20484 case "(($ac_try" in
20485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20486 *) ac_try_echo=$ac_try;;
20488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20489 (eval "$ac_compile") 2>conftest.er1
20491 grep -v '^
*+' conftest.er1 >conftest.err
20493 cat conftest.err >&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); } && {
20496 test -z "$ac_c_werror_flag" ||
20497 test ! -s conftest.err
20498 } && test -s conftest.$ac_objext; then
20499 ac_cv_type_long=yes
20501 echo "$as_me: failed program was:" >&5
20502 sed 's
/^
/| /' conftest.$ac_ext >&5
20507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20509 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20510 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20512 # The cast to long int works around a bug in the HP C Compiler
20513 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20514 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20515 # This bug is HP SR number 8606223364.
20516 { echo "$as_me:$LINENO: checking size of long" >&5
20517 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20518 if test "${ac_cv_sizeof_long+set}" = set; then
20519 echo $ECHO_N "(cached) $ECHO_C" >&6
20521 if test "$cross_compiling" = yes; then
20522 # Depending upon the size, compute the lo and hi bounds.
20523 cat >conftest.
$ac_ext <<_ACEOF
20526 cat confdefs.h
>>conftest.
$ac_ext
20527 cat >>conftest.
$ac_ext <<_ACEOF
20528 /* end confdefs.h. */
20529 $ac_includes_default
20530 typedef long ac__type_sizeof_;
20534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20541 rm -f conftest.
$ac_objext
20542 if { (ac_try
="$ac_compile"
20543 case "(($ac_try" in
20544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20545 *) ac_try_echo=$ac_try;;
20547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20548 (eval "$ac_compile") 2>conftest.er1
20550 grep -v '^ *+' conftest.er1 >conftest.err
20552 cat conftest.err >&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } && {
20555 test -z "$ac_c_werror_flag" ||
20556 test ! -s conftest.err
20557 } && test -s conftest.$ac_objext; then
20560 cat >conftest.$ac_ext <<_ACEOF
20563 cat confdefs.h >>conftest.$ac_ext
20564 cat >>conftest.$ac_ext <<_ACEOF
20565 /* end confdefs.h. */
20566 $ac_includes_default
20567 typedef long ac__type_sizeof_;
20571 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20578 rm -f conftest.$ac_objext
20579 if { (ac_try="$ac_compile"
20580 case "(($ac_try" in
20581 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20582 *) ac_try_echo
=$ac_try;;
20584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20585 (eval "$ac_compile") 2>conftest.er1
20587 grep -v '^ *+' conftest.er1
>conftest.err
20589 cat conftest.err
>&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); } && {
20592 test -z "$ac_c_werror_flag" ||
20593 test ! -s conftest.err
20594 } && test -s conftest.
$ac_objext; then
20595 ac_hi
=$ac_mid; break
20597 echo "$as_me: failed program was:" >&5
20598 sed 's/^/| /' conftest.
$ac_ext >&5
20600 ac_lo
=`expr $ac_mid + 1`
20601 if test $ac_lo -le $ac_mid; then
20605 ac_mid
=`expr 2 '*' $ac_mid + 1`
20608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20611 echo "$as_me: failed program was:" >&5
20612 sed 's/^/| /' conftest.
$ac_ext >&5
20614 cat >conftest.
$ac_ext <<_ACEOF
20617 cat confdefs.h
>>conftest.
$ac_ext
20618 cat >>conftest.
$ac_ext <<_ACEOF
20619 /* end confdefs.h. */
20620 $ac_includes_default
20621 typedef long ac__type_sizeof_;
20625 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20632 rm -f conftest.
$ac_objext
20633 if { (ac_try
="$ac_compile"
20634 case "(($ac_try" in
20635 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20636 *) ac_try_echo=$ac_try;;
20638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20639 (eval "$ac_compile") 2>conftest.er1
20641 grep -v '^ *+' conftest.er1 >conftest.err
20643 cat conftest.err >&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); } && {
20646 test -z "$ac_c_werror_flag" ||
20647 test ! -s conftest.err
20648 } && test -s conftest.$ac_objext; then
20651 cat >conftest.$ac_ext <<_ACEOF
20654 cat confdefs.h >>conftest.$ac_ext
20655 cat >>conftest.$ac_ext <<_ACEOF
20656 /* end confdefs.h. */
20657 $ac_includes_default
20658 typedef long ac__type_sizeof_;
20662 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20669 rm -f conftest.$ac_objext
20670 if { (ac_try="$ac_compile"
20671 case "(($ac_try" in
20672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20673 *) ac_try_echo
=$ac_try;;
20675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20676 (eval "$ac_compile") 2>conftest.er1
20678 grep -v '^ *+' conftest.er1
>conftest.err
20680 cat conftest.err
>&5
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); } && {
20683 test -z "$ac_c_werror_flag" ||
20684 test ! -s conftest.err
20685 } && test -s conftest.
$ac_objext; then
20686 ac_lo
=$ac_mid; break
20688 echo "$as_me: failed program was:" >&5
20689 sed 's/^/| /' conftest.
$ac_ext >&5
20691 ac_hi
=`expr '(' $ac_mid ')' - 1`
20692 if test $ac_mid -le $ac_hi; then
20696 ac_mid
=`expr 2 '*' $ac_mid`
20699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20702 echo "$as_me: failed program was:" >&5
20703 sed 's/^/| /' conftest.
$ac_ext >&5
20708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20712 # Binary search between lo and hi bounds.
20713 while test "x$ac_lo" != "x$ac_hi"; do
20714 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20715 cat >conftest.
$ac_ext <<_ACEOF
20718 cat confdefs.h
>>conftest.
$ac_ext
20719 cat >>conftest.
$ac_ext <<_ACEOF
20720 /* end confdefs.h. */
20721 $ac_includes_default
20722 typedef long ac__type_sizeof_;
20726 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20733 rm -f conftest.
$ac_objext
20734 if { (ac_try
="$ac_compile"
20735 case "(($ac_try" in
20736 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20737 *) ac_try_echo=$ac_try;;
20739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20740 (eval "$ac_compile") 2>conftest.er1
20742 grep -v '^ *+' conftest.er1 >conftest.err
20744 cat conftest.err >&5
20745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20746 (exit $ac_status); } && {
20747 test -z "$ac_c_werror_flag" ||
20748 test ! -s conftest.err
20749 } && test -s conftest.$ac_objext; then
20752 echo "$as_me: failed program was:" >&5
20753 sed 's/^/| /' conftest.$ac_ext >&5
20755 ac_lo=`expr '(' $ac_mid ')' + 1`
20758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20761 ?*) ac_cv_sizeof_long=$ac_lo;;
20762 '') if test "$ac_cv_type_long" = yes; then
20763 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20764 See \`config.log
' for more details." >&5
20765 echo "$as_me: error: cannot compute sizeof (long)
20766 See \`config.log' for more details.
" >&2;}
20767 { (exit 77); exit 77; }; }
20769 ac_cv_sizeof_long=0
20773 cat >conftest.$ac_ext <<_ACEOF
20776 cat confdefs.h >>conftest.$ac_ext
20777 cat >>conftest.$ac_ext <<_ACEOF
20778 /* end confdefs.h. */
20779 $ac_includes_default
20780 typedef long ac__type_sizeof_;
20781 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20782 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20784 #include <stdlib.h>
20789 FILE *f = fopen ("conftest.val
", "w
");
20792 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20794 long int i = longval ();
20795 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20797 fprintf (f, "%ld
\n", i);
20801 unsigned long int i = ulongval ();
20802 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20804 fprintf (f, "%lu
\n", i);
20806 return ferror (f) || fclose (f) != 0;
20812 rm -f conftest$ac_exeext
20813 if { (ac_try="$ac_link"
20814 case "(($ac_try" in
20815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20816 *) ac_try_echo=$ac_try;;
20818 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20819 (eval "$ac_link") 2>&5
20821 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20823 { (case "(($ac_try" in
20824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20825 *) ac_try_echo=$ac_try;;
20827 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20828 (eval "$ac_try") 2>&5
20830 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20831 (exit $ac_status); }; }; then
20832 ac_cv_sizeof_long=`cat conftest.val`
20834 echo "$as_me: program exited with status
$ac_status" >&5
20835 echo "$as_me: failed program was
:" >&5
20836 sed 's/^/| /' conftest.$ac_ext >&5
20838 ( exit $ac_status )
20839 if test "$ac_cv_type_long" = yes; then
20840 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20841 See \
`config.log' for more details." >&5
20842 echo "$as_me: error: cannot compute sizeof (long)
20843 See \`config.log
' for more details." >&2;}
20844 { (exit 77); exit 77; }; }
20846 ac_cv_sizeof_long=0
20849 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20853 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20854 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20858 cat >>confdefs.h <<_ACEOF
20859 #define SIZEOF_LONG $ac_cv_sizeof_long
20863 { echo "$as_me:$LINENO: checking for size_t" >&5
20864 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20865 if test "${ac_cv_type_size_t+set}" = set; then
20866 echo $ECHO_N "(cached) $ECHO_C" >&6
20868 cat >conftest.$ac_ext <<_ACEOF
20871 cat confdefs.h >>conftest.$ac_ext
20872 cat >>conftest.$ac_ext <<_ACEOF
20873 /* end confdefs.h. */
20874 $ac_includes_default
20875 typedef size_t ac__type_new_;
20879 if ((ac__type_new_ *) 0)
20881 if (sizeof (ac__type_new_))
20887 rm -f conftest.$ac_objext
20888 if { (ac_try="$ac_compile"
20889 case "(($ac_try" in
20890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20891 *) ac_try_echo=$ac_try;;
20893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20894 (eval "$ac_compile") 2>conftest.er1
20896 grep -v '^
*+' conftest.er1 >conftest.err
20898 cat conftest.err >&5
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); } && {
20901 test -z "$ac_c_werror_flag" ||
20902 test ! -s conftest.err
20903 } && test -s conftest.$ac_objext; then
20904 ac_cv_type_size_t=yes
20906 echo "$as_me: failed program was:" >&5
20907 sed 's
/^
/| /' conftest.$ac_ext >&5
20909 ac_cv_type_size_t=no
20912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20914 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20915 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20917 # The cast to long int works around a bug in the HP C Compiler
20918 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20919 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20920 # This bug is HP SR number 8606223364.
20921 { echo "$as_me:$LINENO: checking size of size_t" >&5
20922 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20923 if test "${ac_cv_sizeof_size_t+set}" = set; then
20924 echo $ECHO_N "(cached) $ECHO_C" >&6
20926 if test "$cross_compiling" = yes; then
20927 # Depending upon the size, compute the lo and hi bounds.
20928 cat >conftest.
$ac_ext <<_ACEOF
20931 cat confdefs.h
>>conftest.
$ac_ext
20932 cat >>conftest.
$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20934 $ac_includes_default
20935 typedef size_t ac__type_sizeof_;
20939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20946 rm -f conftest.
$ac_objext
20947 if { (ac_try
="$ac_compile"
20948 case "(($ac_try" in
20949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20950 *) ac_try_echo=$ac_try;;
20952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20953 (eval "$ac_compile") 2>conftest.er1
20955 grep -v '^ *+' conftest.er1 >conftest.err
20957 cat conftest.err >&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } && {
20960 test -z "$ac_c_werror_flag" ||
20961 test ! -s conftest.err
20962 } && test -s conftest.$ac_objext; then
20965 cat >conftest.$ac_ext <<_ACEOF
20968 cat confdefs.h >>conftest.$ac_ext
20969 cat >>conftest.$ac_ext <<_ACEOF
20970 /* end confdefs.h. */
20971 $ac_includes_default
20972 typedef size_t ac__type_sizeof_;
20976 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20983 rm -f conftest.$ac_objext
20984 if { (ac_try="$ac_compile"
20985 case "(($ac_try" in
20986 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20987 *) ac_try_echo
=$ac_try;;
20989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20990 (eval "$ac_compile") 2>conftest.er1
20992 grep -v '^ *+' conftest.er1
>conftest.err
20994 cat conftest.err
>&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); } && {
20997 test -z "$ac_c_werror_flag" ||
20998 test ! -s conftest.err
20999 } && test -s conftest.
$ac_objext; then
21000 ac_hi
=$ac_mid; break
21002 echo "$as_me: failed program was:" >&5
21003 sed 's/^/| /' conftest.
$ac_ext >&5
21005 ac_lo
=`expr $ac_mid + 1`
21006 if test $ac_lo -le $ac_mid; then
21010 ac_mid
=`expr 2 '*' $ac_mid + 1`
21013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21016 echo "$as_me: failed program was:" >&5
21017 sed 's/^/| /' conftest.
$ac_ext >&5
21019 cat >conftest.
$ac_ext <<_ACEOF
21022 cat confdefs.h
>>conftest.
$ac_ext
21023 cat >>conftest.
$ac_ext <<_ACEOF
21024 /* end confdefs.h. */
21025 $ac_includes_default
21026 typedef size_t ac__type_sizeof_;
21030 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21037 rm -f conftest.
$ac_objext
21038 if { (ac_try
="$ac_compile"
21039 case "(($ac_try" in
21040 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21041 *) ac_try_echo=$ac_try;;
21043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21044 (eval "$ac_compile") 2>conftest.er1
21046 grep -v '^ *+' conftest.er1 >conftest.err
21048 cat conftest.err >&5
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); } && {
21051 test -z "$ac_c_werror_flag" ||
21052 test ! -s conftest.err
21053 } && test -s conftest.$ac_objext; then
21056 cat >conftest.$ac_ext <<_ACEOF
21059 cat confdefs.h >>conftest.$ac_ext
21060 cat >>conftest.$ac_ext <<_ACEOF
21061 /* end confdefs.h. */
21062 $ac_includes_default
21063 typedef size_t ac__type_sizeof_;
21067 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21074 rm -f conftest.$ac_objext
21075 if { (ac_try="$ac_compile"
21076 case "(($ac_try" in
21077 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21078 *) ac_try_echo
=$ac_try;;
21080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21081 (eval "$ac_compile") 2>conftest.er1
21083 grep -v '^ *+' conftest.er1
>conftest.err
21085 cat conftest.err
>&5
21086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087 (exit $ac_status); } && {
21088 test -z "$ac_c_werror_flag" ||
21089 test ! -s conftest.err
21090 } && test -s conftest.
$ac_objext; then
21091 ac_lo
=$ac_mid; break
21093 echo "$as_me: failed program was:" >&5
21094 sed 's/^/| /' conftest.
$ac_ext >&5
21096 ac_hi
=`expr '(' $ac_mid ')' - 1`
21097 if test $ac_mid -le $ac_hi; then
21101 ac_mid
=`expr 2 '*' $ac_mid`
21104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21107 echo "$as_me: failed program was:" >&5
21108 sed 's/^/| /' conftest.
$ac_ext >&5
21113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21117 # Binary search between lo and hi bounds.
21118 while test "x$ac_lo" != "x$ac_hi"; do
21119 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21120 cat >conftest.
$ac_ext <<_ACEOF
21123 cat confdefs.h
>>conftest.
$ac_ext
21124 cat >>conftest.
$ac_ext <<_ACEOF
21125 /* end confdefs.h. */
21126 $ac_includes_default
21127 typedef size_t ac__type_sizeof_;
21131 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21138 rm -f conftest.
$ac_objext
21139 if { (ac_try
="$ac_compile"
21140 case "(($ac_try" in
21141 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21142 *) ac_try_echo=$ac_try;;
21144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21145 (eval "$ac_compile") 2>conftest.er1
21147 grep -v '^ *+' conftest.er1 >conftest.err
21149 cat conftest.err >&5
21150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21151 (exit $ac_status); } && {
21152 test -z "$ac_c_werror_flag" ||
21153 test ! -s conftest.err
21154 } && test -s conftest.$ac_objext; then
21157 echo "$as_me: failed program was:" >&5
21158 sed 's/^/| /' conftest.$ac_ext >&5
21160 ac_lo=`expr '(' $ac_mid ')' + 1`
21163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21166 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21167 '') if test "$ac_cv_type_size_t" = yes; then
21168 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21169 See \`config.log
' for more details." >&5
21170 echo "$as_me: error: cannot compute sizeof (size_t)
21171 See \`config.log' for more details.
" >&2;}
21172 { (exit 77); exit 77; }; }
21174 ac_cv_sizeof_size_t=0
21178 cat >conftest.$ac_ext <<_ACEOF
21181 cat confdefs.h >>conftest.$ac_ext
21182 cat >>conftest.$ac_ext <<_ACEOF
21183 /* end confdefs.h. */
21184 $ac_includes_default
21185 typedef size_t ac__type_sizeof_;
21186 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21187 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21189 #include <stdlib.h>
21194 FILE *f = fopen ("conftest.val
", "w
");
21197 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21199 long int i = longval ();
21200 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21202 fprintf (f, "%ld
\n", i);
21206 unsigned long int i = ulongval ();
21207 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21209 fprintf (f, "%lu
\n", i);
21211 return ferror (f) || fclose (f) != 0;
21217 rm -f conftest$ac_exeext
21218 if { (ac_try="$ac_link"
21219 case "(($ac_try" in
21220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21221 *) ac_try_echo=$ac_try;;
21223 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21224 (eval "$ac_link") 2>&5
21226 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21227 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21228 { (case "(($ac_try" in
21229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21230 *) ac_try_echo=$ac_try;;
21232 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21233 (eval "$ac_try") 2>&5
21235 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21236 (exit $ac_status); }; }; then
21237 ac_cv_sizeof_size_t=`cat conftest.val`
21239 echo "$as_me: program exited with status
$ac_status" >&5
21240 echo "$as_me: failed program was
:" >&5
21241 sed 's/^/| /' conftest.$ac_ext >&5
21243 ( exit $ac_status )
21244 if test "$ac_cv_type_size_t" = yes; then
21245 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21246 See \
`config.log' for more details." >&5
21247 echo "$as_me: error: cannot compute sizeof (size_t)
21248 See \`config.log
' for more details." >&2;}
21249 { (exit 77); exit 77; }; }
21251 ac_cv_sizeof_size_t=0
21254 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21258 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21259 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21263 cat >>confdefs.h <<_ACEOF
21264 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21271 { echo "$as_me:$LINENO: checking for long long" >&5
21272 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21273 if test "${ac_cv_type_long_long+set}" = set; then
21274 echo $ECHO_N "(cached) $ECHO_C" >&6
21276 cat >conftest.$ac_ext <<_ACEOF
21279 cat confdefs.h >>conftest.$ac_ext
21280 cat >>conftest.$ac_ext <<_ACEOF
21281 /* end confdefs.h. */
21282 $ac_includes_default
21283 typedef long long ac__type_new_;
21287 if ((ac__type_new_ *) 0)
21289 if (sizeof (ac__type_new_))
21295 rm -f conftest.$ac_objext
21296 if { (ac_try="$ac_compile"
21297 case "(($ac_try" in
21298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21299 *) ac_try_echo=$ac_try;;
21301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21302 (eval "$ac_compile") 2>conftest.er1
21304 grep -v '^
*+' conftest.er1 >conftest.err
21306 cat conftest.err >&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); } && {
21309 test -z "$ac_c_werror_flag" ||
21310 test ! -s conftest.err
21311 } && test -s conftest.$ac_objext; then
21312 ac_cv_type_long_long=yes
21314 echo "$as_me: failed program was:" >&5
21315 sed 's
/^
/| /' conftest.$ac_ext >&5
21317 ac_cv_type_long_long=no
21320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21322 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21323 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21325 # The cast to long int works around a bug in the HP C Compiler
21326 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21327 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21328 # This bug is HP SR number 8606223364.
21329 { echo "$as_me:$LINENO: checking size of long long" >&5
21330 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21331 if test "${ac_cv_sizeof_long_long+set}" = set; then
21332 echo $ECHO_N "(cached) $ECHO_C" >&6
21334 if test "$cross_compiling" = yes; then
21335 # Depending upon the size, compute the lo and hi bounds.
21336 cat >conftest.
$ac_ext <<_ACEOF
21339 cat confdefs.h
>>conftest.
$ac_ext
21340 cat >>conftest.
$ac_ext <<_ACEOF
21341 /* end confdefs.h. */
21342 $ac_includes_default
21343 typedef long long ac__type_sizeof_;
21347 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21354 rm -f conftest.
$ac_objext
21355 if { (ac_try
="$ac_compile"
21356 case "(($ac_try" in
21357 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21358 *) ac_try_echo=$ac_try;;
21360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21361 (eval "$ac_compile") 2>conftest.er1
21363 grep -v '^ *+' conftest.er1 >conftest.err
21365 cat conftest.err >&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } && {
21368 test -z "$ac_c_werror_flag" ||
21369 test ! -s conftest.err
21370 } && test -s conftest.$ac_objext; then
21373 cat >conftest.$ac_ext <<_ACEOF
21376 cat confdefs.h >>conftest.$ac_ext
21377 cat >>conftest.$ac_ext <<_ACEOF
21378 /* end confdefs.h. */
21379 $ac_includes_default
21380 typedef long long ac__type_sizeof_;
21384 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21391 rm -f conftest.$ac_objext
21392 if { (ac_try="$ac_compile"
21393 case "(($ac_try" in
21394 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21395 *) ac_try_echo
=$ac_try;;
21397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21398 (eval "$ac_compile") 2>conftest.er1
21400 grep -v '^ *+' conftest.er1
>conftest.err
21402 cat conftest.err
>&5
21403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21404 (exit $ac_status); } && {
21405 test -z "$ac_c_werror_flag" ||
21406 test ! -s conftest.err
21407 } && test -s conftest.
$ac_objext; then
21408 ac_hi
=$ac_mid; break
21410 echo "$as_me: failed program was:" >&5
21411 sed 's/^/| /' conftest.
$ac_ext >&5
21413 ac_lo
=`expr $ac_mid + 1`
21414 if test $ac_lo -le $ac_mid; then
21418 ac_mid
=`expr 2 '*' $ac_mid + 1`
21421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21424 echo "$as_me: failed program was:" >&5
21425 sed 's/^/| /' conftest.
$ac_ext >&5
21427 cat >conftest.
$ac_ext <<_ACEOF
21430 cat confdefs.h
>>conftest.
$ac_ext
21431 cat >>conftest.
$ac_ext <<_ACEOF
21432 /* end confdefs.h. */
21433 $ac_includes_default
21434 typedef long long ac__type_sizeof_;
21438 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21445 rm -f conftest.
$ac_objext
21446 if { (ac_try
="$ac_compile"
21447 case "(($ac_try" in
21448 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21449 *) ac_try_echo=$ac_try;;
21451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21452 (eval "$ac_compile") 2>conftest.er1
21454 grep -v '^ *+' conftest.er1 >conftest.err
21456 cat conftest.err >&5
21457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21458 (exit $ac_status); } && {
21459 test -z "$ac_c_werror_flag" ||
21460 test ! -s conftest.err
21461 } && test -s conftest.$ac_objext; then
21464 cat >conftest.$ac_ext <<_ACEOF
21467 cat confdefs.h >>conftest.$ac_ext
21468 cat >>conftest.$ac_ext <<_ACEOF
21469 /* end confdefs.h. */
21470 $ac_includes_default
21471 typedef long long ac__type_sizeof_;
21475 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21482 rm -f conftest.$ac_objext
21483 if { (ac_try="$ac_compile"
21484 case "(($ac_try" in
21485 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21486 *) ac_try_echo
=$ac_try;;
21488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21489 (eval "$ac_compile") 2>conftest.er1
21491 grep -v '^ *+' conftest.er1
>conftest.err
21493 cat conftest.err
>&5
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); } && {
21496 test -z "$ac_c_werror_flag" ||
21497 test ! -s conftest.err
21498 } && test -s conftest.
$ac_objext; then
21499 ac_lo
=$ac_mid; break
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.
$ac_ext >&5
21504 ac_hi
=`expr '(' $ac_mid ')' - 1`
21505 if test $ac_mid -le $ac_hi; then
21509 ac_mid
=`expr 2 '*' $ac_mid`
21512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21515 echo "$as_me: failed program was:" >&5
21516 sed 's/^/| /' conftest.
$ac_ext >&5
21521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21525 # Binary search between lo and hi bounds.
21526 while test "x$ac_lo" != "x$ac_hi"; do
21527 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21528 cat >conftest.
$ac_ext <<_ACEOF
21531 cat confdefs.h
>>conftest.
$ac_ext
21532 cat >>conftest.
$ac_ext <<_ACEOF
21533 /* end confdefs.h. */
21534 $ac_includes_default
21535 typedef long long ac__type_sizeof_;
21539 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21546 rm -f conftest.
$ac_objext
21547 if { (ac_try
="$ac_compile"
21548 case "(($ac_try" in
21549 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21550 *) ac_try_echo=$ac_try;;
21552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21553 (eval "$ac_compile") 2>conftest.er1
21555 grep -v '^ *+' conftest.er1 >conftest.err
21557 cat conftest.err >&5
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); } && {
21560 test -z "$ac_c_werror_flag" ||
21561 test ! -s conftest.err
21562 } && test -s conftest.$ac_objext; then
21565 echo "$as_me: failed program was:" >&5
21566 sed 's/^/| /' conftest.$ac_ext >&5
21568 ac_lo=`expr '(' $ac_mid ')' + 1`
21571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21574 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21575 '') if test "$ac_cv_type_long_long" = yes; then
21576 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21577 See \`config.log
' for more details." >&5
21578 echo "$as_me: error: cannot compute sizeof (long long)
21579 See \`config.log' for more details.
" >&2;}
21580 { (exit 77); exit 77; }; }
21582 ac_cv_sizeof_long_long=0
21586 cat >conftest.$ac_ext <<_ACEOF
21589 cat confdefs.h >>conftest.$ac_ext
21590 cat >>conftest.$ac_ext <<_ACEOF
21591 /* end confdefs.h. */
21592 $ac_includes_default
21593 typedef long long ac__type_sizeof_;
21594 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21595 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21597 #include <stdlib.h>
21602 FILE *f = fopen ("conftest.val
", "w
");
21605 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21607 long int i = longval ();
21608 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21610 fprintf (f, "%ld
\n", i);
21614 unsigned long int i = ulongval ();
21615 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21617 fprintf (f, "%lu
\n", i);
21619 return ferror (f) || fclose (f) != 0;
21625 rm -f conftest$ac_exeext
21626 if { (ac_try="$ac_link"
21627 case "(($ac_try" in
21628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21629 *) ac_try_echo=$ac_try;;
21631 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21632 (eval "$ac_link") 2>&5
21634 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21635 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21636 { (case "(($ac_try" in
21637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21638 *) ac_try_echo=$ac_try;;
21640 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21641 (eval "$ac_try") 2>&5
21643 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21644 (exit $ac_status); }; }; then
21645 ac_cv_sizeof_long_long=`cat conftest.val`
21647 echo "$as_me: program exited with status
$ac_status" >&5
21648 echo "$as_me: failed program was
:" >&5
21649 sed 's/^/| /' conftest.$ac_ext >&5
21651 ( exit $ac_status )
21652 if test "$ac_cv_type_long_long" = yes; then
21653 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21654 See \
`config.log' for more details." >&5
21655 echo "$as_me: error: cannot compute sizeof (long long)
21656 See \`config.log
' for more details." >&2;}
21657 { (exit 77); exit 77; }; }
21659 ac_cv_sizeof_long_long=0
21662 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21666 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21667 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21671 cat >>confdefs.h <<_ACEOF
21672 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21678 { echo "$as_me:$LINENO: checking for long long" >&5
21679 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21680 if test "${ac_cv_type_long_long+set}" = set; then
21681 echo $ECHO_N "(cached) $ECHO_C" >&6
21683 cat >conftest.$ac_ext <<_ACEOF
21686 cat confdefs.h >>conftest.$ac_ext
21687 cat >>conftest.$ac_ext <<_ACEOF
21688 /* end confdefs.h. */
21689 $ac_includes_default
21690 typedef long long ac__type_new_;
21694 if ((ac__type_new_ *) 0)
21696 if (sizeof (ac__type_new_))
21702 rm -f conftest.$ac_objext
21703 if { (ac_try="$ac_compile"
21704 case "(($ac_try" in
21705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21706 *) ac_try_echo=$ac_try;;
21708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21709 (eval "$ac_compile") 2>conftest.er1
21711 grep -v '^
*+' conftest.er1 >conftest.err
21713 cat conftest.err >&5
21714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715 (exit $ac_status); } && {
21716 test -z "$ac_c_werror_flag" ||
21717 test ! -s conftest.err
21718 } && test -s conftest.$ac_objext; then
21719 ac_cv_type_long_long=yes
21721 echo "$as_me: failed program was:" >&5
21722 sed 's
/^
/| /' conftest.$ac_ext >&5
21724 ac_cv_type_long_long=no
21727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21729 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21730 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21732 # The cast to long int works around a bug in the HP C Compiler
21733 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21734 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21735 # This bug is HP SR number 8606223364.
21736 { echo "$as_me:$LINENO: checking size of long long" >&5
21737 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21738 if test "${ac_cv_sizeof_long_long+set}" = set; then
21739 echo $ECHO_N "(cached) $ECHO_C" >&6
21741 if test "$cross_compiling" = yes; then
21742 # Depending upon the size, compute the lo and hi bounds.
21743 cat >conftest.
$ac_ext <<_ACEOF
21746 cat confdefs.h
>>conftest.
$ac_ext
21747 cat >>conftest.
$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 $ac_includes_default
21750 typedef long long ac__type_sizeof_;
21754 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21761 rm -f conftest.
$ac_objext
21762 if { (ac_try
="$ac_compile"
21763 case "(($ac_try" in
21764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21765 *) ac_try_echo=$ac_try;;
21767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21768 (eval "$ac_compile") 2>conftest.er1
21770 grep -v '^ *+' conftest.er1 >conftest.err
21772 cat conftest.err >&5
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); } && {
21775 test -z "$ac_c_werror_flag" ||
21776 test ! -s conftest.err
21777 } && test -s conftest.$ac_objext; then
21780 cat >conftest.$ac_ext <<_ACEOF
21783 cat confdefs.h >>conftest.$ac_ext
21784 cat >>conftest.$ac_ext <<_ACEOF
21785 /* end confdefs.h. */
21786 $ac_includes_default
21787 typedef long long ac__type_sizeof_;
21791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21798 rm -f conftest.$ac_objext
21799 if { (ac_try="$ac_compile"
21800 case "(($ac_try" in
21801 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21802 *) ac_try_echo
=$ac_try;;
21804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21805 (eval "$ac_compile") 2>conftest.er1
21807 grep -v '^ *+' conftest.er1
>conftest.err
21809 cat conftest.err
>&5
21810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811 (exit $ac_status); } && {
21812 test -z "$ac_c_werror_flag" ||
21813 test ! -s conftest.err
21814 } && test -s conftest.
$ac_objext; then
21815 ac_hi
=$ac_mid; break
21817 echo "$as_me: failed program was:" >&5
21818 sed 's/^/| /' conftest.
$ac_ext >&5
21820 ac_lo
=`expr $ac_mid + 1`
21821 if test $ac_lo -le $ac_mid; then
21825 ac_mid
=`expr 2 '*' $ac_mid + 1`
21828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21831 echo "$as_me: failed program was:" >&5
21832 sed 's/^/| /' conftest.
$ac_ext >&5
21834 cat >conftest.
$ac_ext <<_ACEOF
21837 cat confdefs.h
>>conftest.
$ac_ext
21838 cat >>conftest.
$ac_ext <<_ACEOF
21839 /* end confdefs.h. */
21840 $ac_includes_default
21841 typedef long long ac__type_sizeof_;
21845 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21852 rm -f conftest.
$ac_objext
21853 if { (ac_try
="$ac_compile"
21854 case "(($ac_try" in
21855 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21856 *) ac_try_echo=$ac_try;;
21858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21859 (eval "$ac_compile") 2>conftest.er1
21861 grep -v '^ *+' conftest.er1 >conftest.err
21863 cat conftest.err >&5
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); } && {
21866 test -z "$ac_c_werror_flag" ||
21867 test ! -s conftest.err
21868 } && test -s conftest.$ac_objext; then
21871 cat >conftest.$ac_ext <<_ACEOF
21874 cat confdefs.h >>conftest.$ac_ext
21875 cat >>conftest.$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21877 $ac_includes_default
21878 typedef long long ac__type_sizeof_;
21882 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21889 rm -f conftest.$ac_objext
21890 if { (ac_try="$ac_compile"
21891 case "(($ac_try" in
21892 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21893 *) ac_try_echo
=$ac_try;;
21895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21896 (eval "$ac_compile") 2>conftest.er1
21898 grep -v '^ *+' conftest.er1
>conftest.err
21900 cat conftest.err
>&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); } && {
21903 test -z "$ac_c_werror_flag" ||
21904 test ! -s conftest.err
21905 } && test -s conftest.
$ac_objext; then
21906 ac_lo
=$ac_mid; break
21908 echo "$as_me: failed program was:" >&5
21909 sed 's/^/| /' conftest.
$ac_ext >&5
21911 ac_hi
=`expr '(' $ac_mid ')' - 1`
21912 if test $ac_mid -le $ac_hi; then
21916 ac_mid
=`expr 2 '*' $ac_mid`
21919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21922 echo "$as_me: failed program was:" >&5
21923 sed 's/^/| /' conftest.
$ac_ext >&5
21928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21932 # Binary search between lo and hi bounds.
21933 while test "x$ac_lo" != "x$ac_hi"; do
21934 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21935 cat >conftest.
$ac_ext <<_ACEOF
21938 cat confdefs.h
>>conftest.
$ac_ext
21939 cat >>conftest.
$ac_ext <<_ACEOF
21940 /* end confdefs.h. */
21941 $ac_includes_default
21942 typedef long long ac__type_sizeof_;
21946 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21953 rm -f conftest.
$ac_objext
21954 if { (ac_try
="$ac_compile"
21955 case "(($ac_try" in
21956 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21957 *) ac_try_echo=$ac_try;;
21959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21960 (eval "$ac_compile") 2>conftest.er1
21962 grep -v '^ *+' conftest.er1 >conftest.err
21964 cat conftest.err >&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); } && {
21967 test -z "$ac_c_werror_flag" ||
21968 test ! -s conftest.err
21969 } && test -s conftest.$ac_objext; then
21972 echo "$as_me: failed program was:" >&5
21973 sed 's/^/| /' conftest.$ac_ext >&5
21975 ac_lo=`expr '(' $ac_mid ')' + 1`
21978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21981 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21982 '') if test "$ac_cv_type_long_long" = yes; then
21983 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21984 See \`config.log
' for more details." >&5
21985 echo "$as_me: error: cannot compute sizeof (long long)
21986 See \`config.log' for more details.
" >&2;}
21987 { (exit 77); exit 77; }; }
21989 ac_cv_sizeof_long_long=0
21993 cat >conftest.$ac_ext <<_ACEOF
21996 cat confdefs.h >>conftest.$ac_ext
21997 cat >>conftest.$ac_ext <<_ACEOF
21998 /* end confdefs.h. */
21999 $ac_includes_default
22000 typedef long long ac__type_sizeof_;
22001 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22002 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22004 #include <stdlib.h>
22009 FILE *f = fopen ("conftest.val
", "w
");
22012 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22014 long int i = longval ();
22015 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22017 fprintf (f, "%ld
\n", i);
22021 unsigned long int i = ulongval ();
22022 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22024 fprintf (f, "%lu
\n", i);
22026 return ferror (f) || fclose (f) != 0;
22032 rm -f conftest$ac_exeext
22033 if { (ac_try="$ac_link"
22034 case "(($ac_try" in
22035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22036 *) ac_try_echo=$ac_try;;
22038 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22039 (eval "$ac_link") 2>&5
22041 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22042 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22043 { (case "(($ac_try" in
22044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22045 *) ac_try_echo=$ac_try;;
22047 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22048 (eval "$ac_try") 2>&5
22050 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22051 (exit $ac_status); }; }; then
22052 ac_cv_sizeof_long_long=`cat conftest.val`
22054 echo "$as_me: program exited with status
$ac_status" >&5
22055 echo "$as_me: failed program was
:" >&5
22056 sed 's/^/| /' conftest.$ac_ext >&5
22058 ( exit $ac_status )
22059 if test "$ac_cv_type_long_long" = yes; then
22060 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22061 See \
`config.log' for more details." >&5
22062 echo "$as_me: error: cannot compute sizeof (long long)
22063 See \`config.log
' for more details." >&2;}
22064 { (exit 77); exit 77; }; }
22066 ac_cv_sizeof_long_long=0
22069 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22073 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22074 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22078 cat >>confdefs.h <<_ACEOF
22079 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22083 if test "$ac_cv_sizeof_long_long" != 0; then
22084 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22088 { echo "$as_me:$LINENO: checking for long long" >&5
22089 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22090 if test "${ac_cv_type_long_long+set}" = set; then
22091 echo $ECHO_N "(cached) $ECHO_C" >&6
22093 cat >conftest.$ac_ext <<_ACEOF
22096 cat confdefs.h >>conftest.$ac_ext
22097 cat >>conftest.$ac_ext <<_ACEOF
22098 /* end confdefs.h. */
22099 $ac_includes_default
22100 typedef long long ac__type_new_;
22104 if ((ac__type_new_ *) 0)
22106 if (sizeof (ac__type_new_))
22112 rm -f conftest.$ac_objext
22113 if { (ac_try="$ac_compile"
22114 case "(($ac_try" in
22115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22116 *) ac_try_echo=$ac_try;;
22118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22119 (eval "$ac_compile") 2>conftest.er1
22121 grep -v '^
*+' conftest.er1 >conftest.err
22123 cat conftest.err >&5
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); } && {
22126 test -z "$ac_c_werror_flag" ||
22127 test ! -s conftest.err
22128 } && test -s conftest.$ac_objext; then
22129 ac_cv_type_long_long=yes
22131 echo "$as_me: failed program was:" >&5
22132 sed 's
/^
/| /' conftest.$ac_ext >&5
22134 ac_cv_type_long_long=no
22137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22139 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22140 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22142 # The cast to long int works around a bug in the HP C Compiler
22143 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22144 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22145 # This bug is HP SR number 8606223364.
22146 { echo "$as_me:$LINENO: checking size of long long" >&5
22147 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22148 if test "${ac_cv_sizeof_long_long+set}" = set; then
22149 echo $ECHO_N "(cached) $ECHO_C" >&6
22151 if test "$cross_compiling" = yes; then
22152 # Depending upon the size, compute the lo and hi bounds.
22153 cat >conftest.
$ac_ext <<_ACEOF
22156 cat confdefs.h
>>conftest.
$ac_ext
22157 cat >>conftest.
$ac_ext <<_ACEOF
22158 /* end confdefs.h. */
22159 $ac_includes_default
22160 typedef long long ac__type_sizeof_;
22164 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22171 rm -f conftest.
$ac_objext
22172 if { (ac_try
="$ac_compile"
22173 case "(($ac_try" in
22174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22175 *) ac_try_echo=$ac_try;;
22177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22178 (eval "$ac_compile") 2>conftest.er1
22180 grep -v '^ *+' conftest.er1 >conftest.err
22182 cat conftest.err >&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); } && {
22185 test -z "$ac_c_werror_flag" ||
22186 test ! -s conftest.err
22187 } && test -s conftest.$ac_objext; then
22190 cat >conftest.$ac_ext <<_ACEOF
22193 cat confdefs.h >>conftest.$ac_ext
22194 cat >>conftest.$ac_ext <<_ACEOF
22195 /* end confdefs.h. */
22196 $ac_includes_default
22197 typedef long long ac__type_sizeof_;
22201 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22208 rm -f conftest.$ac_objext
22209 if { (ac_try="$ac_compile"
22210 case "(($ac_try" in
22211 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22212 *) ac_try_echo
=$ac_try;;
22214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22215 (eval "$ac_compile") 2>conftest.er1
22217 grep -v '^ *+' conftest.er1
>conftest.err
22219 cat conftest.err
>&5
22220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22221 (exit $ac_status); } && {
22222 test -z "$ac_c_werror_flag" ||
22223 test ! -s conftest.err
22224 } && test -s conftest.
$ac_objext; then
22225 ac_hi
=$ac_mid; break
22227 echo "$as_me: failed program was:" >&5
22228 sed 's/^/| /' conftest.
$ac_ext >&5
22230 ac_lo
=`expr $ac_mid + 1`
22231 if test $ac_lo -le $ac_mid; then
22235 ac_mid
=`expr 2 '*' $ac_mid + 1`
22238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22241 echo "$as_me: failed program was:" >&5
22242 sed 's/^/| /' conftest.
$ac_ext >&5
22244 cat >conftest.
$ac_ext <<_ACEOF
22247 cat confdefs.h
>>conftest.
$ac_ext
22248 cat >>conftest.
$ac_ext <<_ACEOF
22249 /* end confdefs.h. */
22250 $ac_includes_default
22251 typedef long long ac__type_sizeof_;
22255 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22262 rm -f conftest.
$ac_objext
22263 if { (ac_try
="$ac_compile"
22264 case "(($ac_try" in
22265 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22266 *) ac_try_echo=$ac_try;;
22268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22269 (eval "$ac_compile") 2>conftest.er1
22271 grep -v '^ *+' conftest.er1 >conftest.err
22273 cat conftest.err >&5
22274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); } && {
22276 test -z "$ac_c_werror_flag" ||
22277 test ! -s conftest.err
22278 } && test -s conftest.$ac_objext; then
22281 cat >conftest.$ac_ext <<_ACEOF
22284 cat confdefs.h >>conftest.$ac_ext
22285 cat >>conftest.$ac_ext <<_ACEOF
22286 /* end confdefs.h. */
22287 $ac_includes_default
22288 typedef long long ac__type_sizeof_;
22292 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22299 rm -f conftest.$ac_objext
22300 if { (ac_try="$ac_compile"
22301 case "(($ac_try" in
22302 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22303 *) ac_try_echo
=$ac_try;;
22305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22306 (eval "$ac_compile") 2>conftest.er1
22308 grep -v '^ *+' conftest.er1
>conftest.err
22310 cat conftest.err
>&5
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); } && {
22313 test -z "$ac_c_werror_flag" ||
22314 test ! -s conftest.err
22315 } && test -s conftest.
$ac_objext; then
22316 ac_lo
=$ac_mid; break
22318 echo "$as_me: failed program was:" >&5
22319 sed 's/^/| /' conftest.
$ac_ext >&5
22321 ac_hi
=`expr '(' $ac_mid ')' - 1`
22322 if test $ac_mid -le $ac_hi; then
22326 ac_mid
=`expr 2 '*' $ac_mid`
22329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22332 echo "$as_me: failed program was:" >&5
22333 sed 's/^/| /' conftest.
$ac_ext >&5
22338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22342 # Binary search between lo and hi bounds.
22343 while test "x$ac_lo" != "x$ac_hi"; do
22344 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22345 cat >conftest.
$ac_ext <<_ACEOF
22348 cat confdefs.h
>>conftest.
$ac_ext
22349 cat >>conftest.
$ac_ext <<_ACEOF
22350 /* end confdefs.h. */
22351 $ac_includes_default
22352 typedef long long ac__type_sizeof_;
22356 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22363 rm -f conftest.
$ac_objext
22364 if { (ac_try
="$ac_compile"
22365 case "(($ac_try" in
22366 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22367 *) ac_try_echo=$ac_try;;
22369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22370 (eval "$ac_compile") 2>conftest.er1
22372 grep -v '^ *+' conftest.er1 >conftest.err
22374 cat conftest.err >&5
22375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376 (exit $ac_status); } && {
22377 test -z "$ac_c_werror_flag" ||
22378 test ! -s conftest.err
22379 } && test -s conftest.$ac_objext; then
22382 echo "$as_me: failed program was:" >&5
22383 sed 's/^/| /' conftest.$ac_ext >&5
22385 ac_lo=`expr '(' $ac_mid ')' + 1`
22388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22391 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22392 '') if test "$ac_cv_type_long_long" = yes; then
22393 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22394 See \`config.log
' for more details." >&5
22395 echo "$as_me: error: cannot compute sizeof (long long)
22396 See \`config.log' for more details.
" >&2;}
22397 { (exit 77); exit 77; }; }
22399 ac_cv_sizeof_long_long=0
22403 cat >conftest.$ac_ext <<_ACEOF
22406 cat confdefs.h >>conftest.$ac_ext
22407 cat >>conftest.$ac_ext <<_ACEOF
22408 /* end confdefs.h. */
22409 $ac_includes_default
22410 typedef long long ac__type_sizeof_;
22411 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22412 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22414 #include <stdlib.h>
22419 FILE *f = fopen ("conftest.val
", "w
");
22422 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22424 long int i = longval ();
22425 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22427 fprintf (f, "%ld
\n", i);
22431 unsigned long int i = ulongval ();
22432 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22434 fprintf (f, "%lu
\n", i);
22436 return ferror (f) || fclose (f) != 0;
22442 rm -f conftest$ac_exeext
22443 if { (ac_try="$ac_link"
22444 case "(($ac_try" in
22445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22446 *) ac_try_echo=$ac_try;;
22448 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22449 (eval "$ac_link") 2>&5
22451 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22452 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22453 { (case "(($ac_try" in
22454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22455 *) ac_try_echo=$ac_try;;
22457 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22458 (eval "$ac_try") 2>&5
22460 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22461 (exit $ac_status); }; }; then
22462 ac_cv_sizeof_long_long=`cat conftest.val`
22464 echo "$as_me: program exited with status
$ac_status" >&5
22465 echo "$as_me: failed program was
:" >&5
22466 sed 's/^/| /' conftest.$ac_ext >&5
22468 ( exit $ac_status )
22469 if test "$ac_cv_type_long_long" = yes; then
22470 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22471 See \
`config.log' for more details." >&5
22472 echo "$as_me: error: cannot compute sizeof (long long)
22473 See \`config.log
' for more details." >&2;}
22474 { (exit 77); exit 77; }; }
22476 ac_cv_sizeof_long_long=0
22479 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22483 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22484 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22488 cat >>confdefs.h <<_ACEOF
22489 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22495 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22496 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22497 if test "${ac_cv_type_wchar_t+set}" = set; then
22498 echo $ECHO_N "(cached) $ECHO_C" >&6
22500 cat >conftest.$ac_ext <<_ACEOF
22503 cat confdefs.h >>conftest.$ac_ext
22504 cat >>conftest.$ac_ext <<_ACEOF
22505 /* end confdefs.h. */
22507 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22508 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22509 # error "fake wchar_t"
22511 #ifdef HAVE_WCHAR_H
22513 # include <stddef.h>
22515 # include <wchar.h>
22517 #ifdef HAVE_STDLIB_H
22518 # include <stdlib.h>
22524 typedef wchar_t ac__type_new_
;
22528 if ((ac__type_new_
*) 0)
22530 if (sizeof
(ac__type_new_
))
22536 rm -f conftest.
$ac_objext
22537 if { (ac_try
="$ac_compile"
22538 case "(($ac_try" in
22539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22540 *) ac_try_echo=$ac_try;;
22542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22543 (eval "$ac_compile") 2>conftest.er1
22545 grep -v '^ *+' conftest.er1 >conftest.err
22547 cat conftest.err >&5
22548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22549 (exit $ac_status); } && {
22550 test -z "$ac_c_werror_flag" ||
22551 test ! -s conftest.err
22552 } && test -s conftest.$ac_objext; then
22553 ac_cv_type_wchar_t=yes
22555 echo "$as_me: failed program was:" >&5
22556 sed 's/^/| /' conftest.$ac_ext >&5
22558 ac_cv_type_wchar_t=no
22561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22563 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22564 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22566 # The cast to long int works around a bug in the HP C Compiler
22567 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22568 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22569 # This bug is HP SR number 8606223364.
22570 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22571 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22572 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22573 echo $ECHO_N "(cached) $ECHO_C" >&6
22575 if test "$cross_compiling" = yes; then
22576 # Depending upon the size, compute the lo and hi bounds.
22577 cat >conftest.$ac_ext <<_ACEOF
22580 cat confdefs.h >>conftest.$ac_ext
22581 cat >>conftest.$ac_ext <<_ACEOF
22582 /* end confdefs.h. */
22584 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22585 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22586 # error "fake wchar_t"
22588 #ifdef HAVE_WCHAR_H
22590 # include <stddef.h>
22592 # include <wchar.h>
22594 #ifdef HAVE_STDLIB_H
22595 # include <stdlib.h>
22601 typedef wchar_t ac__type_sizeof_
;
22605 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22612 rm -f conftest.
$ac_objext
22613 if { (ac_try
="$ac_compile"
22614 case "(($ac_try" in
22615 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22616 *) ac_try_echo=$ac_try;;
22618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22619 (eval "$ac_compile") 2>conftest.er1
22621 grep -v '^ *+' conftest.er1 >conftest.err
22623 cat conftest.err >&5
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); } && {
22626 test -z "$ac_c_werror_flag" ||
22627 test ! -s conftest.err
22628 } && test -s conftest.$ac_objext; then
22631 cat >conftest.$ac_ext <<_ACEOF
22634 cat confdefs.h >>conftest.$ac_ext
22635 cat >>conftest.$ac_ext <<_ACEOF
22636 /* end confdefs.h. */
22638 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22639 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22640 # error "fake wchar_t"
22642 #ifdef HAVE_WCHAR_H
22644 # include <stddef.h>
22646 # include <wchar.h>
22648 #ifdef HAVE_STDLIB_H
22649 # include <stdlib.h>
22655 typedef wchar_t ac__type_sizeof_;
22659 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22666 rm -f conftest.$ac_objext
22667 if { (ac_try="$ac_compile"
22668 case "(($ac_try" in
22669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22670 *) ac_try_echo
=$ac_try;;
22672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22673 (eval "$ac_compile") 2>conftest.er1
22675 grep -v '^ *+' conftest.er1
>conftest.err
22677 cat conftest.err
>&5
22678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679 (exit $ac_status); } && {
22680 test -z "$ac_c_werror_flag" ||
22681 test ! -s conftest.err
22682 } && test -s conftest.
$ac_objext; then
22683 ac_hi
=$ac_mid; break
22685 echo "$as_me: failed program was:" >&5
22686 sed 's/^/| /' conftest.
$ac_ext >&5
22688 ac_lo
=`expr $ac_mid + 1`
22689 if test $ac_lo -le $ac_mid; then
22693 ac_mid
=`expr 2 '*' $ac_mid + 1`
22696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22699 echo "$as_me: failed program was:" >&5
22700 sed 's/^/| /' conftest.
$ac_ext >&5
22702 cat >conftest.
$ac_ext <<_ACEOF
22705 cat confdefs.h
>>conftest.
$ac_ext
22706 cat >>conftest.
$ac_ext <<_ACEOF
22707 /* end confdefs.h. */
22709 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22710 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22711 # error "fake wchar_t"
22713 #ifdef HAVE_WCHAR_H
22715 # include <stddef.h>
22717 # include <wchar.h>
22719 #ifdef HAVE_STDLIB_H
22720 # include <stdlib.h>
22726 typedef wchar_t ac__type_sizeof_;
22730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22737 rm -f conftest.
$ac_objext
22738 if { (ac_try
="$ac_compile"
22739 case "(($ac_try" in
22740 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22741 *) ac_try_echo=$ac_try;;
22743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22744 (eval "$ac_compile") 2>conftest.er1
22746 grep -v '^ *+' conftest.er1 >conftest.err
22748 cat conftest.err >&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } && {
22751 test -z "$ac_c_werror_flag" ||
22752 test ! -s conftest.err
22753 } && test -s conftest.$ac_objext; then
22756 cat >conftest.$ac_ext <<_ACEOF
22759 cat confdefs.h >>conftest.$ac_ext
22760 cat >>conftest.$ac_ext <<_ACEOF
22761 /* end confdefs.h. */
22763 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22764 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22765 # error "fake wchar_t"
22767 #ifdef HAVE_WCHAR_H
22769 # include <stddef.h>
22771 # include <wchar.h>
22773 #ifdef HAVE_STDLIB_H
22774 # include <stdlib.h>
22780 typedef wchar_t ac__type_sizeof_;
22784 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22791 rm -f conftest.$ac_objext
22792 if { (ac_try="$ac_compile"
22793 case "(($ac_try" in
22794 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22795 *) ac_try_echo
=$ac_try;;
22797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22798 (eval "$ac_compile") 2>conftest.er1
22800 grep -v '^ *+' conftest.er1
>conftest.err
22802 cat conftest.err
>&5
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); } && {
22805 test -z "$ac_c_werror_flag" ||
22806 test ! -s conftest.err
22807 } && test -s conftest.
$ac_objext; then
22808 ac_lo
=$ac_mid; break
22810 echo "$as_me: failed program was:" >&5
22811 sed 's/^/| /' conftest.
$ac_ext >&5
22813 ac_hi
=`expr '(' $ac_mid ')' - 1`
22814 if test $ac_mid -le $ac_hi; then
22818 ac_mid
=`expr 2 '*' $ac_mid`
22821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22824 echo "$as_me: failed program was:" >&5
22825 sed 's/^/| /' conftest.
$ac_ext >&5
22830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22834 # Binary search between lo and hi bounds.
22835 while test "x$ac_lo" != "x$ac_hi"; do
22836 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22837 cat >conftest.
$ac_ext <<_ACEOF
22840 cat confdefs.h
>>conftest.
$ac_ext
22841 cat >>conftest.
$ac_ext <<_ACEOF
22842 /* end confdefs.h. */
22844 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22845 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22846 # error "fake wchar_t"
22848 #ifdef HAVE_WCHAR_H
22850 # include <stddef.h>
22852 # include <wchar.h>
22854 #ifdef HAVE_STDLIB_H
22855 # include <stdlib.h>
22861 typedef wchar_t ac__type_sizeof_;
22865 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22872 rm -f conftest.
$ac_objext
22873 if { (ac_try
="$ac_compile"
22874 case "(($ac_try" in
22875 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22876 *) ac_try_echo=$ac_try;;
22878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22879 (eval "$ac_compile") 2>conftest.er1
22881 grep -v '^ *+' conftest.er1 >conftest.err
22883 cat conftest.err >&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); } && {
22886 test -z "$ac_c_werror_flag" ||
22887 test ! -s conftest.err
22888 } && test -s conftest.$ac_objext; then
22891 echo "$as_me: failed program was:" >&5
22892 sed 's/^/| /' conftest.$ac_ext >&5
22894 ac_lo=`expr '(' $ac_mid ')' + 1`
22897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22900 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22901 '') if test "$ac_cv_type_wchar_t" = yes; then
22902 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22903 See \`config.log
' for more details." >&5
22904 echo "$as_me: error: cannot compute sizeof (wchar_t)
22905 See \`config.log' for more details.
" >&2;}
22906 { (exit 77); exit 77; }; }
22908 ac_cv_sizeof_wchar_t=0
22912 cat >conftest.$ac_ext <<_ACEOF
22915 cat confdefs.h >>conftest.$ac_ext
22916 cat >>conftest.$ac_ext <<_ACEOF
22917 /* end confdefs.h. */
22919 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22920 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22921 # error "fake wchar_t
"
22923 #ifdef HAVE_WCHAR_H
22925 # include <stddef.h>
22927 # include <wchar.h>
22929 #ifdef HAVE_STDLIB_H
22930 # include <stdlib.h>
22936 typedef wchar_t ac__type_sizeof_;
22937 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22938 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22940 #include <stdlib.h>
22945 FILE *f = fopen ("conftest.val
", "w
");
22948 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22950 long int i = longval ();
22951 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22953 fprintf (f, "%ld
\n", i);
22957 unsigned long int i = ulongval ();
22958 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22960 fprintf (f, "%lu
\n", i);
22962 return ferror (f) || fclose (f) != 0;
22968 rm -f conftest$ac_exeext
22969 if { (ac_try="$ac_link"
22970 case "(($ac_try" in
22971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22972 *) ac_try_echo=$ac_try;;
22974 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22975 (eval "$ac_link") 2>&5
22977 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22978 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22979 { (case "(($ac_try" in
22980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22981 *) ac_try_echo=$ac_try;;
22983 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22984 (eval "$ac_try") 2>&5
22986 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22987 (exit $ac_status); }; }; then
22988 ac_cv_sizeof_wchar_t=`cat conftest.val`
22990 echo "$as_me: program exited with status
$ac_status" >&5
22991 echo "$as_me: failed program was
:" >&5
22992 sed 's/^/| /' conftest.$ac_ext >&5
22994 ( exit $ac_status )
22995 if test "$ac_cv_type_wchar_t" = yes; then
22996 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22997 See \
`config.log' for more details." >&5
22998 echo "$as_me: error: cannot compute sizeof (wchar_t)
22999 See \`config.log
' for more details." >&2;}
23000 { (exit 77); exit 77; }; }
23002 ac_cv_sizeof_wchar_t=0
23005 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23009 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23010 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23014 cat >>confdefs.h <<_ACEOF
23015 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23019 if test "$ac_cv_sizeof_wchar_t" != 0; then
23025 { echo "$as_me:$LINENO: checking for va_copy" >&5
23026 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23027 if test "${wx_cv_func_va_copy+set}" = set; then
23028 echo $ECHO_N "(cached) $ECHO_C" >&6
23032 ac_cpp='$CXXCPP $CPPFLAGS'
23033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23034 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23037 cat >conftest.$ac_ext <<_ACEOF
23039 #include <stdarg.h>
23040 void foo(char *f, ...)
23054 rm -f conftest.$ac_objext conftest$ac_exeext
23055 if { (ac_try="$ac_link"
23056 case "(($ac_try" in
23057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23058 *) ac_try_echo=$ac_try;;
23060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23061 (eval "$ac_link") 2>conftest.er1
23063 grep -v '^
*+' conftest.er1 >conftest.err
23065 cat conftest.err >&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } && {
23068 test -z "$ac_cxx_werror_flag" ||
23069 test ! -s conftest.err
23070 } && test -s conftest$ac_exeext &&
23071 $as_test_x conftest$ac_exeext; then
23072 wx_cv_func_va_copy=yes
23074 echo "$as_me: failed program was:" >&5
23075 sed 's
/^
/| /' conftest.$ac_ext >&5
23077 wx_cv_func_va_copy=no
23081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23082 conftest$ac_exeext conftest.$ac_ext
23084 ac_cpp='$CPP $CPPFLAGS'
23085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23086 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23092 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23093 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23095 if test $wx_cv_func_va_copy = "yes"; then
23096 cat >>confdefs.h <<\_ACEOF
23097 #define HAVE_VA_COPY 1
23101 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23102 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23103 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23104 echo $ECHO_N "(cached) $ECHO_C" >&6
23107 if test "$cross_compiling" = yes; then
23108 wx_cv_type_va_list_lvalue=yes
23111 cat >conftest.$ac_ext <<_ACEOF
23113 #include <stdarg.h>
23114 int foo(char *f, ...)
23119 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23127 return foo("hi", 17);
23130 rm -f conftest$ac_exeext
23131 if { (ac_try="$ac_link"
23132 case "(($ac_try" in
23133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23134 *) ac_try_echo=$ac_try;;
23136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23137 (eval "$ac_link") 2>&5
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23141 { (case "(($ac_try" in
23142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23143 *) ac_try_echo=$ac_try;;
23145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23146 (eval "$ac_try") 2>&5
23148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23149 (exit $ac_status); }; }; then
23150 wx_cv_type_va_list_lvalue=yes
23152 echo "$as_me: program exited with status $ac_status" >&5
23153 echo "$as_me: failed program was:" >&5
23154 sed 's
/^
/| /' conftest.$ac_ext >&5
23156 ( exit $ac_status )
23157 wx_cv_type_va_list_lvalue=no
23159 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23166 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23167 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23169 if test $wx_cv_type_va_list_lvalue != "yes"; then
23170 cat >>confdefs.h <<\_ACEOF
23171 #define VA_LIST_IS_ARRAY 1
23177 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23179 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23180 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23181 if test "${wx_cv_have_variadic_macros+set}" = set; then
23182 echo $ECHO_N "(cached) $ECHO_C" >&6
23186 ac_cpp='$CXXCPP $CPPFLAGS'
23187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23188 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23191 cat >conftest.$ac_ext <<_ACEOF
23194 cat confdefs.h >>conftest.$ac_ext
23195 cat >>conftest.$ac_ext <<_ACEOF
23196 /* end confdefs.h. */
23199 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23205 test("%s %d %p", "test", 1, 0);
23212 rm -f conftest.$ac_objext
23213 if { (ac_try="$ac_compile"
23214 case "(($ac_try" in
23215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23216 *) ac_try_echo=$ac_try;;
23218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23219 (eval "$ac_compile") 2>conftest.er1
23221 grep -v '^
*+' conftest.er1 >conftest.err
23223 cat conftest.err >&5
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); } && {
23226 test -z "$ac_cxx_werror_flag" ||
23227 test ! -s conftest.err
23228 } && test -s conftest.$ac_objext; then
23229 wx_cv_have_variadic_macros=yes
23231 echo "$as_me: failed program was:" >&5
23232 sed 's
/^
/| /' conftest.$ac_ext >&5
23234 wx_cv_have_variadic_macros=no
23238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23240 ac_cpp='$CPP $CPPFLAGS'
23241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23242 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23248 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23249 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23251 if test $wx_cv_have_variadic_macros = "yes"; then
23252 cat >>confdefs.h <<\_ACEOF
23253 #define HAVE_VARIADIC_MACROS 1
23259 # Check whether --enable-largefile was given.
23260 if test "${enable_largefile+set}" = set; then
23261 enableval=$enable_largefile;
23264 if test "$enable_largefile" != no; then
23267 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23268 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23269 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23270 echo $ECHO_N "(cached) $ECHO_C" >&6
23273 cat >conftest.$ac_ext <<_ACEOF
23276 cat confdefs.h >>conftest.$ac_ext
23277 cat >>conftest.$ac_ext <<_ACEOF
23278 /* end confdefs.h. */
23279 #define _FILE_OFFSET_BITS 64
23280 #include <sys/types.h>
23285 unsigned int field: sizeof(off_t) == 8;
23292 rm -f conftest.$ac_objext
23293 if { (ac_try="$ac_compile"
23294 case "(($ac_try" in
23295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23296 *) ac_try_echo=$ac_try;;
23298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23299 (eval "$ac_compile") 2>conftest.er1
23301 grep -v '^
*+' conftest.er1 >conftest.err
23303 cat conftest.err >&5
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); } && {
23306 test -z "$ac_c_werror_flag" ||
23307 test ! -s conftest.err
23308 } && test -s conftest.$ac_objext; then
23309 ac_cv_sys_file_offset_bits=64
23311 echo "$as_me: failed program was:" >&5
23312 sed 's
/^
/| /' conftest.$ac_ext >&5
23314 ac_cv_sys_file_offset_bits=no
23317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23321 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23322 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23324 if test "$ac_cv_sys_file_offset_bits" != no; then
23326 cat >>confdefs.h <<_ACEOF
23327 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23332 if test "x$wx_largefile" != "xyes"; then
23334 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23335 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23336 if test "${ac_cv_sys_large_files+set}" = set; then
23337 echo $ECHO_N "(cached) $ECHO_C" >&6
23340 cat >conftest.$ac_ext <<_ACEOF
23343 cat confdefs.h >>conftest.$ac_ext
23344 cat >>conftest.$ac_ext <<_ACEOF
23345 /* end confdefs.h. */
23346 #define _LARGE_FILES 1
23347 #include <sys/types.h>
23352 unsigned int field: sizeof(off_t) == 8;
23359 rm -f conftest.$ac_objext
23360 if { (ac_try="$ac_compile"
23361 case "(($ac_try" in
23362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23363 *) ac_try_echo=$ac_try;;
23365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23366 (eval "$ac_compile") 2>conftest.er1
23368 grep -v '^
*+' conftest.er1 >conftest.err
23370 cat conftest.err >&5
23371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23372 (exit $ac_status); } && {
23373 test -z "$ac_c_werror_flag" ||
23374 test ! -s conftest.err
23375 } && test -s conftest.$ac_objext; then
23376 ac_cv_sys_large_files=1
23378 echo "$as_me: failed program was:" >&5
23379 sed 's
/^
/| /' conftest.$ac_ext >&5
23381 ac_cv_sys_large_files=no
23384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23388 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23389 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23391 if test "$ac_cv_sys_large_files" != no; then
23393 cat >>confdefs.h <<_ACEOF
23394 #define _LARGE_FILES $ac_cv_sys_large_files
23401 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23402 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23403 if test "x$wx_largefile" = "xyes"; then
23404 cat >>confdefs.h <<\_ACEOF
23405 #define HAVE_LARGEFILE_SUPPORT 1
23409 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23410 echo "${ECHO_T}$wx_largefile" >&6; }
23414 if test "x$wx_largefile" = "xyes"; then
23415 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23416 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23418 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23419 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23420 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23421 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23422 echo $ECHO_N "(cached) $ECHO_C" >&6
23426 ac_cpp='$CXXCPP $CPPFLAGS'
23427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23428 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23431 cat >conftest.$ac_ext <<_ACEOF
23434 cat confdefs.h >>conftest.$ac_ext
23435 cat >>conftest.$ac_ext <<_ACEOF
23436 /* end confdefs.h. */
23442 #ifndef __STDC_EXT__
23450 rm -f conftest.$ac_objext
23451 if { (ac_try="$ac_compile"
23452 case "(($ac_try" in
23453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23454 *) ac_try_echo=$ac_try;;
23456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23457 (eval "$ac_compile") 2>conftest.er1
23459 grep -v '^
*+' conftest.er1 >conftest.err
23461 cat conftest.err >&5
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); } && {
23464 test -z "$ac_cxx_werror_flag" ||
23465 test ! -s conftest.err
23466 } && test -s conftest.$ac_objext; then
23467 wx_cv_STDC_EXT_required=no
23469 echo "$as_me: failed program was:" >&5
23470 sed 's
/^
/| /' conftest.$ac_ext >&5
23472 wx_cv_STDC_EXT_required=yes
23476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23478 ac_cpp='$CPP $CPPFLAGS'
23479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23480 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23486 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23487 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23488 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23489 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23493 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23495 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23496 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23497 if test "${ac_cv_sys_largefile_source+set}" = set; then
23498 echo $ECHO_N "(cached) $ECHO_C" >&6
23501 cat >conftest.$ac_ext <<_ACEOF
23504 cat confdefs.h >>conftest.$ac_ext
23505 cat >>conftest.$ac_ext <<_ACEOF
23506 /* end confdefs.h. */
23507 #include <sys/types.h> /* for off_t */
23512 int (*fp) (FILE *, off_t, int) = fseeko;
23513 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23518 rm -f conftest.$ac_objext conftest$ac_exeext
23519 if { (ac_try="$ac_link"
23520 case "(($ac_try" in
23521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23522 *) ac_try_echo=$ac_try;;
23524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23525 (eval "$ac_link") 2>conftest.er1
23527 grep -v '^
*+' conftest.er1 >conftest.err
23529 cat conftest.err >&5
23530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531 (exit $ac_status); } && {
23532 test -z "$ac_c_werror_flag" ||
23533 test ! -s conftest.err
23534 } && test -s conftest$ac_exeext &&
23535 $as_test_x conftest$ac_exeext; then
23536 ac_cv_sys_largefile_source=no; break
23538 echo "$as_me: failed program was:" >&5
23539 sed 's
/^
/| /' conftest.$ac_ext >&5
23544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23545 conftest$ac_exeext conftest.$ac_ext
23546 cat >conftest.$ac_ext <<_ACEOF
23549 cat confdefs.h >>conftest.$ac_ext
23550 cat >>conftest.$ac_ext <<_ACEOF
23551 /* end confdefs.h. */
23552 #define _LARGEFILE_SOURCE 1
23553 #include <sys/types.h> /* for off_t */
23558 int (*fp) (FILE *, off_t, int) = fseeko;
23559 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23564 rm -f conftest.$ac_objext conftest$ac_exeext
23565 if { (ac_try="$ac_link"
23566 case "(($ac_try" in
23567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23568 *) ac_try_echo=$ac_try;;
23570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23571 (eval "$ac_link") 2>conftest.er1
23573 grep -v '^
*+' conftest.er1 >conftest.err
23575 cat conftest.err >&5
23576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23577 (exit $ac_status); } && {
23578 test -z "$ac_c_werror_flag" ||
23579 test ! -s conftest.err
23580 } && test -s conftest$ac_exeext &&
23581 $as_test_x conftest$ac_exeext; then
23582 ac_cv_sys_largefile_source=1; break
23584 echo "$as_me: failed program was:" >&5
23585 sed 's
/^
/| /' conftest.$ac_ext >&5
23590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23591 conftest$ac_exeext conftest.$ac_ext
23592 ac_cv_sys_largefile_source=unknown
23596 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23597 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23598 case $ac_cv_sys_largefile_source in #(
23601 cat >>confdefs.h <<_ACEOF
23602 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23608 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23609 # in glibc 2.1.3, but that breaks too many other things.
23610 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23611 if test $ac_cv_sys_largefile_source != unknown; then
23613 cat >>confdefs.h <<\_ACEOF
23614 #define HAVE_FSEEKO 1
23619 if test "$ac_cv_sys_largefile_source" != no; then
23620 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23624 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23625 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23626 if test "${ac_cv_c_bigendian+set}" = set; then
23627 echo $ECHO_N "(cached) $ECHO_C" >&6
23629 ac_cv_c_bigendian=unknown
23630 # See if sys/param.h defines the BYTE_ORDER macro.
23631 cat >conftest.$ac_ext <<_ACEOF
23634 cat confdefs.h >>conftest.$ac_ext
23635 cat >>conftest.$ac_ext <<_ACEOF
23636 /* end confdefs.h. */
23637 #include <sys/types.h>
23638 #include <sys/param.h>
23643 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23644 bogus endian macros
23650 rm -f conftest.$ac_objext
23651 if { (ac_try="$ac_compile"
23652 case "(($ac_try" in
23653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23654 *) ac_try_echo=$ac_try;;
23656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23657 (eval "$ac_compile") 2>conftest.er1
23659 grep -v '^
*+' conftest.er1 >conftest.err
23661 cat conftest.err >&5
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); } && {
23664 test -z "$ac_c_werror_flag" ||
23665 test ! -s conftest.err
23666 } && test -s conftest.$ac_objext; then
23667 # It does; now see whether it defined to BIG_ENDIAN or not.
23668 cat >conftest.$ac_ext <<_ACEOF
23671 cat confdefs.h >>conftest.$ac_ext
23672 cat >>conftest.$ac_ext <<_ACEOF
23673 /* end confdefs.h. */
23674 #include <sys/types.h>
23675 #include <sys/param.h>
23680 #if BYTE_ORDER != BIG_ENDIAN
23687 rm -f conftest.$ac_objext
23688 if { (ac_try="$ac_compile"
23689 case "(($ac_try" in
23690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23691 *) ac_try_echo=$ac_try;;
23693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23694 (eval "$ac_compile") 2>conftest.er1
23696 grep -v '^
*+' conftest.er1 >conftest.err
23698 cat conftest.err >&5
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); } && {
23701 test -z "$ac_c_werror_flag" ||
23702 test ! -s conftest.err
23703 } && test -s conftest.$ac_objext; then
23704 ac_cv_c_bigendian=yes
23706 echo "$as_me: failed program was:" >&5
23707 sed 's
/^
/| /' conftest.$ac_ext >&5
23709 ac_cv_c_bigendian=no
23712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23714 echo "$as_me: failed program was:" >&5
23715 sed 's
/^
/| /' conftest.$ac_ext >&5
23720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23721 if test $ac_cv_c_bigendian = unknown; then
23722 if test "$cross_compiling" = yes; then
23723 ac_cv_c_bigendian=unknown
23725 cat >conftest.$ac_ext <<_ACEOF
23728 cat confdefs.h >>conftest.$ac_ext
23729 cat >>conftest.$ac_ext <<_ACEOF
23730 /* end confdefs.h. */
23732 /* Are we little or big endian? From Harbison&Steele. */
23736 char c[sizeof (long)];
23739 exit (u.c[sizeof (long) - 1] == 1);
23742 rm -f conftest$ac_exeext
23743 if { (ac_try="$ac_link"
23744 case "(($ac_try" in
23745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23746 *) ac_try_echo=$ac_try;;
23748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23749 (eval "$ac_link") 2>&5
23751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23752 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23753 { (case "(($ac_try" in
23754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23755 *) ac_try_echo=$ac_try;;
23757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23758 (eval "$ac_try") 2>&5
23760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23761 (exit $ac_status); }; }; then
23762 ac_cv_c_bigendian=no
23764 echo "$as_me: program exited with status $ac_status" >&5
23765 echo "$as_me: failed program was:" >&5
23766 sed 's
/^
/| /' conftest.$ac_ext >&5
23768 ( exit $ac_status )
23769 ac_cv_c_bigendian=yes
23771 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23777 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23778 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23779 if test $ac_cv_c_bigendian = unknown; then
23780 { 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
23781 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;}
23783 if test $ac_cv_c_bigendian = yes; then
23784 cat >>confdefs.h <<\_ACEOF
23785 #define WORDS_BIGENDIAN 1
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
23801 for ac_header in iostream
23803 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23804 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23806 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23807 echo $ECHO_N "(cached) $ECHO_C" >&6
23809 cat >conftest.$ac_ext <<_ACEOF
23812 cat confdefs.h >>conftest.$ac_ext
23813 cat >>conftest.$ac_ext <<_ACEOF
23814 /* end confdefs.h. */
23817 #include <$ac_header>
23819 rm -f conftest.$ac_objext
23820 if { (ac_try="$ac_compile"
23821 case "(($ac_try" in
23822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23823 *) ac_try_echo=$ac_try;;
23825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23826 (eval "$ac_compile") 2>conftest.er1
23828 grep -v '^
*+' conftest.er1 >conftest.err
23830 cat conftest.err >&5
23831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); } && {
23833 test -z "$ac_cxx_werror_flag" ||
23834 test ! -s conftest.err
23835 } && test -s conftest.$ac_objext; then
23836 eval "$as_ac_Header=yes"
23838 echo "$as_me: failed program was:" >&5
23839 sed 's
/^
/| /' conftest.$ac_ext >&5
23841 eval "$as_ac_Header=no"
23844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23846 ac_res=`eval echo '${'$as_ac_Header'}'`
23847 { echo "$as_me:$LINENO: result: $ac_res" >&5
23848 echo "${ECHO_T}$ac_res" >&6; }
23849 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23850 cat >>confdefs.h <<_ACEOF
23851 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23859 if test "$ac_cv_header_iostream" = "yes" ; then
23862 cat >>confdefs.h <<\_ACEOF
23863 #define wxUSE_IOSTREAMH 1
23869 ac_cpp='$CPP $CPPFLAGS'
23870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23871 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23877 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23878 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23879 if test "${wx_cv_cpp_bool+set}" = set; then
23880 echo $ECHO_N "(cached) $ECHO_C" >&6
23885 ac_cpp='$CXXCPP $CPPFLAGS'
23886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23887 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23891 cat >conftest.$ac_ext <<_ACEOF
23894 cat confdefs.h >>conftest.$ac_ext
23895 cat >>conftest.$ac_ext <<_ACEOF
23896 /* end confdefs.h. */
23911 rm -f conftest.$ac_objext
23912 if { (ac_try="$ac_compile"
23913 case "(($ac_try" in
23914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23915 *) ac_try_echo=$ac_try;;
23917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23918 (eval "$ac_compile") 2>conftest.er1
23920 grep -v '^
*+' conftest.er1 >conftest.err
23922 cat conftest.err >&5
23923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924 (exit $ac_status); } && {
23925 test -z "$ac_cxx_werror_flag" ||
23926 test ! -s conftest.err
23927 } && test -s conftest.$ac_objext; then
23932 echo "$as_me: failed program was:" >&5
23933 sed 's
/^
/| /' conftest.$ac_ext >&5
23941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23944 ac_cpp='$CPP $CPPFLAGS'
23945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23946 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23951 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23952 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23954 if test "$wx_cv_cpp_bool" = "yes"; then
23955 cat >>confdefs.h <<\_ACEOF
23956 #define HAVE_BOOL 1
23963 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23964 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23965 if test "${wx_cv_explicit+set}" = set; then
23966 echo $ECHO_N "(cached) $ECHO_C" >&6
23971 ac_cpp='$CXXCPP $CPPFLAGS'
23972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23973 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23977 cat >conftest.$ac_ext <<_ACEOF
23980 cat confdefs.h >>conftest.$ac_ext
23981 cat >>conftest.$ac_ext <<_ACEOF
23982 /* end confdefs.h. */
23984 class Foo { public: explicit Foo(int) {} };
23996 rm -f conftest.$ac_objext
23997 if { (ac_try="$ac_compile"
23998 case "(($ac_try" in
23999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24000 *) ac_try_echo=$ac_try;;
24002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24003 (eval "$ac_compile") 2>conftest.er1
24005 grep -v '^
*+' conftest.er1 >conftest.err
24007 cat conftest.err >&5
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); } && {
24010 test -z "$ac_cxx_werror_flag" ||
24011 test ! -s conftest.err
24012 } && test -s conftest.$ac_objext; then
24014 cat >conftest.$ac_ext <<_ACEOF
24017 cat confdefs.h >>conftest.$ac_ext
24018 cat >>conftest.$ac_ext <<_ACEOF
24019 /* end confdefs.h. */
24021 class Foo { public: explicit Foo(int) {} };
24022 static void TakeFoo(const Foo& foo) { }
24035 rm -f conftest.$ac_objext
24036 if { (ac_try="$ac_compile"
24037 case "(($ac_try" in
24038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24039 *) ac_try_echo=$ac_try;;
24041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24042 (eval "$ac_compile") 2>conftest.er1
24044 grep -v '^
*+' conftest.er1 >conftest.err
24046 cat conftest.err >&5
24047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24048 (exit $ac_status); } && {
24049 test -z "$ac_cxx_werror_flag" ||
24050 test ! -s conftest.err
24051 } && test -s conftest.$ac_objext; then
24054 echo "$as_me: failed program was:" >&5
24055 sed 's
/^
/| /' conftest.$ac_ext >&5
24061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24064 echo "$as_me: failed program was:" >&5
24065 sed 's
/^
/| /' conftest.$ac_ext >&5
24071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24074 ac_cpp='$CPP $CPPFLAGS'
24075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24076 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24081 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24082 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24084 if test "$wx_cv_explicit" = "yes"; then
24085 cat >>confdefs.h <<\_ACEOF
24086 #define HAVE_EXPLICIT 1
24092 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24093 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24094 if test "${ac_cv_cxx_const_cast+set}" = set; then
24095 echo $ECHO_N "(cached) $ECHO_C" >&6
24099 ac_cpp='$CXXCPP $CPPFLAGS'
24100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24101 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24104 cat >conftest.$ac_ext <<_ACEOF
24107 cat confdefs.h >>conftest.$ac_ext
24108 cat >>conftest.$ac_ext <<_ACEOF
24109 /* end confdefs.h. */
24114 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24119 rm -f conftest.$ac_objext
24120 if { (ac_try="$ac_compile"
24121 case "(($ac_try" in
24122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24123 *) ac_try_echo=$ac_try;;
24125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24126 (eval "$ac_compile") 2>conftest.er1
24128 grep -v '^
*+' conftest.er1 >conftest.err
24130 cat conftest.err >&5
24131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24132 (exit $ac_status); } && {
24133 test -z "$ac_cxx_werror_flag" ||
24134 test ! -s conftest.err
24135 } && test -s conftest.$ac_objext; then
24136 ac_cv_cxx_const_cast=yes
24138 echo "$as_me: failed program was:" >&5
24139 sed 's
/^
/| /' conftest.$ac_ext >&5
24141 ac_cv_cxx_const_cast=no
24144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24146 ac_cpp='$CPP $CPPFLAGS'
24147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24148 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24153 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24154 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24155 if test "$ac_cv_cxx_const_cast" = yes; then
24157 cat >>confdefs.h <<\_ACEOF
24158 #define HAVE_CONST_CAST
24163 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24164 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24165 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24166 echo $ECHO_N "(cached) $ECHO_C" >&6
24170 ac_cpp='$CXXCPP $CPPFLAGS'
24171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24172 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24175 cat >conftest.$ac_ext <<_ACEOF
24178 cat confdefs.h >>conftest.$ac_ext
24179 cat >>conftest.$ac_ext <<_ACEOF
24180 /* end confdefs.h. */
24181 #include <typeinfo>
24182 class Base { public : Base () {} virtual void f () = 0;};
24183 class Derived : public Base { public : Derived () {} virtual void f () {} };
24184 class Unrelated { public : Unrelated () {} };
24185 int g (Unrelated&) { return 0; }
24190 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24195 rm -f conftest.$ac_objext
24196 if { (ac_try="$ac_compile"
24197 case "(($ac_try" in
24198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24199 *) ac_try_echo=$ac_try;;
24201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24202 (eval "$ac_compile") 2>conftest.er1
24204 grep -v '^
*+' conftest.er1 >conftest.err
24206 cat conftest.err >&5
24207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24208 (exit $ac_status); } && {
24209 test -z "$ac_cxx_werror_flag" ||
24210 test ! -s conftest.err
24211 } && test -s conftest.$ac_objext; then
24212 ac_cv_cxx_reinterpret_cast=yes
24214 echo "$as_me: failed program was:" >&5
24215 sed 's
/^
/| /' conftest.$ac_ext >&5
24217 ac_cv_cxx_reinterpret_cast=no
24220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24222 ac_cpp='$CPP $CPPFLAGS'
24223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24224 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24229 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24230 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24231 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24233 cat >>confdefs.h <<\_ACEOF
24234 #define HAVE_REINTERPRET_CAST
24239 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24240 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24241 if test "${ac_cv_cxx_static_cast+set}" = set; then
24242 echo $ECHO_N "(cached) $ECHO_C" >&6
24246 ac_cpp='$CXXCPP $CPPFLAGS'
24247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24248 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24251 cat >conftest.$ac_ext <<_ACEOF
24254 cat confdefs.h >>conftest.$ac_ext
24255 cat >>conftest.$ac_ext <<_ACEOF
24256 /* end confdefs.h. */
24257 #include <typeinfo>
24258 class Base { public : Base () {} virtual void f () = 0; };
24259 class Derived : public Base { public : Derived () {} virtual void f () {} };
24260 int g (Derived&) { return 0; }
24265 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24270 rm -f conftest.$ac_objext
24271 if { (ac_try="$ac_compile"
24272 case "(($ac_try" in
24273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24274 *) ac_try_echo=$ac_try;;
24276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24277 (eval "$ac_compile") 2>conftest.er1
24279 grep -v '^
*+' conftest.er1 >conftest.err
24281 cat conftest.err >&5
24282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283 (exit $ac_status); } && {
24284 test -z "$ac_cxx_werror_flag" ||
24285 test ! -s conftest.err
24286 } && test -s conftest.$ac_objext; then
24287 ac_cv_cxx_static_cast=yes
24289 echo "$as_me: failed program was:" >&5
24290 sed 's
/^
/| /' conftest.$ac_ext >&5
24292 ac_cv_cxx_static_cast=no
24295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24297 ac_cpp='$CPP $CPPFLAGS'
24298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24299 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24304 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24305 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24306 if test "$ac_cv_cxx_static_cast" = yes; then
24308 cat >>confdefs.h <<\_ACEOF
24309 #define HAVE_STATIC_CAST
24315 if test "x$SUNCXX" = xyes; then
24316 CXXFLAGS="-features=tmplife $CXXFLAGS"
24319 if test "x$SUNCC" = xyes; then
24320 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24323 if test "x$SGICC" = "xyes"; then
24324 CFLAGS="-woff 3970 $CFLAGS"
24326 if test "x$SGICXX" = "xyes"; then
24327 CXXFLAGS="-woff 3970 $CXXFLAGS"
24330 if test "x$HPCC" = "xyes"; then
24331 CFLAGS="+W 2011,2450 $CFLAGS"
24333 if test "x$HPCXX" = "xyes"; then
24334 CXXFLAGS="+W 2340 $CXXFLAGS"
24337 if test "x$COMPAQCXX" = "xyes"; then
24338 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24342 ac_cpp='$CXXCPP $CPPFLAGS'
24343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24344 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24348 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24349 if test "$wxUSE_UNICODE" = "yes"; then
24350 std_string="std::wstring"
24351 char_type="wchar_t"
24353 std_string="std::string"
24357 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24358 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24359 if test "${wx_cv_class_stdstring+set}" = set; then
24360 echo $ECHO_N "(cached) $ECHO_C" >&6
24363 cat >conftest.$ac_ext <<_ACEOF
24366 cat confdefs.h >>conftest.$ac_ext
24367 cat >>conftest.$ac_ext <<_ACEOF
24368 /* end confdefs.h. */
24378 rm -f conftest.$ac_objext
24379 if { (ac_try="$ac_compile"
24380 case "(($ac_try" in
24381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24382 *) ac_try_echo=$ac_try;;
24384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24385 (eval "$ac_compile") 2>conftest.er1
24387 grep -v '^
*+' conftest.er1 >conftest.err
24389 cat conftest.err >&5
24390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24391 (exit $ac_status); } && {
24392 test -z "$ac_cxx_werror_flag" ||
24393 test ! -s conftest.err
24394 } && test -s conftest.$ac_objext; then
24395 wx_cv_class_stdstring=yes
24397 echo "$as_me: failed program was:" >&5
24398 sed 's
/^
/| /' conftest.$ac_ext >&5
24400 wx_cv_class_stdstring=no
24404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24408 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24409 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24411 if test "$wx_cv_class_stdstring" = yes; then
24412 if test "$wxUSE_UNICODE" = "yes"; then
24413 cat >>confdefs.h <<\_ACEOF
24414 #define HAVE_STD_WSTRING 1
24419 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24420 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24421 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24422 echo $ECHO_N "(cached) $ECHO_C" >&6
24425 cat >conftest.$ac_ext <<_ACEOF
24428 cat confdefs.h >>conftest.$ac_ext
24429 cat >>conftest.$ac_ext <<_ACEOF
24430 /* end confdefs.h. */
24432 #ifdef HAVE_WCHAR_H
24434 # include <stddef.h>
24436 # include <wchar.h>
24438 #ifdef HAVE_STDLIB_H
24439 # include <stdlib.h>
24447 std::basic_string<$char_type> foo;
24448 const $char_type* dummy = foo.c_str();
24453 rm -f conftest.$ac_objext
24454 if { (ac_try="$ac_compile"
24455 case "(($ac_try" in
24456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24457 *) ac_try_echo=$ac_try;;
24459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24460 (eval "$ac_compile") 2>conftest.er1
24462 grep -v '^
*+' conftest.er1 >conftest.err
24464 cat conftest.err >&5
24465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24466 (exit $ac_status); } && {
24467 test -z "$ac_cxx_werror_flag" ||
24468 test ! -s conftest.err
24469 } && test -s conftest.$ac_objext; then
24470 wx_cv_class_stdbasicstring=yes
24472 echo "$as_me: failed program was:" >&5
24473 sed 's
/^
/| /' conftest.$ac_ext >&5
24475 wx_cv_class_stdbasicstring=no
24479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24483 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24484 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24486 if test "$wx_cv_class_stdbasicstring" != yes; then
24487 if test "$wxUSE_STL" = "yes"; then
24488 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24489 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24490 { (exit 1); exit 1; }; }
24491 elif test "$wxUSE_STD_STRING" = "yes"; then
24492 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24493 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24494 { (exit 1); exit 1; }; }
24496 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24497 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24498 wxUSE_STD_STRING=no
24504 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24505 { echo "$as_me:$LINENO: checking for std::istream" >&5
24506 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24507 if test "${ac_cv_type_std__istream+set}" = set; then
24508 echo $ECHO_N "(cached) $ECHO_C" >&6
24510 cat >conftest.$ac_ext <<_ACEOF
24513 cat confdefs.h >>conftest.$ac_ext
24514 cat >>conftest.$ac_ext <<_ACEOF
24515 /* end confdefs.h. */
24516 #include <iostream>
24518 typedef std::istream ac__type_new_;
24522 if ((ac__type_new_ *) 0)
24524 if (sizeof (ac__type_new_))
24530 rm -f conftest.$ac_objext
24531 if { (ac_try="$ac_compile"
24532 case "(($ac_try" in
24533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24534 *) ac_try_echo=$ac_try;;
24536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24537 (eval "$ac_compile") 2>conftest.er1
24539 grep -v '^
*+' conftest.er1 >conftest.err
24541 cat conftest.err >&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } && {
24544 test -z "$ac_cxx_werror_flag" ||
24545 test ! -s conftest.err
24546 } && test -s conftest.$ac_objext; then
24547 ac_cv_type_std__istream=yes
24549 echo "$as_me: failed program was:" >&5
24550 sed 's
/^
/| /' conftest.$ac_ext >&5
24552 ac_cv_type_std__istream=no
24555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24557 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24558 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24559 if test $ac_cv_type_std__istream = yes; then
24561 cat >>confdefs.h <<_ACEOF
24562 #define HAVE_STD__ISTREAM 1
24567 wxUSE_STD_IOSTREAM=no
24569 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24570 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24571 if test "${ac_cv_type_std__ostream+set}" = set; then
24572 echo $ECHO_N "(cached) $ECHO_C" >&6
24574 cat >conftest.$ac_ext <<_ACEOF
24577 cat confdefs.h >>conftest.$ac_ext
24578 cat >>conftest.$ac_ext <<_ACEOF
24579 /* end confdefs.h. */
24580 #include <iostream>
24582 typedef std::ostream ac__type_new_;
24586 if ((ac__type_new_ *) 0)
24588 if (sizeof (ac__type_new_))
24594 rm -f conftest.$ac_objext
24595 if { (ac_try="$ac_compile"
24596 case "(($ac_try" in
24597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24598 *) ac_try_echo=$ac_try;;
24600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24601 (eval "$ac_compile") 2>conftest.er1
24603 grep -v '^
*+' conftest.er1 >conftest.err
24605 cat conftest.err >&5
24606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24607 (exit $ac_status); } && {
24608 test -z "$ac_cxx_werror_flag" ||
24609 test ! -s conftest.err
24610 } && test -s conftest.$ac_objext; then
24611 ac_cv_type_std__ostream=yes
24613 echo "$as_me: failed program was:" >&5
24614 sed 's
/^
/| /' conftest.$ac_ext >&5
24616 ac_cv_type_std__ostream=no
24619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24621 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24622 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24623 if test $ac_cv_type_std__ostream = yes; then
24625 cat >>confdefs.h <<_ACEOF
24626 #define HAVE_STD__OSTREAM 1
24631 wxUSE_STD_IOSTREAM=no
24635 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24636 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24637 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24638 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24639 { (exit 1); exit 1; }; }
24641 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24642 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24647 if test "$wxUSE_STL" = "yes"; then
24648 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24649 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24650 if test "${wx_cv_lib_stl+set}" = set; then
24651 echo $ECHO_N "(cached) $ECHO_C" >&6
24653 cat >conftest.$ac_ext <<_ACEOF
24656 cat confdefs.h >>conftest.$ac_ext
24657 cat >>conftest.$ac_ext <<_ACEOF
24658 /* end confdefs.h. */
24660 #include <functional>
24661 #include <algorithm>
24667 std::vector<int> moo;
24668 std::list<int> foo;
24669 std::vector<int>::iterator it =
24670 std::find_if(moo.begin(), moo.end(),
24671 std::bind2nd(std::less<int>(), 3));
24676 rm -f conftest.$ac_objext
24677 if { (ac_try="$ac_compile"
24678 case "(($ac_try" in
24679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24680 *) ac_try_echo=$ac_try;;
24682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24683 (eval "$ac_compile") 2>conftest.er1
24685 grep -v '^
*+' conftest.er1 >conftest.err
24687 cat conftest.err >&5
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); } && {
24690 test -z "$ac_cxx_werror_flag" ||
24691 test ! -s conftest.err
24692 } && test -s conftest.$ac_objext; then
24695 echo "$as_me: failed program was:" >&5
24696 sed 's
/^
/| /' conftest.$ac_ext >&5
24702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24705 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24706 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24708 if test "$wx_cv_lib_stl" != yes; then
24709 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24710 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24711 { (exit 1); exit 1; }; }
24714 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24715 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24716 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24717 echo $ECHO_N "(cached) $ECHO_C" >&6
24719 cat >conftest.$ac_ext <<_ACEOF
24722 cat confdefs.h >>conftest.$ac_ext
24723 cat >>conftest.$ac_ext <<_ACEOF
24724 /* end confdefs.h. */
24729 std::string foo, bar;
24731 foo.compare(1, 1, bar);
24732 foo.compare(1, 1, bar, 1, 1);
24734 foo.compare(1, 1, "");
24735 foo.compare(1, 1, "", 2);
24740 rm -f conftest.$ac_objext
24741 if { (ac_try="$ac_compile"
24742 case "(($ac_try" in
24743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24744 *) ac_try_echo=$ac_try;;
24746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24747 (eval "$ac_compile") 2>conftest.er1
24749 grep -v '^
*+' conftest.er1 >conftest.err
24751 cat conftest.err >&5
24752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); } && {
24754 test -z "$ac_cxx_werror_flag" ||
24755 test ! -s conftest.err
24756 } && test -s conftest.$ac_objext; then
24757 wx_cv_func_stdstring_compare=yes
24759 echo "$as_me: failed program was:" >&5
24760 sed 's
/^
/| /' conftest.$ac_ext >&5
24762 wx_cv_func_stdstring_compare=no
24766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24769 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24770 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24772 if test "$wx_cv_func_stdstring_compare" = yes; then
24773 cat >>confdefs.h <<\_ACEOF
24774 #define HAVE_STD_STRING_COMPARE 1
24779 if test "$wx_cv_class_gnuhashmapset" = yes; then
24780 cat >>confdefs.h <<\_ACEOF
24781 #define HAVE_EXT_HASH_MAP 1
24784 cat >>confdefs.h <<\_ACEOF
24785 #define HAVE_GNU_CXX_HASH_MAP 1
24790 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24791 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24792 if test "${ac_cv_header_unordered_map+set}" = set; then
24793 echo $ECHO_N "(cached) $ECHO_C" >&6
24795 cat >conftest.$ac_ext <<_ACEOF
24798 cat confdefs.h >>conftest.$ac_ext
24799 cat >>conftest.$ac_ext <<_ACEOF
24800 /* end confdefs.h. */
24804 #include <unordered_map>
24806 rm -f conftest.$ac_objext
24807 if { (ac_try="$ac_compile"
24808 case "(($ac_try" in
24809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24810 *) ac_try_echo=$ac_try;;
24812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24813 (eval "$ac_compile") 2>conftest.er1
24815 grep -v '^
*+' conftest.er1 >conftest.err
24817 cat conftest.err >&5
24818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819 (exit $ac_status); } && {
24820 test -z "$ac_cxx_werror_flag" ||
24821 test ! -s conftest.err
24822 } && test -s conftest.$ac_objext; then
24823 ac_cv_header_unordered_map=yes
24825 echo "$as_me: failed program was:" >&5
24826 sed 's
/^
/| /' conftest.$ac_ext >&5
24828 ac_cv_header_unordered_map=no
24831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24833 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24834 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24835 if test $ac_cv_header_unordered_map = yes; then
24836 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24837 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24838 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24839 echo $ECHO_N "(cached) $ECHO_C" >&6
24841 cat >conftest.$ac_ext <<_ACEOF
24844 cat confdefs.h >>conftest.$ac_ext
24845 cat >>conftest.$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24847 #include <unordered_map>
24848 #include <unordered_set>
24852 std::unordered_map<double*, char*> test1;
24853 std::unordered_set<char*> test2;
24858 rm -f conftest.$ac_objext
24859 if { (ac_try="$ac_compile"
24860 case "(($ac_try" in
24861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24862 *) ac_try_echo=$ac_try;;
24864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24865 (eval "$ac_compile") 2>conftest.er1
24867 grep -v '^
*+' conftest.er1 >conftest.err
24869 cat conftest.err >&5
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); } && {
24872 test -z "$ac_cxx_werror_flag" ||
24873 test ! -s conftest.err
24874 } && test -s conftest.$ac_objext; then
24875 wx_cv_class_stdunorderedmapset=yes
24877 echo "$as_me: failed program was:" >&5
24878 sed 's
/^
/| /' conftest.$ac_ext >&5
24880 wx_cv_class_stdunorderedmapset=no
24883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24887 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24888 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24893 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24894 cat >>confdefs.h <<\_ACEOF
24895 #define HAVE_STD_UNORDERED_MAP 1
24898 cat >>confdefs.h <<\_ACEOF
24899 #define HAVE_STD_UNORDERED_SET 1
24903 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24904 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24905 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24906 echo $ECHO_N "(cached) $ECHO_C" >&6
24908 cat >conftest.$ac_ext <<_ACEOF
24911 cat confdefs.h >>conftest.$ac_ext
24912 cat >>conftest.$ac_ext <<_ACEOF
24913 /* end confdefs.h. */
24917 #include <tr1/unordered_map>
24919 rm -f conftest.$ac_objext
24920 if { (ac_try="$ac_compile"
24921 case "(($ac_try" in
24922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24923 *) ac_try_echo=$ac_try;;
24925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24926 (eval "$ac_compile") 2>conftest.er1
24928 grep -v '^
*+' conftest.er1 >conftest.err
24930 cat conftest.err >&5
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); } && {
24933 test -z "$ac_cxx_werror_flag" ||
24934 test ! -s conftest.err
24935 } && test -s conftest.$ac_objext; then
24936 ac_cv_header_tr1_unordered_map=yes
24938 echo "$as_me: failed program was:" >&5
24939 sed 's
/^
/| /' conftest.$ac_ext >&5
24941 ac_cv_header_tr1_unordered_map=no
24944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24946 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24947 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24948 if test $ac_cv_header_tr1_unordered_map = yes; then
24949 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24950 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24951 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24952 echo $ECHO_N "(cached) $ECHO_C" >&6
24954 cat >conftest.$ac_ext <<_ACEOF
24957 cat confdefs.h >>conftest.$ac_ext
24958 cat >>conftest.$ac_ext <<_ACEOF
24959 /* end confdefs.h. */
24960 #include <tr1/unordered_map>
24961 #include <tr1/unordered_set>
24965 std::tr1::unordered_map<double*, char*> test1;
24966 std::tr1::unordered_set<char*> test2;
24967 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24968 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
24974 rm -f conftest.
$ac_objext
24975 if { (ac_try
="$ac_compile"
24976 case "(($ac_try" in
24977 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24978 *) ac_try_echo=$ac_try;;
24980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24981 (eval "$ac_compile") 2>conftest.er1
24983 grep -v '^ *+' conftest.er1 >conftest.err
24985 cat conftest.err >&5
24986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24987 (exit $ac_status); } && {
24988 test -z "$ac_cxx_werror_flag" ||
24989 test ! -s conftest.err
24990 } && test -s conftest.$ac_objext; then
24991 wx_cv_class_tr1unorderedmapset=yes
24993 echo "$as_me: failed program was:" >&5
24994 sed 's/^/| /' conftest.$ac_ext >&5
24996 wx_cv_class_tr1unorderedmapset=no
24999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25003 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25004 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25009 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25010 cat >>confdefs.h <<\_ACEOF
25011 #define HAVE_TR1_UNORDERED_MAP 1
25014 cat >>confdefs.h <<\_ACEOF
25015 #define HAVE_TR1_UNORDERED_SET 1
25019 { echo "$as_me:$LINENO: checking for hash_map" >&5
25020 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25021 if test "${ac_cv_header_hash_map+set}" = set; then
25022 echo $ECHO_N "(cached) $ECHO_C" >&6
25024 cat >conftest.$ac_ext <<_ACEOF
25027 cat confdefs.h >>conftest.$ac_ext
25028 cat >>conftest.$ac_ext <<_ACEOF
25029 /* end confdefs.h. */
25033 #include <hash_map>
25035 rm -f conftest.$ac_objext
25036 if { (ac_try="$ac_compile"
25037 case "(($ac_try" in
25038 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25039 *) ac_try_echo
=$ac_try;;
25041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25042 (eval "$ac_compile") 2>conftest.er1
25044 grep -v '^ *+' conftest.er1
>conftest.err
25046 cat conftest.err
>&5
25047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048 (exit $ac_status); } && {
25049 test -z "$ac_cxx_werror_flag" ||
25050 test ! -s conftest.err
25051 } && test -s conftest.
$ac_objext; then
25052 ac_cv_header_hash_map
=yes
25054 echo "$as_me: failed program was:" >&5
25055 sed 's/^/| /' conftest.
$ac_ext >&5
25057 ac_cv_header_hash_map
=no
25060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25062 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25063 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25064 if test $ac_cv_header_hash_map = yes; then
25065 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25066 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25067 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25068 echo $ECHO_N "(cached) $ECHO_C" >&6
25070 cat >conftest.
$ac_ext <<_ACEOF
25073 cat confdefs.h
>>conftest.
$ac_ext
25074 cat >>conftest.
$ac_ext <<_ACEOF
25075 /* end confdefs.h. */
25076 #include <hash_map>
25077 #include <hash_set>
25081 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25082 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25087 rm -f conftest.
$ac_objext
25088 if { (ac_try
="$ac_compile"
25089 case "(($ac_try" in
25090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25091 *) ac_try_echo=$ac_try;;
25093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25094 (eval "$ac_compile") 2>conftest.er1
25096 grep -v '^ *+' conftest.er1 >conftest.err
25098 cat conftest.err >&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); } && {
25101 test -z "$ac_cxx_werror_flag" ||
25102 test ! -s conftest.err
25103 } && test -s conftest.$ac_objext; then
25104 wx_cv_class_stdhashmapset=yes
25106 echo "$as_me: failed program was:" >&5
25107 sed 's/^/| /' conftest.$ac_ext >&5
25109 wx_cv_class_stdhashmapset=no
25112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25116 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25117 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25122 if test "$wx_cv_class_stdhashmapset" = yes; then
25123 cat >>confdefs.h <<\_ACEOF
25124 #define HAVE_HASH_MAP 1
25127 cat >>confdefs.h <<\_ACEOF
25128 #define HAVE_STD_HASH_MAP 1
25133 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25134 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25135 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25136 echo $ECHO_N "(cached) $ECHO_C" >&6
25138 cat >conftest.$ac_ext <<_ACEOF
25141 cat confdefs.h >>conftest.$ac_ext
25142 cat >>conftest.$ac_ext <<_ACEOF
25143 /* end confdefs.h. */
25147 #include <ext/hash_map>
25149 rm -f conftest.$ac_objext
25150 if { (ac_try="$ac_compile"
25151 case "(($ac_try" in
25152 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25153 *) ac_try_echo
=$ac_try;;
25155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25156 (eval "$ac_compile") 2>conftest.er1
25158 grep -v '^ *+' conftest.er1
>conftest.err
25160 cat conftest.err
>&5
25161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25162 (exit $ac_status); } && {
25163 test -z "$ac_cxx_werror_flag" ||
25164 test ! -s conftest.err
25165 } && test -s conftest.
$ac_objext; then
25166 ac_cv_header_ext_hash_map
=yes
25168 echo "$as_me: failed program was:" >&5
25169 sed 's/^/| /' conftest.
$ac_ext >&5
25171 ac_cv_header_ext_hash_map
=no
25174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25176 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25177 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25178 if test $ac_cv_header_ext_hash_map = yes; then
25179 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25180 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25181 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25182 echo $ECHO_N "(cached) $ECHO_C" >&6
25184 cat >conftest.
$ac_ext <<_ACEOF
25187 cat confdefs.h
>>conftest.
$ac_ext
25188 cat >>conftest.
$ac_ext <<_ACEOF
25189 /* end confdefs.h. */
25190 #include <ext/hash_map>
25191 #include <ext/hash_set>
25195 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25196 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25201 rm -f conftest.
$ac_objext
25202 if { (ac_try
="$ac_compile"
25203 case "(($ac_try" in
25204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25205 *) ac_try_echo=$ac_try;;
25207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25208 (eval "$ac_compile") 2>conftest.er1
25210 grep -v '^ *+' conftest.er1 >conftest.err
25212 cat conftest.err >&5
25213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25214 (exit $ac_status); } && {
25215 test -z "$ac_cxx_werror_flag" ||
25216 test ! -s conftest.err
25217 } && test -s conftest.$ac_objext; then
25218 wx_cv_class_gnuhashmapset=yes
25220 echo "$as_me: failed program was:" >&5
25221 sed 's/^/| /' conftest.$ac_ext >&5
25223 wx_cv_class_gnuhashmapset=no
25226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25230 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25231 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25242 if test -n "$GCC"; then
25243 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25244 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25245 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25246 echo $ECHO_N "(cached) $ECHO_C" >&6
25249 cat >conftest.$ac_ext <<_ACEOF
25252 cat confdefs.h >>conftest.$ac_ext
25253 cat >>conftest.$ac_ext <<_ACEOF
25254 /* end confdefs.h. */
25260 unsigned int value=0;
25261 /* wxAtomicInc doesn't use return value here */
25262 __sync_fetch_and_add(&value, 2);
25263 __sync_sub_and_fetch(&value, 1);
25264 /* but wxAtomicDec does, so mimic that: */
25265 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25271 rm -f conftest.$ac_objext conftest$ac_exeext
25272 if { (ac_try="$ac_link"
25273 case "(($ac_try" in
25274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25275 *) ac_try_echo
=$ac_try;;
25277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25278 (eval "$ac_link") 2>conftest.er1
25280 grep -v '^ *+' conftest.er1
>conftest.err
25282 cat conftest.err
>&5
25283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25284 (exit $ac_status); } && {
25285 test -z "$ac_cxx_werror_flag" ||
25286 test ! -s conftest.err
25287 } && test -s conftest
$ac_exeext &&
25288 $as_test_x conftest
$ac_exeext; then
25289 wx_cv_cc_gcc_atomic_builtins
=yes
25291 echo "$as_me: failed program was:" >&5
25292 sed 's/^/| /' conftest.
$ac_ext >&5
25294 wx_cv_cc_gcc_atomic_builtins
=no
25297 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25298 conftest
$ac_exeext conftest.
$ac_ext
25302 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25303 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25304 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25305 cat >>confdefs.h
<<\_ACEOF
25306 #define HAVE_GCC_ATOMIC_BUILTINS 1
25314 ac_cpp
='$CPP $CPPFLAGS'
25315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25322 /usr/local/include \
25323 /usr/local/X11/include \
25324 /usr/local/include/X11 \
25325 /usr/local/X11R6/include \
25326 /usr/local/include/X11R6 \
25328 /usr/Motif-2.1/include \
25329 /usr/Motif-1.2/include \
25330 /usr/include/Motif1.2 \
25333 /usr/openwin/include \
25337 /usr/X11R6/include \
25338 /usr/X11R6.4/include \
25340 /usr/include/X11R6 \
25345 /usr/XFree86/include/X11 \
25348 /usr/local/X1R5/include \
25349 /usr/local/include/X11R5 \
25350 /usr/X11R5/include \
25351 /usr/include/X11R5 \
25353 /usr/local/X11R4/include \
25354 /usr/local/include/X11R4 \
25355 /usr/X11R4/include \
25356 /usr/include/X11R4 \
25358 /usr/openwin/share/include"
25360 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25361 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25365 if test "${wx_cv_std_libpath+set}" = set; then
25366 echo $ECHO_N "(cached) $ECHO_C" >&6
25369 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25370 for e
in a so sl dylib dll.a
; do
25372 if test -f $libc; then
25375 cat >conftest.
$ac_ext <<_ACEOF
25376 int main() { return 0; }
25378 rm -f conftest.
$ac_objext conftest
$ac_exeext
25379 if { (ac_try
="$ac_link"
25380 case "(($ac_try" in
25381 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25382 *) ac_try_echo=$ac_try;;
25384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25385 (eval "$ac_link") 2>conftest.er1
25387 grep -v '^ *+' conftest.er1 >conftest.err
25389 cat conftest.err >&5
25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 (exit $ac_status); } && {
25392 test -z "$ac_c_werror_flag" ||
25393 test ! -s conftest.err
25394 } && test -s conftest$ac_exeext &&
25395 $as_test_x conftest$ac_exeext; then
25396 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25398 echo "$as_me: failed program was:" >&5
25399 sed 's/^/| /' conftest.$ac_ext >&5
25404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25405 conftest$ac_exeext conftest.$ac_ext
25407 if test "x$wx_cv_std_libpath" != "x"; then
25413 if test "x$wx_cv_std_libpath" = "x"; then
25414 wx_cv_std_libpath="lib"
25423 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25424 wx_cv_std_libpath="lib/64"
25426 wx_cv_std_libpath="lib"
25431 if test "$ac_cv_sizeof_void_p" = 8 -a \
25432 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25433 wx_cv_std_libpath="lib64"
25435 wx_cv_std_libpath="lib"
25440 wx_cv_std_libpath="lib";
25444 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25445 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25447 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25449 if test "$build" != "$host" -a "$GCC" = yes; then
25450 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25451 cross_root=`dirname $cross_root`
25452 cross_root=`dirname $cross_root`
25454 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25455 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25456 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25458 if test -z "$PKG_CONFIG_PATH"; then
25459 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25460 export PKG_CONFIG_PATH
25463 if test -z "$x_includes" -o "$x_includes" = NONE; then
25466 for ac_dir in $SEARCH_INCLUDE /usr/include;
25468 if test -f "$ac_dir/X11/Intrinsic.h"; then
25469 ac_find_includes=$ac_dir
25474 x_includes=$ac_find_includes
25476 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25479 for ac_dir in $SEARCH_LIB;
25481 for ac_extension in a so sl dylib dll.a; do
25482 if test -f "$ac_dir/libXt.$ac_extension"; then
25483 ac_find_libraries=$ac_dir
25489 x_libraries=$ac_find_libraries
25495 cat >confcache <<\_ACEOF
25496 # This file is a shell script that caches the results of configure
25497 # tests run on this system so they can be shared between configure
25498 # scripts and configure runs, see configure's option --config-cache.
25499 # It is not useful on other systems. If it contains results you don't
25500 # want to keep, you may remove or edit it.
25502 # config.status only pays attention to the cache file if you give it
25503 # the --recheck option to rerun configure.
25505 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25506 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25507 # following values.
25511 # The following way of writing the cache mishandles newlines in values,
25512 # but we know of no workaround that is simple, portable, and efficient.
25513 # So, we kill variables containing newlines.
25514 # Ultrix sh set writes to stderr and can't be redirected directly,
25515 # and sets the high bit in the cache file unless we assign to the vars.
25517 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25518 eval ac_val
=\$
$ac_var
25522 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25523 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25526 _
| IFS
| as_nl
) ;; #(
25527 *) $as_unset $ac_var ;;
25533 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25534 *${as_nl}ac_space
=\
*)
25535 # `set' does not quote correctly, so add quotes (double-quote
25536 # substitution turns \\\\ into \\, and sed turns \\ into \).
25539 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25542 # `set' quotes correctly as required by POSIX, so do not add quotes.
25543 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25552 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25554 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25556 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25557 if test -w "$cache_file"; then
25558 test "x$cache_file" != "x/dev/null" &&
25559 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25560 echo "$as_me: updating cache $cache_file" >&6;}
25561 cat confcache
>$cache_file
25563 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25564 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25569 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25570 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25571 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25572 if test "${wx_cv_lib_glibc21+set}" = set; then
25573 echo $ECHO_N "(cached) $ECHO_C" >&6
25576 cat >conftest.
$ac_ext <<_ACEOF
25579 cat confdefs.h
>>conftest.
$ac_ext
25580 cat >>conftest.
$ac_ext <<_ACEOF
25581 /* end confdefs.h. */
25582 #include <features.h>
25587 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25595 rm -f conftest.
$ac_objext
25596 if { (ac_try
="$ac_compile"
25597 case "(($ac_try" in
25598 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25599 *) ac_try_echo=$ac_try;;
25601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25602 (eval "$ac_compile") 2>conftest.er1
25604 grep -v '^ *+' conftest.er1 >conftest.err
25606 cat conftest.err >&5
25607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25608 (exit $ac_status); } && {
25609 test -z "$ac_c_werror_flag" ||
25610 test ! -s conftest.err
25611 } && test -s conftest.$ac_objext; then
25613 wx_cv_lib_glibc21=yes
25616 echo "$as_me: failed program was:" >&5
25617 sed 's/^/| /' conftest.$ac_ext >&5
25620 wx_cv_lib_glibc21=no
25625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25628 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25629 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25630 if test "$wx_cv_lib_glibc21" = "yes"; then
25631 cat >>confdefs.h <<\_ACEOF
25632 #define wxHAVE_GLIBC2 1
25638 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25639 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25640 cat >>confdefs.h <<\_ACEOF
25641 #define _GNU_SOURCE 1
25652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25653 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25655 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25656 echo $ECHO_N "(cached) $ECHO_C" >&6
25658 cat >conftest.$ac_ext <<_ACEOF
25661 cat confdefs.h >>conftest.$ac_ext
25662 cat >>conftest.$ac_ext <<_ACEOF
25663 /* end confdefs.h. */
25664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25666 #define $ac_func innocuous_$ac_func
25668 /* System header to define __stub macros and hopefully few prototypes,
25669 which can conflict with char $ac_func (); below.
25670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25671 <limits.h> exists even on freestanding compilers. */
25674 # include <limits.h>
25676 # include <assert.h>
25681 /* Override any GCC internal prototype to avoid an error.
25682 Use char because int might match the return type of a GCC
25683 builtin and then its argument prototype would still apply. */
25688 /* The GNU C library defines this for functions which it implements
25689 to always fail with ENOSYS. Some functions are actually named
25690 something starting with __ and the normal name is an alias. */
25691 #if defined __stub_$ac_func || defined __stub___$ac_func
25698 return $ac_func ();
25703 rm -f conftest.$ac_objext conftest$ac_exeext
25704 if { (ac_try="$ac_link"
25705 case "(($ac_try" in
25706 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25707 *) ac_try_echo
=$ac_try;;
25709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25710 (eval "$ac_link") 2>conftest.er1
25712 grep -v '^ *+' conftest.er1
>conftest.err
25714 cat conftest.err
>&5
25715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25716 (exit $ac_status); } && {
25717 test -z "$ac_c_werror_flag" ||
25718 test ! -s conftest.err
25719 } && test -s conftest
$ac_exeext &&
25720 $as_test_x conftest
$ac_exeext; then
25721 eval "$as_ac_var=yes"
25723 echo "$as_me: failed program was:" >&5
25724 sed 's/^/| /' conftest.
$ac_ext >&5
25726 eval "$as_ac_var=no"
25729 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25730 conftest
$ac_exeext conftest.
$ac_ext
25732 ac_res
=`eval echo '${'$as_ac_var'}'`
25733 { echo "$as_me:$LINENO: result: $ac_res" >&5
25734 echo "${ECHO_T}$ac_res" >&6; }
25735 if test `eval echo '${'$as_ac_var'}'` = yes; then
25736 cat >>confdefs.h
<<_ACEOF
25737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25744 for ac_func
in floor
25746 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25747 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25749 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25750 echo $ECHO_N "(cached) $ECHO_C" >&6
25752 cat >conftest.
$ac_ext <<_ACEOF
25755 cat confdefs.h
>>conftest.
$ac_ext
25756 cat >>conftest.
$ac_ext <<_ACEOF
25757 /* end confdefs.h. */
25758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25760 #define $ac_func innocuous_$ac_func
25762 /* System header to define __stub macros and hopefully few prototypes,
25763 which can conflict with char $ac_func (); below.
25764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25765 <limits.h> exists even on freestanding compilers. */
25768 # include <limits.h>
25770 # include <assert.h>
25775 /* Override any GCC internal prototype to avoid an error.
25776 Use char because int might match the return type of a GCC
25777 builtin and then its argument prototype would still apply. */
25782 /* The GNU C library defines this for functions which it implements
25783 to always fail with ENOSYS. Some functions are actually named
25784 something starting with __ and the normal name is an alias. */
25785 #if defined __stub_$ac_func || defined __stub___$ac_func
25792 return $ac_func ();
25797 rm -f conftest.
$ac_objext conftest
$ac_exeext
25798 if { (ac_try
="$ac_link"
25799 case "(($ac_try" in
25800 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25801 *) ac_try_echo=$ac_try;;
25803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25804 (eval "$ac_link") 2>conftest.er1
25806 grep -v '^ *+' conftest.er1 >conftest.err
25808 cat conftest.err >&5
25809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25810 (exit $ac_status); } && {
25811 test -z "$ac_c_werror_flag" ||
25812 test ! -s conftest.err
25813 } && test -s conftest$ac_exeext &&
25814 $as_test_x conftest$ac_exeext; then
25815 eval "$as_ac_var=yes"
25817 echo "$as_me: failed program was:" >&5
25818 sed 's/^/| /' conftest.$ac_ext >&5
25820 eval "$as_ac_var=no"
25823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25824 conftest$ac_exeext conftest.$ac_ext
25826 ac_res=`eval echo '${'$as_ac_var'}'`
25827 { echo "$as_me:$LINENO: result: $ac_res" >&5
25828 echo "${ECHO_T}$ac_res" >&6; }
25829 if test `eval echo '${'$as_ac_var'}'` = yes; then
25830 cat >>confdefs.h <<_ACEOF
25831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25837 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25838 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25839 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25840 { echo "$as_me:$LINENO: result: yes" >&5
25841 echo "${ECHO_T}yes" >&6; }
25843 { echo "$as_me:$LINENO: result: no" >&5
25844 echo "${ECHO_T}no" >&6; }
25846 # use different functions to avoid configure caching
25852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25853 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25855 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25856 echo $ECHO_N "(cached) $ECHO_C" >&6
25858 cat >conftest.$ac_ext <<_ACEOF
25861 cat confdefs.h >>conftest.$ac_ext
25862 cat >>conftest.$ac_ext <<_ACEOF
25863 /* end confdefs.h. */
25864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25866 #define $ac_func innocuous_$ac_func
25868 /* System header to define __stub macros and hopefully few prototypes,
25869 which can conflict with char $ac_func (); below.
25870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25871 <limits.h> exists even on freestanding compilers. */
25874 # include <limits.h>
25876 # include <assert.h>
25881 /* Override any GCC internal prototype to avoid an error.
25882 Use char because int might match the return type of a GCC
25883 builtin and then its argument prototype would still apply. */
25888 /* The GNU C library defines this for functions which it implements
25889 to always fail with ENOSYS. Some functions are actually named
25890 something starting with __ and the normal name is an alias. */
25891 #if defined __stub_$ac_func || defined __stub___$ac_func
25898 return $ac_func ();
25903 rm -f conftest.$ac_objext conftest$ac_exeext
25904 if { (ac_try="$ac_link"
25905 case "(($ac_try" in
25906 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25907 *) ac_try_echo
=$ac_try;;
25909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25910 (eval "$ac_link") 2>conftest.er1
25912 grep -v '^ *+' conftest.er1
>conftest.err
25914 cat conftest.err
>&5
25915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916 (exit $ac_status); } && {
25917 test -z "$ac_c_werror_flag" ||
25918 test ! -s conftest.err
25919 } && test -s conftest
$ac_exeext &&
25920 $as_test_x conftest
$ac_exeext; then
25921 eval "$as_ac_var=yes"
25923 echo "$as_me: failed program was:" >&5
25924 sed 's/^/| /' conftest.
$ac_ext >&5
25926 eval "$as_ac_var=no"
25929 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25930 conftest
$ac_exeext conftest.
$ac_ext
25932 ac_res
=`eval echo '${'$as_ac_var'}'`
25933 { echo "$as_me:$LINENO: result: $ac_res" >&5
25934 echo "${ECHO_T}$ac_res" >&6; }
25935 if test `eval echo '${'$as_ac_var'}'` = yes; then
25936 cat >>confdefs.h
<<_ACEOF
25937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25944 for ac_func
in ceil
25946 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25947 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25949 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25950 echo $ECHO_N "(cached) $ECHO_C" >&6
25952 cat >conftest.
$ac_ext <<_ACEOF
25955 cat confdefs.h
>>conftest.
$ac_ext
25956 cat >>conftest.
$ac_ext <<_ACEOF
25957 /* end confdefs.h. */
25958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25960 #define $ac_func innocuous_$ac_func
25962 /* System header to define __stub macros and hopefully few prototypes,
25963 which can conflict with char $ac_func (); below.
25964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25965 <limits.h> exists even on freestanding compilers. */
25968 # include <limits.h>
25970 # include <assert.h>
25975 /* Override any GCC internal prototype to avoid an error.
25976 Use char because int might match the return type of a GCC
25977 builtin and then its argument prototype would still apply. */
25982 /* The GNU C library defines this for functions which it implements
25983 to always fail with ENOSYS. Some functions are actually named
25984 something starting with __ and the normal name is an alias. */
25985 #if defined __stub_$ac_func || defined __stub___$ac_func
25992 return $ac_func ();
25997 rm -f conftest.
$ac_objext conftest
$ac_exeext
25998 if { (ac_try
="$ac_link"
25999 case "(($ac_try" in
26000 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26001 *) ac_try_echo=$ac_try;;
26003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26004 (eval "$ac_link") 2>conftest.er1
26006 grep -v '^ *+' conftest.er1 >conftest.err
26008 cat conftest.err >&5
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } && {
26011 test -z "$ac_c_werror_flag" ||
26012 test ! -s conftest.err
26013 } && test -s conftest$ac_exeext &&
26014 $as_test_x conftest$ac_exeext; then
26015 eval "$as_ac_var=yes"
26017 echo "$as_me: failed program was:" >&5
26018 sed 's/^/| /' conftest.$ac_ext >&5
26020 eval "$as_ac_var=no"
26023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26024 conftest$ac_exeext conftest.$ac_ext
26026 ac_res=`eval echo '${'$as_ac_var'}'`
26027 { echo "$as_me:$LINENO: result: $ac_res" >&5
26028 echo "${ECHO_T}$ac_res" >&6; }
26029 if test `eval echo '${'$as_ac_var'}'` = yes; then
26030 cat >>confdefs.h <<_ACEOF
26031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26037 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26038 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26039 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26040 { echo "$as_me:$LINENO: result: yes" >&5
26041 echo "${ECHO_T}yes" >&6; }
26043 { echo "$as_me:$LINENO: result: no" >&5
26044 echo "${ECHO_T}no" >&6; }
26045 # not sure we should warn the user, crash, etc.
26050 ac_cpp='$CXXCPP $CPPFLAGS'
26051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26055 if test "wxUSE_UNICODE" = "yes"; then
26057 for wx_func in wcstoull
26059 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26060 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26061 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26065 cat >conftest.$ac_ext <<_ACEOF
26069 cat confdefs.h >>conftest.$ac_ext
26070 cat >>conftest.$ac_ext <<_ACEOF
26071 /* end confdefs.h. */
26074 $ac_includes_default
26090 rm -f conftest.$ac_objext conftest$ac_exeext
26091 if { (ac_try="$ac_link"
26092 case "(($ac_try" in
26093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26094 *) ac_try_echo
=$ac_try;;
26096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26097 (eval "$ac_link") 2>conftest.er1
26099 grep -v '^ *+' conftest.er1
>conftest.err
26101 cat conftest.err
>&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } && {
26104 test -z "$ac_cxx_werror_flag" ||
26105 test ! -s conftest.err
26106 } && test -s conftest
$ac_exeext &&
26107 $as_test_x conftest
$ac_exeext; then
26108 eval wx_cv_func_
$wx_func=yes
26110 echo "$as_me: failed program was:" >&5
26111 sed 's/^/| /' conftest.
$ac_ext >&5
26113 eval wx_cv_func_
$wx_func=no
26116 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26117 conftest
$ac_exeext conftest.
$ac_ext
26120 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26121 { echo "$as_me:$LINENO: result: $ac_res" >&5
26122 echo "${ECHO_T}$ac_res" >&6; }
26124 if eval test \
$wx_cv_func_$wx_func = yes
26126 cat >>confdefs.h
<<_ACEOF
26127 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26139 for wx_func
in strtoull
26141 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26142 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26143 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26144 echo $ECHO_N "(cached) $ECHO_C" >&6
26147 cat >conftest.
$ac_ext <<_ACEOF
26151 cat confdefs.h
>>conftest.
$ac_ext
26152 cat >>conftest.
$ac_ext <<_ACEOF
26153 /* end confdefs.h. */
26156 $ac_includes_default
26172 rm -f conftest.
$ac_objext conftest
$ac_exeext
26173 if { (ac_try
="$ac_link"
26174 case "(($ac_try" in
26175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26176 *) ac_try_echo=$ac_try;;
26178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26179 (eval "$ac_link") 2>conftest.er1
26181 grep -v '^ *+' conftest.er1 >conftest.err
26183 cat conftest.err >&5
26184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185 (exit $ac_status); } && {
26186 test -z "$ac_cxx_werror_flag" ||
26187 test ! -s conftest.err
26188 } && test -s conftest$ac_exeext &&
26189 $as_test_x conftest$ac_exeext; then
26190 eval wx_cv_func_$wx_func=yes
26192 echo "$as_me: failed program was:" >&5
26193 sed 's/^/| /' conftest.$ac_ext >&5
26195 eval wx_cv_func_$wx_func=no
26198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26199 conftest$ac_exeext conftest.$ac_ext
26202 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26203 { echo "$as_me:$LINENO: result: $ac_res" >&5
26204 echo "${ECHO_T}$ac_res" >&6; }
26206 if eval test \$wx_cv_func_$wx_func = yes
26208 cat >>confdefs.h <<_ACEOF
26209 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26221 ac_cpp='$CPP $CPPFLAGS'
26222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26229 if test "$wxUSE_REGEX" != "no"; then
26230 cat >>confdefs.h <<\_ACEOF
26231 #define wxUSE_REGEX 1
26235 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26236 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26237 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26238 wxUSE_REGEX=builtin
26241 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26242 { echo "$as_me:$LINENO: checking for regex.h" >&5
26243 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26244 if test "${ac_cv_header_regex_h+set}" = set; then
26245 echo $ECHO_N "(cached) $ECHO_C" >&6
26247 cat >conftest.$ac_ext <<_ACEOF
26250 cat confdefs.h >>conftest.$ac_ext
26251 cat >>conftest.$ac_ext <<_ACEOF
26252 /* end confdefs.h. */
26257 rm -f conftest.$ac_objext
26258 if { (ac_try="$ac_compile"
26259 case "(($ac_try" in
26260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26261 *) ac_try_echo
=$ac_try;;
26263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26264 (eval "$ac_compile") 2>conftest.er1
26266 grep -v '^ *+' conftest.er1
>conftest.err
26268 cat conftest.err
>&5
26269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270 (exit $ac_status); } && {
26271 test -z "$ac_c_werror_flag" ||
26272 test ! -s conftest.err
26273 } && test -s conftest.
$ac_objext; then
26274 ac_cv_header_regex_h
=yes
26276 echo "$as_me: failed program was:" >&5
26277 sed 's/^/| /' conftest.
$ac_ext >&5
26279 ac_cv_header_regex_h
=no
26282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26284 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26285 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26286 if test $ac_cv_header_regex_h = yes; then
26289 for ac_func
in regcomp re_search
26291 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26292 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26294 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26295 echo $ECHO_N "(cached) $ECHO_C" >&6
26297 cat >conftest.
$ac_ext <<_ACEOF
26300 cat confdefs.h
>>conftest.
$ac_ext
26301 cat >>conftest.
$ac_ext <<_ACEOF
26302 /* end confdefs.h. */
26303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26305 #define $ac_func innocuous_$ac_func
26307 /* System header to define __stub macros and hopefully few prototypes,
26308 which can conflict with char $ac_func (); below.
26309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26310 <limits.h> exists even on freestanding compilers. */
26313 # include <limits.h>
26315 # include <assert.h>
26320 /* Override any GCC internal prototype to avoid an error.
26321 Use char because int might match the return type of a GCC
26322 builtin and then its argument prototype would still apply. */
26327 /* The GNU C library defines this for functions which it implements
26328 to always fail with ENOSYS. Some functions are actually named
26329 something starting with __ and the normal name is an alias. */
26330 #if defined __stub_$ac_func || defined __stub___$ac_func
26337 return $ac_func ();
26342 rm -f conftest.
$ac_objext conftest
$ac_exeext
26343 if { (ac_try
="$ac_link"
26344 case "(($ac_try" in
26345 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26346 *) ac_try_echo=$ac_try;;
26348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26349 (eval "$ac_link") 2>conftest.er1
26351 grep -v '^ *+' conftest.er1 >conftest.err
26353 cat conftest.err >&5
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); } && {
26356 test -z "$ac_c_werror_flag" ||
26357 test ! -s conftest.err
26358 } && test -s conftest$ac_exeext &&
26359 $as_test_x conftest$ac_exeext; then
26360 eval "$as_ac_var=yes"
26362 echo "$as_me: failed program was:" >&5
26363 sed 's/^/| /' conftest.$ac_ext >&5
26365 eval "$as_ac_var=no"
26368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26369 conftest$ac_exeext conftest.$ac_ext
26371 ac_res=`eval echo '${'$as_ac_var'}'`
26372 { echo "$as_me:$LINENO: result: $ac_res" >&5
26373 echo "${ECHO_T}$ac_res" >&6; }
26374 if test `eval echo '${'$as_ac_var'}'` = yes; then
26375 cat >>confdefs.h <<_ACEOF
26376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26386 if test "x$ac_cv_func_regcomp" != "xyes"; then
26387 if test "$wxUSE_REGEX" = "sys" ; then
26388 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26389 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26390 { (exit 1); exit 1; }; }
26392 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26393 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26394 wxUSE_REGEX=builtin
26398 cat >>confdefs.h <<\_ACEOF
26399 #define WX_NO_REGEX_ADVANCED 1
26408 if test "$wxUSE_ZLIB" != "no" ; then
26409 cat >>confdefs.h <<\_ACEOF
26410 #define wxUSE_ZLIB 1
26414 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26415 if test "$USE_DARWIN" = 1; then
26416 system_zlib_h_ok="yes"
26418 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26419 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26420 if test "${ac_cv_header_zlib_h+set}" = set; then
26421 echo $ECHO_N "(cached) $ECHO_C" >&6
26423 if test "$cross_compiling" = yes; then
26424 unset ac_cv_header_zlib_h
26427 cat >conftest.$ac_ext <<_ACEOF
26430 cat confdefs.h >>conftest.$ac_ext
26431 cat >>conftest.$ac_ext <<_ACEOF
26432 /* end confdefs.h. */
26439 FILE *f=fopen("conftestval", "w");
26442 ZLIB_VERSION[0] == '1' &&
26443 (ZLIB_VERSION[2] > '1' ||
26444 (ZLIB_VERSION[2] == '1' &&
26445 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26450 rm -f conftest$ac_exeext
26451 if { (ac_try="$ac_link"
26452 case "(($ac_try" in
26453 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26454 *) ac_try_echo
=$ac_try;;
26456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26457 (eval "$ac_link") 2>&5
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26461 { (case "(($ac_try" in
26462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26463 *) ac_try_echo=$ac_try;;
26465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26466 (eval "$ac_try") 2>&5
26468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26469 (exit $ac_status); }; }; then
26470 ac_cv_header_zlib_h=`cat conftestval
`
26472 echo "$as_me: program exited with status $ac_status" >&5
26473 echo "$as_me: failed program was:" >&5
26474 sed 's/^/| /' conftest.$ac_ext >&5
26476 ( exit $ac_status )
26477 ac_cv_header_zlib_h=no
26479 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26485 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26486 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26487 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26488 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26489 if test "${ac_cv_header_zlib_h+set}" = set; then
26490 echo $ECHO_N "(cached) $ECHO_C" >&6
26492 cat >conftest.$ac_ext <<_ACEOF
26495 cat confdefs.h >>conftest.$ac_ext
26496 cat >>conftest.$ac_ext <<_ACEOF
26497 /* end confdefs.h. */
26502 rm -f conftest.$ac_objext
26503 if { (ac_try="$ac_compile"
26504 case "(($ac_try" in
26505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26506 *) ac_try_echo
=$ac_try;;
26508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26509 (eval "$ac_compile") 2>conftest.er1
26511 grep -v '^ *+' conftest.er1
>conftest.err
26513 cat conftest.err
>&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); } && {
26516 test -z "$ac_c_werror_flag" ||
26517 test ! -s conftest.err
26518 } && test -s conftest.
$ac_objext; then
26519 ac_cv_header_zlib_h
=yes
26521 echo "$as_me: failed program was:" >&5
26522 sed 's/^/| /' conftest.
$ac_ext >&5
26524 ac_cv_header_zlib_h
=no
26527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26529 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26530 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26534 system_zlib_h_ok
=$ac_cv_header_zlib_h
26537 if test "$system_zlib_h_ok" = "yes"; then
26538 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26539 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26540 if test "${ac_cv_lib_z_deflate+set}" = set; then
26541 echo $ECHO_N "(cached) $ECHO_C" >&6
26543 ac_check_lib_save_LIBS
=$LIBS
26545 cat >conftest.
$ac_ext <<_ACEOF
26548 cat confdefs.h
>>conftest.
$ac_ext
26549 cat >>conftest.
$ac_ext <<_ACEOF
26550 /* end confdefs.h. */
26552 /* Override any GCC internal prototype to avoid an error.
26553 Use char because int might match the return type of a GCC
26554 builtin and then its argument prototype would still apply. */
26567 rm -f conftest.
$ac_objext conftest
$ac_exeext
26568 if { (ac_try
="$ac_link"
26569 case "(($ac_try" in
26570 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26571 *) ac_try_echo=$ac_try;;
26573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26574 (eval "$ac_link") 2>conftest.er1
26576 grep -v '^ *+' conftest.er1 >conftest.err
26578 cat conftest.err >&5
26579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26580 (exit $ac_status); } && {
26581 test -z "$ac_c_werror_flag" ||
26582 test ! -s conftest.err
26583 } && test -s conftest$ac_exeext &&
26584 $as_test_x conftest$ac_exeext; then
26585 ac_cv_lib_z_deflate=yes
26587 echo "$as_me: failed program was:" >&5
26588 sed 's/^/| /' conftest.$ac_ext >&5
26590 ac_cv_lib_z_deflate=no
26593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26594 conftest$ac_exeext conftest.$ac_ext
26595 LIBS=$ac_check_lib_save_LIBS
26597 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26598 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26599 if test $ac_cv_lib_z_deflate = yes; then
26605 if test "x$ZLIB_LINK" = "x" ; then
26606 if test "$wxUSE_ZLIB" = "sys" ; then
26607 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26608 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26609 { (exit 1); exit 1; }; }
26611 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26612 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26623 if test "$wxUSE_LIBPNG" != "no" ; then
26624 cat >>confdefs.h <<\_ACEOF
26625 #define wxUSE_LIBPNG 1
26629 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26630 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26631 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26635 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26636 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26637 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26638 wxUSE_LIBPNG=builtin
26641 if test "$wxUSE_MGL" != 1 ; then
26642 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26643 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26644 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26645 if test "${ac_cv_header_png_h+set}" = set; then
26646 echo $ECHO_N "(cached) $ECHO_C" >&6
26648 if test "$cross_compiling" = yes; then
26649 unset ac_cv_header_png_h
26652 cat >conftest.$ac_ext <<_ACEOF
26655 cat confdefs.h >>conftest.$ac_ext
26656 cat >>conftest.$ac_ext <<_ACEOF
26657 /* end confdefs.h. */
26664 FILE *f=fopen("conftestval", "w");
26667 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26672 rm -f conftest$ac_exeext
26673 if { (ac_try="$ac_link"
26674 case "(($ac_try" in
26675 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26676 *) ac_try_echo
=$ac_try;;
26678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26679 (eval "$ac_link") 2>&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26683 { (case "(($ac_try" in
26684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26685 *) ac_try_echo=$ac_try;;
26687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26688 (eval "$ac_try") 2>&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); }; }; then
26692 ac_cv_header_png_h=`cat conftestval
`
26694 echo "$as_me: program exited with status $ac_status" >&5
26695 echo "$as_me: failed program was:" >&5
26696 sed 's/^/| /' conftest.$ac_ext >&5
26698 ( exit $ac_status )
26699 ac_cv_header_png_h=no
26701 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26707 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26708 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26709 { echo "$as_me:$LINENO: checking for png.h" >&5
26710 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26711 if test "${ac_cv_header_png_h+set}" = set; then
26712 echo $ECHO_N "(cached) $ECHO_C" >&6
26714 cat >conftest.$ac_ext <<_ACEOF
26717 cat confdefs.h >>conftest.$ac_ext
26718 cat >>conftest.$ac_ext <<_ACEOF
26719 /* end confdefs.h. */
26724 rm -f conftest.$ac_objext
26725 if { (ac_try="$ac_compile"
26726 case "(($ac_try" in
26727 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26728 *) ac_try_echo
=$ac_try;;
26730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26731 (eval "$ac_compile") 2>conftest.er1
26733 grep -v '^ *+' conftest.er1
>conftest.err
26735 cat conftest.err
>&5
26736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26737 (exit $ac_status); } && {
26738 test -z "$ac_c_werror_flag" ||
26739 test ! -s conftest.err
26740 } && test -s conftest.
$ac_objext; then
26741 ac_cv_header_png_h
=yes
26743 echo "$as_me: failed program was:" >&5
26744 sed 's/^/| /' conftest.
$ac_ext >&5
26746 ac_cv_header_png_h
=no
26749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26751 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26752 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26756 if test "$ac_cv_header_png_h" = "yes"; then
26757 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26758 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26759 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26760 echo $ECHO_N "(cached) $ECHO_C" >&6
26762 ac_check_lib_save_LIBS
=$LIBS
26763 LIBS
="-lpng -lz -lm $LIBS"
26764 cat >conftest.
$ac_ext <<_ACEOF
26767 cat confdefs.h
>>conftest.
$ac_ext
26768 cat >>conftest.
$ac_ext <<_ACEOF
26769 /* end confdefs.h. */
26771 /* Override any GCC internal prototype to avoid an error.
26772 Use char because int might match the return type of a GCC
26773 builtin and then its argument prototype would still apply. */
26777 char png_check_sig ();
26781 return png_check_sig ();
26786 rm -f conftest.
$ac_objext conftest
$ac_exeext
26787 if { (ac_try
="$ac_link"
26788 case "(($ac_try" in
26789 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26790 *) ac_try_echo=$ac_try;;
26792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26793 (eval "$ac_link") 2>conftest.er1
26795 grep -v '^ *+' conftest.er1 >conftest.err
26797 cat conftest.err >&5
26798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799 (exit $ac_status); } && {
26800 test -z "$ac_c_werror_flag" ||
26801 test ! -s conftest.err
26802 } && test -s conftest$ac_exeext &&
26803 $as_test_x conftest$ac_exeext; then
26804 ac_cv_lib_png_png_check_sig=yes
26806 echo "$as_me: failed program was:" >&5
26807 sed 's/^/| /' conftest.$ac_ext >&5
26809 ac_cv_lib_png_png_check_sig=no
26812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26813 conftest$ac_exeext conftest.$ac_ext
26814 LIBS=$ac_check_lib_save_LIBS
26816 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26817 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26818 if test $ac_cv_lib_png_png_check_sig = yes; then
26819 PNG_LINK=" -lpng -lz"
26824 if test "x$PNG_LINK" = "x" ; then
26825 if test "$wxUSE_LIBPNG" = "sys" ; then
26826 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26827 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26828 { (exit 1); exit 1; }; }
26830 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26831 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26832 wxUSE_LIBPNG=builtin
26843 if test "$wxUSE_LIBJPEG" != "no" ; then
26844 cat >>confdefs.h <<\_ACEOF
26845 #define wxUSE_LIBJPEG 1
26849 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26850 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26851 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26855 if test "$wxUSE_MGL" != 1 ; then
26856 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26857 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26858 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26859 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26860 echo $ECHO_N "(cached) $ECHO_C" >&6
26862 cat >conftest.$ac_ext <<_ACEOF
26865 cat confdefs.h >>conftest.$ac_ext
26866 cat >>conftest.$ac_ext <<_ACEOF
26867 /* end confdefs.h. */
26869 #undef HAVE_STDLIB_H
26871 #include <jpeglib.h>
26882 rm -f conftest.$ac_objext
26883 if { (ac_try="$ac_compile"
26884 case "(($ac_try" in
26885 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26886 *) ac_try_echo
=$ac_try;;
26888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26889 (eval "$ac_compile") 2>conftest.er1
26891 grep -v '^ *+' conftest.er1
>conftest.err
26893 cat conftest.err
>&5
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); } && {
26896 test -z "$ac_c_werror_flag" ||
26897 test ! -s conftest.err
26898 } && test -s conftest.
$ac_objext; then
26899 ac_cv_header_jpeglib_h
=yes
26901 echo "$as_me: failed program was:" >&5
26902 sed 's/^/| /' conftest.
$ac_ext >&5
26904 ac_cv_header_jpeglib_h
=no
26908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26912 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26913 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26915 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26916 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26917 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26918 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26919 echo $ECHO_N "(cached) $ECHO_C" >&6
26921 ac_check_lib_save_LIBS
=$LIBS
26922 LIBS
="-ljpeg $LIBS"
26923 cat >conftest.
$ac_ext <<_ACEOF
26926 cat confdefs.h
>>conftest.
$ac_ext
26927 cat >>conftest.
$ac_ext <<_ACEOF
26928 /* end confdefs.h. */
26930 /* Override any GCC internal prototype to avoid an error.
26931 Use char because int might match the return type of a GCC
26932 builtin and then its argument prototype would still apply. */
26936 char jpeg_read_header ();
26940 return jpeg_read_header ();
26945 rm -f conftest.
$ac_objext conftest
$ac_exeext
26946 if { (ac_try
="$ac_link"
26947 case "(($ac_try" in
26948 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26949 *) ac_try_echo=$ac_try;;
26951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26952 (eval "$ac_link") 2>conftest.er1
26954 grep -v '^ *+' conftest.er1 >conftest.err
26956 cat conftest.err >&5
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); } && {
26959 test -z "$ac_c_werror_flag" ||
26960 test ! -s conftest.err
26961 } && test -s conftest$ac_exeext &&
26962 $as_test_x conftest$ac_exeext; then
26963 ac_cv_lib_jpeg_jpeg_read_header=yes
26965 echo "$as_me: failed program was:" >&5
26966 sed 's/^/| /' conftest.$ac_ext >&5
26968 ac_cv_lib_jpeg_jpeg_read_header=no
26971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26972 conftest$ac_exeext conftest.$ac_ext
26973 LIBS=$ac_check_lib_save_LIBS
26975 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26976 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26977 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26978 JPEG_LINK=" -ljpeg"
26983 if test "x$JPEG_LINK" = "x" ; then
26984 if test "$wxUSE_LIBJPEG" = "sys" ; then
26985 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26986 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26987 { (exit 1); exit 1; }; }
26989 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26990 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26991 wxUSE_LIBJPEG=builtin
26996 if test "$wxUSE_MSW" = 1; then
26997 { echo "$as_me:$LINENO: checking for boolean" >&5
26998 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26999 if test "${ac_cv_type_boolean+set}" = set; then
27000 echo $ECHO_N "(cached) $ECHO_C" >&6
27002 cat >conftest.$ac_ext <<_ACEOF
27005 cat confdefs.h >>conftest.$ac_ext
27006 cat >>conftest.$ac_ext <<_ACEOF
27007 /* end confdefs.h. */
27008 #include <windows.h>
27010 typedef boolean ac__type_new_;
27014 if ((ac__type_new_ *) 0)
27016 if (sizeof (ac__type_new_))
27022 rm -f conftest.$ac_objext
27023 if { (ac_try="$ac_compile"
27024 case "(($ac_try" in
27025 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27026 *) ac_try_echo
=$ac_try;;
27028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27029 (eval "$ac_compile") 2>conftest.er1
27031 grep -v '^ *+' conftest.er1
>conftest.err
27033 cat conftest.err
>&5
27034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27035 (exit $ac_status); } && {
27036 test -z "$ac_c_werror_flag" ||
27037 test ! -s conftest.err
27038 } && test -s conftest.
$ac_objext; then
27039 ac_cv_type_boolean
=yes
27041 echo "$as_me: failed program was:" >&5
27042 sed 's/^/| /' conftest.
$ac_ext >&5
27044 ac_cv_type_boolean
=no
27047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27049 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27050 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27051 if test $ac_cv_type_boolean = yes; then
27053 cat >>confdefs.h
<<_ACEOF
27054 #define HAVE_BOOLEAN 1
27058 { echo "$as_me:$LINENO: checking for boolean" >&5
27059 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27060 if test "${ac_cv_type_boolean+set}" = set; then
27061 echo $ECHO_N "(cached) $ECHO_C" >&6
27063 cat >conftest.
$ac_ext <<_ACEOF
27066 cat confdefs.h
>>conftest.
$ac_ext
27067 cat >>conftest.
$ac_ext <<_ACEOF
27068 /* end confdefs.h. */
27070 #undef HAVE_BOOLEAN
27072 #include <jpeglib.h>
27075 typedef boolean ac__type_new_;
27079 if ((ac__type_new_ *) 0)
27081 if (sizeof (ac__type_new_))
27087 rm -f conftest.
$ac_objext
27088 if { (ac_try
="$ac_compile"
27089 case "(($ac_try" in
27090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27091 *) ac_try_echo=$ac_try;;
27093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27094 (eval "$ac_compile") 2>conftest.er1
27096 grep -v '^ *+' conftest.er1 >conftest.err
27098 cat conftest.err >&5
27099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27100 (exit $ac_status); } && {
27101 test -z "$ac_c_werror_flag" ||
27102 test ! -s conftest.err
27103 } && test -s conftest.$ac_objext; then
27104 ac_cv_type_boolean=yes
27106 echo "$as_me: failed program was:" >&5
27107 sed 's/^/| /' conftest.$ac_ext >&5
27109 ac_cv_type_boolean=no
27112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27114 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27115 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27117 # The cast to long int works around a bug in the HP C Compiler
27118 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27119 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27120 # This bug is HP SR number 8606223364.
27121 { echo "$as_me:$LINENO: checking size of boolean" >&5
27122 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27123 if test "${ac_cv_sizeof_boolean+set}" = set; then
27124 echo $ECHO_N "(cached) $ECHO_C" >&6
27126 if test "$cross_compiling" = yes; then
27127 # Depending upon the size, compute the lo and hi bounds.
27128 cat >conftest.$ac_ext <<_ACEOF
27131 cat confdefs.h >>conftest.$ac_ext
27132 cat >>conftest.$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27135 #undef HAVE_BOOLEAN
27137 #include <jpeglib.h>
27140 typedef boolean ac__type_sizeof_;
27144 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27151 rm -f conftest.$ac_objext
27152 if { (ac_try="$ac_compile"
27153 case "(($ac_try" in
27154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27155 *) ac_try_echo=$ac_try;;
27157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27158 (eval "$ac_compile") 2>conftest.er1
27160 grep -v '^
*+' conftest.er1 >conftest.err
27162 cat conftest.err >&5
27163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27164 (exit $ac_status); } && {
27165 test -z "$ac_c_werror_flag" ||
27166 test ! -s conftest.err
27167 } && test -s conftest.$ac_objext; then
27170 cat >conftest.$ac_ext <<_ACEOF
27173 cat confdefs.h >>conftest.$ac_ext
27174 cat >>conftest.$ac_ext <<_ACEOF
27175 /* end confdefs.h. */
27177 #undef HAVE_BOOLEAN
27179 #include <jpeglib.h>
27182 typedef boolean ac__type_sizeof_;
27186 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27193 rm -f conftest.$ac_objext
27194 if { (ac_try="$ac_compile"
27195 case "(($ac_try" in
27196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27197 *) ac_try_echo=$ac_try;;
27199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27200 (eval "$ac_compile") 2>conftest.er1
27202 grep -v '^
*+' conftest.er1 >conftest.err
27204 cat conftest.err >&5
27205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27206 (exit $ac_status); } && {
27207 test -z "$ac_c_werror_flag" ||
27208 test ! -s conftest.err
27209 } && test -s conftest.$ac_objext; then
27210 ac_hi=$ac_mid; break
27212 echo "$as_me: failed program was:" >&5
27213 sed 's
/^
/| /' conftest.$ac_ext >&5
27215 ac_lo=`expr $ac_mid + 1`
27216 if test $ac_lo -le $ac_mid; then
27220 ac_mid=`expr 2 '*' $ac_mid + 1`
27223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27226 echo "$as_me: failed program was:" >&5
27227 sed 's
/^
/| /' conftest.$ac_ext >&5
27229 cat >conftest.$ac_ext <<_ACEOF
27232 cat confdefs.h >>conftest.$ac_ext
27233 cat >>conftest.$ac_ext <<_ACEOF
27234 /* end confdefs.h. */
27236 #undef HAVE_BOOLEAN
27238 #include <jpeglib.h>
27241 typedef boolean ac__type_sizeof_;
27245 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27252 rm -f conftest.$ac_objext
27253 if { (ac_try="$ac_compile"
27254 case "(($ac_try" in
27255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27256 *) ac_try_echo=$ac_try;;
27258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27259 (eval "$ac_compile") 2>conftest.er1
27261 grep -v '^
*+' conftest.er1 >conftest.err
27263 cat conftest.err >&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); } && {
27266 test -z "$ac_c_werror_flag" ||
27267 test ! -s conftest.err
27268 } && test -s conftest.$ac_objext; then
27271 cat >conftest.$ac_ext <<_ACEOF
27274 cat confdefs.h >>conftest.$ac_ext
27275 cat >>conftest.$ac_ext <<_ACEOF
27276 /* end confdefs.h. */
27278 #undef HAVE_BOOLEAN
27280 #include <jpeglib.h>
27283 typedef boolean ac__type_sizeof_;
27287 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27294 rm -f conftest.$ac_objext
27295 if { (ac_try="$ac_compile"
27296 case "(($ac_try" in
27297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27298 *) ac_try_echo=$ac_try;;
27300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27301 (eval "$ac_compile") 2>conftest.er1
27303 grep -v '^
*+' conftest.er1 >conftest.err
27305 cat conftest.err >&5
27306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27307 (exit $ac_status); } && {
27308 test -z "$ac_c_werror_flag" ||
27309 test ! -s conftest.err
27310 } && test -s conftest.$ac_objext; then
27311 ac_lo=$ac_mid; break
27313 echo "$as_me: failed program was:" >&5
27314 sed 's
/^
/| /' conftest.$ac_ext >&5
27316 ac_hi=`expr '(' $ac_mid ')' - 1`
27317 if test $ac_mid -le $ac_hi; then
27321 ac_mid=`expr 2 '*' $ac_mid`
27324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27327 echo "$as_me: failed program was:" >&5
27328 sed 's
/^
/| /' conftest.$ac_ext >&5
27333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27337 # Binary search between lo and hi bounds.
27338 while test "x$ac_lo" != "x$ac_hi"; do
27339 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27340 cat >conftest.$ac_ext <<_ACEOF
27343 cat confdefs.h >>conftest.$ac_ext
27344 cat >>conftest.$ac_ext <<_ACEOF
27345 /* end confdefs.h. */
27347 #undef HAVE_BOOLEAN
27349 #include <jpeglib.h>
27352 typedef boolean ac__type_sizeof_;
27356 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27363 rm -f conftest.$ac_objext
27364 if { (ac_try="$ac_compile"
27365 case "(($ac_try" in
27366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27367 *) ac_try_echo=$ac_try;;
27369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27370 (eval "$ac_compile") 2>conftest.er1
27372 grep -v '^
*+' conftest.er1 >conftest.err
27374 cat conftest.err >&5
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); } && {
27377 test -z "$ac_c_werror_flag" ||
27378 test ! -s conftest.err
27379 } && test -s conftest.$ac_objext; then
27382 echo "$as_me: failed program was:" >&5
27383 sed 's
/^
/| /' conftest.$ac_ext >&5
27385 ac_lo=`expr '(' $ac_mid ')' + 1`
27388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27391 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27392 '') if test "$ac_cv_type_boolean" = yes; then
27393 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27394 See \`config.log' for more details.
" >&5
27395 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27396 See \
`config.log' for more details." >&2;}
27397 { (exit 77); exit 77; }; }
27399 ac_cv_sizeof_boolean=0
27403 cat >conftest.$ac_ext <<_ACEOF
27406 cat confdefs.h >>conftest.$ac_ext
27407 cat >>conftest.$ac_ext <<_ACEOF
27408 /* end confdefs.h. */
27410 #undef HAVE_BOOLEAN
27412 #include <jpeglib.h>
27415 typedef boolean ac__type_sizeof_;
27416 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27417 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27419 #include <stdlib.h>
27424 FILE *f = fopen ("conftest.val", "w");
27427 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27429 long int i = longval ();
27430 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27432 fprintf (f, "%ld\n", i);
27436 unsigned long int i = ulongval ();
27437 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27439 fprintf (f, "%lu\n", i);
27441 return ferror (f) || fclose (f) != 0;
27447 rm -f conftest$ac_exeext
27448 if { (ac_try="$ac_link"
27449 case "(($ac_try" in
27450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27451 *) ac_try_echo
=$ac_try;;
27453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27454 (eval "$ac_link") 2>&5
27456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27457 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27458 { (case "(($ac_try" in
27459 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27460 *) ac_try_echo=$ac_try;;
27462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27463 (eval "$ac_try") 2>&5
27465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466 (exit $ac_status); }; }; then
27467 ac_cv_sizeof_boolean=`cat conftest.val
`
27469 echo "$as_me: program exited with status $ac_status" >&5
27470 echo "$as_me: failed program was:" >&5
27471 sed 's/^/| /' conftest.$ac_ext >&5
27473 ( exit $ac_status )
27474 if test "$ac_cv_type_boolean" = yes; then
27475 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27476 See \`config.log
' for more details." >&5
27477 echo "$as_me: error: cannot compute sizeof (boolean)
27478 See \`config.log' for more details.
" >&2;}
27479 { (exit 77); exit 77; }; }
27481 ac_cv_sizeof_boolean=0
27484 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27488 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27489 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27493 cat >>confdefs.h <<_ACEOF
27494 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27498 cat >>confdefs.h <<_ACEOF
27499 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27513 TIFF_PREREQ_LINKS=-lm
27514 if test "$wxUSE_LIBTIFF" != "no
" ; then
27515 cat >>confdefs.h <<\_ACEOF
27516 #define wxUSE_LIBTIFF 1
27520 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27521 if test "$wxUSE_LIBJPEG" = "sys
"; then
27522 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27524 if test "$wxUSE_ZLIB" = "sys
"; then
27525 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27527 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27528 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27529 if test "${ac_cv_header_tiffio_h+set}" = set; then
27530 echo $ECHO_N "(cached
) $ECHO_C" >&6
27532 cat >conftest.$ac_ext <<_ACEOF
27535 cat confdefs.h >>conftest.$ac_ext
27536 cat >>conftest.$ac_ext <<_ACEOF
27537 /* end confdefs.h. */
27541 #include <tiffio.h>
27543 rm -f conftest.$ac_objext
27544 if { (ac_try="$ac_compile"
27545 case "(($ac_try" in
27546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27547 *) ac_try_echo=$ac_try;;
27549 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27550 (eval "$ac_compile") 2>conftest.er1
27552 grep -v '^ *+' conftest.er1 >conftest.err
27554 cat conftest.err >&5
27555 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27556 (exit $ac_status); } && {
27557 test -z "$ac_c_werror_flag" ||
27558 test ! -s conftest.err
27559 } && test -s conftest.$ac_objext; then
27560 ac_cv_header_tiffio_h=yes
27562 echo "$as_me: failed program was
:" >&5
27563 sed 's/^/| /' conftest.$ac_ext >&5
27565 ac_cv_header_tiffio_h=no
27568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27570 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27571 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27572 if test $ac_cv_header_tiffio_h = yes; then
27574 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27575 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27576 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27577 echo $ECHO_N "(cached
) $ECHO_C" >&6
27579 ac_check_lib_save_LIBS=$LIBS
27580 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27581 cat >conftest.$ac_ext <<_ACEOF
27584 cat confdefs.h >>conftest.$ac_ext
27585 cat >>conftest.$ac_ext <<_ACEOF
27586 /* end confdefs.h. */
27588 /* Override any GCC internal prototype to avoid an error.
27589 Use char because int might match the return type of a GCC
27590 builtin and then its argument prototype would still apply. */
27598 return TIFFError ();
27603 rm -f conftest.$ac_objext conftest$ac_exeext
27604 if { (ac_try="$ac_link"
27605 case "(($ac_try" in
27606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27607 *) ac_try_echo=$ac_try;;
27609 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27610 (eval "$ac_link") 2>conftest.er1
27612 grep -v '^ *+' conftest.er1 >conftest.err
27614 cat conftest.err >&5
27615 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27616 (exit $ac_status); } && {
27617 test -z "$ac_c_werror_flag" ||
27618 test ! -s conftest.err
27619 } && test -s conftest$ac_exeext &&
27620 $as_test_x conftest$ac_exeext; then
27621 ac_cv_lib_tiff_TIFFError=yes
27623 echo "$as_me: failed program was
:" >&5
27624 sed 's/^/| /' conftest.$ac_ext >&5
27626 ac_cv_lib_tiff_TIFFError=no
27629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27630 conftest$ac_exeext conftest.$ac_ext
27631 LIBS=$ac_check_lib_save_LIBS
27633 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27634 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27635 if test $ac_cv_lib_tiff_TIFFError = yes; then
27636 TIFF_LINK=" -ltiff"
27644 if test "x
$TIFF_LINK" = "x
" ; then
27645 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27646 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27647 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27648 { (exit 1); exit 1; }; }
27650 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27651 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27652 wxUSE_LIBTIFF=builtin
27658 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27659 if test "$wxUSE_LIBJPEG" = "no
"; then
27660 ac_configure_args="$ac_configure_args --disable-jpeg"
27662 subdirs="$subdirs src
/tiff
"
27668 if test "$wxUSE_WCHAR_T" != "yes"; then
27669 if test "$wxUSE_EXPAT" != "no
"; then
27670 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27671 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27674 if test "$wxUSE_XML" != "no
"; then
27675 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27676 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27681 if test "$wxUSE_EXPAT" != "no
"; then
27683 cat >>confdefs.h <<\_ACEOF
27684 #define wxUSE_EXPAT 1
27687 cat >>confdefs.h <<\_ACEOF
27688 #define wxUSE_XML 1
27692 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27693 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27694 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27695 if test "${ac_cv_header_expat_h+set}" = set; then
27696 echo $ECHO_N "(cached
) $ECHO_C" >&6
27698 cat >conftest.$ac_ext <<_ACEOF
27701 cat confdefs.h >>conftest.$ac_ext
27702 cat >>conftest.$ac_ext <<_ACEOF
27703 /* end confdefs.h. */
27708 rm -f conftest.$ac_objext
27709 if { (ac_try="$ac_compile"
27710 case "(($ac_try" in
27711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27712 *) ac_try_echo=$ac_try;;
27714 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27715 (eval "$ac_compile") 2>conftest.er1
27717 grep -v '^ *+' conftest.er1 >conftest.err
27719 cat conftest.err >&5
27720 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27721 (exit $ac_status); } && {
27722 test -z "$ac_c_werror_flag" ||
27723 test ! -s conftest.err
27724 } && test -s conftest.$ac_objext; then
27725 ac_cv_header_expat_h=yes
27727 echo "$as_me: failed program was
:" >&5
27728 sed 's/^/| /' conftest.$ac_ext >&5
27730 ac_cv_header_expat_h=no
27733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27735 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27736 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27737 if test $ac_cv_header_expat_h = yes; then
27742 if test "x
$found_expat_h" = "x1
"; then
27743 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27744 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27745 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27746 echo $ECHO_N "(cached
) $ECHO_C" >&6
27750 ac_cpp='$CXXCPP $CPPFLAGS'
27751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27755 cat >conftest.$ac_ext <<_ACEOF
27758 cat confdefs.h >>conftest.$ac_ext
27759 cat >>conftest.$ac_ext <<_ACEOF
27760 /* end confdefs.h. */
27770 rm -f conftest.$ac_objext
27771 if { (ac_try="$ac_compile"
27772 case "(($ac_try" in
27773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27774 *) ac_try_echo=$ac_try;;
27776 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27777 (eval "$ac_compile") 2>conftest.er1
27779 grep -v '^ *+' conftest.er1 >conftest.err
27781 cat conftest.err >&5
27782 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27783 (exit $ac_status); } && {
27784 test -z "$ac_cxx_werror_flag" ||
27785 test ! -s conftest.err
27786 } && test -s conftest.$ac_objext; then
27787 wx_cv_expat_is_not_broken=yes
27789 echo "$as_me: failed program was
:" >&5
27790 sed 's/^/| /' conftest.$ac_ext >&5
27792 wx_cv_expat_is_not_broken=no
27796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27798 ac_cpp='$CPP $CPPFLAGS'
27799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27806 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27807 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27808 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27809 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27810 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27811 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27812 echo $ECHO_N "(cached
) $ECHO_C" >&6
27814 ac_check_lib_save_LIBS=$LIBS
27815 LIBS="-lexpat $LIBS"
27816 cat >conftest.$ac_ext <<_ACEOF
27819 cat confdefs.h >>conftest.$ac_ext
27820 cat >>conftest.$ac_ext <<_ACEOF
27821 /* end confdefs.h. */
27823 /* Override any GCC internal prototype to avoid an error.
27824 Use char because int might match the return type of a GCC
27825 builtin and then its argument prototype would still apply. */
27829 char XML_ParserCreate ();
27833 return XML_ParserCreate ();
27838 rm -f conftest.$ac_objext conftest$ac_exeext
27839 if { (ac_try="$ac_link"
27840 case "(($ac_try" in
27841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27842 *) ac_try_echo=$ac_try;;
27844 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27845 (eval "$ac_link") 2>conftest.er1
27847 grep -v '^ *+' conftest.er1 >conftest.err
27849 cat conftest.err >&5
27850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27851 (exit $ac_status); } && {
27852 test -z "$ac_c_werror_flag" ||
27853 test ! -s conftest.err
27854 } && test -s conftest$ac_exeext &&
27855 $as_test_x conftest$ac_exeext; then
27856 ac_cv_lib_expat_XML_ParserCreate=yes
27858 echo "$as_me: failed program was
:" >&5
27859 sed 's/^/| /' conftest.$ac_ext >&5
27861 ac_cv_lib_expat_XML_ParserCreate=no
27864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27865 conftest$ac_exeext conftest.$ac_ext
27866 LIBS=$ac_check_lib_save_LIBS
27868 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27869 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27870 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27871 EXPAT_LINK=" -lexpat"
27876 if test "x
$EXPAT_LINK" = "x
" ; then
27877 if test "$wxUSE_EXPAT" = "sys
" ; then
27878 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27879 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27880 { (exit 1); exit 1; }; }
27882 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27883 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27884 wxUSE_EXPAT=builtin
27890 if test "$wxUSE_EXPAT" = "builtin" ; then
27891 subdirs="$subdirs src
/expat
"
27898 if test "$wxUSE_LIBMSPACK" != "no
"; then
27899 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27900 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27901 if test "${ac_cv_header_mspack_h+set}" = set; then
27902 echo $ECHO_N "(cached
) $ECHO_C" >&6
27904 cat >conftest.$ac_ext <<_ACEOF
27907 cat confdefs.h >>conftest.$ac_ext
27908 cat >>conftest.$ac_ext <<_ACEOF
27909 /* end confdefs.h. */
27912 #include <mspack.h>
27914 rm -f conftest.$ac_objext
27915 if { (ac_try="$ac_compile"
27916 case "(($ac_try" in
27917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27918 *) ac_try_echo=$ac_try;;
27920 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27921 (eval "$ac_compile") 2>conftest.er1
27923 grep -v '^ *+' conftest.er1 >conftest.err
27925 cat conftest.err >&5
27926 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27927 (exit $ac_status); } && {
27928 test -z "$ac_c_werror_flag" ||
27929 test ! -s conftest.err
27930 } && test -s conftest.$ac_objext; then
27931 ac_cv_header_mspack_h=yes
27933 echo "$as_me: failed program was
:" >&5
27934 sed 's/^/| /' conftest.$ac_ext >&5
27936 ac_cv_header_mspack_h=no
27939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27941 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27942 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27943 if test $ac_cv_header_mspack_h = yes; then
27948 if test "x
$found_mspack_h" = "x1
"; then
27949 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27950 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27951 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27952 echo $ECHO_N "(cached
) $ECHO_C" >&6
27954 ac_check_lib_save_LIBS=$LIBS
27955 LIBS="-lmspack $LIBS"
27956 cat >conftest.$ac_ext <<_ACEOF
27959 cat confdefs.h >>conftest.$ac_ext
27960 cat >>conftest.$ac_ext <<_ACEOF
27961 /* end confdefs.h. */
27963 /* Override any GCC internal prototype to avoid an error.
27964 Use char because int might match the return type of a GCC
27965 builtin and then its argument prototype would still apply. */
27969 char mspack_create_chm_decompressor ();
27973 return mspack_create_chm_decompressor ();
27978 rm -f conftest.$ac_objext conftest$ac_exeext
27979 if { (ac_try="$ac_link"
27980 case "(($ac_try" in
27981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27982 *) ac_try_echo=$ac_try;;
27984 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27985 (eval "$ac_link") 2>conftest.er1
27987 grep -v '^ *+' conftest.er1 >conftest.err
27989 cat conftest.err >&5
27990 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27991 (exit $ac_status); } && {
27992 test -z "$ac_c_werror_flag" ||
27993 test ! -s conftest.err
27994 } && test -s conftest$ac_exeext &&
27995 $as_test_x conftest$ac_exeext; then
27996 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27998 echo "$as_me: failed program was
:" >&5
27999 sed 's/^/| /' conftest.$ac_ext >&5
28001 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28005 conftest$ac_exeext conftest.$ac_ext
28006 LIBS=$ac_check_lib_save_LIBS
28008 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28009 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28010 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28011 MSPACK_LINK=" -lmspack"
28015 if test "x
$MSPACK_LINK" = "x
" ; then
28020 if test "$wxUSE_LIBMSPACK" != "no
"; then
28021 cat >>confdefs.h <<\_ACEOF
28022 #define wxUSE_LIBMSPACK 1
28036 if test "$USE_WIN32" = 1 ; then
28038 for ac_header in w32api.h
28040 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28041 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28042 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28043 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28044 echo $ECHO_N "(cached
) $ECHO_C" >&6
28046 cat >conftest.$ac_ext <<_ACEOF
28049 cat confdefs.h >>conftest.$ac_ext
28050 cat >>conftest.$ac_ext <<_ACEOF
28051 /* end confdefs.h. */
28054 #include <$ac_header>
28056 rm -f conftest.$ac_objext
28057 if { (ac_try="$ac_compile"
28058 case "(($ac_try" in
28059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28060 *) ac_try_echo=$ac_try;;
28062 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28063 (eval "$ac_compile") 2>conftest.er1
28065 grep -v '^ *+' conftest.er1 >conftest.err
28067 cat conftest.err >&5
28068 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28069 (exit $ac_status); } && {
28070 test -z "$ac_c_werror_flag" ||
28071 test ! -s conftest.err
28072 } && test -s conftest.$ac_objext; then
28073 eval "$as_ac_Header=yes"
28075 echo "$as_me: failed program was
:" >&5
28076 sed 's/^/| /' conftest.$ac_ext >&5
28078 eval "$as_ac_Header=no
"
28081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28083 ac_res=`eval echo '${'$as_ac_Header'}'`
28084 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28085 echo "${ECHO_T}$ac_res" >&6; }
28086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28087 cat >>confdefs.h <<_ACEOF
28088 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28095 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28096 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28097 if test "${ac_cv_header_windows_h+set}" = set; then
28098 echo $ECHO_N "(cached
) $ECHO_C" >&6
28100 cat >conftest.$ac_ext <<_ACEOF
28103 cat confdefs.h >>conftest.$ac_ext
28104 cat >>conftest.$ac_ext <<_ACEOF
28105 /* end confdefs.h. */
28108 #include <windows.h>
28110 rm -f conftest.$ac_objext
28111 if { (ac_try="$ac_compile"
28112 case "(($ac_try" in
28113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28114 *) ac_try_echo=$ac_try;;
28116 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28117 (eval "$ac_compile") 2>conftest.er1
28119 grep -v '^ *+' conftest.er1 >conftest.err
28121 cat conftest.err >&5
28122 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28123 (exit $ac_status); } && {
28124 test -z "$ac_c_werror_flag" ||
28125 test ! -s conftest.err
28126 } && test -s conftest.$ac_objext; then
28127 ac_cv_header_windows_h=yes
28129 echo "$as_me: failed program was
:" >&5
28130 sed 's/^/| /' conftest.$ac_ext >&5
28132 ac_cv_header_windows_h=no
28135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28137 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28138 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28139 if test $ac_cv_header_windows_h = yes; then
28143 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28144 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28145 { (exit 1); exit 1; }; }
28152 x86_64-*-mingw32* )
28153 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28156 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28159 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28160 LIBS="$LIBS -loleacc"
28165 LIBS="$LIBS -lkernel32 -luser32"
28168 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28169 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28171 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28173 WIN32INSTALL=win32install
28175 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28176 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28177 if test "${ac_cv_header_pbt_h+set}" = set; then
28178 echo $ECHO_N "(cached
) $ECHO_C" >&6
28180 cat >conftest.$ac_ext <<_ACEOF
28183 cat confdefs.h >>conftest.$ac_ext
28184 cat >>conftest.$ac_ext <<_ACEOF
28185 /* end confdefs.h. */
28190 rm -f conftest.$ac_objext
28191 if { (ac_try="$ac_compile"
28192 case "(($ac_try" in
28193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28194 *) ac_try_echo=$ac_try;;
28196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28197 (eval "$ac_compile") 2>conftest.er1
28199 grep -v '^ *+' conftest.er1 >conftest.err
28201 cat conftest.err >&5
28202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28203 (exit $ac_status); } && {
28204 test -z "$ac_c_werror_flag" ||
28205 test ! -s conftest.err
28206 } && test -s conftest.$ac_objext; then
28207 ac_cv_header_pbt_h=yes
28209 echo "$as_me: failed program was
:" >&5
28210 sed 's/^/| /' conftest.$ac_ext >&5
28212 ac_cv_header_pbt_h=no
28215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28217 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28218 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28219 if test $ac_cv_header_pbt_h = yes; then
28222 cat >>confdefs.h <<\_ACEOF
28223 #define NEED_PBT_H 1
28231 if test "$wxUSE_GUI" = "yes"; then
28241 if test "$wxUSE_COCOA" = 1 ; then
28242 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28243 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28244 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28245 wxUSE_PRINTING_ARCHITECTURE=no
28247 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28248 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28249 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28250 wxUSE_DRAG_AND_DROP=no
28252 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28253 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28254 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28259 if test "$wxUSE_MSW" = 1 ; then
28265 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28269 if test "$wxUSE_GTK" = 1; then
28270 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28271 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28273 gtk_version_cached=1
28274 if test "${wx_cv_lib_gtk+set}" = set; then
28275 echo $ECHO_N "(cached
) $ECHO_C" >&6
28278 gtk_version_cached=0
28279 { echo "$as_me:$LINENO: result
: " >&5
28280 echo "${ECHO_T}" >&6; }
28283 if test "$wxUSE_THREADS" = "yes"; then
28284 GTK_MODULES=gthread
28288 if test "x
$wxGTK_VERSION" != "x1
"
28292 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28297 # Check whether --enable-gtktest was given.
28298 if test "${enable_gtktest+set}" = set; then
28299 enableval=$enable_gtktest;
28305 pkg_config_args=gtk+-2.0
28306 for module in . $GTK_MODULES
28310 pkg_config_args="$pkg_config_args gthread
-2.0
"
28317 # Extract the first word of "pkg
-config", so it can be a program name with args.
28318 set dummy pkg-config; ac_word=$2
28319 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28320 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28321 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28322 echo $ECHO_N "(cached
) $ECHO_C" >&6
28324 case $PKG_CONFIG in
28326 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28330 for as_dir in $PATH
28333 test -z "$as_dir" && as_dir=.
28334 for ac_exec_ext in '' $ac_executable_extensions; do
28335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28336 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28337 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28344 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28348 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28349 if test -n "$PKG_CONFIG"; then
28350 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28351 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28353 { echo "$as_me:$LINENO: result
: no
" >&5
28354 echo "${ECHO_T}no
" >&6; }
28359 if test x$PKG_CONFIG != xno ; then
28360 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28363 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28371 min_gtk_version=2.4.0
28372 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28373 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28375 if test x$PKG_CONFIG != xno ; then
28376 ## don't try to run the test against uninstalled libtool libs
28377 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28378 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28382 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28389 if test x"$no_gtk" = x ; then
28390 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28391 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28392 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28393 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28394 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28395 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28396 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28397 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28398 if test "x
$enable_gtktest" = "xyes
" ; then
28399 ac_save_CFLAGS="$CFLAGS"
28400 ac_save_LIBS="$LIBS"
28401 CFLAGS="$CFLAGS $GTK_CFLAGS"
28402 LIBS="$GTK_LIBS $LIBS"
28404 if test "$cross_compiling" = yes; then
28405 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28407 cat >conftest.$ac_ext <<_ACEOF
28410 cat confdefs.h >>conftest.$ac_ext
28411 cat >>conftest.$ac_ext <<_ACEOF
28412 /* end confdefs.h. */
28414 #include <gtk/gtk.h>
28416 #include <stdlib.h>
28421 int major, minor, micro;
28424 system ("touch conf.gtktest
");
28426 /* HP/UX 9 (%@#!) writes to sscanf strings */
28427 tmp_version = g_strdup("$min_gtk_version");
28428 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28429 printf("%s
, bad version string
\n", "$min_gtk_version");
28433 if ((gtk_major_version != $gtk_config_major_version) ||
28434 (gtk_minor_version != $gtk_config_minor_version) ||
28435 (gtk_micro_version != $gtk_config_micro_version))
28437 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28438 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28439 gtk_major_version, gtk_minor_version, gtk_micro_version);
28440 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28441 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28442 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28443 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28444 printf("*** required on your system.
\n");
28445 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28446 printf("*** to point to the correct configuration files
\n");
28448 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28449 (gtk_minor_version != GTK_MINOR_VERSION) ||
28450 (gtk_micro_version != GTK_MICRO_VERSION))
28452 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28453 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28454 printf("*** library
(version
%d.
%d.
%d
)\n",
28455 gtk_major_version, gtk_minor_version, gtk_micro_version);
28459 if ((gtk_major_version > major) ||
28460 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28461 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28467 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28468 gtk_major_version, gtk_minor_version, gtk_micro_version);
28469 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28470 major, minor, micro);
28471 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28473 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28474 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28475 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28476 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28477 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28478 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28479 printf("*** so that the correct libraries are found
at run
-time))\n");
28486 rm -f conftest$ac_exeext
28487 if { (ac_try="$ac_link"
28488 case "(($ac_try" in
28489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28490 *) ac_try_echo=$ac_try;;
28492 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28493 (eval "$ac_link") 2>&5
28495 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28496 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28497 { (case "(($ac_try" in
28498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28499 *) ac_try_echo=$ac_try;;
28501 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28502 (eval "$ac_try") 2>&5
28504 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28505 (exit $ac_status); }; }; then
28508 echo "$as_me: program exited with status
$ac_status" >&5
28509 echo "$as_me: failed program was
:" >&5
28510 sed 's/^/| /' conftest.$ac_ext >&5
28512 ( exit $ac_status )
28515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28519 CFLAGS="$ac_save_CFLAGS"
28520 LIBS="$ac_save_LIBS"
28523 if test "x
$no_gtk" = x ; then
28524 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28525 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28528 { echo "$as_me:$LINENO: result
: no
" >&5
28529 echo "${ECHO_T}no
" >&6; }
28530 if test "$PKG_CONFIG" = "no
" ; then
28531 echo "*** A new enough version of pkg
-config was not found.
"
28532 echo "*** See http
://pkgconfig.sourceforge.net
"
28534 if test -f conf.gtktest ; then
28537 echo "*** Could not run GTK
+ test program
, checking why...
"
28538 ac_save_CFLAGS="$CFLAGS"
28539 ac_save_LIBS="$LIBS"
28540 CFLAGS="$CFLAGS $GTK_CFLAGS"
28541 LIBS="$LIBS $GTK_LIBS"
28542 cat >conftest.$ac_ext <<_ACEOF
28545 cat confdefs.h >>conftest.$ac_ext
28546 cat >>conftest.$ac_ext <<_ACEOF
28547 /* end confdefs.h. */
28549 #include <gtk/gtk.h>
28555 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28560 rm -f conftest.$ac_objext conftest$ac_exeext
28561 if { (ac_try="$ac_link"
28562 case "(($ac_try" in
28563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28564 *) ac_try_echo=$ac_try;;
28566 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28567 (eval "$ac_link") 2>conftest.er1
28569 grep -v '^ *+' conftest.er1 >conftest.err
28571 cat conftest.err >&5
28572 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28573 (exit $ac_status); } && {
28574 test -z "$ac_c_werror_flag" ||
28575 test ! -s conftest.err
28576 } && test -s conftest$ac_exeext &&
28577 $as_test_x conftest$ac_exeext; then
28578 echo "*** The
test program compiled
, but did not run. This usually means
"
28579 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28580 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28581 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28582 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28583 echo "*** is required on your system"
28585 echo "*** If you have an old version installed, it is best to remove it, although"
28586 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28588 echo "$as_me: failed program was:" >&5
28589 sed 's
/^
/| /' conftest.$ac_ext >&5
28591 echo "*** The test program failed to compile or link. See the file config.log for the"
28592 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28596 conftest$ac_exeext conftest.$ac_ext
28597 CFLAGS="$ac_save_CFLAGS"
28598 LIBS="$ac_save_LIBS"
28612 if test "$wxUSE_SHARED" != "yes"; then
28613 GTK_LIBS="$GTK_LIBS -lX11"
28618 if test -z "$wx_cv_lib_gtk"; then
28619 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28621 # Check whether --with-gtk-prefix was given.
28622 if test "${with_gtk_prefix+set}" = set; then
28623 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28625 gtk_config_prefix=""
28629 # Check whether --with-gtk-exec-prefix was given.
28630 if test "${with_gtk_exec_prefix+set}" = set; then
28631 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28633 gtk_config_exec_prefix=""
28636 # Check whether --enable-gtktest was given.
28637 if test "${enable_gtktest+set}" = set; then
28638 enableval=$enable_gtktest;
28644 for module in . $GTK_MODULES
28648 gtk_config_args="$gtk_config_args gthread"
28653 if test x$gtk_config_exec_prefix != x ; then
28654 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28655 if test x${GTK_CONFIG+set} != xset ; then
28656 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28659 if test x$gtk_config_prefix != x ; then
28660 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28661 if test x${GTK_CONFIG+set} != xset ; then
28662 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28666 # Extract the first word of "gtk-config", so it can be a program name with args.
28667 set dummy gtk-config; ac_word=$2
28668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28670 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28671 echo $ECHO_N "(cached) $ECHO_C" >&6
28673 case $GTK_CONFIG in
28675 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28679 for as_dir in $PATH
28682 test -z "$as_dir" && as_dir=.
28683 for ac_exec_ext in '' $ac_executable_extensions; do
28684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28685 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28693 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28697 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28698 if test -n "$GTK_CONFIG"; then
28699 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28700 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28702 { echo "$as_me:$LINENO: result: no" >&5
28703 echo "${ECHO_T}no" >&6; }
28707 min_gtk_version=1.2.7
28708 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28709 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28711 if test "$GTK_CONFIG" = "no" ; then
28714 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28715 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28716 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28717 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28718 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28719 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28720 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28721 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28722 if test "x$enable_gtktest" = "xyes" ; then
28723 ac_save_CFLAGS="$CFLAGS"
28724 ac_save_LIBS="$LIBS"
28725 CFLAGS="$CFLAGS $GTK_CFLAGS"
28726 LIBS="$GTK_LIBS $LIBS"
28728 if test "$cross_compiling" = yes; then
28729 echo $ac_n "cross compiling; assumed OK... $ac_c"
28731 cat >conftest.$ac_ext <<_ACEOF
28734 cat confdefs.h >>conftest.$ac_ext
28735 cat >>conftest.$ac_ext <<_ACEOF
28736 /* end confdefs.h. */
28738 #include <gtk/gtk.h>
28740 #include <stdlib.h>
28745 int major, minor, micro;
28748 system ("touch conf.gtktest");
28750 /* HP/UX 9 (%@#!) writes to sscanf strings */
28751 tmp_version = g_strdup("$min_gtk_version");
28752 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28753 printf("%s, bad version string\n", "$min_gtk_version");
28757 if ((gtk_major_version != $gtk_config_major_version) ||
28758 (gtk_minor_version != $gtk_config_minor_version) ||
28759 (gtk_micro_version != $gtk_config_micro_version))
28761 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28762 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28763 gtk_major_version, gtk_minor_version, gtk_micro_version);
28764 printf ("*** was found! If gtk-config was correct, then it is best\n");
28765 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28766 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28767 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28768 printf("*** required on your system.\n");
28769 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28770 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28771 printf("*** before re-running configure\n");
28773 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28774 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28775 (gtk_minor_version != GTK_MINOR_VERSION) ||
28776 (gtk_micro_version != GTK_MICRO_VERSION))
28778 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28779 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28780 printf("*** library (version %d.%d.%d)\n",
28781 gtk_major_version, gtk_minor_version, gtk_micro_version);
28783 #endif /* defined (GTK_MAJOR_VERSION) ... */
28786 if ((gtk_major_version > major) ||
28787 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28788 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28794 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28795 gtk_major_version, gtk_minor_version, gtk_micro_version);
28796 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28797 major, minor, micro);
28798 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28800 printf("*** If you have already installed a sufficiently new version, this error\n");
28801 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28802 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28803 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28804 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28805 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28806 printf("*** so that the correct libraries are found at run-time))\n");
28813 rm -f conftest$ac_exeext
28814 if { (ac_try="$ac_link"
28815 case "(($ac_try" in
28816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28817 *) ac_try_echo=$ac_try;;
28819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28820 (eval "$ac_link") 2>&5
28822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28823 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28824 { (case "(($ac_try" in
28825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28826 *) ac_try_echo=$ac_try;;
28828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28829 (eval "$ac_try") 2>&5
28831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 (exit $ac_status); }; }; then
28835 echo "$as_me: program exited with status $ac_status" >&5
28836 echo "$as_me: failed program was:" >&5
28837 sed 's
/^
/| /' conftest.$ac_ext >&5
28839 ( exit $ac_status )
28842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28846 CFLAGS="$ac_save_CFLAGS"
28847 LIBS="$ac_save_LIBS"
28850 if test "x$no_gtk" = x ; then
28851 { echo "$as_me:$LINENO: result: yes" >&5
28852 echo "${ECHO_T}yes" >&6; }
28853 wx_cv_lib_gtk=1.2.7
28855 { echo "$as_me:$LINENO: result: no" >&5
28856 echo "${ECHO_T}no" >&6; }
28857 if test "$GTK_CONFIG" = "no" ; then
28858 echo "*** The gtk-config script installed by GTK could not be found"
28859 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28860 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28861 echo "*** full path to gtk-config."
28863 if test -f conf.gtktest ; then
28866 echo "*** Could not run GTK test program, checking why..."
28867 CFLAGS="$CFLAGS $GTK_CFLAGS"
28868 LIBS="$LIBS $GTK_LIBS"
28869 cat >conftest.$ac_ext <<_ACEOF
28872 cat confdefs.h >>conftest.$ac_ext
28873 cat >>conftest.$ac_ext <<_ACEOF
28874 /* end confdefs.h. */
28876 #include <gtk/gtk.h>
28882 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28887 rm -f conftest.$ac_objext conftest$ac_exeext
28888 if { (ac_try="$ac_link"
28889 case "(($ac_try" in
28890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28891 *) ac_try_echo=$ac_try;;
28893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28894 (eval "$ac_link") 2>conftest.er1
28896 grep -v '^
*+' conftest.er1 >conftest.err
28898 cat conftest.err >&5
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); } && {
28901 test -z "$ac_c_werror_flag" ||
28902 test ! -s conftest.err
28903 } && test -s conftest$ac_exeext &&
28904 $as_test_x conftest$ac_exeext; then
28905 echo "*** The test program compiled, but did not run. This usually means"
28906 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28907 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28908 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28909 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28910 echo "*** is required on your system
"
28912 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28913 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28915 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28916 echo "*** came with the system with the
command"
28918 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28920 echo "$as_me: failed program was
:" >&5
28921 sed 's/^/| /' conftest.$ac_ext >&5
28923 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28924 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28925 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28926 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28930 conftest$ac_exeext conftest.$ac_ext
28931 CFLAGS="$ac_save_CFLAGS"
28932 LIBS="$ac_save_LIBS"
28944 if test -z "$wx_cv_lib_gtk"; then
28946 # Check whether --with-gtk-prefix was given.
28947 if test "${with_gtk_prefix+set}" = set; then
28948 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28950 gtk_config_prefix=""
28954 # Check whether --with-gtk-exec-prefix was given.
28955 if test "${with_gtk_exec_prefix+set}" = set; then
28956 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28958 gtk_config_exec_prefix=""
28961 # Check whether --enable-gtktest was given.
28962 if test "${enable_gtktest+set}" = set; then
28963 enableval=$enable_gtktest;
28969 for module in . $GTK_MODULES
28973 gtk_config_args="$gtk_config_args gthread
"
28978 if test x$gtk_config_exec_prefix != x ; then
28979 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28980 if test x${GTK_CONFIG+set} != xset ; then
28981 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28984 if test x$gtk_config_prefix != x ; then
28985 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28986 if test x${GTK_CONFIG+set} != xset ; then
28987 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28991 # Extract the first word of "gtk
-config", so it can be a program name with args.
28992 set dummy gtk-config; ac_word=$2
28993 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28994 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28995 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28996 echo $ECHO_N "(cached
) $ECHO_C" >&6
28998 case $GTK_CONFIG in
29000 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29004 for as_dir in $PATH
29007 test -z "$as_dir" && as_dir=.
29008 for ac_exec_ext in '' $ac_executable_extensions; do
29009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29010 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29011 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29018 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29022 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29023 if test -n "$GTK_CONFIG"; then
29024 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29025 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29027 { echo "$as_me:$LINENO: result
: no
" >&5
29028 echo "${ECHO_T}no
" >&6; }
29032 min_gtk_version=1.2.3
29033 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29034 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29036 if test "$GTK_CONFIG" = "no
" ; then
29039 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29040 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29041 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29042 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29043 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29044 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29045 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29046 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29047 if test "x
$enable_gtktest" = "xyes
" ; then
29048 ac_save_CFLAGS="$CFLAGS"
29049 ac_save_LIBS="$LIBS"
29050 CFLAGS="$CFLAGS $GTK_CFLAGS"
29051 LIBS="$GTK_LIBS $LIBS"
29053 if test "$cross_compiling" = yes; then
29054 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29056 cat >conftest.$ac_ext <<_ACEOF
29059 cat confdefs.h >>conftest.$ac_ext
29060 cat >>conftest.$ac_ext <<_ACEOF
29061 /* end confdefs.h. */
29063 #include <gtk/gtk.h>
29065 #include <stdlib.h>
29070 int major, minor, micro;
29073 system ("touch conf.gtktest
");
29075 /* HP/UX 9 (%@#!) writes to sscanf strings */
29076 tmp_version = g_strdup("$min_gtk_version");
29077 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29078 printf("%s
, bad version string
\n", "$min_gtk_version");
29082 if ((gtk_major_version != $gtk_config_major_version) ||
29083 (gtk_minor_version != $gtk_config_minor_version) ||
29084 (gtk_micro_version != $gtk_config_micro_version))
29086 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29087 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29088 gtk_major_version, gtk_minor_version, gtk_micro_version);
29089 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29090 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29091 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29092 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29093 printf("*** required on your system.
\n");
29094 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29095 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29096 printf("*** before re
-running configure
\n");
29098 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29099 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29100 (gtk_minor_version != GTK_MINOR_VERSION) ||
29101 (gtk_micro_version != GTK_MICRO_VERSION))
29103 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29104 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29105 printf("*** library
(version
%d.
%d.
%d
)\n",
29106 gtk_major_version, gtk_minor_version, gtk_micro_version);
29108 #endif /* defined (GTK_MAJOR_VERSION) ... */
29111 if ((gtk_major_version > major) ||
29112 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29113 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29119 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29120 gtk_major_version, gtk_minor_version, gtk_micro_version);
29121 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29122 major, minor, micro);
29123 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29125 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29126 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29127 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29128 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29129 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29130 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29131 printf("*** so that the correct libraries are found
at run
-time))\n");
29138 rm -f conftest$ac_exeext
29139 if { (ac_try="$ac_link"
29140 case "(($ac_try" in
29141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29142 *) ac_try_echo=$ac_try;;
29144 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29145 (eval "$ac_link") 2>&5
29147 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29148 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29149 { (case "(($ac_try" in
29150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29151 *) ac_try_echo=$ac_try;;
29153 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29154 (eval "$ac_try") 2>&5
29156 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29157 (exit $ac_status); }; }; then
29160 echo "$as_me: program exited with status
$ac_status" >&5
29161 echo "$as_me: failed program was
:" >&5
29162 sed 's/^/| /' conftest.$ac_ext >&5
29164 ( exit $ac_status )
29167 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29171 CFLAGS="$ac_save_CFLAGS"
29172 LIBS="$ac_save_LIBS"
29175 if test "x
$no_gtk" = x ; then
29176 { echo "$as_me:$LINENO: result
: yes" >&5
29177 echo "${ECHO_T}yes" >&6; }
29178 wx_cv_lib_gtk=1.2.3
29180 { echo "$as_me:$LINENO: result
: no
" >&5
29181 echo "${ECHO_T}no
" >&6; }
29182 if test "$GTK_CONFIG" = "no
" ; then
29183 echo "*** The gtk
-config script installed by GTK could not be found
"
29184 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29185 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29186 echo "*** full path to gtk
-config.
"
29188 if test -f conf.gtktest ; then
29191 echo "*** Could not run GTK
test program
, checking why...
"
29192 CFLAGS="$CFLAGS $GTK_CFLAGS"
29193 LIBS="$LIBS $GTK_LIBS"
29194 cat >conftest.$ac_ext <<_ACEOF
29197 cat confdefs.h >>conftest.$ac_ext
29198 cat >>conftest.$ac_ext <<_ACEOF
29199 /* end confdefs.h. */
29201 #include <gtk/gtk.h>
29207 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29212 rm -f conftest.$ac_objext conftest$ac_exeext
29213 if { (ac_try="$ac_link"
29214 case "(($ac_try" in
29215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29216 *) ac_try_echo=$ac_try;;
29218 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29219 (eval "$ac_link") 2>conftest.er1
29221 grep -v '^ *+' conftest.er1 >conftest.err
29223 cat conftest.err >&5
29224 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29225 (exit $ac_status); } && {
29226 test -z "$ac_c_werror_flag" ||
29227 test ! -s conftest.err
29228 } && test -s conftest$ac_exeext &&
29229 $as_test_x conftest$ac_exeext; then
29230 echo "*** The
test program compiled
, but did not run. This usually means
"
29231 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29232 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29233 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29234 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29235 echo "*** is required on your system"
29237 echo "*** If you have an old version installed, it is best to remove it, although"
29238 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29240 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29241 echo "*** came with the system with the command"
29243 echo "*** rpm --erase --nodeps gtk gtk-devel"
29245 echo "$as_me: failed program was:" >&5
29246 sed 's
/^
/| /' conftest.$ac_ext >&5
29248 echo "*** The test program failed to compile or link. See the file config.log for the"
29249 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29250 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29251 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29255 conftest$ac_exeext conftest.$ac_ext
29256 CFLAGS="$ac_save_CFLAGS"
29257 LIBS="$ac_save_LIBS"
29272 if test -z "$wx_cv_lib_gtk"; then
29275 wx_cv_cflags_gtk=$GTK_CFLAGS
29276 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29283 if test "$gtk_version_cached" = 1; then
29284 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29285 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29288 case "$wx_cv_lib_gtk" in
29297 *) { { echo "$as_me:$LINENO: error:
29298 The development files for GTK+ were not found. For GTK+ 2, please
29299 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29300 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29301 and that the version is 1.2.3 or above. Also check that the
29302 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29303 --libs' are in the LD_LIBRARY_PATH or equivalent.
29305 echo "$as_me: error:
29306 The development files for GTK+ were not found. For GTK+ 2, please
29307 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29308 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29309 and that the version is 1.2.3 or above. Also check that the
29310 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29311 --libs' are in the LD_LIBRARY_PATH or equivalent.
29313 { (exit 1); exit 1; }; }
29317 if test "$WXGTK2" = 1; then
29318 save_CFLAGS="$CFLAGS"
29320 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29321 LIBS="$LIBS $wx_cv_libs_gtk"
29323 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29324 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29325 cat >conftest.$ac_ext <<_ACEOF
29328 cat confdefs.h >>conftest.$ac_ext
29329 cat >>conftest.$ac_ext <<_ACEOF
29330 /* end confdefs.h. */
29332 #include <gtk/gtk.h>
29338 #if !GTK_CHECK_VERSION(2,10,0)
29346 rm -f conftest.$ac_objext
29347 if { (ac_try="$ac_compile"
29348 case "(($ac_try" in
29349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29350 *) ac_try_echo=$ac_try;;
29352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29353 (eval "$ac_compile") 2>conftest.er1
29355 grep -v '^
*+' conftest.er1 >conftest.err
29357 cat conftest.err >&5
29358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359 (exit $ac_status); } && {
29360 test -z "$ac_c_werror_flag" ||
29361 test ! -s conftest.err
29362 } && test -s conftest.$ac_objext; then
29364 cat >>confdefs.h <<\_ACEOF
29365 #define __WXGTK210__ 1
29368 cat >>confdefs.h <<\_ACEOF
29369 #define __WXGTK26__ 1
29372 { echo "$as_me:$LINENO: result: yes" >&5
29373 echo "${ECHO_T}yes" >&6; }
29377 echo "$as_me: failed program was:" >&5
29378 sed 's
/^
/| /' conftest.$ac_ext >&5
29381 { echo "$as_me:$LINENO: result: no" >&5
29382 echo "${ECHO_T}no" >&6; }
29387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29389 if test "$ac_wxgtk210" = 0; then
29390 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29391 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29392 cat >conftest.$ac_ext <<_ACEOF
29395 cat confdefs.h >>conftest.$ac_ext
29396 cat >>conftest.$ac_ext <<_ACEOF
29397 /* end confdefs.h. */
29399 #include <gtk/gtk.h>
29405 #if !GTK_CHECK_VERSION(2,6,0)
29413 rm -f conftest.$ac_objext
29414 if { (ac_try="$ac_compile"
29415 case "(($ac_try" in
29416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29417 *) ac_try_echo=$ac_try;;
29419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29420 (eval "$ac_compile") 2>conftest.er1
29422 grep -v '^
*+' conftest.er1 >conftest.err
29424 cat conftest.err >&5
29425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29426 (exit $ac_status); } && {
29427 test -z "$ac_c_werror_flag" ||
29428 test ! -s conftest.err
29429 } && test -s conftest.$ac_objext; then
29431 cat >>confdefs.h <<\_ACEOF
29432 #define __WXGTK26__ 1
29435 { echo "$as_me:$LINENO: result: yes" >&5
29436 echo "${ECHO_T}yes" >&6; }
29440 echo "$as_me: failed program was:" >&5
29441 sed 's
/^
/| /' conftest.$ac_ext >&5
29444 { echo "$as_me:$LINENO: result: no" >&5
29445 echo "${ECHO_T}no" >&6; }
29450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29453 CFLAGS="$save_CFLAGS"
29456 if test "$wxUSE_UNICODE" = "yes"; then
29457 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29458 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29462 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29463 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29464 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29465 echo $ECHO_N "(cached) $ECHO_C" >&6
29467 ac_check_lib_save_LIBS=$LIBS
29469 cat >conftest.$ac_ext <<_ACEOF
29472 cat confdefs.h >>conftest.$ac_ext
29473 cat >>conftest.$ac_ext <<_ACEOF
29474 /* end confdefs.h. */
29476 /* Override any GCC internal prototype to avoid an error.
29477 Use char because int might match the return type of a GCC
29478 builtin and then its argument prototype would still apply. */
29482 char gdk_im_open ();
29486 return gdk_im_open ();
29491 rm -f conftest.$ac_objext conftest$ac_exeext
29492 if { (ac_try="$ac_link"
29493 case "(($ac_try" in
29494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29495 *) ac_try_echo=$ac_try;;
29497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29498 (eval "$ac_link") 2>conftest.er1
29500 grep -v '^
*+' conftest.er1 >conftest.err
29502 cat conftest.err >&5
29503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29504 (exit $ac_status); } && {
29505 test -z "$ac_c_werror_flag" ||
29506 test ! -s conftest.err
29507 } && test -s conftest$ac_exeext &&
29508 $as_test_x conftest$ac_exeext; then
29509 ac_cv_lib_gdk_gdk_im_open=yes
29511 echo "$as_me: failed program was:" >&5
29512 sed 's
/^
/| /' conftest.$ac_ext >&5
29514 ac_cv_lib_gdk_gdk_im_open=no
29517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29518 conftest$ac_exeext conftest.$ac_ext
29519 LIBS=$ac_check_lib_save_LIBS
29521 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29522 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29523 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29524 cat >>confdefs.h <<\_ACEOF
29531 if test "$USE_DARWIN" != 1; then
29533 for ac_func in poll
29535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29536 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29538 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29539 echo $ECHO_N "(cached) $ECHO_C" >&6
29541 cat >conftest.$ac_ext <<_ACEOF
29544 cat confdefs.h >>conftest.$ac_ext
29545 cat >>conftest.$ac_ext <<_ACEOF
29546 /* end confdefs.h. */
29547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29549 #define $ac_func innocuous_$ac_func
29551 /* System header to define __stub macros and hopefully few prototypes,
29552 which can conflict with char $ac_func (); below.
29553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29554 <limits.h> exists even on freestanding compilers. */
29557 # include <limits.h>
29559 # include <assert.h>
29564 /* Override any GCC internal prototype to avoid an error.
29565 Use char because int might match the return type of a GCC
29566 builtin and then its argument prototype would still apply. */
29571 /* The GNU C library defines this for functions which it implements
29572 to always fail with ENOSYS. Some functions are actually named
29573 something starting with __ and the normal name is an alias. */
29574 #if defined __stub_$ac_func || defined __stub___$ac_func
29581 return $ac_func ();
29586 rm -f conftest.$ac_objext conftest$ac_exeext
29587 if { (ac_try="$ac_link"
29588 case "(($ac_try" in
29589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29590 *) ac_try_echo=$ac_try;;
29592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29593 (eval "$ac_link") 2>conftest.er1
29595 grep -v '^
*+' conftest.er1 >conftest.err
29597 cat conftest.err >&5
29598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29599 (exit $ac_status); } && {
29600 test -z "$ac_c_werror_flag" ||
29601 test ! -s conftest.err
29602 } && test -s conftest$ac_exeext &&
29603 $as_test_x conftest$ac_exeext; then
29604 eval "$as_ac_var=yes"
29606 echo "$as_me: failed program was:" >&5
29607 sed 's
/^
/| /' conftest.$ac_ext >&5
29609 eval "$as_ac_var=no"
29612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29613 conftest$ac_exeext conftest.$ac_ext
29615 ac_res=`eval echo '${'$as_ac_var'}'`
29616 { echo "$as_me:$LINENO: result: $ac_res" >&5
29617 echo "${ECHO_T}$ac_res" >&6; }
29618 if test `eval echo '${'$as_ac_var'}'` = yes; then
29619 cat >>confdefs.h <<_ACEOF
29620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29629 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29630 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29632 AFMINSTALL=afminstall
29636 if test "$wxUSE_GPE" = "yes"; then
29637 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29638 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29641 for ac_dir in $SEARCH_LIB;
29643 for ac_extension in a so sl dylib dll.a; do
29644 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29645 ac_find_libraries=$ac_dir
29651 if test "$ac_find_libraries" != "" ; then
29653 if test "$ac_find_libraries" = "default location"; then
29656 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29658 if test $result = 0; then
29661 ac_path_to_link=" -L$ac_find_libraries"
29665 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29667 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29668 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29670 { echo "$as_me:$LINENO: result: not found" >&5
29671 echo "${ECHO_T}not found" >&6; }
29677 if test "$wxUSE_MGL" = 1; then
29678 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29679 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29680 if test "x$MGL_ROOT" = x ; then
29681 { echo "$as_me:$LINENO: result: not found" >&5
29682 echo "${ECHO_T}not found" >&6; }
29683 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29684 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29685 { (exit 1); exit 1; }; }
29687 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29688 echo "${ECHO_T}$MGL_ROOT" >&6; }
29691 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29692 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29695 if test "x$wxUSE_SHARED" = xyes ; then
29696 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29698 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29702 mgl_os_candidates="dos32/dj2"
29705 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29706 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29707 { (exit 1); exit 1; }; }
29713 for mgl_os_i in $mgl_os_candidates ; do
29714 if test "x$mgl_os" = x ; then
29715 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29716 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29717 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29722 if test "x$mgl_lib_type" = x ; then
29723 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29724 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29725 mgl_lib_type=release
29732 if test "x$mgl_os" = x ; then
29733 { echo "$as_me:$LINENO: result: not found" >&5
29734 echo "${ECHO_T}not found" >&6; }
29735 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29736 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29737 { (exit 1); exit 1; }; }
29739 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29740 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29742 wxUSE_UNIVERSAL="yes"
29744 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29745 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29747 AFMINSTALL=afminstall
29752 if test "$wxUSE_DFB" = 1; then
29755 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29756 if test -n "$ac_tool_prefix"; then
29757 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29758 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29761 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29762 echo $ECHO_N "(cached) $ECHO_C" >&6
29764 case $PKG_CONFIG in
29766 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29770 for as_dir in $PATH
29773 test -z "$as_dir" && as_dir=.
29774 for ac_exec_ext in '' $ac_executable_extensions; do
29775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29776 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29787 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29788 if test -n "$PKG_CONFIG"; then
29789 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29790 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29792 { echo "$as_me:$LINENO: result: no" >&5
29793 echo "${ECHO_T}no" >&6; }
29798 if test -z "$ac_cv_path_PKG_CONFIG"; then
29799 ac_pt_PKG_CONFIG=$PKG_CONFIG
29800 # Extract the first word of "pkg-config", so it can be a program name with args.
29801 set dummy pkg-config; ac_word=$2
29802 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29804 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29805 echo $ECHO_N "(cached) $ECHO_C" >&6
29807 case $ac_pt_PKG_CONFIG in
29809 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29813 for as_dir in $PATH
29816 test -z "$as_dir" && as_dir=.
29817 for ac_exec_ext in '' $ac_executable_extensions; do
29818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29819 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29830 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29831 if test -n "$ac_pt_PKG_CONFIG"; then
29832 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29833 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29835 { echo "$as_me:$LINENO: result: no" >&5
29836 echo "${ECHO_T}no" >&6; }
29839 if test "x$ac_pt_PKG_CONFIG" = x; then
29842 case $cross_compiling:$ac_tool_warned in
29844 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29845 whose name does not start with the host triplet. If you think this
29846 configuration is useful to you, please write to autoconf@gnu.org." >&5
29847 echo "$as_me: 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." >&2;}
29850 ac_tool_warned=yes ;;
29852 PKG_CONFIG=$ac_pt_PKG_CONFIG
29855 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29859 if test -n "$PKG_CONFIG"; then
29860 _pkg_min_version=0.9.0
29861 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29862 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29863 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29864 { echo "$as_me:$LINENO: result: yes" >&5
29865 echo "${ECHO_T}yes" >&6; }
29867 { echo "$as_me:$LINENO: result: no" >&5
29868 echo "${ECHO_T}no" >&6; }
29876 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29877 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29879 if test -n "$PKG_CONFIG"; then
29880 if test -n "$DIRECTFB_CFLAGS"; then
29881 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29883 if test -n "$PKG_CONFIG" && \
29884 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29885 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29888 (exit $ac_status); }; then
29889 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29897 if test -n "$PKG_CONFIG"; then
29898 if test -n "$DIRECTFB_LIBS"; then
29899 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29901 if test -n "$PKG_CONFIG" && \
29902 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29903 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); }; then
29907 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29918 if test $pkg_failed = yes; then
29920 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29921 _pkg_short_errors_supported=yes
29923 _pkg_short_errors_supported=no
29925 if test $_pkg_short_errors_supported = yes; then
29926 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29928 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29930 # Put the nasty error message in config.log where it belongs
29931 echo "$DIRECTFB_PKG_ERRORS" >&5
29934 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29935 echo "$as_me: error: DirectFB not found." >&2;}
29936 { (exit 1); exit 1; }; }
29939 elif test $pkg_failed = untried; then
29941 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29942 echo "$as_me: error: DirectFB not found." >&2;}
29943 { (exit 1); exit 1; }; }
29947 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29948 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29949 { echo "$as_me:$LINENO: result: yes" >&5
29950 echo "${ECHO_T}yes" >&6; }
29952 wxUSE_UNIVERSAL="yes"
29953 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29954 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29961 if test "$wxUSE_MICROWIN" = 1; then
29962 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29963 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29964 if test "x$MICROWINDOWS" = x ; then
29965 { echo "$as_me:$LINENO: result: not found" >&5
29966 echo "${ECHO_T}not found" >&6; }
29967 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29968 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29969 { (exit 1); exit 1; }; }
29971 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29972 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29975 if test -f $MICROWINDOWS/lib/libmwin.a; then
29976 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29977 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29979 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29980 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29981 { (exit 1); exit 1; }; }
29984 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29985 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29987 wxUSE_UNIVERSAL="yes"
29989 AFMINSTALL=afminstall
29991 GUIDIST=MICROWIN_DIST
29993 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29996 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29997 { echo "$as_me:$LINENO: checking for X" >&5
29998 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30001 # Check whether --with-x was given.
30002 if test "${with_x+set}" = set; then
30006 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30007 if test "x$with_x" = xno; then
30008 # The user explicitly disabled X.
30011 case $x_includes,$x_libraries in #(
30012 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30013 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30014 { (exit 1); exit 1; }; };; #(
30015 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30016 echo $ECHO_N "(cached) $ECHO_C" >&6
30018 # One or both of the vars are not set, and there is no cached value.
30019 ac_x_includes=no ac_x_libraries=no
30020 rm -f -r conftest.dir
30021 if mkdir conftest.dir; then
30023 cat >Imakefile <<'_ACEOF'
30025 @echo incroot='${INCROOT}'
30027 @echo usrlibdir='${USRLIBDIR}'
30029 @echo libdir='${LIBDIR}'
30031 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30032 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30033 for ac_var in incroot usrlibdir libdir; do
30034 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30036 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30037 for ac_extension in a so sl; do
30038 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30039 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30040 ac_im_usrlibdir=$ac_im_libdir; break
30043 # Screen out bogus values from the imake configuration. They are
30044 # bogus both because they are the default anyway, and because
30045 # using them would break gcc on systems where it needs fixed includes.
30046 case $ac_im_incroot in
30047 /usr/include) ac_x_includes= ;;
30048 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30050 case $ac_im_usrlibdir in
30051 /usr/lib | /lib) ;;
30052 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30056 rm -f -r conftest.dir
30059 # Standard set of common directories for X headers.
30060 # Check X11 before X11Rn because it is often a symlink to the current release.
30072 /usr
/local
/X
11/include
30073 /usr
/local
/X
11R
6/include
30074 /usr
/local
/X
11R
5/include
30075 /usr
/local
/X
11R
4/include
30077 /usr
/local
/include
/X11
30078 /usr
/local
/include
/X11R6
30079 /usr
/local
/include
/X11R5
30080 /usr
/local
/include
/X11R4
30084 /usr
/XFree
86/include
/X11
30088 /usr
/unsupported
/include
30089 /usr
/athena
/include
30090 /usr
/local
/x
11r
5/include
30091 /usr
/lpp
/Xamples
/include
30093 /usr
/openwin
/include
30094 /usr
/openwin
/share
/include
'
30096 if test "$ac_x_includes" = no; then
30097 # Guess where to find include files, by looking for Xlib.h.
30098 # First, try using that file with no special directory specified.
30099 cat >conftest.$ac_ext <<_ACEOF
30102 cat confdefs.h >>conftest.$ac_ext
30103 cat >>conftest.$ac_ext <<_ACEOF
30104 /* end confdefs.h. */
30105 #include <X11/Xlib.h>
30107 if { (ac_try="$ac_cpp conftest.$ac_ext"
30108 case "(($ac_try" in
30109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30110 *) ac_try_echo=$ac_try;;
30112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30113 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30115 grep -v '^
*+' conftest.er1 >conftest.err
30117 cat conftest.err >&5
30118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30119 (exit $ac_status); } >/dev/null && {
30120 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30121 test ! -s conftest.err
30123 # We can compile using X headers with no special include directory.
30126 echo "$as_me: failed program was:" >&5
30127 sed 's
/^
/| /' conftest.$ac_ext >&5
30129 for ac_dir in $ac_x_header_dirs; do
30130 if test -r "$ac_dir/X11/Xlib.h"; then
30131 ac_x_includes=$ac_dir
30137 rm -f conftest.err conftest.$ac_ext
30138 fi # $ac_x_includes = no
30140 if test "$ac_x_libraries" = no; then
30141 # Check for the libraries.
30142 # See if we find them without any special options.
30143 # Don't add to
$LIBS permanently.
30146 cat >conftest.
$ac_ext <<_ACEOF
30149 cat confdefs.h
>>conftest.
$ac_ext
30150 cat >>conftest.
$ac_ext <<_ACEOF
30151 /* end confdefs.h. */
30152 #include <X11/Xlib.h>
30161 rm -f conftest.
$ac_objext conftest
$ac_exeext
30162 if { (ac_try
="$ac_link"
30163 case "(($ac_try" in
30164 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30165 *) ac_try_echo=$ac_try;;
30167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30168 (eval "$ac_link") 2>conftest.er1
30170 grep -v '^ *+' conftest.er1 >conftest.err
30172 cat conftest.err >&5
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); } && {
30175 test -z "$ac_c_werror_flag" ||
30176 test ! -s conftest.err
30177 } && test -s conftest$ac_exeext &&
30178 $as_test_x conftest$ac_exeext; then
30180 # We can link X programs with no special library path.
30183 echo "$as_me: failed program was:" >&5
30184 sed 's/^/| /' conftest.$ac_ext >&5
30187 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30189 # Don't even attempt the hair of trying to link an X program!
30190 for ac_extension in a so sl; do
30191 if test -r "$ac_dir/libX11.$ac_extension"; then
30192 ac_x_libraries=$ac_dir
30199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30200 conftest$ac_exeext conftest.$ac_ext
30201 fi # $ac_x_libraries = no
30203 case $ac_x_includes,$ac_x_libraries in #(
30204 no,* | *,no | *\'*)
30205 # Didn't find X, or a directory has "'" in its name.
30206 ac_cv_have_x="have_x=no";; #(
30208 # Record where we found X for the cache.
30209 ac_cv_have_x="have_x=yes\
30210 ac_x_includes='$ac_x_includes'\
30211 ac_x_libraries='$ac_x_libraries'"
30217 eval "$ac_cv_have_x"
30220 if test "$have_x" != yes; then
30221 { echo "$as_me:$LINENO: result: $have_x" >&5
30222 echo "${ECHO_T}$have_x" >&6; }
30225 # If each of the values was on the command line, it overrides each guess.
30226 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30227 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30228 # Update the cache value to reflect the command line values.
30229 ac_cv_have_x="have_x=yes\
30230 ac_x_includes='$x_includes'\
30231 ac_x_libraries='$x_libraries'"
30232 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30233 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30236 if test "$no_x" = yes; then
30237 # Not all programs may use this symbol, but it does not hurt to define it.
30239 cat >>confdefs.h <<\_ACEOF
30240 #define X_DISPLAY_MISSING 1
30243 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30245 if test -n "$x_includes"; then
30246 X_CFLAGS="$X_CFLAGS -I$x_includes"
30249 # It would also be nice to do this for all -L options, not just this one.
30250 if test -n "$x_libraries"; then
30251 X_LIBS="$X_LIBS -L$x_libraries"
30252 # For Solaris; some versions of Sun CC require a space after -R and
30253 # others require no space. Words are not sufficient . . . .
30254 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30255 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30256 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30257 ac_xsave_c_werror_flag=$ac_c_werror_flag
30258 ac_c_werror_flag=yes
30259 cat >conftest.$ac_ext <<_ACEOF
30262 cat confdefs.h >>conftest.$ac_ext
30263 cat >>conftest.$ac_ext <<_ACEOF
30264 /* end confdefs.h. */
30274 rm -f conftest.$ac_objext conftest$ac_exeext
30275 if { (ac_try="$ac_link"
30276 case "(($ac_try" in
30277 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30278 *) ac_try_echo
=$ac_try;;
30280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30281 (eval "$ac_link") 2>conftest.er1
30283 grep -v '^ *+' conftest.er1
>conftest.err
30285 cat conftest.err
>&5
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); } && {
30288 test -z "$ac_c_werror_flag" ||
30289 test ! -s conftest.err
30290 } && test -s conftest
$ac_exeext &&
30291 $as_test_x conftest
$ac_exeext; then
30292 { echo "$as_me:$LINENO: result: no" >&5
30293 echo "${ECHO_T}no" >&6; }
30294 X_LIBS
="$X_LIBS -R$x_libraries"
30296 echo "$as_me: failed program was:" >&5
30297 sed 's/^/| /' conftest.
$ac_ext >&5
30299 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30300 cat >conftest.
$ac_ext <<_ACEOF
30303 cat confdefs.h
>>conftest.
$ac_ext
30304 cat >>conftest.
$ac_ext <<_ACEOF
30305 /* end confdefs.h. */
30315 rm -f conftest.
$ac_objext conftest
$ac_exeext
30316 if { (ac_try
="$ac_link"
30317 case "(($ac_try" in
30318 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30319 *) ac_try_echo=$ac_try;;
30321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30322 (eval "$ac_link") 2>conftest.er1
30324 grep -v '^ *+' conftest.er1 >conftest.err
30326 cat conftest.err >&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); } && {
30329 test -z "$ac_c_werror_flag" ||
30330 test ! -s conftest.err
30331 } && test -s conftest$ac_exeext &&
30332 $as_test_x conftest$ac_exeext; then
30333 { echo "$as_me:$LINENO: result: yes" >&5
30334 echo "${ECHO_T}yes" >&6; }
30335 X_LIBS="$X_LIBS -R $x_libraries"
30337 echo "$as_me: failed program was:" >&5
30338 sed 's/^/| /' conftest.$ac_ext >&5
30340 { echo "$as_me:$LINENO: result: neither works" >&5
30341 echo "${ECHO_T}neither works" >&6; }
30344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30345 conftest$ac_exeext conftest.$ac_ext
30348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30349 conftest$ac_exeext conftest.$ac_ext
30350 ac_c_werror_flag=$ac_xsave_c_werror_flag
30351 LIBS=$ac_xsave_LIBS
30354 # Check for system-dependent libraries X programs must link with.
30355 # Do this before checking for the system-independent R6 libraries
30356 # (-lICE), since we may need -lsocket or whatever for X linking.
30358 if test "$ISC" = yes; then
30359 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30361 # Martyn Johnson says this is needed for Ultrix, if the X
30362 # libraries were built with DECnet support. And Karl Berry says
30363 # the Alpha needs dnet_stub (dnet does not exist).
30364 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30365 cat >conftest.$ac_ext <<_ACEOF
30368 cat confdefs.h >>conftest.$ac_ext
30369 cat >>conftest.$ac_ext <<_ACEOF
30370 /* end confdefs.h. */
30372 /* Override any GCC internal prototype to avoid an error.
30373 Use char because int might match the return type of a GCC
30374 builtin and then its argument prototype would still apply. */
30378 char XOpenDisplay ();
30382 return XOpenDisplay ();
30387 rm -f conftest.$ac_objext conftest$ac_exeext
30388 if { (ac_try="$ac_link"
30389 case "(($ac_try" in
30390 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30391 *) ac_try_echo
=$ac_try;;
30393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30394 (eval "$ac_link") 2>conftest.er1
30396 grep -v '^ *+' conftest.er1
>conftest.err
30398 cat conftest.err
>&5
30399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30400 (exit $ac_status); } && {
30401 test -z "$ac_c_werror_flag" ||
30402 test ! -s conftest.err
30403 } && test -s conftest
$ac_exeext &&
30404 $as_test_x conftest
$ac_exeext; then
30407 echo "$as_me: failed program was:" >&5
30408 sed 's/^/| /' conftest.
$ac_ext >&5
30410 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30411 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30412 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30413 echo $ECHO_N "(cached) $ECHO_C" >&6
30415 ac_check_lib_save_LIBS
=$LIBS
30416 LIBS
="-ldnet $LIBS"
30417 cat >conftest.
$ac_ext <<_ACEOF
30420 cat confdefs.h
>>conftest.
$ac_ext
30421 cat >>conftest.
$ac_ext <<_ACEOF
30422 /* end confdefs.h. */
30424 /* Override any GCC internal prototype to avoid an error.
30425 Use char because int might match the return type of a GCC
30426 builtin and then its argument prototype would still apply. */
30434 return dnet_ntoa ();
30439 rm -f conftest.
$ac_objext conftest
$ac_exeext
30440 if { (ac_try
="$ac_link"
30441 case "(($ac_try" in
30442 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30443 *) ac_try_echo=$ac_try;;
30445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30446 (eval "$ac_link") 2>conftest.er1
30448 grep -v '^ *+' conftest.er1 >conftest.err
30450 cat conftest.err >&5
30451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30452 (exit $ac_status); } && {
30453 test -z "$ac_c_werror_flag" ||
30454 test ! -s conftest.err
30455 } && test -s conftest$ac_exeext &&
30456 $as_test_x conftest$ac_exeext; then
30457 ac_cv_lib_dnet_dnet_ntoa=yes
30459 echo "$as_me: failed program was:" >&5
30460 sed 's/^/| /' conftest.$ac_ext >&5
30462 ac_cv_lib_dnet_dnet_ntoa=no
30465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30466 conftest$ac_exeext conftest.$ac_ext
30467 LIBS=$ac_check_lib_save_LIBS
30469 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30470 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30471 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30472 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30475 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30476 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30477 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30478 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30479 echo $ECHO_N "(cached) $ECHO_C" >&6
30481 ac_check_lib_save_LIBS=$LIBS
30482 LIBS="-ldnet_stub $LIBS"
30483 cat >conftest.$ac_ext <<_ACEOF
30486 cat confdefs.h >>conftest.$ac_ext
30487 cat >>conftest.$ac_ext <<_ACEOF
30488 /* end confdefs.h. */
30490 /* Override any GCC internal prototype to avoid an error.
30491 Use char because int might match the return type of a GCC
30492 builtin and then its argument prototype would still apply. */
30500 return dnet_ntoa ();
30505 rm -f conftest.$ac_objext conftest$ac_exeext
30506 if { (ac_try="$ac_link"
30507 case "(($ac_try" in
30508 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30509 *) ac_try_echo
=$ac_try;;
30511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30512 (eval "$ac_link") 2>conftest.er1
30514 grep -v '^ *+' conftest.er1
>conftest.err
30516 cat conftest.err
>&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); } && {
30519 test -z "$ac_c_werror_flag" ||
30520 test ! -s conftest.err
30521 } && test -s conftest
$ac_exeext &&
30522 $as_test_x conftest
$ac_exeext; then
30523 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30525 echo "$as_me: failed program was:" >&5
30526 sed 's/^/| /' conftest.
$ac_ext >&5
30528 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30531 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30532 conftest
$ac_exeext conftest.
$ac_ext
30533 LIBS
=$ac_check_lib_save_LIBS
30535 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30536 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30537 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30538 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30544 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30545 conftest
$ac_exeext conftest.
$ac_ext
30546 LIBS
="$ac_xsave_LIBS"
30548 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30549 # to get the SysV transport functions.
30550 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30552 # The nsl library prevents programs from opening the X display
30553 # on Irix 5.2, according to T.E. Dickey.
30554 # The functions gethostbyname, getservbyname, and inet_addr are
30555 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30556 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30557 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30558 if test "${ac_cv_func_gethostbyname+set}" = set; then
30559 echo $ECHO_N "(cached) $ECHO_C" >&6
30561 cat >conftest.
$ac_ext <<_ACEOF
30564 cat confdefs.h
>>conftest.
$ac_ext
30565 cat >>conftest.
$ac_ext <<_ACEOF
30566 /* end confdefs.h. */
30567 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30569 #define gethostbyname innocuous_gethostbyname
30571 /* System header to define __stub macros and hopefully few prototypes,
30572 which can conflict with char gethostbyname (); below.
30573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30574 <limits.h> exists even on freestanding compilers. */
30577 # include <limits.h>
30579 # include <assert.h>
30582 #undef gethostbyname
30584 /* Override any GCC internal prototype to avoid an error.
30585 Use char because int might match the return type of a GCC
30586 builtin and then its argument prototype would still apply. */
30590 char gethostbyname ();
30591 /* The GNU C library defines this for functions which it implements
30592 to always fail with ENOSYS. Some functions are actually named
30593 something starting with __ and the normal name is an alias. */
30594 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30601 return gethostbyname ();
30606 rm -f conftest.
$ac_objext conftest
$ac_exeext
30607 if { (ac_try
="$ac_link"
30608 case "(($ac_try" in
30609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30610 *) ac_try_echo=$ac_try;;
30612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30613 (eval "$ac_link") 2>conftest.er1
30615 grep -v '^ *+' conftest.er1 >conftest.err
30617 cat conftest.err >&5
30618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30619 (exit $ac_status); } && {
30620 test -z "$ac_c_werror_flag" ||
30621 test ! -s conftest.err
30622 } && test -s conftest$ac_exeext &&
30623 $as_test_x conftest$ac_exeext; then
30624 ac_cv_func_gethostbyname=yes
30626 echo "$as_me: failed program was:" >&5
30627 sed 's/^/| /' conftest.$ac_ext >&5
30629 ac_cv_func_gethostbyname=no
30632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30633 conftest$ac_exeext conftest.$ac_ext
30635 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30636 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30638 if test $ac_cv_func_gethostbyname = no; then
30639 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30640 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30641 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30642 echo $ECHO_N "(cached) $ECHO_C" >&6
30644 ac_check_lib_save_LIBS=$LIBS
30646 cat >conftest.$ac_ext <<_ACEOF
30649 cat confdefs.h >>conftest.$ac_ext
30650 cat >>conftest.$ac_ext <<_ACEOF
30651 /* end confdefs.h. */
30653 /* Override any GCC internal prototype to avoid an error.
30654 Use char because int might match the return type of a GCC
30655 builtin and then its argument prototype would still apply. */
30659 char gethostbyname ();
30663 return gethostbyname ();
30668 rm -f conftest.$ac_objext conftest$ac_exeext
30669 if { (ac_try="$ac_link"
30670 case "(($ac_try" in
30671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30672 *) ac_try_echo
=$ac_try;;
30674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30675 (eval "$ac_link") 2>conftest.er1
30677 grep -v '^ *+' conftest.er1
>conftest.err
30679 cat conftest.err
>&5
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); } && {
30682 test -z "$ac_c_werror_flag" ||
30683 test ! -s conftest.err
30684 } && test -s conftest
$ac_exeext &&
30685 $as_test_x conftest
$ac_exeext; then
30686 ac_cv_lib_nsl_gethostbyname
=yes
30688 echo "$as_me: failed program was:" >&5
30689 sed 's/^/| /' conftest.
$ac_ext >&5
30691 ac_cv_lib_nsl_gethostbyname
=no
30694 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30695 conftest
$ac_exeext conftest.
$ac_ext
30696 LIBS
=$ac_check_lib_save_LIBS
30698 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30699 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30700 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30701 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30704 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30705 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30706 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30707 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30708 echo $ECHO_N "(cached) $ECHO_C" >&6
30710 ac_check_lib_save_LIBS
=$LIBS
30712 cat >conftest.
$ac_ext <<_ACEOF
30715 cat confdefs.h
>>conftest.
$ac_ext
30716 cat >>conftest.
$ac_ext <<_ACEOF
30717 /* end confdefs.h. */
30719 /* Override any GCC internal prototype to avoid an error.
30720 Use char because int might match the return type of a GCC
30721 builtin and then its argument prototype would still apply. */
30725 char gethostbyname ();
30729 return gethostbyname ();
30734 rm -f conftest.
$ac_objext conftest
$ac_exeext
30735 if { (ac_try
="$ac_link"
30736 case "(($ac_try" in
30737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30738 *) ac_try_echo=$ac_try;;
30740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30741 (eval "$ac_link") 2>conftest.er1
30743 grep -v '^ *+' conftest.er1 >conftest.err
30745 cat conftest.err >&5
30746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30747 (exit $ac_status); } && {
30748 test -z "$ac_c_werror_flag" ||
30749 test ! -s conftest.err
30750 } && test -s conftest$ac_exeext &&
30751 $as_test_x conftest$ac_exeext; then
30752 ac_cv_lib_bsd_gethostbyname=yes
30754 echo "$as_me: failed program was:" >&5
30755 sed 's/^/| /' conftest.$ac_ext >&5
30757 ac_cv_lib_bsd_gethostbyname=no
30760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30761 conftest$ac_exeext conftest.$ac_ext
30762 LIBS=$ac_check_lib_save_LIBS
30764 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30765 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30766 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30767 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30773 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30774 # socket/setsockopt and other routines are undefined under SCO ODT
30775 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30776 # on later versions), says Simon Leinen: it contains gethostby*
30777 # variants that don't use the name server (or something). -lsocket
30778 # must be given before -lnsl if both are needed. We assume that
30779 # if connect needs -lnsl, so does gethostbyname.
30780 { echo "$as_me:$LINENO: checking for connect" >&5
30781 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30782 if test "${ac_cv_func_connect+set}" = set; then
30783 echo $ECHO_N "(cached) $ECHO_C" >&6
30785 cat >conftest.$ac_ext <<_ACEOF
30788 cat confdefs.h >>conftest.$ac_ext
30789 cat >>conftest.$ac_ext <<_ACEOF
30790 /* end confdefs.h. */
30791 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30793 #define connect innocuous_connect
30795 /* System header to define __stub macros and hopefully few prototypes,
30796 which can conflict with char connect (); below.
30797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30798 <limits.h> exists even on freestanding compilers. */
30801 # include <limits.h>
30803 # include <assert.h>
30808 /* Override any GCC internal prototype to avoid an error.
30809 Use char because int might match the return type of a GCC
30810 builtin and then its argument prototype would still apply. */
30815 /* The GNU C library defines this for functions which it implements
30816 to always fail with ENOSYS. Some functions are actually named
30817 something starting with __ and the normal name is an alias. */
30818 #if defined __stub_connect || defined __stub___connect
30830 rm -f conftest.$ac_objext conftest$ac_exeext
30831 if { (ac_try="$ac_link"
30832 case "(($ac_try" in
30833 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30834 *) ac_try_echo
=$ac_try;;
30836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30837 (eval "$ac_link") 2>conftest.er1
30839 grep -v '^ *+' conftest.er1
>conftest.err
30841 cat conftest.err
>&5
30842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30843 (exit $ac_status); } && {
30844 test -z "$ac_c_werror_flag" ||
30845 test ! -s conftest.err
30846 } && test -s conftest
$ac_exeext &&
30847 $as_test_x conftest
$ac_exeext; then
30848 ac_cv_func_connect
=yes
30850 echo "$as_me: failed program was:" >&5
30851 sed 's/^/| /' conftest.
$ac_ext >&5
30853 ac_cv_func_connect
=no
30856 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30857 conftest
$ac_exeext conftest.
$ac_ext
30859 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30860 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30862 if test $ac_cv_func_connect = no
; then
30863 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30864 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30865 if test "${ac_cv_lib_socket_connect+set}" = set; then
30866 echo $ECHO_N "(cached) $ECHO_C" >&6
30868 ac_check_lib_save_LIBS
=$LIBS
30869 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30870 cat >conftest.
$ac_ext <<_ACEOF
30873 cat confdefs.h
>>conftest.
$ac_ext
30874 cat >>conftest.
$ac_ext <<_ACEOF
30875 /* end confdefs.h. */
30877 /* Override any GCC internal prototype to avoid an error.
30878 Use char because int might match the return type of a GCC
30879 builtin and then its argument prototype would still apply. */
30892 rm -f conftest.
$ac_objext conftest
$ac_exeext
30893 if { (ac_try
="$ac_link"
30894 case "(($ac_try" in
30895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30896 *) ac_try_echo=$ac_try;;
30898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30899 (eval "$ac_link") 2>conftest.er1
30901 grep -v '^ *+' conftest.er1 >conftest.err
30903 cat conftest.err >&5
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); } && {
30906 test -z "$ac_c_werror_flag" ||
30907 test ! -s conftest.err
30908 } && test -s conftest$ac_exeext &&
30909 $as_test_x conftest$ac_exeext; then
30910 ac_cv_lib_socket_connect=yes
30912 echo "$as_me: failed program was:" >&5
30913 sed 's/^/| /' conftest.$ac_ext >&5
30915 ac_cv_lib_socket_connect=no
30918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30919 conftest$ac_exeext conftest.$ac_ext
30920 LIBS=$ac_check_lib_save_LIBS
30922 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30923 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30924 if test $ac_cv_lib_socket_connect = yes; then
30925 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30930 # Guillermo Gomez says -lposix is necessary on A/UX.
30931 { echo "$as_me:$LINENO: checking for remove" >&5
30932 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30933 if test "${ac_cv_func_remove+set}" = set; then
30934 echo $ECHO_N "(cached) $ECHO_C" >&6
30936 cat >conftest.$ac_ext <<_ACEOF
30939 cat confdefs.h >>conftest.$ac_ext
30940 cat >>conftest.$ac_ext <<_ACEOF
30941 /* end confdefs.h. */
30942 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30944 #define remove innocuous_remove
30946 /* System header to define __stub macros and hopefully few prototypes,
30947 which can conflict with char remove (); below.
30948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30949 <limits.h> exists even on freestanding compilers. */
30952 # include <limits.h>
30954 # include <assert.h>
30959 /* Override any GCC internal prototype to avoid an error.
30960 Use char because int might match the return type of a GCC
30961 builtin and then its argument prototype would still apply. */
30966 /* The GNU C library defines this for functions which it implements
30967 to always fail with ENOSYS. Some functions are actually named
30968 something starting with __ and the normal name is an alias. */
30969 #if defined __stub_remove || defined __stub___remove
30981 rm -f conftest.$ac_objext conftest$ac_exeext
30982 if { (ac_try="$ac_link"
30983 case "(($ac_try" in
30984 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30985 *) ac_try_echo
=$ac_try;;
30987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30988 (eval "$ac_link") 2>conftest.er1
30990 grep -v '^ *+' conftest.er1
>conftest.err
30992 cat conftest.err
>&5
30993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994 (exit $ac_status); } && {
30995 test -z "$ac_c_werror_flag" ||
30996 test ! -s conftest.err
30997 } && test -s conftest
$ac_exeext &&
30998 $as_test_x conftest
$ac_exeext; then
30999 ac_cv_func_remove
=yes
31001 echo "$as_me: failed program was:" >&5
31002 sed 's/^/| /' conftest.
$ac_ext >&5
31004 ac_cv_func_remove
=no
31007 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31008 conftest
$ac_exeext conftest.
$ac_ext
31010 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31011 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31013 if test $ac_cv_func_remove = no
; then
31014 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31015 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31016 if test "${ac_cv_lib_posix_remove+set}" = set; then
31017 echo $ECHO_N "(cached) $ECHO_C" >&6
31019 ac_check_lib_save_LIBS
=$LIBS
31020 LIBS
="-lposix $LIBS"
31021 cat >conftest.
$ac_ext <<_ACEOF
31024 cat confdefs.h
>>conftest.
$ac_ext
31025 cat >>conftest.
$ac_ext <<_ACEOF
31026 /* end confdefs.h. */
31028 /* Override any GCC internal prototype to avoid an error.
31029 Use char because int might match the return type of a GCC
31030 builtin and then its argument prototype would still apply. */
31043 rm -f conftest.
$ac_objext conftest
$ac_exeext
31044 if { (ac_try
="$ac_link"
31045 case "(($ac_try" in
31046 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31047 *) ac_try_echo=$ac_try;;
31049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31050 (eval "$ac_link") 2>conftest.er1
31052 grep -v '^ *+' conftest.er1 >conftest.err
31054 cat conftest.err >&5
31055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31056 (exit $ac_status); } && {
31057 test -z "$ac_c_werror_flag" ||
31058 test ! -s conftest.err
31059 } && test -s conftest$ac_exeext &&
31060 $as_test_x conftest$ac_exeext; then
31061 ac_cv_lib_posix_remove=yes
31063 echo "$as_me: failed program was:" >&5
31064 sed 's/^/| /' conftest.$ac_ext >&5
31066 ac_cv_lib_posix_remove=no
31069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31070 conftest$ac_exeext conftest.$ac_ext
31071 LIBS=$ac_check_lib_save_LIBS
31073 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31074 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31075 if test $ac_cv_lib_posix_remove = yes; then
31076 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31081 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31082 { echo "$as_me:$LINENO: checking for shmat" >&5
31083 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31084 if test "${ac_cv_func_shmat+set}" = set; then
31085 echo $ECHO_N "(cached) $ECHO_C" >&6
31087 cat >conftest.$ac_ext <<_ACEOF
31090 cat confdefs.h >>conftest.$ac_ext
31091 cat >>conftest.$ac_ext <<_ACEOF
31092 /* end confdefs.h. */
31093 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31095 #define shmat innocuous_shmat
31097 /* System header to define __stub macros and hopefully few prototypes,
31098 which can conflict with char shmat (); below.
31099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31100 <limits.h> exists even on freestanding compilers. */
31103 # include <limits.h>
31105 # include <assert.h>
31110 /* Override any GCC internal prototype to avoid an error.
31111 Use char because int might match the return type of a GCC
31112 builtin and then its argument prototype would still apply. */
31117 /* The GNU C library defines this for functions which it implements
31118 to always fail with ENOSYS. Some functions are actually named
31119 something starting with __ and the normal name is an alias. */
31120 #if defined __stub_shmat || defined __stub___shmat
31132 rm -f conftest.$ac_objext conftest$ac_exeext
31133 if { (ac_try="$ac_link"
31134 case "(($ac_try" in
31135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31136 *) ac_try_echo
=$ac_try;;
31138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31139 (eval "$ac_link") 2>conftest.er1
31141 grep -v '^ *+' conftest.er1
>conftest.err
31143 cat conftest.err
>&5
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); } && {
31146 test -z "$ac_c_werror_flag" ||
31147 test ! -s conftest.err
31148 } && test -s conftest
$ac_exeext &&
31149 $as_test_x conftest
$ac_exeext; then
31150 ac_cv_func_shmat
=yes
31152 echo "$as_me: failed program was:" >&5
31153 sed 's/^/| /' conftest.
$ac_ext >&5
31155 ac_cv_func_shmat
=no
31158 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31159 conftest
$ac_exeext conftest.
$ac_ext
31161 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31162 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31164 if test $ac_cv_func_shmat = no
; then
31165 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31166 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31167 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31168 echo $ECHO_N "(cached) $ECHO_C" >&6
31170 ac_check_lib_save_LIBS
=$LIBS
31172 cat >conftest.
$ac_ext <<_ACEOF
31175 cat confdefs.h
>>conftest.
$ac_ext
31176 cat >>conftest.
$ac_ext <<_ACEOF
31177 /* end confdefs.h. */
31179 /* Override any GCC internal prototype to avoid an error.
31180 Use char because int might match the return type of a GCC
31181 builtin and then its argument prototype would still apply. */
31194 rm -f conftest.
$ac_objext conftest
$ac_exeext
31195 if { (ac_try
="$ac_link"
31196 case "(($ac_try" in
31197 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31198 *) ac_try_echo=$ac_try;;
31200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31201 (eval "$ac_link") 2>conftest.er1
31203 grep -v '^ *+' conftest.er1 >conftest.err
31205 cat conftest.err >&5
31206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31207 (exit $ac_status); } && {
31208 test -z "$ac_c_werror_flag" ||
31209 test ! -s conftest.err
31210 } && test -s conftest$ac_exeext &&
31211 $as_test_x conftest$ac_exeext; then
31212 ac_cv_lib_ipc_shmat=yes
31214 echo "$as_me: failed program was:" >&5
31215 sed 's/^/| /' conftest.$ac_ext >&5
31217 ac_cv_lib_ipc_shmat=no
31220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31221 conftest$ac_exeext conftest.$ac_ext
31222 LIBS=$ac_check_lib_save_LIBS
31224 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31225 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31226 if test $ac_cv_lib_ipc_shmat = yes; then
31227 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31233 # Check for libraries that X11R6 Xt/Xaw programs need.
31234 ac_save_LDFLAGS=$LDFLAGS
31235 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31236 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31237 # check for ICE first), but we must link in the order -lSM -lICE or
31238 # we get undefined symbols. So assume we have SM if we have ICE.
31239 # These have to be linked with before -lX11, unlike the other
31240 # libraries we check for below, so use a different variable.
31241 # John Interrante, Karl Berry
31242 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31243 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31244 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31245 echo $ECHO_N "(cached) $ECHO_C" >&6
31247 ac_check_lib_save_LIBS=$LIBS
31248 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31249 cat >conftest.$ac_ext <<_ACEOF
31252 cat confdefs.h >>conftest.$ac_ext
31253 cat >>conftest.$ac_ext <<_ACEOF
31254 /* end confdefs.h. */
31256 /* Override any GCC internal prototype to avoid an error.
31257 Use char because int might match the return type of a GCC
31258 builtin and then its argument prototype would still apply. */
31262 char IceConnectionNumber ();
31266 return IceConnectionNumber ();
31271 rm -f conftest.$ac_objext conftest$ac_exeext
31272 if { (ac_try="$ac_link"
31273 case "(($ac_try" in
31274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31275 *) ac_try_echo
=$ac_try;;
31277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31278 (eval "$ac_link") 2>conftest.er1
31280 grep -v '^ *+' conftest.er1
>conftest.err
31282 cat conftest.err
>&5
31283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31284 (exit $ac_status); } && {
31285 test -z "$ac_c_werror_flag" ||
31286 test ! -s conftest.err
31287 } && test -s conftest
$ac_exeext &&
31288 $as_test_x conftest
$ac_exeext; then
31289 ac_cv_lib_ICE_IceConnectionNumber
=yes
31291 echo "$as_me: failed program was:" >&5
31292 sed 's/^/| /' conftest.
$ac_ext >&5
31294 ac_cv_lib_ICE_IceConnectionNumber
=no
31297 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31298 conftest
$ac_exeext conftest.
$ac_ext
31299 LIBS
=$ac_check_lib_save_LIBS
31301 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31302 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31303 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31304 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31307 LDFLAGS
=$ac_save_LDFLAGS
31312 if test "$no_x" = "yes"; then
31313 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31314 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31315 { (exit 1); exit 1; }; }
31318 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31319 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31320 AFMINSTALL
=afminstall
31321 COMPILED_X_PROGRAM
=0
31325 if test "$wxUSE_X11" = 1; then
31326 if test "$wxUSE_NANOX" = "yes"; then
31327 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31328 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31329 if test "x$MICROWIN" = x
; then
31330 { echo "$as_me:$LINENO: result: not found" >&5
31331 echo "${ECHO_T}not found" >&6; }
31332 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31333 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31334 { (exit 1); exit 1; }; }
31336 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31337 echo "${ECHO_T}$MICROWIN" >&6; }
31338 cat >>confdefs.h
<<\_ACEOF
31339 #define wxUSE_NANOX 1
31345 if test "$wxUSE_UNICODE" = "yes"; then
31348 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31349 if test -n "$ac_tool_prefix"; then
31350 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31351 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31354 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31355 echo $ECHO_N "(cached) $ECHO_C" >&6
31357 case $PKG_CONFIG in
31359 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31363 for as_dir
in $PATH
31366 test -z "$as_dir" && as_dir
=.
31367 for ac_exec_ext
in '' $ac_executable_extensions; do
31368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31369 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31380 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31381 if test -n "$PKG_CONFIG"; then
31382 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31383 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31385 { echo "$as_me:$LINENO: result: no" >&5
31386 echo "${ECHO_T}no" >&6; }
31391 if test -z "$ac_cv_path_PKG_CONFIG"; then
31392 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31393 # Extract the first word of "pkg-config", so it can be a program name with args.
31394 set dummy pkg
-config; ac_word
=$2
31395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31397 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31398 echo $ECHO_N "(cached) $ECHO_C" >&6
31400 case $ac_pt_PKG_CONFIG in
31402 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31406 for as_dir
in $PATH
31409 test -z "$as_dir" && as_dir
=.
31410 for ac_exec_ext
in '' $ac_executable_extensions; do
31411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31412 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31423 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31424 if test -n "$ac_pt_PKG_CONFIG"; then
31425 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31426 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31428 { echo "$as_me:$LINENO: result: no" >&5
31429 echo "${ECHO_T}no" >&6; }
31432 if test "x$ac_pt_PKG_CONFIG" = x
; then
31435 case $cross_compiling:$ac_tool_warned in
31437 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31438 whose name does not start with the host triplet. If you think this
31439 configuration is useful to you, please write to autoconf@gnu.org." >&5
31440 echo "$as_me: 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." >&2;}
31443 ac_tool_warned
=yes ;;
31445 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31448 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31452 if test -n "$PKG_CONFIG"; then
31453 _pkg_min_version
=0.9.0
31454 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31455 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31456 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31457 { echo "$as_me:$LINENO: result: yes" >&5
31458 echo "${ECHO_T}yes" >&6; }
31460 { echo "$as_me:$LINENO: result: no" >&5
31461 echo "${ECHO_T}no" >&6; }
31469 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31470 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31472 if test -n "$PKG_CONFIG"; then
31473 if test -n "$PANGOX_CFLAGS"; then
31474 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31476 if test -n "$PKG_CONFIG" && \
31477 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31478 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); }; then
31482 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31490 if test -n "$PKG_CONFIG"; then
31491 if test -n "$PANGOX_LIBS"; then
31492 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31494 if test -n "$PKG_CONFIG" && \
31495 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31496 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); }; then
31500 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31511 if test $pkg_failed = yes; then
31513 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31514 _pkg_short_errors_supported
=yes
31516 _pkg_short_errors_supported
=no
31518 if test $_pkg_short_errors_supported = yes; then
31519 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31521 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31523 # Put the nasty error message in config.log where it belongs
31524 echo "$PANGOX_PKG_ERRORS" >&5
31527 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31528 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31529 { (exit 1); exit 1; }; }
31532 elif test $pkg_failed = untried
; then
31534 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31535 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31536 { (exit 1); exit 1; }; }
31540 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31541 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31542 { echo "$as_me:$LINENO: result: yes" >&5
31543 echo "${ECHO_T}yes" >&6; }
31545 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31546 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31547 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31552 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31553 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31555 if test -n "$PKG_CONFIG"; then
31556 if test -n "$PANGOFT2_CFLAGS"; then
31557 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31559 if test -n "$PKG_CONFIG" && \
31560 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31561 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31564 (exit $ac_status); }; then
31565 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31573 if test -n "$PKG_CONFIG"; then
31574 if test -n "$PANGOFT2_LIBS"; then
31575 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31577 if test -n "$PKG_CONFIG" && \
31578 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31579 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31582 (exit $ac_status); }; then
31583 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31594 if test $pkg_failed = yes; then
31596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31597 _pkg_short_errors_supported
=yes
31599 _pkg_short_errors_supported
=no
31601 if test $_pkg_short_errors_supported = yes; then
31602 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31604 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31606 # Put the nasty error message in config.log where it belongs
31607 echo "$PANGOFT2_PKG_ERRORS" >&5
31610 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31611 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31612 wxUSE_PRINTING_ARCHITECTURE
="no"
31615 elif test $pkg_failed = untried
; then
31617 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31618 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31619 wxUSE_PRINTING_ARCHITECTURE
="no"
31623 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31624 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31625 { echo "$as_me:$LINENO: result: yes" >&5
31626 echo "${ECHO_T}yes" >&6; }
31628 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31629 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31630 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31635 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31636 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31638 if test -n "$PKG_CONFIG"; then
31639 if test -n "$PANGOXFT_CFLAGS"; then
31640 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31642 if test -n "$PKG_CONFIG" && \
31643 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31644 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647 (exit $ac_status); }; then
31648 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31656 if test -n "$PKG_CONFIG"; then
31657 if test -n "$PANGOXFT_LIBS"; then
31658 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31660 if test -n "$PKG_CONFIG" && \
31661 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31662 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); }; then
31666 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31677 if test $pkg_failed = yes; then
31679 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31680 _pkg_short_errors_supported
=yes
31682 _pkg_short_errors_supported
=no
31684 if test $_pkg_short_errors_supported = yes; then
31685 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31687 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31689 # Put the nasty error message in config.log where it belongs
31690 echo "$PANGOXFT_PKG_ERRORS" >&5
31693 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31694 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31697 elif test $pkg_failed = untried
; then
31699 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31700 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31704 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31705 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31706 { echo "$as_me:$LINENO: result: yes" >&5
31707 echo "${ECHO_T}yes" >&6; }
31709 cat >>confdefs.h
<<\_ACEOF
31710 #define HAVE_PANGO_XFT 1
31713 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31714 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31715 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31719 LIBS
="$LIBS $PANGOX_LIBS"
31721 for ac_func
in pango_font_family_is_monospace
31723 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31726 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31727 echo $ECHO_N "(cached) $ECHO_C" >&6
31729 cat >conftest.
$ac_ext <<_ACEOF
31732 cat confdefs.h
>>conftest.
$ac_ext
31733 cat >>conftest.
$ac_ext <<_ACEOF
31734 /* end confdefs.h. */
31735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31737 #define $ac_func innocuous_$ac_func
31739 /* System header to define __stub macros and hopefully few prototypes,
31740 which can conflict with char $ac_func (); below.
31741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31742 <limits.h> exists even on freestanding compilers. */
31745 # include <limits.h>
31747 # include <assert.h>
31752 /* Override any GCC internal prototype to avoid an error.
31753 Use char because int might match the return type of a GCC
31754 builtin and then its argument prototype would still apply. */
31759 /* The GNU C library defines this for functions which it implements
31760 to always fail with ENOSYS. Some functions are actually named
31761 something starting with __ and the normal name is an alias. */
31762 #if defined __stub_$ac_func || defined __stub___$ac_func
31769 return $ac_func ();
31774 rm -f conftest.
$ac_objext conftest
$ac_exeext
31775 if { (ac_try
="$ac_link"
31776 case "(($ac_try" in
31777 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31778 *) ac_try_echo=$ac_try;;
31780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31781 (eval "$ac_link") 2>conftest.er1
31783 grep -v '^ *+' conftest.er1 >conftest.err
31785 cat conftest.err >&5
31786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31787 (exit $ac_status); } && {
31788 test -z "$ac_c_werror_flag" ||
31789 test ! -s conftest.err
31790 } && test -s conftest$ac_exeext &&
31791 $as_test_x conftest$ac_exeext; then
31792 eval "$as_ac_var=yes"
31794 echo "$as_me: failed program was:" >&5
31795 sed 's/^/| /' conftest.$ac_ext >&5
31797 eval "$as_ac_var=no"
31800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31801 conftest$ac_exeext conftest.$ac_ext
31803 ac_res=`eval echo '${'$as_ac_var'}'`
31804 { echo "$as_me:$LINENO: result: $ac_res" >&5
31805 echo "${ECHO_T}$ac_res" >&6; }
31806 if test `eval echo '${'$as_ac_var'}'` = yes; then
31807 cat >>confdefs.h <<_ACEOF
31808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31817 wxUSE_UNIVERSAL="yes"
31819 if test "$wxUSE_NANOX" = "yes"; then
31820 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31821 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"
31822 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31824 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31831 if test "$wxUSE_MOTIF" = 1; then
31832 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31833 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31836 for ac_dir in $SEARCH_INCLUDE /usr/include;
31838 if test -f "$ac_dir/Xm/Xm.h"; then
31839 ac_find_includes=$ac_dir
31844 if test "$ac_find_includes" != "" ; then
31845 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31846 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31848 if test "x$ac_find_includes" = "x/usr/include"; then
31849 ac_path_to_include=""
31851 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31853 if test $result = 0; then
31854 ac_path_to_include=""
31856 ac_path_to_include=" -I$ac_find_includes"
31860 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31862 save_CFLAGS=$CFLAGS
31863 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31865 cat >conftest.$ac_ext <<_ACEOF
31868 cat confdefs.h >>conftest.$ac_ext
31869 cat >>conftest.$ac_ext <<_ACEOF
31870 /* end confdefs.h. */
31879 version = xmUseVersion;
31885 rm -f conftest.$ac_objext
31886 if { (ac_try="$ac_compile"
31887 case "(($ac_try" in
31888 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31889 *) ac_try_echo
=$ac_try;;
31891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31892 (eval "$ac_compile") 2>conftest.er1
31894 grep -v '^ *+' conftest.er1
>conftest.err
31896 cat conftest.err
>&5
31897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31898 (exit $ac_status); } && {
31899 test -z "$ac_c_werror_flag" ||
31900 test ! -s conftest.err
31901 } && test -s conftest.
$ac_objext; then
31903 { echo "$as_me:$LINENO: result: found in default search path" >&5
31904 echo "${ECHO_T}found in default search path" >&6; }
31905 COMPILED_X_PROGRAM
=1
31908 echo "$as_me: failed program was:" >&5
31909 sed 's/^/| /' conftest.
$ac_ext >&5
31912 { echo "$as_me:$LINENO: result: no" >&5
31913 echo "${ECHO_T}no" >&6; }
31914 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31915 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31916 { (exit 1); exit 1; }; }
31921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31923 CFLAGS
=$save_CFLAGS
31927 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31928 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31931 for ac_dir
in $SEARCH_LIB;
31933 for ac_extension
in a so sl dylib dll.a
; do
31934 if test -f "$ac_dir/libXm.$ac_extension"; then
31935 ac_find_libraries
=$ac_dir
31942 if test "x$ac_find_libraries" != "x" ; then
31943 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31944 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31947 if test "$ac_find_libraries" = "default location"; then
31950 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31952 if test $result = 0; then
31955 ac_path_to_link
=" -L$ac_find_libraries"
31959 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31961 save_CFLAGS
=$CFLAGS
31962 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31964 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31966 cat >conftest.
$ac_ext <<_ACEOF
31969 cat confdefs.h
>>conftest.
$ac_ext
31970 cat >>conftest.
$ac_ext <<_ACEOF
31971 /* end confdefs.h. */
31980 version = xmUseVersion;
31986 rm -f conftest.
$ac_objext conftest
$ac_exeext
31987 if { (ac_try
="$ac_link"
31988 case "(($ac_try" in
31989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31990 *) ac_try_echo=$ac_try;;
31992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31993 (eval "$ac_link") 2>conftest.er1
31995 grep -v '^ *+' conftest.er1 >conftest.err
31997 cat conftest.err >&5
31998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31999 (exit $ac_status); } && {
32000 test -z "$ac_c_werror_flag" ||
32001 test ! -s conftest.err
32002 } && test -s conftest$ac_exeext &&
32003 $as_test_x conftest$ac_exeext; then
32005 { echo "$as_me:$LINENO: result: found in default search path" >&5
32006 echo "${ECHO_T}found in default search path" >&6; }
32007 COMPILED_X_PROGRAM=1
32010 echo "$as_me: failed program was:" >&5
32011 sed 's/^/| /' conftest.$ac_ext >&5
32014 { echo "$as_me:$LINENO: result: no" >&5
32015 echo "${ECHO_T}no" >&6; }
32016 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32017 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32018 { (exit 1); exit 1; }; }
32023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32024 conftest$ac_exeext conftest.$ac_ext
32026 CFLAGS=$save_CFLAGS
32030 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32031 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32035 for libp in "" " -lXp"; do
32036 if test "$libs_found" = 0; then
32037 for libsm_ice in "" " -lSM -lICE"; do
32038 if test "$libs_found" = 0; then
32040 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32041 save_CFLAGS=$CFLAGS
32042 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32044 cat >conftest.$ac_ext <<_ACEOF
32047 cat confdefs.h >>conftest.$ac_ext
32048 cat >>conftest.$ac_ext <<_ACEOF
32049 /* end confdefs.h. */
32052 #include <Xm/List.h>
32058 XmString string = NULL;
32061 XmListAddItem(w, string, position);
32067 rm -f conftest.$ac_objext conftest$ac_exeext
32068 if { (ac_try="$ac_link"
32069 case "(($ac_try" in
32070 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32071 *) ac_try_echo
=$ac_try;;
32073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32074 (eval "$ac_link") 2>conftest.er1
32076 grep -v '^ *+' conftest.er1
>conftest.err
32078 cat conftest.err
>&5
32079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32080 (exit $ac_status); } && {
32081 test -z "$ac_c_werror_flag" ||
32082 test ! -s conftest.err
32083 } && test -s conftest
$ac_exeext &&
32084 $as_test_x conftest
$ac_exeext; then
32087 libsm_ice_link
="$libsm_ice"
32088 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32089 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32093 echo "$as_me: failed program was:" >&5
32094 sed 's/^/| /' conftest.
$ac_ext >&5
32100 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32101 conftest
$ac_exeext conftest.
$ac_ext
32104 CFLAGS
=$save_CFLAGS
32110 if test "$libs_found" = 0; then
32111 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32112 echo "${ECHO_T}can't find the right libraries" >&6; }
32113 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32114 echo "$as_me: error: can't link a simple motif program" >&2;}
32115 { (exit 1); exit 1; }; }
32118 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32119 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32120 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32121 echo $ECHO_N "(cached) $ECHO_C" >&6
32123 ac_check_lib_save_LIBS
=$LIBS
32125 cat >conftest.
$ac_ext <<_ACEOF
32128 cat confdefs.h
>>conftest.
$ac_ext
32129 cat >>conftest.
$ac_ext <<_ACEOF
32130 /* end confdefs.h. */
32132 /* Override any GCC internal prototype to avoid an error.
32133 Use char because int might match the return type of a GCC
32134 builtin and then its argument prototype would still apply. */
32138 char SgCreateList ();
32142 return SgCreateList ();
32147 rm -f conftest.
$ac_objext conftest
$ac_exeext
32148 if { (ac_try
="$ac_link"
32149 case "(($ac_try" in
32150 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32151 *) ac_try_echo=$ac_try;;
32153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32154 (eval "$ac_link") 2>conftest.er1
32156 grep -v '^ *+' conftest.er1 >conftest.err
32158 cat conftest.err >&5
32159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32160 (exit $ac_status); } && {
32161 test -z "$ac_c_werror_flag" ||
32162 test ! -s conftest.err
32163 } && test -s conftest$ac_exeext &&
32164 $as_test_x conftest$ac_exeext; then
32165 ac_cv_lib_Sgm_SgCreateList=yes
32167 echo "$as_me: failed program was:" >&5
32168 sed 's/^/| /' conftest.$ac_ext >&5
32170 ac_cv_lib_Sgm_SgCreateList=no
32173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32174 conftest$ac_exeext conftest.$ac_ext
32175 LIBS=$ac_check_lib_save_LIBS
32177 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32178 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32179 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32180 libsgm_link=" -lSgm"
32184 save_CFLAGS=$CFLAGS
32185 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32187 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32188 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32189 if test "${wx_cv_lib_motif2+set}" = set; then
32190 echo $ECHO_N "(cached) $ECHO_C" >&6
32192 cat >conftest.$ac_ext <<_ACEOF
32195 cat confdefs.h >>conftest.$ac_ext
32196 cat >>conftest.$ac_ext <<_ACEOF
32197 /* end confdefs.h. */
32205 #if XmVersion < 2000
32213 rm -f conftest.$ac_objext
32214 if { (ac_try="$ac_compile"
32215 case "(($ac_try" in
32216 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32217 *) ac_try_echo
=$ac_try;;
32219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32220 (eval "$ac_compile") 2>conftest.er1
32222 grep -v '^ *+' conftest.er1
>conftest.err
32224 cat conftest.err
>&5
32225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32226 (exit $ac_status); } && {
32227 test -z "$ac_c_werror_flag" ||
32228 test ! -s conftest.err
32229 } && test -s conftest.
$ac_objext; then
32230 wx_cv_lib_motif2
="yes"
32232 echo "$as_me: failed program was:" >&5
32233 sed 's/^/| /' conftest.
$ac_ext >&5
32235 wx_cv_lib_motif2
="no"
32238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32240 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32241 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32242 if test "$wx_cv_lib_motif2" = "yes"; then
32243 cat >>confdefs.h
<<\_ACEOF
32244 #define __WXMOTIF20__ 1
32248 cat >>confdefs.h
<<\_ACEOF
32249 #define __WXMOTIF20__ 0
32254 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32255 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32256 if test "${wx_cv_lib_lesstif+set}" = set; then
32257 echo $ECHO_N "(cached) $ECHO_C" >&6
32259 cat >conftest.
$ac_ext <<_ACEOF
32262 cat confdefs.h
>>conftest.
$ac_ext
32263 cat >>conftest.
$ac_ext <<_ACEOF
32264 /* end confdefs.h. */
32272 #if !defined(LesstifVersion) || LesstifVersion <= 0
32280 rm -f conftest.
$ac_objext
32281 if { (ac_try
="$ac_compile"
32282 case "(($ac_try" in
32283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32284 *) ac_try_echo=$ac_try;;
32286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32287 (eval "$ac_compile") 2>conftest.er1
32289 grep -v '^ *+' conftest.er1 >conftest.err
32291 cat conftest.err >&5
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); } && {
32294 test -z "$ac_c_werror_flag" ||
32295 test ! -s conftest.err
32296 } && test -s conftest.$ac_objext; then
32297 wx_cv_lib_lesstif="yes"
32299 echo "$as_me: failed program was:" >&5
32300 sed 's/^/| /' conftest.$ac_ext >&5
32302 wx_cv_lib_lesstif="no"
32305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32308 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32309 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32310 if test "$wx_cv_lib_lesstif" = "yes"; then
32311 cat >>confdefs.h <<\_ACEOF
32312 #define __WXLESSTIF__ 1
32316 cat >>confdefs.h <<\_ACEOF
32317 #define __WXLESSTIF__ 0
32322 CFLAGS=$save_CFLAGS
32324 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32329 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32330 if test "$wxUSE_LIBXPM" = "sys"; then
32331 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32332 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32335 for ac_dir in $SEARCH_LIB;
32337 for ac_extension in a so sl dylib dll.a; do
32338 if test -f "$ac_dir/libXpm.$ac_extension"; then
32339 ac_find_libraries=$ac_dir
32345 if test "$ac_find_libraries" != "" ; then
32347 if test "$ac_find_libraries" = "default location"; then
32350 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32352 if test $result = 0; then
32355 ac_path_to_link=" -L$ac_find_libraries"
32359 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32360 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32361 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32363 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32364 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32365 if test "${wx_cv_x11_xpm_h+set}" = set; then
32366 echo $ECHO_N "(cached) $ECHO_C" >&6
32369 save_CFLAGS=$CFLAGS
32370 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32372 cat >conftest.$ac_ext <<_ACEOF
32375 cat confdefs.h >>conftest.$ac_ext
32376 cat >>conftest.$ac_ext <<_ACEOF
32377 /* end confdefs.h. */
32379 #include <X11/xpm.h>
32386 version = XpmLibraryVersion();
32392 rm -f conftest.$ac_objext
32393 if { (ac_try="$ac_compile"
32394 case "(($ac_try" in
32395 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32396 *) ac_try_echo
=$ac_try;;
32398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32399 (eval "$ac_compile") 2>conftest.er1
32401 grep -v '^ *+' conftest.er1
>conftest.err
32403 cat conftest.err
>&5
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); } && {
32406 test -z "$ac_c_werror_flag" ||
32407 test ! -s conftest.err
32408 } && test -s conftest.
$ac_objext; then
32409 wx_cv_x11_xpm_h
=yes
32411 echo "$as_me: failed program was:" >&5
32412 sed 's/^/| /' conftest.
$ac_ext >&5
32418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32420 CFLAGS
=$save_CFLAGS
32424 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32425 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32427 if test $wx_cv_x11_xpm_h = "yes"; then
32428 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32429 cat >>confdefs.h
<<\_ACEOF
32430 #define wxHAVE_LIB_XPM 1
32434 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32435 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32441 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32442 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32443 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32444 echo $ECHO_N "(cached) $ECHO_C" >&6
32446 ac_check_lib_save_LIBS
=$LIBS
32447 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32448 cat >conftest.
$ac_ext <<_ACEOF
32451 cat confdefs.h
>>conftest.
$ac_ext
32452 cat >>conftest.
$ac_ext <<_ACEOF
32453 /* end confdefs.h. */
32455 /* Override any GCC internal prototype to avoid an error.
32456 Use char because int might match the return type of a GCC
32457 builtin and then its argument prototype would still apply. */
32461 char XShapeQueryExtension ();
32465 return XShapeQueryExtension ();
32470 rm -f conftest.
$ac_objext conftest
$ac_exeext
32471 if { (ac_try
="$ac_link"
32472 case "(($ac_try" in
32473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32474 *) ac_try_echo=$ac_try;;
32476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32477 (eval "$ac_link") 2>conftest.er1
32479 grep -v '^ *+' conftest.er1 >conftest.err
32481 cat conftest.err >&5
32482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32483 (exit $ac_status); } && {
32484 test -z "$ac_c_werror_flag" ||
32485 test ! -s conftest.err
32486 } && test -s conftest$ac_exeext &&
32487 $as_test_x conftest$ac_exeext; then
32488 ac_cv_lib_Xext_XShapeQueryExtension=yes
32490 echo "$as_me: failed program was:" >&5
32491 sed 's/^/| /' conftest.$ac_ext >&5
32493 ac_cv_lib_Xext_XShapeQueryExtension=no
32496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32497 conftest$ac_exeext conftest.$ac_ext
32498 LIBS=$ac_check_lib_save_LIBS
32500 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32501 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32502 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32504 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32510 if test "$wxHAVE_XEXT_LIB" = 1; then
32511 save_CFLAGS="$CFLAGS"
32512 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32514 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32515 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32516 cat >conftest.$ac_ext <<_ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32523 #include <X11/Xlib.h>
32524 #include <X11/extensions/shape.h>
32530 int dummy1, dummy2;
32531 XShapeQueryExtension((Display*)NULL,
32532 (int*)NULL, (int*)NULL);
32538 rm -f conftest.$ac_objext
32539 if { (ac_try="$ac_compile"
32540 case "(($ac_try" in
32541 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32542 *) ac_try_echo
=$ac_try;;
32544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32545 (eval "$ac_compile") 2>conftest.er1
32547 grep -v '^ *+' conftest.er1
>conftest.err
32549 cat conftest.err
>&5
32550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32551 (exit $ac_status); } && {
32552 test -z "$ac_c_werror_flag" ||
32553 test ! -s conftest.err
32554 } && test -s conftest.
$ac_objext; then
32556 cat >>confdefs.h
<<\_ACEOF
32557 #define HAVE_XSHAPE 1
32560 { echo "$as_me:$LINENO: result: found" >&5
32561 echo "${ECHO_T}found" >&6; }
32564 echo "$as_me: failed program was:" >&5
32565 sed 's/^/| /' conftest.
$ac_ext >&5
32568 { echo "$as_me:$LINENO: result: not found" >&5
32569 echo "${ECHO_T}not found" >&6; }
32573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32574 CFLAGS
="$save_CFLAGS"
32579 if test "$wxUSE_OSX_CARBON" = 1; then
32580 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32581 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32582 if test "$GCC" = yes; then
32583 { echo "$as_me:$LINENO: result: gcc" >&5
32584 echo "${ECHO_T}gcc" >&6; }
32585 CPPFLAGS_PASCAL
="-fpascal-strings"
32586 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32587 { echo "$as_me:$LINENO: result: xlc" >&5
32588 echo "${ECHO_T}xlc" >&6; }
32589 CPPFLAGS_PASCAL
="-qmacpstr"
32591 { echo "$as_me:$LINENO: result: none" >&5
32592 echo "${ECHO_T}none" >&6; }
32595 if test "x$wxUSE_UNIX" = "xyes"; then
32596 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32598 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32602 GUIDIST
=OSX_CARBON_DIST
32603 WXBASEPORT
="_carbon"
32606 if test "$wxUSE_OSX_COCOA" = 1; then
32608 GUIDIST
=OSX_COCOA_DIST
32611 if test "$wxUSE_COCOA" = 1; then
32616 if test "$wxUSE_PM" = 1; then
32619 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32620 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32621 if test "${wx_cv_spbcdata+set}" = set; then
32622 echo $ECHO_N "(cached) $ECHO_C" >&6
32625 cat >conftest.
$ac_ext <<_ACEOF
32628 cat confdefs.h
>>conftest.
$ac_ext
32629 cat >>conftest.
$ac_ext <<_ACEOF
32630 /* end confdefs.h. */
32645 rm -f conftest.
$ac_objext
32646 if { (ac_try
="$ac_compile"
32647 case "(($ac_try" in
32648 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32649 *) ac_try_echo=$ac_try;;
32651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32652 (eval "$ac_compile") 2>conftest.er1
32654 grep -v '^ *+' conftest.er1 >conftest.err
32656 cat conftest.err >&5
32657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); } && {
32659 test -z "$ac_c_werror_flag" ||
32660 test ! -s conftest.err
32661 } && test -s conftest.$ac_objext; then
32664 echo "$as_me: failed program was:" >&5
32665 sed 's/^/| /' conftest.$ac_ext >&5
32671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32675 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32676 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32678 if test $wx_cv_spbcdata = "yes"; then
32679 cat >>confdefs.h <<\_ACEOF
32680 #define HAVE_SPBCDATA 1
32686 if test "$TOOLKIT" = "PM" ; then
32689 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32692 if test "$wxUSE_UNIVERSAL" = "yes"; then
32693 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32697 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32698 DISTDIR="wx\$(TOOLKIT)"
32704 if test "$USE_WIN32" = 1 ; then
32708 GUIDIST="BASE_DIST"
32714 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32715 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32716 wxUSE_UNICODE_UTF8=yes
32717 elif test "$USE_OS2" = 1 ; then
32718 wxUSE_UNICODE_UTF8=yes
32720 wxUSE_UNICODE_UTF8=no
32725 if test "$wxUSE_GUI" = "yes"; then
32726 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32728 for ac_header in X11/Xlib.h
32730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32731 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32734 echo $ECHO_N "(cached) $ECHO_C" >&6
32736 cat >conftest.$ac_ext <<_ACEOF
32739 cat confdefs.h >>conftest.$ac_ext
32740 cat >>conftest.$ac_ext <<_ACEOF
32741 /* end confdefs.h. */
32744 #include <$ac_header>
32746 rm -f conftest.$ac_objext
32747 if { (ac_try="$ac_compile"
32748 case "(($ac_try" in
32749 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32750 *) ac_try_echo
=$ac_try;;
32752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32753 (eval "$ac_compile") 2>conftest.er1
32755 grep -v '^ *+' conftest.er1
>conftest.err
32757 cat conftest.err
>&5
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); } && {
32760 test -z "$ac_c_werror_flag" ||
32761 test ! -s conftest.err
32762 } && test -s conftest.
$ac_objext; then
32763 eval "$as_ac_Header=yes"
32765 echo "$as_me: failed program was:" >&5
32766 sed 's/^/| /' conftest.
$ac_ext >&5
32768 eval "$as_ac_Header=no"
32771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32773 ac_res
=`eval echo '${'$as_ac_Header'}'`
32774 { echo "$as_me:$LINENO: result: $ac_res" >&5
32775 echo "${ECHO_T}$ac_res" >&6; }
32776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32777 cat >>confdefs.h
<<_ACEOF
32778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32786 for ac_header
in X
11/XKBlib.h
32788 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32789 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32791 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32792 echo $ECHO_N "(cached) $ECHO_C" >&6
32794 cat >conftest.
$ac_ext <<_ACEOF
32797 cat confdefs.h
>>conftest.
$ac_ext
32798 cat >>conftest.
$ac_ext <<_ACEOF
32799 /* end confdefs.h. */
32801 #if HAVE_X11_XLIB_H
32802 #include <X11/Xlib.h>
32806 #include <$ac_header>
32808 rm -f conftest.
$ac_objext
32809 if { (ac_try
="$ac_compile"
32810 case "(($ac_try" in
32811 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32812 *) ac_try_echo=$ac_try;;
32814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32815 (eval "$ac_compile") 2>conftest.er1
32817 grep -v '^ *+' conftest.er1 >conftest.err
32819 cat conftest.err >&5
32820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32821 (exit $ac_status); } && {
32822 test -z "$ac_c_werror_flag" ||
32823 test ! -s conftest.err
32824 } && test -s conftest.$ac_objext; then
32825 eval "$as_ac_Header=yes"
32827 echo "$as_me: failed program was:" >&5
32828 sed 's/^/| /' conftest.$ac_ext >&5
32830 eval "$as_ac_Header=no"
32833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32835 ac_res=`eval echo '${'$as_ac_Header'}'`
32836 { echo "$as_me:$LINENO: result: $ac_res" >&5
32837 echo "${ECHO_T}$ac_res" >&6; }
32838 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32839 cat >>confdefs.h <<_ACEOF
32840 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32852 if test "$wxUSE_DISPLAY" = "yes"; then
32853 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32854 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32855 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32858 for ac_dir in $SEARCH_LIB;
32860 for ac_extension in a so sl dylib dll.a; do
32861 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32862 ac_find_libraries=$ac_dir
32868 if test "$ac_find_libraries" != "" ; then
32870 if test "$ac_find_libraries" = "default location"; then
32873 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32875 if test $result = 0; then
32878 ac_path_to_link=" -L$ac_find_libraries"
32882 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32883 LDFLAGS="$LDFLAGS $ac_path_to_link"
32885 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32886 { echo "$as_me:$LINENO: result: yes" >&5
32887 echo "${ECHO_T}yes" >&6; }
32889 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32890 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32893 for ac_dir in $SEARCH_LIB;
32895 for ac_extension in a so sl dylib dll.a; do
32896 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32897 ac_find_libraries=$ac_dir
32903 if test "$ac_find_libraries" != "" ; then
32904 { echo "$as_me:$LINENO: result: yes" >&5
32905 echo "${ECHO_T}yes" >&6; }
32907 for ac_header in X11/extensions/xf86vmode.h
32909 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32910 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32912 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32913 echo $ECHO_N "(cached) $ECHO_C" >&6
32915 cat >conftest.$ac_ext <<_ACEOF
32918 cat confdefs.h >>conftest.$ac_ext
32919 cat >>conftest.$ac_ext <<_ACEOF
32920 /* end confdefs.h. */
32922 #if HAVE_X11_XLIB_H
32923 #include <X11/Xlib.h>
32927 #include <$ac_header>
32929 rm -f conftest.$ac_objext
32930 if { (ac_try="$ac_compile"
32931 case "(($ac_try" in
32932 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32933 *) ac_try_echo
=$ac_try;;
32935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32936 (eval "$ac_compile") 2>conftest.er1
32938 grep -v '^ *+' conftest.er1
>conftest.err
32940 cat conftest.err
>&5
32941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32942 (exit $ac_status); } && {
32943 test -z "$ac_c_werror_flag" ||
32944 test ! -s conftest.err
32945 } && test -s conftest.
$ac_objext; then
32946 eval "$as_ac_Header=yes"
32948 echo "$as_me: failed program was:" >&5
32949 sed 's/^/| /' conftest.
$ac_ext >&5
32951 eval "$as_ac_Header=no"
32954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32956 ac_res
=`eval echo '${'$as_ac_Header'}'`
32957 { echo "$as_me:$LINENO: result: $ac_res" >&5
32958 echo "${ECHO_T}$ac_res" >&6; }
32959 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32960 cat >>confdefs.h
<<_ACEOF
32961 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32964 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32971 { echo "$as_me:$LINENO: result: no" >&5
32972 echo "${ECHO_T}no" >&6; }
32976 { echo "$as_me:$LINENO: result: no" >&5
32977 echo "${ECHO_T}no" >&6; }
32978 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32979 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32982 elif test "$wxUSE_MSW" = 1; then
32983 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32984 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32985 if test "${ac_cv_header_ddraw_h+set}" = set; then
32986 echo $ECHO_N "(cached) $ECHO_C" >&6
32988 cat >conftest.
$ac_ext <<_ACEOF
32991 cat confdefs.h
>>conftest.
$ac_ext
32992 cat >>conftest.
$ac_ext <<_ACEOF
32993 /* end confdefs.h. */
32994 #include <windows.h>
32998 rm -f conftest.
$ac_objext
32999 if { (ac_try
="$ac_compile"
33000 case "(($ac_try" in
33001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33002 *) ac_try_echo=$ac_try;;
33004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33005 (eval "$ac_compile") 2>conftest.er1
33007 grep -v '^ *+' conftest.er1 >conftest.err
33009 cat conftest.err >&5
33010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011 (exit $ac_status); } && {
33012 test -z "$ac_c_werror_flag" ||
33013 test ! -s conftest.err
33014 } && test -s conftest.$ac_objext; then
33015 ac_cv_header_ddraw_h=yes
33017 echo "$as_me: failed program was:" >&5
33018 sed 's/^/| /' conftest.$ac_ext >&5
33020 ac_cv_header_ddraw_h=no
33023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33025 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33026 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33032 if test "$wxUSE_DETECT_SM" = "yes"; then
33033 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33034 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33035 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33038 for ac_dir in $SEARCH_LIB;
33040 for ac_extension in a so sl dylib dll.a; do
33041 if test -f "$ac_dir/libSM.$ac_extension"; then
33042 ac_find_libraries=$ac_dir
33048 if test "$ac_find_libraries" != "" ; then
33050 if test "$ac_find_libraries" = "default location"; then
33053 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33055 if test $result = 0; then
33058 ac_path_to_link=" -L$ac_find_libraries"
33062 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33063 LDFLAGS="$LDFLAGS $ac_path_to_link"
33065 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33066 { echo "$as_me:$LINENO: result: yes" >&5
33067 echo "${ECHO_T}yes" >&6; }
33069 { echo "$as_me:$LINENO: result: no" >&5
33070 echo "${ECHO_T}no" >&6; }
33071 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33072 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33073 wxUSE_DETECT_SM="no"
33076 wxUSE_DETECT_SM="no"
33083 if test "$wxUSE_OPENGL" = "yes"; then
33084 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
33085 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33086 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33088 elif test "$wxUSE_OSX_CARBON" = 1 -o test "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33089 OPENGL_LIBS="-framework OpenGL -framework AGL"
33090 elif test "$wxUSE_MSW" = 1; then
33091 OPENGL_LIBS="-lopengl32 -lglu32"
33093 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33094 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33097 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33099 if test -f "$ac_dir/GL/gl.h"; then
33100 ac_find_includes=$ac_dir
33105 if test "$ac_find_includes" != "" ; then
33106 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33107 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33109 if test "x$ac_find_includes" = "x/usr/include"; then
33110 ac_path_to_include=""
33112 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33114 if test $result = 0; then
33115 ac_path_to_include=""
33117 ac_path_to_include=" -I$ac_find_includes"
33121 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33123 { echo "$as_me:$LINENO: result: not found" >&5
33124 echo "${ECHO_T}not found" >&6; }
33127 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33128 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33129 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33130 echo $ECHO_N "(cached) $ECHO_C" >&6
33132 cat >conftest.$ac_ext <<_ACEOF
33135 cat confdefs.h >>conftest.$ac_ext
33136 cat >>conftest.$ac_ext <<_ACEOF
33137 /* end confdefs.h. */
33142 rm -f conftest.$ac_objext
33143 if { (ac_try="$ac_compile"
33144 case "(($ac_try" in
33145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33146 *) ac_try_echo
=$ac_try;;
33148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33149 (eval "$ac_compile") 2>conftest.er1
33151 grep -v '^ *+' conftest.er1
>conftest.err
33153 cat conftest.err
>&5
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); } && {
33156 test -z "$ac_c_werror_flag" ||
33157 test ! -s conftest.err
33158 } && test -s conftest.
$ac_objext; then
33159 ac_cv_header_GL_gl_h
=yes
33161 echo "$as_me: failed program was:" >&5
33162 sed 's/^/| /' conftest.
$ac_ext >&5
33164 ac_cv_header_GL_gl_h
=no
33167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33169 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33170 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33171 if test $ac_cv_header_GL_gl_h = yes; then
33173 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33174 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33175 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33176 echo $ECHO_N "(cached) $ECHO_C" >&6
33178 cat >conftest.
$ac_ext <<_ACEOF
33181 cat confdefs.h
>>conftest.
$ac_ext
33182 cat >>conftest.
$ac_ext <<_ACEOF
33183 /* end confdefs.h. */
33186 #include <GL/glu.h>
33188 rm -f conftest.
$ac_objext
33189 if { (ac_try
="$ac_compile"
33190 case "(($ac_try" in
33191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33192 *) ac_try_echo=$ac_try;;
33194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33195 (eval "$ac_compile") 2>conftest.er1
33197 grep -v '^ *+' conftest.er1 >conftest.err
33199 cat conftest.err >&5
33200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); } && {
33202 test -z "$ac_c_werror_flag" ||
33203 test ! -s conftest.err
33204 } && test -s conftest.$ac_objext; then
33205 ac_cv_header_GL_glu_h=yes
33207 echo "$as_me: failed program was:" >&5
33208 sed 's/^/| /' conftest.$ac_ext >&5
33210 ac_cv_header_GL_glu_h=no
33213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33215 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33216 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33217 if test $ac_cv_header_GL_glu_h = yes; then
33221 { echo "$as_me:$LINENO: checking for -lGL" >&5
33222 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33225 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33227 for ac_extension in a so sl dylib dll.a; do
33228 if test -f "$ac_dir/libGL.$ac_extension"; then
33229 ac_find_libraries=$ac_dir
33235 if test "$ac_find_libraries" != "" ; then
33236 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33237 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33240 if test "$ac_find_libraries" = "default location"; then
33243 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33245 if test $result = 0; then
33248 ac_path_to_link=" -L$ac_find_libraries"
33252 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33253 LDFLAGS_GL="$ac_path_to_link"
33256 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33257 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33260 for ac_dir in $SEARCH_LIB;
33262 for ac_extension in a so sl dylib dll.a; do
33263 if test -f "$ac_dir/libGLU.$ac_extension"; then
33264 ac_find_libraries=$ac_dir
33270 if test "$ac_find_libraries" != "" ; then
33272 if test "$ac_find_libraries" = "default location"; then
33275 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33277 if test $result = 0; then
33280 ac_path_to_link=" -L$ac_find_libraries"
33284 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33285 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33286 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33290 OPENGL_LIBS="-lGL -lGLU"
33291 { echo "$as_me:$LINENO: result: yes" >&5
33292 echo "${ECHO_T}yes" >&6; }
33294 { echo "$as_me:$LINENO: result: no" >&5
33295 echo "${ECHO_T}no" >&6; }
33298 { echo "$as_me:$LINENO: result: no" >&5
33299 echo "${ECHO_T}no" >&6; }
33302 if test "$found_gl" != 1; then
33303 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33304 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33307 for ac_dir in $SEARCH_LIB;
33309 for ac_extension in a so sl dylib dll.a; do
33310 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33311 ac_find_libraries=$ac_dir
33317 if test "$ac_find_libraries" != "" ; then
33319 if test "$ac_find_libraries" = "default location"; then
33322 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33324 if test $result = 0; then
33327 ac_path_to_link=" -L$ac_find_libraries"
33331 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33332 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33333 { echo "$as_me:$LINENO: result: yes" >&5
33334 echo "${ECHO_T}yes" >&6; }
33336 { echo "$as_me:$LINENO: result: no" >&5
33337 echo "${ECHO_T}no" >&6; }
33349 if test "x$OPENGL_LIBS" = "x"; then
33350 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33351 echo "$as_me: error: OpenGL libraries not available" >&2;}
33352 { (exit 1); exit 1; }; }
33356 if test "$wxUSE_OPENGL" = "yes"; then
33358 cat >>confdefs.h <<\_ACEOF
33359 #define wxUSE_OPENGL 1
33362 cat >>confdefs.h <<\_ACEOF
33363 #define wxUSE_GLCANVAS 1
33366 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33371 if test -n "$TOOLKIT" ; then
33372 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33377 if test "$wxUSE_SHARED" = "yes"; then
33381 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33382 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33387 if test "$wxUSE_SHARED" = "yes"; then
33391 *-*-cygwin* | *-*-mingw* )
33392 wx_cv_version_script=no
33396 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33397 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33398 if test "${wx_cv_version_script+set}" = set; then
33399 echo $ECHO_N "(cached) $ECHO_C" >&6
33402 echo "VER_1 { *; };" >conftest.sym
33403 echo "int main() { return 0; }" >conftest.cpp
33406 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33407 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33409 (eval $ac_try) 2>&5
33411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33412 (exit $ac_status); }; } ; then
33413 if test -s conftest.stderr ; then
33414 wx_cv_version_script=no
33416 wx_cv_version_script=yes
33419 wx_cv_version_script=no
33422 if test $wx_cv_version_script = yes
33424 echo "struct B { virtual ~B() { } }; \
33425 struct D : public B { }; \
33426 void F() { D d; }" > conftest.cpp
33429 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33430 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33432 (eval $ac_try) 2>&5
33434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33435 (exit $ac_status); }; } &&
33437 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33438 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33440 (eval $ac_try) 2>&5
33442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33443 (exit $ac_status); }; }
33446 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33447 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33449 (eval $ac_try) 2>&5
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); }; }
33454 wx_cv_version_script=yes
33456 wx_cv_version_script=no
33461 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33462 rm -f conftest1.output conftest2.output conftest3.output
33465 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33466 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33468 if test $wx_cv_version_script = yes ; then
33469 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33475 if test "$wxUSE_VISIBILITY" != "no"; then
33478 if test -n "$GCC"; then
33479 CFLAGS_VISIBILITY="-fvisibility=hidden"
33480 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33481 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33482 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33483 if test "${wx_cv_cc_visibility+set}" = set; then
33484 echo $ECHO_N "(cached) $ECHO_C" >&6
33487 wx_save_CXXFLAGS="$CXXFLAGS"
33488 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33490 ac_cpp='$CXXCPP $CPPFLAGS'
33491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33495 cat >conftest.$ac_ext <<_ACEOF
33498 cat confdefs.h >>conftest.$ac_ext
33499 cat >>conftest.$ac_ext <<_ACEOF
33500 /* end confdefs.h. */
33502 /* we need gcc >= 4.0, older versions with visibility support
33503 didn't have class visibility: */
33504 #if defined(__GNUC__) && __GNUC__ < 4
33505 error this gcc is too old;
33508 /* visibility only makes sense for ELF shared libs: */
33509 #if !defined(__ELF__) && !defined(__APPLE__)
33510 error this platform has no visibility;
33513 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33514 extern __attribute__((__visibility__("default"))) int exportedvar;
33515 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33516 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33517 class __attribute__((__visibility__("default"))) Foo {
33529 rm -f conftest.$ac_objext
33530 if { (ac_try="$ac_compile"
33531 case "(($ac_try" in
33532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33533 *) ac_try_echo
=$ac_try;;
33535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33536 (eval "$ac_compile") 2>conftest.er1
33538 grep -v '^ *+' conftest.er1
>conftest.err
33540 cat conftest.err
>&5
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); } && {
33543 test -z "$ac_cxx_werror_flag" ||
33544 test ! -s conftest.err
33545 } && test -s conftest.
$ac_objext; then
33546 wx_cv_cc_visibility
=yes
33548 echo "$as_me: failed program was:" >&5
33549 sed 's/^/| /' conftest.
$ac_ext >&5
33551 wx_cv_cc_visibility
=no
33554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33556 ac_cpp
='$CPP $CPPFLAGS'
33557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33561 CXXFLAGS
="$wx_save_CXXFLAGS"
33564 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33565 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33566 if test $wx_cv_cc_visibility = yes; then
33567 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33568 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33569 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33570 echo $ECHO_N "(cached) $ECHO_C" >&6
33573 wx_save_CXXFLAGS
="$CXXFLAGS"
33574 wx_save_LDFLAGS
="$LDFLAGS"
33575 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33576 LDFLAGS
="$LDFLAGS -shared -fPIC"
33578 ac_cpp
='$CXXCPP $CPPFLAGS'
33579 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33580 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33581 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33583 cat >conftest.
$ac_ext <<_ACEOF
33586 cat confdefs.h
>>conftest.
$ac_ext
33587 cat >>conftest.
$ac_ext <<_ACEOF
33588 /* end confdefs.h. */
33596 std::string s("hello");
33603 rm -f conftest.
$ac_objext conftest
$ac_exeext
33604 if { (ac_try
="$ac_link"
33605 case "(($ac_try" in
33606 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33607 *) ac_try_echo=$ac_try;;
33609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33610 (eval "$ac_link") 2>conftest.er1
33612 grep -v '^ *+' conftest.er1 >conftest.err
33614 cat conftest.err >&5
33615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33616 (exit $ac_status); } && {
33617 test -z "$ac_cxx_werror_flag" ||
33618 test ! -s conftest.err
33619 } && test -s conftest$ac_exeext &&
33620 $as_test_x conftest$ac_exeext; then
33621 wx_cv_cc_broken_libstdcxx_visibility=no
33623 echo "$as_me: failed program was:" >&5
33624 sed 's/^/| /' conftest.$ac_ext >&5
33626 wx_cv_cc_broken_libstdcxx_visibility=yes
33629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33630 conftest$ac_exeext conftest.$ac_ext
33632 ac_cpp='$CPP $CPPFLAGS'
33633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33637 CXXFLAGS="$wx_save_CXXFLAGS"
33638 LDFLAGS="$wx_save_LDFLAGS"
33641 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33642 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33644 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33645 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33646 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33647 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33648 echo $ECHO_N "(cached) $ECHO_C" >&6
33652 ac_cpp='$CXXCPP $CPPFLAGS'
33653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33657 cat >conftest.$ac_ext <<_ACEOF
33660 cat confdefs.h >>conftest.$ac_ext
33661 cat >>conftest.$ac_ext <<_ACEOF
33662 /* end confdefs.h. */
33664 #pragma GCC visibility push(default)
33666 #pragma GCC visibility pop
33672 std::string s("hello");
33679 rm -f conftest.$ac_objext conftest$ac_exeext
33680 if { (ac_try="$ac_link"
33681 case "(($ac_try" in
33682 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33683 *) ac_try_echo
=$ac_try;;
33685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33686 (eval "$ac_link") 2>conftest.er1
33688 grep -v '^ *+' conftest.er1
>conftest.err
33690 cat conftest.err
>&5
33691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33692 (exit $ac_status); } && {
33693 test -z "$ac_cxx_werror_flag" ||
33694 test ! -s conftest.err
33695 } && test -s conftest
$ac_exeext &&
33696 $as_test_x conftest
$ac_exeext; then
33697 wx_cv_cc_visibility_workaround
=no
33699 echo "$as_me: failed program was:" >&5
33700 sed 's/^/| /' conftest.
$ac_ext >&5
33702 wx_cv_cc_visibility_workaround
=yes
33705 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33706 conftest
$ac_exeext conftest.
$ac_ext
33708 ac_cpp
='$CPP $CPPFLAGS'
33709 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33710 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33711 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33716 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33717 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33719 if test $wx_cv_cc_visibility_workaround = no
; then
33720 wx_cv_cc_visibility
=no
33725 if test $wx_cv_cc_visibility = yes; then
33726 cat >>confdefs.h
<<\_ACEOF
33727 #define HAVE_VISIBILITY 1
33730 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33731 cat >>confdefs.h
<<\_ACEOF
33732 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33737 CFLAGS_VISIBILITY
=""
33738 CXXFLAGS_VISIBILITY
=""
33746 if test "x$SUNCXX" = xyes
; then
33747 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33748 WXCONFIG_RPATH
="-R\$libdir"
33751 *-*-linux* | *-*-gnu* )
33752 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33753 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33758 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33760 saveLdflags
="$LDFLAGS"
33761 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33762 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33763 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33764 cat >conftest.
$ac_ext <<_ACEOF
33767 cat confdefs.h
>>conftest.
$ac_ext
33768 cat >>conftest.
$ac_ext <<_ACEOF
33769 /* end confdefs.h. */
33779 rm -f conftest.
$ac_objext conftest
$ac_exeext
33780 if { (ac_try
="$ac_link"
33781 case "(($ac_try" in
33782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33783 *) ac_try_echo=$ac_try;;
33785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33786 (eval "$ac_link") 2>conftest.er1
33788 grep -v '^ *+' conftest.er1 >conftest.err
33790 cat conftest.err >&5
33791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33792 (exit $ac_status); } && {
33793 test -z "$ac_c_werror_flag" ||
33794 test ! -s conftest.err
33795 } && test -s conftest$ac_exeext &&
33796 $as_test_x conftest$ac_exeext; then
33798 { echo "$as_me:$LINENO: result: yes" >&5
33799 echo "${ECHO_T}yes" >&6; }
33800 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33801 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33804 echo "$as_me: failed program was:" >&5
33805 sed 's/^/| /' conftest.$ac_ext >&5
33808 { echo "$as_me:$LINENO: result: no" >&5
33809 echo "${ECHO_T}no" >&6; }
33810 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33811 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33812 LDFLAGS="$saveLdflags -Wl,-R,/"
33813 cat >conftest.$ac_ext <<_ACEOF
33816 cat confdefs.h >>conftest.$ac_ext
33817 cat >>conftest.$ac_ext <<_ACEOF
33818 /* end confdefs.h. */
33828 rm -f conftest.$ac_objext conftest$ac_exeext
33829 if { (ac_try="$ac_link"
33830 case "(($ac_try" in
33831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33832 *) ac_try_echo
=$ac_try;;
33834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33835 (eval "$ac_link") 2>conftest.er1
33837 grep -v '^ *+' conftest.er1
>conftest.err
33839 cat conftest.err
>&5
33840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33841 (exit $ac_status); } && {
33842 test -z "$ac_c_werror_flag" ||
33843 test ! -s conftest.err
33844 } && test -s conftest
$ac_exeext &&
33845 $as_test_x conftest
$ac_exeext; then
33847 { echo "$as_me:$LINENO: result: yes" >&5
33848 echo "${ECHO_T}yes" >&6; }
33849 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33850 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33853 echo "$as_me: failed program was:" >&5
33854 sed 's/^/| /' conftest.
$ac_ext >&5
33857 { echo "$as_me:$LINENO: result: no" >&5
33858 echo "${ECHO_T}no" >&6; }
33862 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33863 conftest
$ac_exeext conftest.
$ac_ext
33867 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33868 conftest
$ac_exeext conftest.
$ac_ext
33869 LDFLAGS
="$saveLdflags"
33873 install_name_tool
=`which install_name_tool`
33874 if test "$install_name_tool" -a -x "$install_name_tool"; then
33875 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33876 cat <<EOF >change-install-names
33878 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33879 inst_cmd="install_name_tool "
33880 for i in \${libnames} ; do
33881 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33885 chmod +x change
-install-names
33889 *-*-cygwin* | *-*-mingw32* )
33893 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33894 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33900 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33902 if test $wxUSE_RPATH = "no"; then
33903 SAMPLES_RPATH_FLAG
=''
33904 SAMPLES_RPATH_POSTLINK
=''
33912 config_linkage_component
="-static"
33919 lib_unicode_suffix
=
33921 if test "$wxUSE_UNICODE" = "yes"; then
33922 lib_unicode_suffix
=u
33923 WX_CHARTYPE
="unicode"
33928 WX_DEBUGTYPE
="release"
33930 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33932 WX_DEBUGTYPE
="debug"
33936 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33937 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33940 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33944 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33946 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33948 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33950 if test "$cross_compiling" = "yes"; then
33951 HOST_SUFFIX
="-$host_alias"
33952 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33953 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33956 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33957 if test "${TOOLKIT_DIR}" = "os2"; then
33958 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33960 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33965 if test "$wxUSE_COCOA" = 1; then
33968 ac_cpp
='$CPP $CPPFLAGS'
33969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33975 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33976 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33977 cat >conftest.
$ac_ext <<_ACEOF
33980 cat confdefs.h
>>conftest.
$ac_ext
33981 cat >>conftest.
$ac_ext <<_ACEOF
33982 /* end confdefs.h. */
33983 #include <AppKit/NSEvent.h>
33984 #include <CoreFoundation/CoreFoundation.h>
33994 rm -f conftest.
$ac_objext
33995 if { (ac_try
="$ac_compile"
33996 case "(($ac_try" in
33997 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33998 *) ac_try_echo=$ac_try;;
34000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34001 (eval "$ac_compile") 2>conftest.er1
34003 grep -v '^ *+' conftest.er1 >conftest.err
34005 cat conftest.err >&5
34006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34007 (exit $ac_status); } && {
34008 test -z "$ac_c_werror_flag" ||
34009 test ! -s conftest.err
34010 } && test -s conftest.$ac_objext; then
34011 { echo "$as_me:$LINENO: result: no" >&5
34012 echo "${ECHO_T}no" >&6; }
34014 echo "$as_me: failed program was:" >&5
34015 sed 's/^/| /' conftest.$ac_ext >&5
34017 { echo "$as_me:$LINENO: result: yes" >&5
34018 echo "${ECHO_T}yes" >&6; }
34019 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34020 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34021 cat >conftest.$ac_ext <<_ACEOF
34024 cat confdefs.h >>conftest.$ac_ext
34025 cat >>conftest.$ac_ext <<_ACEOF
34026 /* end confdefs.h. */
34027 #define __Point__ 1
34028 #include <AppKit/NSEvent.h>
34029 #include <CoreFoundation/CoreFoundation.h>
34039 rm -f conftest.$ac_objext
34040 if { (ac_try="$ac_compile"
34041 case "(($ac_try" in
34042 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34043 *) ac_try_echo
=$ac_try;;
34045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34046 (eval "$ac_compile") 2>conftest.er1
34048 grep -v '^ *+' conftest.er1
>conftest.err
34050 cat conftest.err
>&5
34051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34052 (exit $ac_status); } && {
34053 test -z "$ac_c_werror_flag" ||
34054 test ! -s conftest.err
34055 } && test -s conftest.
$ac_objext; then
34056 { echo "$as_me:$LINENO: result: yes" >&5
34057 echo "${ECHO_T}yes" >&6; }
34058 cat >>confdefs.h
<<\_ACEOF
34059 #define __Point__ 1
34064 echo "$as_me: failed program was:" >&5
34065 sed 's/^/| /' conftest.
$ac_ext >&5
34067 { { echo "$as_me:$LINENO: error: no
34068 See \`config.log' for more details." >&5
34069 echo "$as_me: error: no
34070 See \`config.log' for more details." >&2;}
34071 { (exit 1); exit 1; }; }
34075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34081 ac_cpp
='$CPP $CPPFLAGS'
34082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34089 { echo "$as_me:$LINENO: checking for mode_t" >&5
34090 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34091 if test "${ac_cv_type_mode_t+set}" = set; then
34092 echo $ECHO_N "(cached) $ECHO_C" >&6
34094 cat >conftest.
$ac_ext <<_ACEOF
34097 cat confdefs.h
>>conftest.
$ac_ext
34098 cat >>conftest.
$ac_ext <<_ACEOF
34099 /* end confdefs.h. */
34100 $ac_includes_default
34101 typedef mode_t ac__type_new_;
34105 if ((ac__type_new_ *) 0)
34107 if (sizeof (ac__type_new_))
34113 rm -f conftest.
$ac_objext
34114 if { (ac_try
="$ac_compile"
34115 case "(($ac_try" in
34116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34117 *) ac_try_echo=$ac_try;;
34119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34120 (eval "$ac_compile") 2>conftest.er1
34122 grep -v '^ *+' conftest.er1 >conftest.err
34124 cat conftest.err >&5
34125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34126 (exit $ac_status); } && {
34127 test -z "$ac_c_werror_flag" ||
34128 test ! -s conftest.err
34129 } && test -s conftest.$ac_objext; then
34130 ac_cv_type_mode_t=yes
34132 echo "$as_me: failed program was:" >&5
34133 sed 's/^/| /' conftest.$ac_ext >&5
34135 ac_cv_type_mode_t=no
34138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34140 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34141 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34142 if test $ac_cv_type_mode_t = yes; then
34146 cat >>confdefs.h <<_ACEOF
34152 { echo "$as_me:$LINENO: checking for off_t" >&5
34153 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34154 if test "${ac_cv_type_off_t+set}" = set; then
34155 echo $ECHO_N "(cached) $ECHO_C" >&6
34157 cat >conftest.$ac_ext <<_ACEOF
34160 cat confdefs.h >>conftest.$ac_ext
34161 cat >>conftest.$ac_ext <<_ACEOF
34162 /* end confdefs.h. */
34163 $ac_includes_default
34164 typedef off_t ac__type_new_;
34168 if ((ac__type_new_ *) 0)
34170 if (sizeof (ac__type_new_))
34176 rm -f conftest.$ac_objext
34177 if { (ac_try="$ac_compile"
34178 case "(($ac_try" in
34179 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34180 *) ac_try_echo
=$ac_try;;
34182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34183 (eval "$ac_compile") 2>conftest.er1
34185 grep -v '^ *+' conftest.er1
>conftest.err
34187 cat conftest.err
>&5
34188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34189 (exit $ac_status); } && {
34190 test -z "$ac_c_werror_flag" ||
34191 test ! -s conftest.err
34192 } && test -s conftest.
$ac_objext; then
34193 ac_cv_type_off_t
=yes
34195 echo "$as_me: failed program was:" >&5
34196 sed 's/^/| /' conftest.
$ac_ext >&5
34198 ac_cv_type_off_t
=no
34201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34203 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34204 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34205 if test $ac_cv_type_off_t = yes; then
34209 cat >>confdefs.h
<<_ACEOF
34210 #define off_t long int
34215 { echo "$as_me:$LINENO: checking for pid_t" >&5
34216 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34217 if test "${ac_cv_type_pid_t+set}" = set; then
34218 echo $ECHO_N "(cached) $ECHO_C" >&6
34220 cat >conftest.
$ac_ext <<_ACEOF
34223 cat confdefs.h
>>conftest.
$ac_ext
34224 cat >>conftest.
$ac_ext <<_ACEOF
34225 /* end confdefs.h. */
34226 $ac_includes_default
34227 typedef pid_t ac__type_new_;
34231 if ((ac__type_new_ *) 0)
34233 if (sizeof (ac__type_new_))
34239 rm -f conftest.
$ac_objext
34240 if { (ac_try
="$ac_compile"
34241 case "(($ac_try" in
34242 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34243 *) ac_try_echo=$ac_try;;
34245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34246 (eval "$ac_compile") 2>conftest.er1
34248 grep -v '^ *+' conftest.er1 >conftest.err
34250 cat conftest.err >&5
34251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34252 (exit $ac_status); } && {
34253 test -z "$ac_c_werror_flag" ||
34254 test ! -s conftest.err
34255 } && test -s conftest.$ac_objext; then
34256 ac_cv_type_pid_t=yes
34258 echo "$as_me: failed program was:" >&5
34259 sed 's/^/| /' conftest.$ac_ext >&5
34261 ac_cv_type_pid_t=no
34264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34266 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34267 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34268 if test $ac_cv_type_pid_t = yes; then
34272 cat >>confdefs.h <<_ACEOF
34278 { echo "$as_me:$LINENO: checking for size_t" >&5
34279 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34280 if test "${ac_cv_type_size_t+set}" = set; then
34281 echo $ECHO_N "(cached) $ECHO_C" >&6
34283 cat >conftest.$ac_ext <<_ACEOF
34286 cat confdefs.h >>conftest.$ac_ext
34287 cat >>conftest.$ac_ext <<_ACEOF
34288 /* end confdefs.h. */
34289 $ac_includes_default
34290 typedef size_t ac__type_new_;
34294 if ((ac__type_new_ *) 0)
34296 if (sizeof (ac__type_new_))
34302 rm -f conftest.$ac_objext
34303 if { (ac_try="$ac_compile"
34304 case "(($ac_try" in
34305 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34306 *) ac_try_echo
=$ac_try;;
34308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34309 (eval "$ac_compile") 2>conftest.er1
34311 grep -v '^ *+' conftest.er1
>conftest.err
34313 cat conftest.err
>&5
34314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34315 (exit $ac_status); } && {
34316 test -z "$ac_c_werror_flag" ||
34317 test ! -s conftest.err
34318 } && test -s conftest.
$ac_objext; then
34319 ac_cv_type_size_t
=yes
34321 echo "$as_me: failed program was:" >&5
34322 sed 's/^/| /' conftest.
$ac_ext >&5
34324 ac_cv_type_size_t
=no
34327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34329 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34330 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34331 if test $ac_cv_type_size_t = yes; then
34335 cat >>confdefs.h
<<_ACEOF
34336 #define size_t unsigned int
34342 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34343 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34344 if test "${ac_cv_type_ssize_t+set}" = set; then
34345 echo $ECHO_N "(cached) $ECHO_C" >&6
34347 cat >conftest.
$ac_ext <<_ACEOF
34350 cat confdefs.h
>>conftest.
$ac_ext
34351 cat >>conftest.
$ac_ext <<_ACEOF
34352 /* end confdefs.h. */
34353 $ac_includes_default
34354 typedef ssize_t ac__type_new_;
34358 if ((ac__type_new_ *) 0)
34360 if (sizeof (ac__type_new_))
34366 rm -f conftest.
$ac_objext
34367 if { (ac_try
="$ac_compile"
34368 case "(($ac_try" in
34369 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34370 *) ac_try_echo=$ac_try;;
34372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34373 (eval "$ac_compile") 2>conftest.er1
34375 grep -v '^ *+' conftest.er1 >conftest.err
34377 cat conftest.err >&5
34378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34379 (exit $ac_status); } && {
34380 test -z "$ac_c_werror_flag" ||
34381 test ! -s conftest.err
34382 } && test -s conftest.$ac_objext; then
34383 ac_cv_type_ssize_t=yes
34385 echo "$as_me: failed program was:" >&5
34386 sed 's/^/| /' conftest.$ac_ext >&5
34388 ac_cv_type_ssize_t=no
34391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34393 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34394 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34395 if test $ac_cv_type_ssize_t = yes; then
34397 cat >>confdefs.h <<_ACEOF
34398 #define HAVE_SSIZE_T 1
34406 ac_cpp='$CXXCPP $CPPFLAGS'
34407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34410 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34411 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34412 if test "${wx_cv_size_t_is_uint+set}" = set; then
34413 echo $ECHO_N "(cached) $ECHO_C" >&6
34416 cat >conftest.$ac_ext <<_ACEOF
34419 cat confdefs.h >>conftest.$ac_ext
34420 cat >>conftest.$ac_ext <<_ACEOF
34421 /* end confdefs.h. */
34422 #include <stddef.h>
34429 struct Foo { void foo(size_t); void foo(unsigned int); };
34437 rm -f conftest.$ac_objext
34438 if { (ac_try="$ac_compile"
34439 case "(($ac_try" in
34440 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34441 *) ac_try_echo
=$ac_try;;
34443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34444 (eval "$ac_compile") 2>conftest.er1
34446 grep -v '^ *+' conftest.er1
>conftest.err
34448 cat conftest.err
>&5
34449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34450 (exit $ac_status); } && {
34451 test -z "$ac_cxx_werror_flag" ||
34452 test ! -s conftest.err
34453 } && test -s conftest.
$ac_objext; then
34454 wx_cv_size_t_is_uint
=no
34456 echo "$as_me: failed program was:" >&5
34457 sed 's/^/| /' conftest.
$ac_ext >&5
34459 wx_cv_size_t_is_uint
=yes
34463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34467 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34468 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34470 if test "$wx_cv_size_t_is_uint" = "yes"; then
34471 cat >>confdefs.h
<<\_ACEOF
34472 #define wxSIZE_T_IS_UINT 1
34476 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34477 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34478 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34479 echo $ECHO_N "(cached) $ECHO_C" >&6
34481 cat >conftest.
$ac_ext <<_ACEOF
34484 cat confdefs.h
>>conftest.
$ac_ext
34485 cat >>conftest.
$ac_ext <<_ACEOF
34486 /* end confdefs.h. */
34487 #include <stddef.h>
34494 struct Foo { void foo(size_t); void foo(unsigned long); };
34502 rm -f conftest.
$ac_objext
34503 if { (ac_try
="$ac_compile"
34504 case "(($ac_try" in
34505 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34506 *) ac_try_echo=$ac_try;;
34508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34509 (eval "$ac_compile") 2>conftest.er1
34511 grep -v '^ *+' conftest.er1 >conftest.err
34513 cat conftest.err >&5
34514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34515 (exit $ac_status); } && {
34516 test -z "$ac_cxx_werror_flag" ||
34517 test ! -s conftest.err
34518 } && test -s conftest.$ac_objext; then
34519 wx_cv_size_t_is_ulong=no
34521 echo "$as_me: failed program was:" >&5
34522 sed 's/^/| /' conftest.$ac_ext >&5
34524 wx_cv_size_t_is_ulong=yes
34528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34531 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34532 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34534 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34535 cat >>confdefs.h <<\_ACEOF
34536 #define wxSIZE_T_IS_ULONG 1
34542 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34543 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34544 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34545 echo $ECHO_N "(cached) $ECHO_C" >&6
34547 cat >conftest.$ac_ext <<_ACEOF
34550 cat confdefs.h >>conftest.$ac_ext
34551 cat >>conftest.$ac_ext <<_ACEOF
34552 /* end confdefs.h. */
34560 struct Foo { void foo(wchar_t);
34561 void foo(unsigned short);
34562 void foo(unsigned int);
34563 void foo(unsigned long); };
34571 rm -f conftest.$ac_objext
34572 if { (ac_try="$ac_compile"
34573 case "(($ac_try" in
34574 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34575 *) ac_try_echo
=$ac_try;;
34577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34578 (eval "$ac_compile") 2>conftest.er1
34580 grep -v '^ *+' conftest.er1
>conftest.err
34582 cat conftest.err
>&5
34583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34584 (exit $ac_status); } && {
34585 test -z "$ac_cxx_werror_flag" ||
34586 test ! -s conftest.err
34587 } && test -s conftest.
$ac_objext; then
34588 wx_cv_wchar_t_is_separate_type
=yes
34590 echo "$as_me: failed program was:" >&5
34591 sed 's/^/| /' conftest.
$ac_ext >&5
34593 wx_cv_wchar_t_is_separate_type
=no
34597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34600 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34601 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34603 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34604 cat >>confdefs.h
<<\_ACEOF
34605 #define wxWCHAR_T_IS_REAL_TYPE 1
34609 cat >>confdefs.h
<<\_ACEOF
34610 #define wxWCHAR_T_IS_REAL_TYPE 0
34616 ac_cpp
='$CPP $CPPFLAGS'
34617 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34618 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34619 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34622 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34623 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34624 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34625 echo $ECHO_N "(cached) $ECHO_C" >&6
34628 cat >conftest.
$ac_ext <<_ACEOF
34631 cat confdefs.h
>>conftest.
$ac_ext
34632 cat >>conftest.
$ac_ext <<_ACEOF
34633 /* end confdefs.h. */
34647 rm -f conftest.
$ac_objext
34648 if { (ac_try
="$ac_compile"
34649 case "(($ac_try" in
34650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34651 *) ac_try_echo=$ac_try;;
34653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34654 (eval "$ac_compile") 2>conftest.er1
34656 grep -v '^ *+' conftest.er1 >conftest.err
34658 cat conftest.err >&5
34659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660 (exit $ac_status); } && {
34661 test -z "$ac_c_werror_flag" ||
34662 test ! -s conftest.err
34663 } && test -s conftest.$ac_objext; then
34665 wx_cv_struct_pw_gecos=yes
34668 echo "$as_me: failed program was:" >&5
34669 sed 's/^/| /' conftest.$ac_ext >&5
34672 wx_cv_struct_pw_gecos=no
34677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34681 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34682 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34684 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34685 cat >>confdefs.h <<\_ACEOF
34686 #define HAVE_PW_GECOS 1
34692 if test "$wxUSE_WCHAR_T" = "yes"; then
34693 cat >>confdefs.h <<\_ACEOF
34694 #define wxUSE_WCHAR_T 1
34701 for ac_func in wcslen
34703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34704 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34706 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34707 echo $ECHO_N "(cached) $ECHO_C" >&6
34709 cat >conftest.$ac_ext <<_ACEOF
34712 cat confdefs.h >>conftest.$ac_ext
34713 cat >>conftest.$ac_ext <<_ACEOF
34714 /* end confdefs.h. */
34715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34717 #define $ac_func innocuous_$ac_func
34719 /* System header to define __stub macros and hopefully few prototypes,
34720 which can conflict with char $ac_func (); below.
34721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34722 <limits.h> exists even on freestanding compilers. */
34725 # include <limits.h>
34727 # include <assert.h>
34732 /* Override any GCC internal prototype to avoid an error.
34733 Use char because int might match the return type of a GCC
34734 builtin and then its argument prototype would still apply. */
34739 /* The GNU C library defines this for functions which it implements
34740 to always fail with ENOSYS. Some functions are actually named
34741 something starting with __ and the normal name is an alias. */
34742 #if defined __stub_$ac_func || defined __stub___$ac_func
34749 return $ac_func ();
34754 rm -f conftest.$ac_objext conftest$ac_exeext
34755 if { (ac_try="$ac_link"
34756 case "(($ac_try" in
34757 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34758 *) ac_try_echo
=$ac_try;;
34760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34761 (eval "$ac_link") 2>conftest.er1
34763 grep -v '^ *+' conftest.er1
>conftest.err
34765 cat conftest.err
>&5
34766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34767 (exit $ac_status); } && {
34768 test -z "$ac_c_werror_flag" ||
34769 test ! -s conftest.err
34770 } && test -s conftest
$ac_exeext &&
34771 $as_test_x conftest
$ac_exeext; then
34772 eval "$as_ac_var=yes"
34774 echo "$as_me: failed program was:" >&5
34775 sed 's/^/| /' conftest.
$ac_ext >&5
34777 eval "$as_ac_var=no"
34780 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34781 conftest
$ac_exeext conftest.
$ac_ext
34783 ac_res
=`eval echo '${'$as_ac_var'}'`
34784 { echo "$as_me:$LINENO: result: $ac_res" >&5
34785 echo "${ECHO_T}$ac_res" >&6; }
34786 if test `eval echo '${'$as_ac_var'}'` = yes; then
34787 cat >>confdefs.h
<<_ACEOF
34788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34795 if test "$WCSLEN_FOUND" = 0; then
34796 if test "$TOOLKIT" = "MSW"; then
34797 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34798 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34799 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34800 echo $ECHO_N "(cached) $ECHO_C" >&6
34802 ac_check_lib_save_LIBS
=$LIBS
34803 LIBS
="-lmsvcrt $LIBS"
34804 cat >conftest.
$ac_ext <<_ACEOF
34807 cat confdefs.h
>>conftest.
$ac_ext
34808 cat >>conftest.
$ac_ext <<_ACEOF
34809 /* end confdefs.h. */
34811 /* Override any GCC internal prototype to avoid an error.
34812 Use char because int might match the return type of a GCC
34813 builtin and then its argument prototype would still apply. */
34826 rm -f conftest.
$ac_objext conftest
$ac_exeext
34827 if { (ac_try
="$ac_link"
34828 case "(($ac_try" in
34829 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34830 *) ac_try_echo=$ac_try;;
34832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34833 (eval "$ac_link") 2>conftest.er1
34835 grep -v '^ *+' conftest.er1 >conftest.err
34837 cat conftest.err >&5
34838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34839 (exit $ac_status); } && {
34840 test -z "$ac_c_werror_flag" ||
34841 test ! -s conftest.err
34842 } && test -s conftest$ac_exeext &&
34843 $as_test_x conftest$ac_exeext; then
34844 ac_cv_lib_msvcrt_wcslen=yes
34846 echo "$as_me: failed program was:" >&5
34847 sed 's/^/| /' conftest.$ac_ext >&5
34849 ac_cv_lib_msvcrt_wcslen=no
34852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34853 conftest$ac_exeext conftest.$ac_ext
34854 LIBS=$ac_check_lib_save_LIBS
34856 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34857 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34858 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34863 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34864 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34865 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34866 echo $ECHO_N "(cached) $ECHO_C" >&6
34868 ac_check_lib_save_LIBS=$LIBS
34870 cat >conftest.$ac_ext <<_ACEOF
34873 cat confdefs.h >>conftest.$ac_ext
34874 cat >>conftest.$ac_ext <<_ACEOF
34875 /* end confdefs.h. */
34877 /* Override any GCC internal prototype to avoid an error.
34878 Use char because int might match the return type of a GCC
34879 builtin and then its argument prototype would still apply. */
34892 rm -f conftest.$ac_objext conftest$ac_exeext
34893 if { (ac_try="$ac_link"
34894 case "(($ac_try" in
34895 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34896 *) ac_try_echo
=$ac_try;;
34898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34899 (eval "$ac_link") 2>conftest.er1
34901 grep -v '^ *+' conftest.er1
>conftest.err
34903 cat conftest.err
>&5
34904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34905 (exit $ac_status); } && {
34906 test -z "$ac_c_werror_flag" ||
34907 test ! -s conftest.err
34908 } && test -s conftest
$ac_exeext &&
34909 $as_test_x conftest
$ac_exeext; then
34910 ac_cv_lib_w_wcslen
=yes
34912 echo "$as_me: failed program was:" >&5
34913 sed 's/^/| /' conftest.
$ac_ext >&5
34915 ac_cv_lib_w_wcslen
=no
34918 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34919 conftest
$ac_exeext conftest.
$ac_ext
34920 LIBS
=$ac_check_lib_save_LIBS
34922 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34923 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34924 if test $ac_cv_lib_w_wcslen = yes; then
34934 if test "$WCSLEN_FOUND" = 1; then
34935 cat >>confdefs.h
<<\_ACEOF
34936 #define HAVE_WCSLEN 1
34942 for ac_func
in wcsdup
34944 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34945 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34947 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34948 echo $ECHO_N "(cached) $ECHO_C" >&6
34950 cat >conftest.
$ac_ext <<_ACEOF
34953 cat confdefs.h
>>conftest.
$ac_ext
34954 cat >>conftest.
$ac_ext <<_ACEOF
34955 /* end confdefs.h. */
34956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34958 #define $ac_func innocuous_$ac_func
34960 /* System header to define __stub macros and hopefully few prototypes,
34961 which can conflict with char $ac_func (); below.
34962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34963 <limits.h> exists even on freestanding compilers. */
34966 # include <limits.h>
34968 # include <assert.h>
34973 /* Override any GCC internal prototype to avoid an error.
34974 Use char because int might match the return type of a GCC
34975 builtin and then its argument prototype would still apply. */
34980 /* The GNU C library defines this for functions which it implements
34981 to always fail with ENOSYS. Some functions are actually named
34982 something starting with __ and the normal name is an alias. */
34983 #if defined __stub_$ac_func || defined __stub___$ac_func
34990 return $ac_func ();
34995 rm -f conftest.
$ac_objext conftest
$ac_exeext
34996 if { (ac_try
="$ac_link"
34997 case "(($ac_try" in
34998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34999 *) ac_try_echo=$ac_try;;
35001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35002 (eval "$ac_link") 2>conftest.er1
35004 grep -v '^ *+' conftest.er1 >conftest.err
35006 cat conftest.err >&5
35007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35008 (exit $ac_status); } && {
35009 test -z "$ac_c_werror_flag" ||
35010 test ! -s conftest.err
35011 } && test -s conftest$ac_exeext &&
35012 $as_test_x conftest$ac_exeext; then
35013 eval "$as_ac_var=yes"
35015 echo "$as_me: failed program was:" >&5
35016 sed 's/^/| /' conftest.$ac_ext >&5
35018 eval "$as_ac_var=no"
35021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35022 conftest$ac_exeext conftest.$ac_ext
35024 ac_res=`eval echo '${'$as_ac_var'}'`
35025 { echo "$as_me:$LINENO: result: $ac_res" >&5
35026 echo "${ECHO_T}$ac_res" >&6; }
35027 if test `eval echo '${'$as_ac_var'}'` = yes; then
35028 cat >>confdefs.h <<_ACEOF
35029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35036 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35037 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35040 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35041 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35042 if test "${ac_cv_type_mbstate_t+set}" = set; then
35043 echo $ECHO_N "(cached) $ECHO_C" >&6
35045 cat >conftest.$ac_ext <<_ACEOF
35048 cat confdefs.h >>conftest.$ac_ext
35049 cat >>conftest.$ac_ext <<_ACEOF
35050 /* end confdefs.h. */
35053 typedef mbstate_t ac__type_new_;
35057 if ((ac__type_new_ *) 0)
35059 if (sizeof (ac__type_new_))
35065 rm -f conftest.$ac_objext
35066 if { (ac_try="$ac_compile"
35067 case "(($ac_try" in
35068 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35069 *) ac_try_echo
=$ac_try;;
35071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35072 (eval "$ac_compile") 2>conftest.er1
35074 grep -v '^ *+' conftest.er1
>conftest.err
35076 cat conftest.err
>&5
35077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35078 (exit $ac_status); } && {
35079 test -z "$ac_c_werror_flag" ||
35080 test ! -s conftest.err
35081 } && test -s conftest.
$ac_objext; then
35082 ac_cv_type_mbstate_t
=yes
35084 echo "$as_me: failed program was:" >&5
35085 sed 's/^/| /' conftest.
$ac_ext >&5
35087 ac_cv_type_mbstate_t
=no
35090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35092 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35093 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35094 if test $ac_cv_type_mbstate_t = yes; then
35096 cat >>confdefs.h
<<_ACEOF
35097 #define HAVE_MBSTATE_T 1
35101 for ac_func
in wcsrtombs
35103 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35104 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35106 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35107 echo $ECHO_N "(cached) $ECHO_C" >&6
35109 cat >conftest.
$ac_ext <<_ACEOF
35112 cat confdefs.h
>>conftest.
$ac_ext
35113 cat >>conftest.
$ac_ext <<_ACEOF
35114 /* end confdefs.h. */
35115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35117 #define $ac_func innocuous_$ac_func
35119 /* System header to define __stub macros and hopefully few prototypes,
35120 which can conflict with char $ac_func (); below.
35121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35122 <limits.h> exists even on freestanding compilers. */
35125 # include <limits.h>
35127 # include <assert.h>
35132 /* Override any GCC internal prototype to avoid an error.
35133 Use char because int might match the return type of a GCC
35134 builtin and then its argument prototype would still apply. */
35139 /* The GNU C library defines this for functions which it implements
35140 to always fail with ENOSYS. Some functions are actually named
35141 something starting with __ and the normal name is an alias. */
35142 #if defined __stub_$ac_func || defined __stub___$ac_func
35149 return $ac_func ();
35154 rm -f conftest.
$ac_objext conftest
$ac_exeext
35155 if { (ac_try
="$ac_link"
35156 case "(($ac_try" in
35157 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35158 *) ac_try_echo=$ac_try;;
35160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35161 (eval "$ac_link") 2>conftest.er1
35163 grep -v '^ *+' conftest.er1 >conftest.err
35165 cat conftest.err >&5
35166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167 (exit $ac_status); } && {
35168 test -z "$ac_c_werror_flag" ||
35169 test ! -s conftest.err
35170 } && test -s conftest$ac_exeext &&
35171 $as_test_x conftest$ac_exeext; then
35172 eval "$as_ac_var=yes"
35174 echo "$as_me: failed program was:" >&5
35175 sed 's/^/| /' conftest.$ac_ext >&5
35177 eval "$as_ac_var=no"
35180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35181 conftest$ac_exeext conftest.$ac_ext
35183 ac_res=`eval echo '${'$as_ac_var'}'`
35184 { echo "$as_me:$LINENO: result: $ac_res" >&5
35185 echo "${ECHO_T}$ac_res" >&6; }
35186 if test `eval echo '${'$as_ac_var'}'` = yes; then
35187 cat >>confdefs.h <<_ACEOF
35188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35197 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35198 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35204 for ac_func in snprintf vsnprintf vsscanf
35206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35207 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35209 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35210 echo $ECHO_N "(cached) $ECHO_C" >&6
35212 cat >conftest.$ac_ext <<_ACEOF
35215 cat confdefs.h >>conftest.$ac_ext
35216 cat >>conftest.$ac_ext <<_ACEOF
35217 /* end confdefs.h. */
35218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35220 #define $ac_func innocuous_$ac_func
35222 /* System header to define __stub macros and hopefully few prototypes,
35223 which can conflict with char $ac_func (); below.
35224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35225 <limits.h> exists even on freestanding compilers. */
35228 # include <limits.h>
35230 # include <assert.h>
35235 /* Override any GCC internal prototype to avoid an error.
35236 Use char because int might match the return type of a GCC
35237 builtin and then its argument prototype would still apply. */
35242 /* The GNU C library defines this for functions which it implements
35243 to always fail with ENOSYS. Some functions are actually named
35244 something starting with __ and the normal name is an alias. */
35245 #if defined __stub_$ac_func || defined __stub___$ac_func
35252 return $ac_func ();
35257 rm -f conftest.$ac_objext conftest$ac_exeext
35258 if { (ac_try="$ac_link"
35259 case "(($ac_try" in
35260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35261 *) ac_try_echo
=$ac_try;;
35263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35264 (eval "$ac_link") 2>conftest.er1
35266 grep -v '^ *+' conftest.er1
>conftest.err
35268 cat conftest.err
>&5
35269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35270 (exit $ac_status); } && {
35271 test -z "$ac_c_werror_flag" ||
35272 test ! -s conftest.err
35273 } && test -s conftest
$ac_exeext &&
35274 $as_test_x conftest
$ac_exeext; then
35275 eval "$as_ac_var=yes"
35277 echo "$as_me: failed program was:" >&5
35278 sed 's/^/| /' conftest.
$ac_ext >&5
35280 eval "$as_ac_var=no"
35283 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35284 conftest
$ac_exeext conftest.
$ac_ext
35286 ac_res
=`eval echo '${'$as_ac_var'}'`
35287 { echo "$as_me:$LINENO: result: $ac_res" >&5
35288 echo "${ECHO_T}$ac_res" >&6; }
35289 if test `eval echo '${'$as_ac_var'}'` = yes; then
35290 cat >>confdefs.h
<<_ACEOF
35291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35299 ac_cpp
='$CXXCPP $CPPFLAGS'
35300 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35301 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35302 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35304 if test "$ac_cv_func_vsnprintf" = "yes"; then
35305 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35306 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35307 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35308 echo $ECHO_N "(cached) $ECHO_C" >&6
35311 cat >conftest.
$ac_ext <<_ACEOF
35314 cat confdefs.h
>>conftest.
$ac_ext
35315 cat >>conftest.
$ac_ext <<_ACEOF
35316 /* end confdefs.h. */
35319 #include <stdarg.h>
35321 #if __MSL__ >= 0x6000
35323 using namespace std;
35333 vsnprintf(buf, 10u, "%s", ap);
35339 rm -f conftest.
$ac_objext
35340 if { (ac_try
="$ac_compile"
35341 case "(($ac_try" in
35342 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35343 *) ac_try_echo=$ac_try;;
35345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35346 (eval "$ac_compile") 2>conftest.er1
35348 grep -v '^ *+' conftest.er1 >conftest.err
35350 cat conftest.err >&5
35351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35352 (exit $ac_status); } && {
35353 test -z "$ac_cxx_werror_flag" ||
35354 test ! -s conftest.err
35355 } && test -s conftest.$ac_objext; then
35356 wx_cv_func_vsnprintf_decl=yes
35358 echo "$as_me: failed program was:" >&5
35359 sed 's/^/| /' conftest.$ac_ext >&5
35361 wx_cv_func_vsnprintf_decl=no
35365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35369 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35370 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35372 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35373 cat >>confdefs.h <<\_ACEOF
35374 #define HAVE_VSNPRINTF_DECL 1
35378 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35379 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35380 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35381 echo $ECHO_N "(cached) $ECHO_C" >&6
35384 cat >conftest.$ac_ext <<_ACEOF
35387 cat confdefs.h >>conftest.$ac_ext
35388 cat >>conftest.$ac_ext <<_ACEOF
35389 /* end confdefs.h. */
35392 #include <stdarg.h>
35394 #if __MSL__ >= 0x6000
35396 using namespace std;
35406 const char *fmt = "%s";
35407 vsnprintf(buf, 10u, fmt, ap);
35413 rm -f conftest.$ac_objext
35414 if { (ac_try="$ac_compile"
35415 case "(($ac_try" in
35416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35417 *) ac_try_echo
=$ac_try;;
35419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35420 (eval "$ac_compile") 2>conftest.er1
35422 grep -v '^ *+' conftest.er1
>conftest.err
35424 cat conftest.err
>&5
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); } && {
35427 test -z "$ac_cxx_werror_flag" ||
35428 test ! -s conftest.err
35429 } && test -s conftest.
$ac_objext; then
35430 wx_cv_func_broken_vsnprintf_decl
=no
35432 echo "$as_me: failed program was:" >&5
35433 sed 's/^/| /' conftest.
$ac_ext >&5
35435 wx_cv_func_broken_vsnprintf_decl
=yes
35439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35443 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35444 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35446 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35447 cat >>confdefs.h
<<\_ACEOF
35448 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35455 if test "$ac_cv_func_snprintf" = "yes"; then
35456 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35457 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35458 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35459 echo $ECHO_N "(cached) $ECHO_C" >&6
35462 cat >conftest.
$ac_ext <<_ACEOF
35465 cat confdefs.h
>>conftest.
$ac_ext
35466 cat >>conftest.
$ac_ext <<_ACEOF
35467 /* end confdefs.h. */
35470 #include <stdarg.h>
35472 #if __MSL__ >= 0x6000
35474 using namespace std;
35483 snprintf(buf, 10u, "%s", "wx");
35489 rm -f conftest.
$ac_objext
35490 if { (ac_try
="$ac_compile"
35491 case "(($ac_try" in
35492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35493 *) ac_try_echo=$ac_try;;
35495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35496 (eval "$ac_compile") 2>conftest.er1
35498 grep -v '^ *+' conftest.er1 >conftest.err
35500 cat conftest.err >&5
35501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35502 (exit $ac_status); } && {
35503 test -z "$ac_cxx_werror_flag" ||
35504 test ! -s conftest.err
35505 } && test -s conftest.$ac_objext; then
35506 wx_cv_func_snprintf_decl=yes
35508 echo "$as_me: failed program was:" >&5
35509 sed 's/^/| /' conftest.$ac_ext >&5
35511 wx_cv_func_snprintf_decl=no
35515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35519 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35520 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35522 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35523 cat >>confdefs.h <<\_ACEOF
35524 #define HAVE_SNPRINTF_DECL 1
35529 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35531 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35532 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35533 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35534 echo $ECHO_N "(cached) $ECHO_C" >&6
35537 if test "$cross_compiling" = yes; then
35539 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35540 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35541 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35542 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35543 wx_cv_func_snprintf_pos_params=no
35547 cat >conftest.$ac_ext <<_ACEOF
35550 cat confdefs.h >>conftest.$ac_ext
35551 cat >>conftest.$ac_ext <<_ACEOF
35552 /* end confdefs.h. */
35559 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35560 if (strcmp ("2 3 1", buffer) == 0)
35566 rm -f conftest$ac_exeext
35567 if { (ac_try="$ac_link"
35568 case "(($ac_try" in
35569 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35570 *) ac_try_echo
=$ac_try;;
35572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35573 (eval "$ac_link") 2>&5
35575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35576 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35577 { (case "(($ac_try" in
35578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35579 *) ac_try_echo=$ac_try;;
35581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35582 (eval "$ac_try") 2>&5
35584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35585 (exit $ac_status); }; }; then
35586 wx_cv_func_snprintf_pos_params=no
35588 echo "$as_me: program exited with status $ac_status" >&5
35589 echo "$as_me: failed program was:" >&5
35590 sed 's/^/| /' conftest.$ac_ext >&5
35592 ( exit $ac_status )
35593 wx_cv_func_snprintf_pos_params=yes
35595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35602 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35603 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35605 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35606 cat >>confdefs.h <<\_ACEOF
35607 #define HAVE_UNIX98_PRINTF 1
35614 if test "$ac_cv_func_vsscanf" = "yes"; then
35615 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35616 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35617 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35618 echo $ECHO_N "(cached) $ECHO_C" >&6
35621 cat >conftest.$ac_ext <<_ACEOF
35624 cat confdefs.h >>conftest.$ac_ext
35625 cat >>conftest.$ac_ext <<_ACEOF
35626 /* end confdefs.h. */
35629 #include <stdarg.h>
35631 #if __MSL__ >= 0x6000
35633 using namespace std;
35643 vsscanf(buf, "%s", args);
35649 rm -f conftest.$ac_objext
35650 if { (ac_try="$ac_compile"
35651 case "(($ac_try" in
35652 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35653 *) ac_try_echo
=$ac_try;;
35655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35656 (eval "$ac_compile") 2>conftest.er1
35658 grep -v '^ *+' conftest.er1
>conftest.err
35660 cat conftest.err
>&5
35661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35662 (exit $ac_status); } && {
35663 test -z "$ac_cxx_werror_flag" ||
35664 test ! -s conftest.err
35665 } && test -s conftest.
$ac_objext; then
35666 wx_cv_func_vsscanf_decl
=yes
35668 echo "$as_me: failed program was:" >&5
35669 sed 's/^/| /' conftest.
$ac_ext >&5
35671 wx_cv_func_vsscanf_decl
=no
35675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35679 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35680 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35682 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35683 cat >>confdefs.h
<<\_ACEOF
35684 #define HAVE_VSSCANF_DECL 1
35690 ac_cpp
='$CPP $CPPFLAGS'
35691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35696 if test "$wxUSE_UNICODE" = yes; then
35698 wchar_headers
="#include <stdio.h>
35699 #include <wchar.h>"
35703 for ac_header
in widec.h
35705 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35706 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35708 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35709 echo $ECHO_N "(cached) $ECHO_C" >&6
35711 cat >conftest.
$ac_ext <<_ACEOF
35714 cat confdefs.h
>>conftest.
$ac_ext
35715 cat >>conftest.
$ac_ext <<_ACEOF
35716 /* end confdefs.h. */
35717 $ac_includes_default
35719 #include <$ac_header>
35721 rm -f conftest.
$ac_objext
35722 if { (ac_try
="$ac_compile"
35723 case "(($ac_try" in
35724 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35725 *) ac_try_echo=$ac_try;;
35727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35728 (eval "$ac_compile") 2>conftest.er1
35730 grep -v '^ *+' conftest.er1 >conftest.err
35732 cat conftest.err >&5
35733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35734 (exit $ac_status); } && {
35735 test -z "$ac_c_werror_flag" ||
35736 test ! -s conftest.err
35737 } && test -s conftest.$ac_objext; then
35738 eval "$as_ac_Header=yes"
35740 echo "$as_me: failed program was:" >&5
35741 sed 's/^/| /' conftest.$ac_ext >&5
35743 eval "$as_ac_Header=no"
35746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35748 ac_res=`eval echo '${'$as_ac_Header'}'`
35749 { echo "$as_me:$LINENO: result: $ac_res" >&5
35750 echo "${ECHO_T}$ac_res" >&6; }
35751 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35752 cat >>confdefs.h <<_ACEOF
35753 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35760 if test "$ac_cv_header_widec_h" = "yes"; then
35761 wchar_headers="$wchar_headers
35762 #include <widec.h>"
35767 for wx_func in putws fputws wprintf vswprintf vswscanf
35769 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35770 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35771 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35772 echo $ECHO_N "(cached) $ECHO_C" >&6
35775 cat >conftest.$ac_ext <<_ACEOF
35779 cat confdefs.h >>conftest.$ac_ext
35780 cat >>conftest.$ac_ext <<_ACEOF
35781 /* end confdefs.h. */
35784 $ac_includes_default
35800 rm -f conftest.$ac_objext conftest$ac_exeext
35801 if { (ac_try="$ac_link"
35802 case "(($ac_try" in
35803 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35804 *) ac_try_echo
=$ac_try;;
35806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35807 (eval "$ac_link") 2>conftest.er1
35809 grep -v '^ *+' conftest.er1
>conftest.err
35811 cat conftest.err
>&5
35812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35813 (exit $ac_status); } && {
35814 test -z "$ac_c_werror_flag" ||
35815 test ! -s conftest.err
35816 } && test -s conftest
$ac_exeext &&
35817 $as_test_x conftest
$ac_exeext; then
35818 eval wx_cv_func_
$wx_func=yes
35820 echo "$as_me: failed program was:" >&5
35821 sed 's/^/| /' conftest.
$ac_ext >&5
35823 eval wx_cv_func_
$wx_func=no
35826 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35827 conftest
$ac_exeext conftest.
$ac_ext
35830 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35831 { echo "$as_me:$LINENO: result: $ac_res" >&5
35832 echo "${ECHO_T}$ac_res" >&6; }
35834 if eval test \
$wx_cv_func_$wx_func = yes
35836 cat >>confdefs.h
<<_ACEOF
35837 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35848 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35849 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35850 cat >conftest.
$ac_ext <<_ACEOF
35853 cat confdefs.h
>>conftest.
$ac_ext
35854 cat >>conftest.
$ac_ext <<_ACEOF
35855 /* end confdefs.h. */
35865 rm -f conftest.
$ac_objext
35866 if { (ac_try
="$ac_compile"
35867 case "(($ac_try" in
35868 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35869 *) ac_try_echo=$ac_try;;
35871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35872 (eval "$ac_compile") 2>conftest.er1
35874 grep -v '^ *+' conftest.er1 >conftest.err
35876 cat conftest.err >&5
35877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35878 (exit $ac_status); } && {
35879 test -z "$ac_c_werror_flag" ||
35880 test ! -s conftest.err
35881 } && test -s conftest.$ac_objext; then
35882 { echo "$as_me:$LINENO: result: yes" >&5
35883 echo "${ECHO_T}yes" >&6; }
35884 cat >>confdefs.h <<\_ACEOF
35885 #define HAVE__VSNWPRINTF 1
35889 echo "$as_me: failed program was:" >&5
35890 sed 's/^/| /' conftest.$ac_ext >&5
35892 { echo "$as_me:$LINENO: result: no" >&5
35893 echo "${ECHO_T}no" >&6; }
35896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35899 if test "$wxUSE_FILE" = "yes"; then
35901 for wx_func in fsync
35903 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35904 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35905 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35906 echo $ECHO_N "(cached) $ECHO_C" >&6
35909 cat >conftest.$ac_ext <<_ACEOF
35913 cat confdefs.h >>conftest.$ac_ext
35914 cat >>conftest.$ac_ext <<_ACEOF
35915 /* end confdefs.h. */
35918 $ac_includes_default
35934 rm -f conftest.$ac_objext conftest$ac_exeext
35935 if { (ac_try="$ac_link"
35936 case "(($ac_try" in
35937 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35938 *) ac_try_echo
=$ac_try;;
35940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35941 (eval "$ac_link") 2>conftest.er1
35943 grep -v '^ *+' conftest.er1
>conftest.err
35945 cat conftest.err
>&5
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); } && {
35948 test -z "$ac_c_werror_flag" ||
35949 test ! -s conftest.err
35950 } && test -s conftest
$ac_exeext &&
35951 $as_test_x conftest
$ac_exeext; then
35952 eval wx_cv_func_
$wx_func=yes
35954 echo "$as_me: failed program was:" >&5
35955 sed 's/^/| /' conftest.
$ac_ext >&5
35957 eval wx_cv_func_
$wx_func=no
35960 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35961 conftest
$ac_exeext conftest.
$ac_ext
35964 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35965 { echo "$as_me:$LINENO: result: $ac_res" >&5
35966 echo "${ECHO_T}$ac_res" >&6; }
35968 if eval test \
$wx_cv_func_$wx_func = yes
35970 cat >>confdefs.h
<<_ACEOF
35971 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35984 ac_cpp
='$CXXCPP $CPPFLAGS'
35985 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35986 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35987 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35990 for wx_func
in round
35992 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35993 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35994 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35995 echo $ECHO_N "(cached) $ECHO_C" >&6
35998 cat >conftest.
$ac_ext <<_ACEOF
36002 cat confdefs.h
>>conftest.
$ac_ext
36003 cat >>conftest.
$ac_ext <<_ACEOF
36004 /* end confdefs.h. */
36007 $ac_includes_default
36023 rm -f conftest.
$ac_objext conftest
$ac_exeext
36024 if { (ac_try
="$ac_link"
36025 case "(($ac_try" in
36026 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36027 *) ac_try_echo=$ac_try;;
36029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36030 (eval "$ac_link") 2>conftest.er1
36032 grep -v '^ *+' conftest.er1 >conftest.err
36034 cat conftest.err >&5
36035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036 (exit $ac_status); } && {
36037 test -z "$ac_cxx_werror_flag" ||
36038 test ! -s conftest.err
36039 } && test -s conftest$ac_exeext &&
36040 $as_test_x conftest$ac_exeext; then
36041 eval wx_cv_func_$wx_func=yes
36043 echo "$as_me: failed program was:" >&5
36044 sed 's/^/| /' conftest.$ac_ext >&5
36046 eval wx_cv_func_$wx_func=no
36049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36050 conftest$ac_exeext conftest.$ac_ext
36053 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36054 { echo "$as_me:$LINENO: result: $ac_res" >&5
36055 echo "${ECHO_T}$ac_res" >&6; }
36057 if eval test \$wx_cv_func_$wx_func = yes
36059 cat >>confdefs.h <<_ACEOF
36060 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36071 ac_cpp='$CPP $CPPFLAGS'
36072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36077 if test "$TOOLKIT" != "MSW"; then
36079 if test "$wxUSE_LIBICONV" != "no" ; then
36083 # Check whether --with-libiconv-prefix was given.
36084 if test "${with_libiconv_prefix+set}" = set; then
36085 withval=$with_libiconv_prefix;
36086 for dir in `echo "$withval" | tr : ' '`; do
36087 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36088 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36094 { echo "$as_me:$LINENO: checking for iconv" >&5
36095 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36096 if test "${am_cv_func_iconv+set}" = set; then
36097 echo $ECHO_N "(cached) $ECHO_C" >&6
36100 am_cv_func_iconv="no, consider installing GNU libiconv"
36102 cat >conftest.$ac_ext <<_ACEOF
36105 cat confdefs.h >>conftest.$ac_ext
36106 cat >>conftest.$ac_ext <<_ACEOF
36107 /* end confdefs.h. */
36108 #include <stdlib.h>
36113 iconv_t cd = iconv_open("","");
36114 iconv(cd,NULL,NULL,NULL,NULL);
36120 rm -f conftest.$ac_objext conftest$ac_exeext
36121 if { (ac_try="$ac_link"
36122 case "(($ac_try" in
36123 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36124 *) ac_try_echo
=$ac_try;;
36126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36127 (eval "$ac_link") 2>conftest.er1
36129 grep -v '^ *+' conftest.er1
>conftest.err
36131 cat conftest.err
>&5
36132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36133 (exit $ac_status); } && {
36134 test -z "$ac_c_werror_flag" ||
36135 test ! -s conftest.err
36136 } && test -s conftest
$ac_exeext &&
36137 $as_test_x conftest
$ac_exeext; then
36138 am_cv_func_iconv
=yes
36140 echo "$as_me: failed program was:" >&5
36141 sed 's/^/| /' conftest.
$ac_ext >&5
36146 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36147 conftest
$ac_exeext conftest.
$ac_ext
36148 if test "$am_cv_func_iconv" != yes; then
36149 am_save_LIBS
="$LIBS"
36150 LIBS
="$LIBS -liconv"
36151 cat >conftest.
$ac_ext <<_ACEOF
36154 cat confdefs.h
>>conftest.
$ac_ext
36155 cat >>conftest.
$ac_ext <<_ACEOF
36156 /* end confdefs.h. */
36157 #include <stdlib.h>
36162 iconv_t cd = iconv_open("","");
36163 iconv(cd,NULL,NULL,NULL,NULL);
36169 rm -f conftest.
$ac_objext conftest
$ac_exeext
36170 if { (ac_try
="$ac_link"
36171 case "(($ac_try" in
36172 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36173 *) ac_try_echo=$ac_try;;
36175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36176 (eval "$ac_link") 2>conftest.er1
36178 grep -v '^ *+' conftest.er1 >conftest.err
36180 cat conftest.err >&5
36181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36182 (exit $ac_status); } && {
36183 test -z "$ac_c_werror_flag" ||
36184 test ! -s conftest.err
36185 } && test -s conftest$ac_exeext &&
36186 $as_test_x conftest$ac_exeext; then
36187 am_cv_lib_iconv=yes
36188 am_cv_func_iconv=yes
36190 echo "$as_me: failed program was:" >&5
36191 sed 's/^/| /' conftest.$ac_ext >&5
36196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36197 conftest$ac_exeext conftest.$ac_ext
36198 LIBS="$am_save_LIBS"
36202 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36203 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36204 if test "$am_cv_func_iconv" = yes; then
36206 cat >>confdefs.h <<\_ACEOF
36207 #define HAVE_ICONV 1
36210 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36211 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36212 if test "${wx_cv_func_iconv_const+set}" = set; then
36213 echo $ECHO_N "(cached) $ECHO_C" >&6
36215 cat >conftest.$ac_ext <<_ACEOF
36218 cat confdefs.h >>conftest.$ac_ext
36219 cat >>conftest.$ac_ext <<_ACEOF
36220 /* end confdefs.h. */
36222 #include <stdlib.h>
36228 #if defined(__STDC__) || defined(__cplusplus)
36229 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36242 rm -f conftest.$ac_objext
36243 if { (ac_try="$ac_compile"
36244 case "(($ac_try" in
36245 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36246 *) ac_try_echo
=$ac_try;;
36248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36249 (eval "$ac_compile") 2>conftest.er1
36251 grep -v '^ *+' conftest.er1
>conftest.err
36253 cat conftest.err
>&5
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); } && {
36256 test -z "$ac_c_werror_flag" ||
36257 test ! -s conftest.err
36258 } && test -s conftest.
$ac_objext; then
36259 wx_cv_func_iconv_const
="no"
36261 echo "$as_me: failed program was:" >&5
36262 sed 's/^/| /' conftest.
$ac_ext >&5
36264 wx_cv_func_iconv_const
="yes"
36268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36271 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36272 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36275 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36276 iconv_const
="const"
36280 cat >>confdefs.h
<<_ACEOF
36281 #define ICONV_CONST $iconv_const
36286 if test "$am_cv_lib_iconv" = yes; then
36291 LIBS
="$LIBICONV $LIBS"
36294 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36296 for ac_func
in sigaction
36298 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36299 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36301 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36302 echo $ECHO_N "(cached) $ECHO_C" >&6
36304 cat >conftest.
$ac_ext <<_ACEOF
36307 cat confdefs.h
>>conftest.
$ac_ext
36308 cat >>conftest.
$ac_ext <<_ACEOF
36309 /* end confdefs.h. */
36310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36312 #define $ac_func innocuous_$ac_func
36314 /* System header to define __stub macros and hopefully few prototypes,
36315 which can conflict with char $ac_func (); below.
36316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36317 <limits.h> exists even on freestanding compilers. */
36320 # include <limits.h>
36322 # include <assert.h>
36327 /* Override any GCC internal prototype to avoid an error.
36328 Use char because int might match the return type of a GCC
36329 builtin and then its argument prototype would still apply. */
36334 /* The GNU C library defines this for functions which it implements
36335 to always fail with ENOSYS. Some functions are actually named
36336 something starting with __ and the normal name is an alias. */
36337 #if defined __stub_$ac_func || defined __stub___$ac_func
36344 return $ac_func ();
36349 rm -f conftest.
$ac_objext conftest
$ac_exeext
36350 if { (ac_try
="$ac_link"
36351 case "(($ac_try" in
36352 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36353 *) ac_try_echo=$ac_try;;
36355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36356 (eval "$ac_link") 2>conftest.er1
36358 grep -v '^ *+' conftest.er1 >conftest.err
36360 cat conftest.err >&5
36361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36362 (exit $ac_status); } && {
36363 test -z "$ac_c_werror_flag" ||
36364 test ! -s conftest.err
36365 } && test -s conftest$ac_exeext &&
36366 $as_test_x conftest$ac_exeext; then
36367 eval "$as_ac_var=yes"
36369 echo "$as_me: failed program was:" >&5
36370 sed 's/^/| /' conftest.$ac_ext >&5
36372 eval "$as_ac_var=no"
36375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36376 conftest$ac_exeext conftest.$ac_ext
36378 ac_res=`eval echo '${'$as_ac_var'}'`
36379 { echo "$as_me:$LINENO: result: $ac_res" >&5
36380 echo "${ECHO_T}$ac_res" >&6; }
36381 if test `eval echo '${'$as_ac_var'}'` = yes; then
36382 cat >>confdefs.h <<_ACEOF
36383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36390 if test "$ac_cv_func_sigaction" = "no"; then
36391 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36392 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36393 wxUSE_ON_FATAL_EXCEPTION=no
36396 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36397 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36398 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36399 if test "${wx_cv_type_sa_handler+set}" = set; then
36400 echo $ECHO_N "(cached) $ECHO_C" >&6
36404 ac_cpp='$CXXCPP $CPPFLAGS'
36405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36409 cat >conftest.$ac_ext <<_ACEOF
36412 cat confdefs.h >>conftest.$ac_ext
36413 cat >>conftest.$ac_ext <<_ACEOF
36414 /* end confdefs.h. */
36415 #include <signal.h>
36420 extern void testSigHandler(int);
36422 struct sigaction sa;
36423 sa.sa_handler = testSigHandler;
36429 rm -f conftest.$ac_objext
36430 if { (ac_try="$ac_compile"
36431 case "(($ac_try" in
36432 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36433 *) ac_try_echo
=$ac_try;;
36435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36436 (eval "$ac_compile") 2>conftest.er1
36438 grep -v '^ *+' conftest.er1
>conftest.err
36440 cat conftest.err
>&5
36441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36442 (exit $ac_status); } && {
36443 test -z "$ac_cxx_werror_flag" ||
36444 test ! -s conftest.err
36445 } && test -s conftest.
$ac_objext; then
36447 wx_cv_type_sa_handler
=int
36450 echo "$as_me: failed program was:" >&5
36451 sed 's/^/| /' conftest.
$ac_ext >&5
36454 wx_cv_type_sa_handler
=void
36458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36460 ac_cpp
='$CPP $CPPFLAGS'
36461 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36462 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36463 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36467 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36468 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36470 cat >>confdefs.h
<<_ACEOF
36471 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36477 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36478 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36479 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36480 if test "${wx_cv_func_backtrace+set}" = set; then
36481 echo $ECHO_N "(cached) $ECHO_C" >&6
36485 ac_cpp
='$CXXCPP $CPPFLAGS'
36486 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36487 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36488 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36490 cat >conftest.
$ac_ext <<_ACEOF
36493 cat confdefs.h
>>conftest.
$ac_ext
36494 cat >>conftest.
$ac_ext <<_ACEOF
36495 /* end confdefs.h. */
36496 #include <execinfo.h>
36504 backtrace(trace, 1);
36505 messages = backtrace_symbols(trace, 1);
36511 rm -f conftest.
$ac_objext
36512 if { (ac_try
="$ac_compile"
36513 case "(($ac_try" in
36514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36515 *) ac_try_echo=$ac_try;;
36517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36518 (eval "$ac_compile") 2>conftest.er1
36520 grep -v '^ *+' conftest.er1 >conftest.err
36522 cat conftest.err >&5
36523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36524 (exit $ac_status); } && {
36525 test -z "$ac_cxx_werror_flag" ||
36526 test ! -s conftest.err
36527 } && test -s conftest.$ac_objext; then
36528 wx_cv_func_backtrace=yes
36530 echo "$as_me: failed program was:" >&5
36531 sed 's/^/| /' conftest.$ac_ext >&5
36533 wx_cv_func_backtrace=no
36537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36539 ac_cpp='$CPP $CPPFLAGS'
36540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36547 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36548 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36551 if test "$wx_cv_func_backtrace" = "no"; then
36552 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36553 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36554 wxUSE_STACKWALKER=no
36556 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36557 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36558 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36559 echo $ECHO_N "(cached) $ECHO_C" >&6
36563 ac_cpp='$CXXCPP $CPPFLAGS'
36564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36568 cat >conftest.$ac_ext <<_ACEOF
36571 cat confdefs.h >>conftest.$ac_ext
36572 cat >>conftest.$ac_ext <<_ACEOF
36573 /* end confdefs.h. */
36574 #include <cxxabi.h>
36580 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36586 rm -f conftest.$ac_objext conftest$ac_exeext
36587 if { (ac_try="$ac_link"
36588 case "(($ac_try" in
36589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36590 *) ac_try_echo
=$ac_try;;
36592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36593 (eval "$ac_link") 2>conftest.er1
36595 grep -v '^ *+' conftest.er1
>conftest.err
36597 cat conftest.err
>&5
36598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36599 (exit $ac_status); } && {
36600 test -z "$ac_cxx_werror_flag" ||
36601 test ! -s conftest.err
36602 } && test -s conftest
$ac_exeext &&
36603 $as_test_x conftest
$ac_exeext; then
36604 wx_cv_func_cxa_demangle
=yes
36606 echo "$as_me: failed program was:" >&5
36607 sed 's/^/| /' conftest.
$ac_ext >&5
36609 wx_cv_func_cxa_demangle
=no
36613 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36614 conftest
$ac_exeext conftest.
$ac_ext
36616 ac_cpp
='$CPP $CPPFLAGS'
36617 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36618 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36619 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36624 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36625 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36627 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36628 cat >>confdefs.h
<<\_ACEOF
36629 #define HAVE_CXA_DEMANGLE 1
36636 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36637 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36638 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36639 wxUSE_STACKWALKER
=no
36645 for ac_func
in mkstemp mktemp
36647 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36648 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36650 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36651 echo $ECHO_N "(cached) $ECHO_C" >&6
36653 cat >conftest.
$ac_ext <<_ACEOF
36656 cat confdefs.h
>>conftest.
$ac_ext
36657 cat >>conftest.
$ac_ext <<_ACEOF
36658 /* end confdefs.h. */
36659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36661 #define $ac_func innocuous_$ac_func
36663 /* System header to define __stub macros and hopefully few prototypes,
36664 which can conflict with char $ac_func (); below.
36665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36666 <limits.h> exists even on freestanding compilers. */
36669 # include <limits.h>
36671 # include <assert.h>
36676 /* Override any GCC internal prototype to avoid an error.
36677 Use char because int might match the return type of a GCC
36678 builtin and then its argument prototype would still apply. */
36683 /* The GNU C library defines this for functions which it implements
36684 to always fail with ENOSYS. Some functions are actually named
36685 something starting with __ and the normal name is an alias. */
36686 #if defined __stub_$ac_func || defined __stub___$ac_func
36693 return $ac_func ();
36698 rm -f conftest.
$ac_objext conftest
$ac_exeext
36699 if { (ac_try
="$ac_link"
36700 case "(($ac_try" in
36701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36702 *) ac_try_echo=$ac_try;;
36704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36705 (eval "$ac_link") 2>conftest.er1
36707 grep -v '^ *+' conftest.er1 >conftest.err
36709 cat conftest.err >&5
36710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36711 (exit $ac_status); } && {
36712 test -z "$ac_c_werror_flag" ||
36713 test ! -s conftest.err
36714 } && test -s conftest$ac_exeext &&
36715 $as_test_x conftest$ac_exeext; then
36716 eval "$as_ac_var=yes"
36718 echo "$as_me: failed program was:" >&5
36719 sed 's/^/| /' conftest.$ac_ext >&5
36721 eval "$as_ac_var=no"
36724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36725 conftest$ac_exeext conftest.$ac_ext
36727 ac_res=`eval echo '${'$as_ac_var'}'`
36728 { echo "$as_me:$LINENO: result: $ac_res" >&5
36729 echo "${ECHO_T}$ac_res" >&6; }
36730 if test `eval echo '${'$as_ac_var'}'` = yes; then
36731 cat >>confdefs.h <<_ACEOF
36732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36739 { echo "$as_me:$LINENO: checking for statfs" >&5
36740 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36741 if test "${wx_cv_func_statfs+set}" = set; then
36742 echo $ECHO_N "(cached) $ECHO_C" >&6
36744 cat >conftest.$ac_ext <<_ACEOF
36747 cat confdefs.h >>conftest.$ac_ext
36748 cat >>conftest.$ac_ext <<_ACEOF
36749 /* end confdefs.h. */
36751 #if defined(__BSD__)
36752 #include <sys/param.h>
36753 #include <sys/mount.h>
36755 #include <sys/vfs.h>
36773 rm -f conftest.$ac_objext
36774 if { (ac_try="$ac_compile"
36775 case "(($ac_try" in
36776 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36777 *) ac_try_echo
=$ac_try;;
36779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36780 (eval "$ac_compile") 2>conftest.er1
36782 grep -v '^ *+' conftest.er1
>conftest.err
36784 cat conftest.err
>&5
36785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36786 (exit $ac_status); } && {
36787 test -z "$ac_c_werror_flag" ||
36788 test ! -s conftest.err
36789 } && test -s conftest.
$ac_objext; then
36790 wx_cv_func_statfs
=yes
36792 echo "$as_me: failed program was:" >&5
36793 sed 's/^/| /' conftest.
$ac_ext >&5
36795 wx_cv_func_statfs
=no
36799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36802 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36803 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36805 if test "$wx_cv_func_statfs" = "yes"; then
36806 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36807 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36808 if test "${wx_cv_func_statfs_decl+set}" = set; then
36809 echo $ECHO_N "(cached) $ECHO_C" >&6
36812 ac_cpp
='$CXXCPP $CPPFLAGS'
36813 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36814 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36815 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36817 cat >conftest.
$ac_ext <<_ACEOF
36820 cat confdefs.h
>>conftest.
$ac_ext
36821 cat >>conftest.
$ac_ext <<_ACEOF
36822 /* end confdefs.h. */
36824 #if defined(__BSD__)
36825 #include <sys/param.h>
36826 #include <sys/mount.h>
36828 #include <sys/vfs.h>
36842 rm -f conftest.
$ac_objext
36843 if { (ac_try
="$ac_compile"
36844 case "(($ac_try" in
36845 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36846 *) ac_try_echo=$ac_try;;
36848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36849 (eval "$ac_compile") 2>conftest.er1
36851 grep -v '^ *+' conftest.er1 >conftest.err
36853 cat conftest.err >&5
36854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36855 (exit $ac_status); } && {
36856 test -z "$ac_cxx_werror_flag" ||
36857 test ! -s conftest.err
36858 } && test -s conftest.$ac_objext; then
36859 wx_cv_func_statfs_decl=yes
36861 echo "$as_me: failed program was:" >&5
36862 sed 's/^/| /' conftest.$ac_ext >&5
36864 wx_cv_func_statfs_decl=no
36868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36870 ac_cpp='$CPP $CPPFLAGS'
36871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36877 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36878 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36880 if test "$wx_cv_func_statfs_decl" = "yes"; then
36881 cat >>confdefs.h <<\_ACEOF
36882 #define HAVE_STATFS_DECL 1
36887 wx_cv_type_statvfs_t="struct statfs"
36888 cat >>confdefs.h <<\_ACEOF
36889 #define HAVE_STATFS 1
36893 { echo "$as_me:$LINENO: checking for statvfs" >&5
36894 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36895 if test "${wx_cv_func_statvfs+set}" = set; then
36896 echo $ECHO_N "(cached) $ECHO_C" >&6
36898 cat >conftest.$ac_ext <<_ACEOF
36901 cat confdefs.h >>conftest.$ac_ext
36902 cat >>conftest.$ac_ext <<_ACEOF
36903 /* end confdefs.h. */
36905 #include <stddef.h>
36906 #include <sys/statvfs.h>
36912 statvfs("/", NULL);
36918 rm -f conftest.$ac_objext
36919 if { (ac_try="$ac_compile"
36920 case "(($ac_try" in
36921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36922 *) ac_try_echo
=$ac_try;;
36924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36925 (eval "$ac_compile") 2>conftest.er1
36927 grep -v '^ *+' conftest.er1
>conftest.err
36929 cat conftest.err
>&5
36930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36931 (exit $ac_status); } && {
36932 test -z "$ac_c_werror_flag" ||
36933 test ! -s conftest.err
36934 } && test -s conftest.
$ac_objext; then
36935 wx_cv_func_statvfs
=yes
36937 echo "$as_me: failed program was:" >&5
36938 sed 's/^/| /' conftest.
$ac_ext >&5
36940 wx_cv_func_statvfs
=no
36944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36947 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36948 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36950 if test "$wx_cv_func_statvfs" = "yes"; then
36951 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36952 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36953 if test "${wx_cv_type_statvfs_t+set}" = set; then
36954 echo $ECHO_N "(cached) $ECHO_C" >&6
36957 ac_cpp
='$CXXCPP $CPPFLAGS'
36958 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36959 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36960 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36962 cat >conftest.
$ac_ext <<_ACEOF
36965 cat confdefs.h
>>conftest.
$ac_ext
36966 cat >>conftest.
$ac_ext <<_ACEOF
36967 /* end confdefs.h. */
36969 #include <sys/statvfs.h>
36986 rm -f conftest.
$ac_objext
36987 if { (ac_try
="$ac_compile"
36988 case "(($ac_try" in
36989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36990 *) ac_try_echo=$ac_try;;
36992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36993 (eval "$ac_compile") 2>conftest.er1
36995 grep -v '^ *+' conftest.er1 >conftest.err
36997 cat conftest.err >&5
36998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36999 (exit $ac_status); } && {
37000 test -z "$ac_cxx_werror_flag" ||
37001 test ! -s conftest.err
37002 } && test -s conftest.$ac_objext; then
37003 wx_cv_type_statvfs_t=statvfs_t
37005 echo "$as_me: failed program was:" >&5
37006 sed 's/^/| /' conftest.$ac_ext >&5
37009 cat >conftest.$ac_ext <<_ACEOF
37012 cat confdefs.h >>conftest.$ac_ext
37013 cat >>conftest.$ac_ext <<_ACEOF
37014 /* end confdefs.h. */
37016 #include <sys/statvfs.h>
37033 rm -f conftest.$ac_objext
37034 if { (ac_try="$ac_compile"
37035 case "(($ac_try" in
37036 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37037 *) ac_try_echo
=$ac_try;;
37039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37040 (eval "$ac_compile") 2>conftest.er1
37042 grep -v '^ *+' conftest.er1
>conftest.err
37044 cat conftest.err
>&5
37045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37046 (exit $ac_status); } && {
37047 test -z "$ac_cxx_werror_flag" ||
37048 test ! -s conftest.err
37049 } && test -s conftest.
$ac_objext; then
37050 wx_cv_type_statvfs_t
="struct statvfs"
37052 echo "$as_me: failed program was:" >&5
37053 sed 's/^/| /' conftest.
$ac_ext >&5
37055 wx_cv_type_statvfs_t
="unknown"
37059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37066 ac_cpp
='$CPP $CPPFLAGS'
37067 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37068 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37069 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37073 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37074 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37076 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37077 cat >>confdefs.h
<<\_ACEOF
37078 #define HAVE_STATVFS 1
37083 wx_cv_type_statvfs_t
="unknown"
37087 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37088 cat >>confdefs.h
<<_ACEOF
37089 #define WX_STATFS_T $wx_cv_type_statvfs_t
37093 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37094 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37097 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37100 for ac_func
in fcntl flock
37102 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37103 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37105 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37106 echo $ECHO_N "(cached) $ECHO_C" >&6
37108 cat >conftest.
$ac_ext <<_ACEOF
37111 cat confdefs.h
>>conftest.
$ac_ext
37112 cat >>conftest.
$ac_ext <<_ACEOF
37113 /* end confdefs.h. */
37114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37116 #define $ac_func innocuous_$ac_func
37118 /* System header to define __stub macros and hopefully few prototypes,
37119 which can conflict with char $ac_func (); below.
37120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37121 <limits.h> exists even on freestanding compilers. */
37124 # include <limits.h>
37126 # include <assert.h>
37131 /* Override any GCC internal prototype to avoid an error.
37132 Use char because int might match the return type of a GCC
37133 builtin and then its argument prototype would still apply. */
37138 /* The GNU C library defines this for functions which it implements
37139 to always fail with ENOSYS. Some functions are actually named
37140 something starting with __ and the normal name is an alias. */
37141 #if defined __stub_$ac_func || defined __stub___$ac_func
37148 return $ac_func ();
37153 rm -f conftest.
$ac_objext conftest
$ac_exeext
37154 if { (ac_try
="$ac_link"
37155 case "(($ac_try" in
37156 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37157 *) ac_try_echo=$ac_try;;
37159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37160 (eval "$ac_link") 2>conftest.er1
37162 grep -v '^ *+' conftest.er1 >conftest.err
37164 cat conftest.err >&5
37165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37166 (exit $ac_status); } && {
37167 test -z "$ac_c_werror_flag" ||
37168 test ! -s conftest.err
37169 } && test -s conftest$ac_exeext &&
37170 $as_test_x conftest$ac_exeext; then
37171 eval "$as_ac_var=yes"
37173 echo "$as_me: failed program was:" >&5
37174 sed 's/^/| /' conftest.$ac_ext >&5
37176 eval "$as_ac_var=no"
37179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37180 conftest$ac_exeext conftest.$ac_ext
37182 ac_res=`eval echo '${'$as_ac_var'}'`
37183 { echo "$as_me:$LINENO: result: $ac_res" >&5
37184 echo "${ECHO_T}$ac_res" >&6; }
37185 if test `eval echo '${'$as_ac_var'}'` = yes; then
37186 cat >>confdefs.h <<_ACEOF
37187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37194 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37195 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37196 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37197 wxUSE_SNGLINST_CHECKER=no
37203 for ac_func in setenv putenv
37205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37206 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37208 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37209 echo $ECHO_N "(cached) $ECHO_C" >&6
37211 cat >conftest.$ac_ext <<_ACEOF
37214 cat confdefs.h >>conftest.$ac_ext
37215 cat >>conftest.$ac_ext <<_ACEOF
37216 /* end confdefs.h. */
37217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37219 #define $ac_func innocuous_$ac_func
37221 /* System header to define __stub macros and hopefully few prototypes,
37222 which can conflict with char $ac_func (); below.
37223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37224 <limits.h> exists even on freestanding compilers. */
37227 # include <limits.h>
37229 # include <assert.h>
37234 /* Override any GCC internal prototype to avoid an error.
37235 Use char because int might match the return type of a GCC
37236 builtin and then its argument prototype would still apply. */
37241 /* The GNU C library defines this for functions which it implements
37242 to always fail with ENOSYS. Some functions are actually named
37243 something starting with __ and the normal name is an alias. */
37244 #if defined __stub_$ac_func || defined __stub___$ac_func
37251 return $ac_func ();
37256 rm -f conftest.$ac_objext conftest$ac_exeext
37257 if { (ac_try="$ac_link"
37258 case "(($ac_try" in
37259 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37260 *) ac_try_echo
=$ac_try;;
37262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37263 (eval "$ac_link") 2>conftest.er1
37265 grep -v '^ *+' conftest.er1
>conftest.err
37267 cat conftest.err
>&5
37268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37269 (exit $ac_status); } && {
37270 test -z "$ac_c_werror_flag" ||
37271 test ! -s conftest.err
37272 } && test -s conftest
$ac_exeext &&
37273 $as_test_x conftest
$ac_exeext; then
37274 eval "$as_ac_var=yes"
37276 echo "$as_me: failed program was:" >&5
37277 sed 's/^/| /' conftest.
$ac_ext >&5
37279 eval "$as_ac_var=no"
37282 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37283 conftest
$ac_exeext conftest.
$ac_ext
37285 ac_res
=`eval echo '${'$as_ac_var'}'`
37286 { echo "$as_me:$LINENO: result: $ac_res" >&5
37287 echo "${ECHO_T}$ac_res" >&6; }
37288 if test `eval echo '${'$as_ac_var'}'` = yes; then
37289 cat >>confdefs.h
<<_ACEOF
37290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37296 if test "$ac_cv_func_setenv" = "yes"; then
37298 for ac_func
in unsetenv
37300 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37301 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37303 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37304 echo $ECHO_N "(cached) $ECHO_C" >&6
37306 cat >conftest.
$ac_ext <<_ACEOF
37309 cat confdefs.h
>>conftest.
$ac_ext
37310 cat >>conftest.
$ac_ext <<_ACEOF
37311 /* end confdefs.h. */
37312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37314 #define $ac_func innocuous_$ac_func
37316 /* System header to define __stub macros and hopefully few prototypes,
37317 which can conflict with char $ac_func (); below.
37318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37319 <limits.h> exists even on freestanding compilers. */
37322 # include <limits.h>
37324 # include <assert.h>
37329 /* Override any GCC internal prototype to avoid an error.
37330 Use char because int might match the return type of a GCC
37331 builtin and then its argument prototype would still apply. */
37336 /* The GNU C library defines this for functions which it implements
37337 to always fail with ENOSYS. Some functions are actually named
37338 something starting with __ and the normal name is an alias. */
37339 #if defined __stub_$ac_func || defined __stub___$ac_func
37346 return $ac_func ();
37351 rm -f conftest.
$ac_objext conftest
$ac_exeext
37352 if { (ac_try
="$ac_link"
37353 case "(($ac_try" in
37354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37355 *) ac_try_echo=$ac_try;;
37357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37358 (eval "$ac_link") 2>conftest.er1
37360 grep -v '^ *+' conftest.er1 >conftest.err
37362 cat conftest.err >&5
37363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37364 (exit $ac_status); } && {
37365 test -z "$ac_c_werror_flag" ||
37366 test ! -s conftest.err
37367 } && test -s conftest$ac_exeext &&
37368 $as_test_x conftest$ac_exeext; then
37369 eval "$as_ac_var=yes"
37371 echo "$as_me: failed program was:" >&5
37372 sed 's/^/| /' conftest.$ac_ext >&5
37374 eval "$as_ac_var=no"
37377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37378 conftest$ac_exeext conftest.$ac_ext
37380 ac_res=`eval echo '${'$as_ac_var'}'`
37381 { echo "$as_me:$LINENO: result: $ac_res" >&5
37382 echo "${ECHO_T}$ac_res" >&6; }
37383 if test `eval echo '${'$as_ac_var'}'` = yes; then
37384 cat >>confdefs.h <<_ACEOF
37385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37393 HAVE_SOME_SLEEP_FUNC=0
37394 if test "$USE_BEOS" = 1; then
37395 cat >>confdefs.h <<\_ACEOF
37396 #define HAVE_SLEEP 1
37399 HAVE_SOME_SLEEP_FUNC=1
37402 if test "$USE_DARWIN" = 1; then
37403 cat >>confdefs.h <<\_ACEOF
37404 #define HAVE_USLEEP 1
37407 HAVE_SOME_SLEEP_FUNC=1
37410 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37413 for ac_func in nanosleep
37415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37416 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37418 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37419 echo $ECHO_N "(cached) $ECHO_C" >&6
37421 cat >conftest.$ac_ext <<_ACEOF
37424 cat confdefs.h >>conftest.$ac_ext
37425 cat >>conftest.$ac_ext <<_ACEOF
37426 /* end confdefs.h. */
37427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37429 #define $ac_func innocuous_$ac_func
37431 /* System header to define __stub macros and hopefully few prototypes,
37432 which can conflict with char $ac_func (); below.
37433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37434 <limits.h> exists even on freestanding compilers. */
37437 # include <limits.h>
37439 # include <assert.h>
37444 /* Override any GCC internal prototype to avoid an error.
37445 Use char because int might match the return type of a GCC
37446 builtin and then its argument prototype would still apply. */
37451 /* The GNU C library defines this for functions which it implements
37452 to always fail with ENOSYS. Some functions are actually named
37453 something starting with __ and the normal name is an alias. */
37454 #if defined __stub_$ac_func || defined __stub___$ac_func
37461 return $ac_func ();
37466 rm -f conftest.$ac_objext conftest$ac_exeext
37467 if { (ac_try="$ac_link"
37468 case "(($ac_try" in
37469 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37470 *) ac_try_echo
=$ac_try;;
37472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37473 (eval "$ac_link") 2>conftest.er1
37475 grep -v '^ *+' conftest.er1
>conftest.err
37477 cat conftest.err
>&5
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); } && {
37480 test -z "$ac_c_werror_flag" ||
37481 test ! -s conftest.err
37482 } && test -s conftest
$ac_exeext &&
37483 $as_test_x conftest
$ac_exeext; then
37484 eval "$as_ac_var=yes"
37486 echo "$as_me: failed program was:" >&5
37487 sed 's/^/| /' conftest.
$ac_ext >&5
37489 eval "$as_ac_var=no"
37492 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37493 conftest
$ac_exeext conftest.
$ac_ext
37495 ac_res
=`eval echo '${'$as_ac_var'}'`
37496 { echo "$as_me:$LINENO: result: $ac_res" >&5
37497 echo "${ECHO_T}$ac_res" >&6; }
37498 if test `eval echo '${'$as_ac_var'}'` = yes; then
37499 cat >>confdefs.h
<<_ACEOF
37500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37502 cat >>confdefs.h
<<\_ACEOF
37503 #define HAVE_NANOSLEEP 1
37508 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37509 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37510 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37511 echo $ECHO_N "(cached) $ECHO_C" >&6
37513 ac_check_lib_save_LIBS
=$LIBS
37514 LIBS
="-lposix4 $LIBS"
37515 cat >conftest.
$ac_ext <<_ACEOF
37518 cat confdefs.h
>>conftest.
$ac_ext
37519 cat >>conftest.
$ac_ext <<_ACEOF
37520 /* end confdefs.h. */
37522 /* Override any GCC internal prototype to avoid an error.
37523 Use char because int might match the return type of a GCC
37524 builtin and then its argument prototype would still apply. */
37532 return nanosleep ();
37537 rm -f conftest.
$ac_objext conftest
$ac_exeext
37538 if { (ac_try
="$ac_link"
37539 case "(($ac_try" in
37540 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37541 *) ac_try_echo=$ac_try;;
37543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37544 (eval "$ac_link") 2>conftest.er1
37546 grep -v '^ *+' conftest.er1 >conftest.err
37548 cat conftest.err >&5
37549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37550 (exit $ac_status); } && {
37551 test -z "$ac_c_werror_flag" ||
37552 test ! -s conftest.err
37553 } && test -s conftest$ac_exeext &&
37554 $as_test_x conftest$ac_exeext; then
37555 ac_cv_lib_posix4_nanosleep=yes
37557 echo "$as_me: failed program was:" >&5
37558 sed 's/^/| /' conftest.$ac_ext >&5
37560 ac_cv_lib_posix4_nanosleep=no
37563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37564 conftest$ac_exeext conftest.$ac_ext
37565 LIBS=$ac_check_lib_save_LIBS
37567 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37568 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37569 if test $ac_cv_lib_posix4_nanosleep = yes; then
37571 cat >>confdefs.h <<\_ACEOF
37572 #define HAVE_NANOSLEEP 1
37575 POSIX4_LINK=" -lposix4"
37580 for wx_func in usleep
37582 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37583 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37584 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37585 echo $ECHO_N "(cached) $ECHO_C" >&6
37588 cat >conftest.$ac_ext <<_ACEOF
37592 cat confdefs.h >>conftest.$ac_ext
37593 cat >>conftest.$ac_ext <<_ACEOF
37594 /* end confdefs.h. */
37597 $ac_includes_default
37613 rm -f conftest.$ac_objext conftest$ac_exeext
37614 if { (ac_try="$ac_link"
37615 case "(($ac_try" in
37616 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37617 *) ac_try_echo
=$ac_try;;
37619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37620 (eval "$ac_link") 2>conftest.er1
37622 grep -v '^ *+' conftest.er1
>conftest.err
37624 cat conftest.err
>&5
37625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37626 (exit $ac_status); } && {
37627 test -z "$ac_c_werror_flag" ||
37628 test ! -s conftest.err
37629 } && test -s conftest
$ac_exeext &&
37630 $as_test_x conftest
$ac_exeext; then
37631 eval wx_cv_func_
$wx_func=yes
37633 echo "$as_me: failed program was:" >&5
37634 sed 's/^/| /' conftest.
$ac_ext >&5
37636 eval wx_cv_func_
$wx_func=no
37639 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37640 conftest
$ac_exeext conftest.
$ac_ext
37643 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37644 { echo "$as_me:$LINENO: result: $ac_res" >&5
37645 echo "${ECHO_T}$ac_res" >&6; }
37647 if eval test \
$wx_cv_func_$wx_func = yes
37649 cat >>confdefs.h
<<_ACEOF
37650 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37656 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37657 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37674 for wx_func
in uname
37676 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37677 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37678 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37679 echo $ECHO_N "(cached) $ECHO_C" >&6
37682 cat >conftest.
$ac_ext <<_ACEOF
37686 cat confdefs.h
>>conftest.
$ac_ext
37687 cat >>conftest.
$ac_ext <<_ACEOF
37688 /* end confdefs.h. */
37690 #include <sys/utsname.h>
37691 $ac_includes_default
37707 rm -f conftest.
$ac_objext conftest
$ac_exeext
37708 if { (ac_try
="$ac_link"
37709 case "(($ac_try" in
37710 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37711 *) ac_try_echo=$ac_try;;
37713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37714 (eval "$ac_link") 2>conftest.er1
37716 grep -v '^ *+' conftest.er1 >conftest.err
37718 cat conftest.err >&5
37719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37720 (exit $ac_status); } && {
37721 test -z "$ac_c_werror_flag" ||
37722 test ! -s conftest.err
37723 } && test -s conftest$ac_exeext &&
37724 $as_test_x conftest$ac_exeext; then
37725 eval wx_cv_func_$wx_func=yes
37727 echo "$as_me: failed program was:" >&5
37728 sed 's/^/| /' conftest.$ac_ext >&5
37730 eval wx_cv_func_$wx_func=no
37733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37734 conftest$ac_exeext conftest.$ac_ext
37737 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37738 { echo "$as_me:$LINENO: result: $ac_res" >&5
37739 echo "${ECHO_T}$ac_res" >&6; }
37741 if eval test \$wx_cv_func_$wx_func = yes
37743 cat >>confdefs.h <<_ACEOF
37744 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37754 if test "$wx_cv_func_uname" != yes; then
37756 for wx_func in gethostname
37758 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37759 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37760 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37761 echo $ECHO_N "(cached) $ECHO_C" >&6
37764 cat >conftest.$ac_ext <<_ACEOF
37768 cat confdefs.h >>conftest.$ac_ext
37769 cat >>conftest.$ac_ext <<_ACEOF
37770 /* end confdefs.h. */
37773 $ac_includes_default
37789 rm -f conftest.$ac_objext conftest$ac_exeext
37790 if { (ac_try="$ac_link"
37791 case "(($ac_try" in
37792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37793 *) ac_try_echo
=$ac_try;;
37795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37796 (eval "$ac_link") 2>conftest.er1
37798 grep -v '^ *+' conftest.er1
>conftest.err
37800 cat conftest.err
>&5
37801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37802 (exit $ac_status); } && {
37803 test -z "$ac_c_werror_flag" ||
37804 test ! -s conftest.err
37805 } && test -s conftest
$ac_exeext &&
37806 $as_test_x conftest
$ac_exeext; then
37807 eval wx_cv_func_
$wx_func=yes
37809 echo "$as_me: failed program was:" >&5
37810 sed 's/^/| /' conftest.
$ac_ext >&5
37812 eval wx_cv_func_
$wx_func=no
37815 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37816 conftest
$ac_exeext conftest.
$ac_ext
37819 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37820 { echo "$as_me:$LINENO: result: $ac_res" >&5
37821 echo "${ECHO_T}$ac_res" >&6; }
37823 if eval test \
$wx_cv_func_$wx_func = yes
37825 cat >>confdefs.h
<<_ACEOF
37826 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37839 for wx_func
in strtok_r
37841 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37842 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37843 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37844 echo $ECHO_N "(cached) $ECHO_C" >&6
37847 cat >conftest.
$ac_ext <<_ACEOF
37851 cat confdefs.h
>>conftest.
$ac_ext
37852 cat >>conftest.
$ac_ext <<_ACEOF
37853 /* end confdefs.h. */
37856 $ac_includes_default
37872 rm -f conftest.
$ac_objext conftest
$ac_exeext
37873 if { (ac_try
="$ac_link"
37874 case "(($ac_try" in
37875 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37876 *) ac_try_echo=$ac_try;;
37878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37879 (eval "$ac_link") 2>conftest.er1
37881 grep -v '^ *+' conftest.er1 >conftest.err
37883 cat conftest.err >&5
37884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37885 (exit $ac_status); } && {
37886 test -z "$ac_c_werror_flag" ||
37887 test ! -s conftest.err
37888 } && test -s conftest$ac_exeext &&
37889 $as_test_x conftest$ac_exeext; then
37890 eval wx_cv_func_$wx_func=yes
37892 echo "$as_me: failed program was:" >&5
37893 sed 's/^/| /' conftest.$ac_ext >&5
37895 eval wx_cv_func_$wx_func=no
37898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37899 conftest$ac_exeext conftest.$ac_ext
37902 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37903 { echo "$as_me:$LINENO: result: $ac_res" >&5
37904 echo "${ECHO_T}$ac_res" >&6; }
37906 if eval test \$wx_cv_func_$wx_func = yes
37908 cat >>confdefs.h <<_ACEOF
37909 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37922 for ac_func in inet_addr
37924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37925 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37927 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37928 echo $ECHO_N "(cached) $ECHO_C" >&6
37930 cat >conftest.$ac_ext <<_ACEOF
37933 cat confdefs.h >>conftest.$ac_ext
37934 cat >>conftest.$ac_ext <<_ACEOF
37935 /* end confdefs.h. */
37936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37938 #define $ac_func innocuous_$ac_func
37940 /* System header to define __stub macros and hopefully few prototypes,
37941 which can conflict with char $ac_func (); below.
37942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37943 <limits.h> exists even on freestanding compilers. */
37946 # include <limits.h>
37948 # include <assert.h>
37953 /* Override any GCC internal prototype to avoid an error.
37954 Use char because int might match the return type of a GCC
37955 builtin and then its argument prototype would still apply. */
37960 /* The GNU C library defines this for functions which it implements
37961 to always fail with ENOSYS. Some functions are actually named
37962 something starting with __ and the normal name is an alias. */
37963 #if defined __stub_$ac_func || defined __stub___$ac_func
37970 return $ac_func ();
37975 rm -f conftest.$ac_objext conftest$ac_exeext
37976 if { (ac_try="$ac_link"
37977 case "(($ac_try" in
37978 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37979 *) ac_try_echo
=$ac_try;;
37981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37982 (eval "$ac_link") 2>conftest.er1
37984 grep -v '^ *+' conftest.er1
>conftest.err
37986 cat conftest.err
>&5
37987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37988 (exit $ac_status); } && {
37989 test -z "$ac_c_werror_flag" ||
37990 test ! -s conftest.err
37991 } && test -s conftest
$ac_exeext &&
37992 $as_test_x conftest
$ac_exeext; then
37993 eval "$as_ac_var=yes"
37995 echo "$as_me: failed program was:" >&5
37996 sed 's/^/| /' conftest.
$ac_ext >&5
37998 eval "$as_ac_var=no"
38001 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38002 conftest
$ac_exeext conftest.
$ac_ext
38004 ac_res
=`eval echo '${'$as_ac_var'}'`
38005 { echo "$as_me:$LINENO: result: $ac_res" >&5
38006 echo "${ECHO_T}$ac_res" >&6; }
38007 if test `eval echo '${'$as_ac_var'}'` = yes; then
38008 cat >>confdefs.h
<<_ACEOF
38009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38011 cat >>confdefs.h
<<\_ACEOF
38012 #define HAVE_INET_ADDR 1
38017 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38018 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38019 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38020 echo $ECHO_N "(cached) $ECHO_C" >&6
38022 ac_check_lib_save_LIBS
=$LIBS
38024 cat >conftest.
$ac_ext <<_ACEOF
38027 cat confdefs.h
>>conftest.
$ac_ext
38028 cat >>conftest.
$ac_ext <<_ACEOF
38029 /* end confdefs.h. */
38031 /* Override any GCC internal prototype to avoid an error.
38032 Use char because int might match the return type of a GCC
38033 builtin and then its argument prototype would still apply. */
38041 return inet_addr ();
38046 rm -f conftest.
$ac_objext conftest
$ac_exeext
38047 if { (ac_try
="$ac_link"
38048 case "(($ac_try" in
38049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38050 *) ac_try_echo=$ac_try;;
38052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38053 (eval "$ac_link") 2>conftest.er1
38055 grep -v '^ *+' conftest.er1 >conftest.err
38057 cat conftest.err >&5
38058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38059 (exit $ac_status); } && {
38060 test -z "$ac_c_werror_flag" ||
38061 test ! -s conftest.err
38062 } && test -s conftest$ac_exeext &&
38063 $as_test_x conftest$ac_exeext; then
38064 ac_cv_lib_nsl_inet_addr=yes
38066 echo "$as_me: failed program was:" >&5
38067 sed 's/^/| /' conftest.$ac_ext >&5
38069 ac_cv_lib_nsl_inet_addr=no
38072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38073 conftest$ac_exeext conftest.$ac_ext
38074 LIBS=$ac_check_lib_save_LIBS
38076 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38077 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38078 if test $ac_cv_lib_nsl_inet_addr = yes; then
38082 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38083 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38084 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38085 echo $ECHO_N "(cached) $ECHO_C" >&6
38087 ac_check_lib_save_LIBS=$LIBS
38088 LIBS="-lresolv $LIBS"
38089 cat >conftest.$ac_ext <<_ACEOF
38092 cat confdefs.h >>conftest.$ac_ext
38093 cat >>conftest.$ac_ext <<_ACEOF
38094 /* end confdefs.h. */
38096 /* Override any GCC internal prototype to avoid an error.
38097 Use char because int might match the return type of a GCC
38098 builtin and then its argument prototype would still apply. */
38106 return inet_addr ();
38111 rm -f conftest.$ac_objext conftest$ac_exeext
38112 if { (ac_try="$ac_link"
38113 case "(($ac_try" in
38114 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38115 *) ac_try_echo
=$ac_try;;
38117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38118 (eval "$ac_link") 2>conftest.er1
38120 grep -v '^ *+' conftest.er1
>conftest.err
38122 cat conftest.err
>&5
38123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38124 (exit $ac_status); } && {
38125 test -z "$ac_c_werror_flag" ||
38126 test ! -s conftest.err
38127 } && test -s conftest
$ac_exeext &&
38128 $as_test_x conftest
$ac_exeext; then
38129 ac_cv_lib_resolv_inet_addr
=yes
38131 echo "$as_me: failed program was:" >&5
38132 sed 's/^/| /' conftest.
$ac_ext >&5
38134 ac_cv_lib_resolv_inet_addr
=no
38137 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38138 conftest
$ac_exeext conftest.
$ac_ext
38139 LIBS
=$ac_check_lib_save_LIBS
38141 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38142 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38143 if test $ac_cv_lib_resolv_inet_addr = yes; then
38147 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38148 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38149 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38150 echo $ECHO_N "(cached) $ECHO_C" >&6
38152 ac_check_lib_save_LIBS
=$LIBS
38153 LIBS
="-lsocket $LIBS"
38154 cat >conftest.
$ac_ext <<_ACEOF
38157 cat confdefs.h
>>conftest.
$ac_ext
38158 cat >>conftest.
$ac_ext <<_ACEOF
38159 /* end confdefs.h. */
38161 /* Override any GCC internal prototype to avoid an error.
38162 Use char because int might match the return type of a GCC
38163 builtin and then its argument prototype would still apply. */
38171 return inet_addr ();
38176 rm -f conftest.
$ac_objext conftest
$ac_exeext
38177 if { (ac_try
="$ac_link"
38178 case "(($ac_try" in
38179 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38180 *) ac_try_echo=$ac_try;;
38182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38183 (eval "$ac_link") 2>conftest.er1
38185 grep -v '^ *+' conftest.er1 >conftest.err
38187 cat conftest.err >&5
38188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38189 (exit $ac_status); } && {
38190 test -z "$ac_c_werror_flag" ||
38191 test ! -s conftest.err
38192 } && test -s conftest$ac_exeext &&
38193 $as_test_x conftest$ac_exeext; then
38194 ac_cv_lib_socket_inet_addr=yes
38196 echo "$as_me: failed program was:" >&5
38197 sed 's/^/| /' conftest.$ac_ext >&5
38199 ac_cv_lib_socket_inet_addr=no
38202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38203 conftest$ac_exeext conftest.$ac_ext
38204 LIBS=$ac_check_lib_save_LIBS
38206 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38207 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38208 if test $ac_cv_lib_socket_inet_addr = yes; then
38228 for ac_func in inet_aton
38230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38231 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38233 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38234 echo $ECHO_N "(cached) $ECHO_C" >&6
38236 cat >conftest.$ac_ext <<_ACEOF
38239 cat confdefs.h >>conftest.$ac_ext
38240 cat >>conftest.$ac_ext <<_ACEOF
38241 /* end confdefs.h. */
38242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38244 #define $ac_func innocuous_$ac_func
38246 /* System header to define __stub macros and hopefully few prototypes,
38247 which can conflict with char $ac_func (); below.
38248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38249 <limits.h> exists even on freestanding compilers. */
38252 # include <limits.h>
38254 # include <assert.h>
38259 /* Override any GCC internal prototype to avoid an error.
38260 Use char because int might match the return type of a GCC
38261 builtin and then its argument prototype would still apply. */
38266 /* The GNU C library defines this for functions which it implements
38267 to always fail with ENOSYS. Some functions are actually named
38268 something starting with __ and the normal name is an alias. */
38269 #if defined __stub_$ac_func || defined __stub___$ac_func
38276 return $ac_func ();
38281 rm -f conftest.$ac_objext conftest$ac_exeext
38282 if { (ac_try="$ac_link"
38283 case "(($ac_try" in
38284 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38285 *) ac_try_echo
=$ac_try;;
38287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38288 (eval "$ac_link") 2>conftest.er1
38290 grep -v '^ *+' conftest.er1
>conftest.err
38292 cat conftest.err
>&5
38293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38294 (exit $ac_status); } && {
38295 test -z "$ac_c_werror_flag" ||
38296 test ! -s conftest.err
38297 } && test -s conftest
$ac_exeext &&
38298 $as_test_x conftest
$ac_exeext; then
38299 eval "$as_ac_var=yes"
38301 echo "$as_me: failed program was:" >&5
38302 sed 's/^/| /' conftest.
$ac_ext >&5
38304 eval "$as_ac_var=no"
38307 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38308 conftest
$ac_exeext conftest.
$ac_ext
38310 ac_res
=`eval echo '${'$as_ac_var'}'`
38311 { echo "$as_me:$LINENO: result: $ac_res" >&5
38312 echo "${ECHO_T}$ac_res" >&6; }
38313 if test `eval echo '${'$as_ac_var'}'` = yes; then
38314 cat >>confdefs.h
<<_ACEOF
38315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38317 cat >>confdefs.h
<<\_ACEOF
38318 #define HAVE_INET_ATON 1
38323 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38324 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38325 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38326 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38327 echo $ECHO_N "(cached) $ECHO_C" >&6
38329 ac_check_lib_save_LIBS
=$LIBS
38330 LIBS
="-l$INET_LINK $LIBS"
38331 cat >conftest.
$ac_ext <<_ACEOF
38334 cat confdefs.h
>>conftest.
$ac_ext
38335 cat >>conftest.
$ac_ext <<_ACEOF
38336 /* end confdefs.h. */
38338 /* Override any GCC internal prototype to avoid an error.
38339 Use char because int might match the return type of a GCC
38340 builtin and then its argument prototype would still apply. */
38348 return inet_aton ();
38353 rm -f conftest.
$ac_objext conftest
$ac_exeext
38354 if { (ac_try
="$ac_link"
38355 case "(($ac_try" in
38356 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38357 *) ac_try_echo=$ac_try;;
38359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38360 (eval "$ac_link") 2>conftest.er1
38362 grep -v '^ *+' conftest.er1 >conftest.err
38364 cat conftest.err >&5
38365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38366 (exit $ac_status); } && {
38367 test -z "$ac_c_werror_flag" ||
38368 test ! -s conftest.err
38369 } && test -s conftest$ac_exeext &&
38370 $as_test_x conftest$ac_exeext; then
38371 eval "$as_ac_Lib=yes"
38373 echo "$as_me: failed program was:" >&5
38374 sed 's/^/| /' conftest.$ac_ext >&5
38376 eval "$as_ac_Lib=no"
38379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38380 conftest$ac_exeext conftest.$ac_ext
38381 LIBS=$ac_check_lib_save_LIBS
38383 ac_res=`eval echo '${'$as_ac_Lib'}'`
38384 { echo "$as_me:$LINENO: result: $ac_res" >&5
38385 echo "${ECHO_T}$ac_res" >&6; }
38386 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38387 cat >>confdefs.h <<\_ACEOF
38388 #define HAVE_INET_ATON 1
38398 if test "x$INET_LINK" != "x"; then
38399 cat >>confdefs.h <<\_ACEOF
38400 #define HAVE_INET_ADDR 1
38403 INET_LINK=" -l$INET_LINK"
38407 for wx_func in fdopen
38409 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38410 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38411 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38412 echo $ECHO_N "(cached) $ECHO_C" >&6
38415 cat >conftest.$ac_ext <<_ACEOF
38419 cat confdefs.h >>conftest.$ac_ext
38420 cat >>conftest.$ac_ext <<_ACEOF
38421 /* end confdefs.h. */
38424 $ac_includes_default
38440 rm -f conftest.$ac_objext conftest$ac_exeext
38441 if { (ac_try="$ac_link"
38442 case "(($ac_try" in
38443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38444 *) ac_try_echo
=$ac_try;;
38446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38447 (eval "$ac_link") 2>conftest.er1
38449 grep -v '^ *+' conftest.er1
>conftest.err
38451 cat conftest.err
>&5
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); } && {
38454 test -z "$ac_c_werror_flag" ||
38455 test ! -s conftest.err
38456 } && test -s conftest
$ac_exeext &&
38457 $as_test_x conftest
$ac_exeext; then
38458 eval wx_cv_func_
$wx_func=yes
38460 echo "$as_me: failed program was:" >&5
38461 sed 's/^/| /' conftest.
$ac_ext >&5
38463 eval wx_cv_func_
$wx_func=no
38466 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38467 conftest
$ac_exeext conftest.
$ac_ext
38470 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38471 { echo "$as_me:$LINENO: result: $ac_res" >&5
38472 echo "${ECHO_T}$ac_res" >&6; }
38474 if eval test \
$wx_cv_func_$wx_func = yes
38476 cat >>confdefs.h
<<_ACEOF
38477 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38488 if test "$wxUSE_TARSTREAM" = "yes"; then
38490 for wx_func
in sysconf
38492 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38493 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38494 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38495 echo $ECHO_N "(cached) $ECHO_C" >&6
38498 cat >conftest.
$ac_ext <<_ACEOF
38502 cat confdefs.h
>>conftest.
$ac_ext
38503 cat >>conftest.
$ac_ext <<_ACEOF
38504 /* end confdefs.h. */
38507 $ac_includes_default
38523 rm -f conftest.
$ac_objext conftest
$ac_exeext
38524 if { (ac_try
="$ac_link"
38525 case "(($ac_try" in
38526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38527 *) ac_try_echo=$ac_try;;
38529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38530 (eval "$ac_link") 2>conftest.er1
38532 grep -v '^ *+' conftest.er1 >conftest.err
38534 cat conftest.err >&5
38535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38536 (exit $ac_status); } && {
38537 test -z "$ac_c_werror_flag" ||
38538 test ! -s conftest.err
38539 } && test -s conftest$ac_exeext &&
38540 $as_test_x conftest$ac_exeext; then
38541 eval wx_cv_func_$wx_func=yes
38543 echo "$as_me: failed program was:" >&5
38544 sed 's/^/| /' conftest.$ac_ext >&5
38546 eval wx_cv_func_$wx_func=no
38549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38550 conftest$ac_exeext conftest.$ac_ext
38553 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38554 { echo "$as_me:$LINENO: result: $ac_res" >&5
38555 echo "${ECHO_T}$ac_res" >&6; }
38557 if eval test \$wx_cv_func_$wx_func = yes
38559 cat >>confdefs.h <<_ACEOF
38560 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38572 for wx_func in getpwuid_r
38574 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38575 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38576 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38577 echo $ECHO_N "(cached) $ECHO_C" >&6
38580 cat >conftest.$ac_ext <<_ACEOF
38584 cat confdefs.h >>conftest.$ac_ext
38585 cat >>conftest.$ac_ext <<_ACEOF
38586 /* end confdefs.h. */
38592 $ac_includes_default
38602 struct passwd pw, *ppw;
38604 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38612 rm -f conftest.$ac_objext conftest$ac_exeext
38613 if { (ac_try="$ac_link"
38614 case "(($ac_try" in
38615 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38616 *) ac_try_echo
=$ac_try;;
38618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38619 (eval "$ac_link") 2>conftest.er1
38621 grep -v '^ *+' conftest.er1
>conftest.err
38623 cat conftest.err
>&5
38624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38625 (exit $ac_status); } && {
38626 test -z "$ac_c_werror_flag" ||
38627 test ! -s conftest.err
38628 } && test -s conftest
$ac_exeext &&
38629 $as_test_x conftest
$ac_exeext; then
38630 eval wx_cv_func_
$wx_func=yes
38632 echo "$as_me: failed program was:" >&5
38633 sed 's/^/| /' conftest.
$ac_ext >&5
38635 eval wx_cv_func_
$wx_func=no
38638 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38639 conftest
$ac_exeext conftest.
$ac_ext
38642 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38643 { echo "$as_me:$LINENO: result: $ac_res" >&5
38644 echo "${ECHO_T}$ac_res" >&6; }
38646 if eval test \
$wx_cv_func_$wx_func = yes
38648 cat >>confdefs.h
<<_ACEOF
38649 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38661 for wx_func
in getgrgid_r
38663 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38664 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38665 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38666 echo $ECHO_N "(cached) $ECHO_C" >&6
38669 cat >conftest.
$ac_ext <<_ACEOF
38673 cat confdefs.h
>>conftest.
$ac_ext
38674 cat >>conftest.
$ac_ext <<_ACEOF
38675 /* end confdefs.h. */
38681 $ac_includes_default
38691 struct group grp, *pgrp;
38693 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38701 rm -f conftest.
$ac_objext conftest
$ac_exeext
38702 if { (ac_try
="$ac_link"
38703 case "(($ac_try" in
38704 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38705 *) ac_try_echo=$ac_try;;
38707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38708 (eval "$ac_link") 2>conftest.er1
38710 grep -v '^ *+' conftest.er1 >conftest.err
38712 cat conftest.err >&5
38713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38714 (exit $ac_status); } && {
38715 test -z "$ac_c_werror_flag" ||
38716 test ! -s conftest.err
38717 } && test -s conftest$ac_exeext &&
38718 $as_test_x conftest$ac_exeext; then
38719 eval wx_cv_func_$wx_func=yes
38721 echo "$as_me: failed program was:" >&5
38722 sed 's/^/| /' conftest.$ac_ext >&5
38724 eval wx_cv_func_$wx_func=no
38727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38728 conftest$ac_exeext conftest.$ac_ext
38731 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38732 { echo "$as_me:$LINENO: result: $ac_res" >&5
38733 echo "${ECHO_T}$ac_res" >&6; }
38735 if eval test \$wx_cv_func_$wx_func = yes
38737 cat >>confdefs.h <<_ACEOF
38738 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38754 cat >confcache <<\_ACEOF
38755 # This file is a shell script that caches the results of configure
38756 # tests run on this system so they can be shared between configure
38757 # scripts and configure runs, see configure's option --config-cache.
38758 # It is not useful on other systems. If it contains results you don't
38759 # want to keep, you may remove or edit it.
38761 # config.status only pays attention to the cache file if you give it
38762 # the --recheck option to rerun configure.
38764 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38765 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38766 # following values.
38770 # The following way of writing the cache mishandles newlines in values,
38771 # but we know of no workaround that is simple, portable, and efficient.
38772 # So, we kill variables containing newlines.
38773 # Ultrix sh set writes to stderr and can't be redirected directly,
38774 # and sets the high bit in the cache file unless we assign to the vars.
38776 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38777 eval ac_val
=\$
$ac_var
38781 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38782 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38785 _
| IFS
| as_nl
) ;; #(
38786 *) $as_unset $ac_var ;;
38792 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38793 *${as_nl}ac_space
=\
*)
38794 # `set' does not quote correctly, so add quotes (double-quote
38795 # substitution turns \\\\ into \\, and sed turns \\ into \).
38798 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38801 # `set' quotes correctly as required by POSIX, so do not add quotes.
38802 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38811 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38813 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38815 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38816 if test -w "$cache_file"; then
38817 test "x$cache_file" != "x/dev/null" &&
38818 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38819 echo "$as_me: updating cache $cache_file" >&6;}
38820 cat confcache
>$cache_file
38822 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38823 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38829 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38835 if test "$wxUSE_THREADS" = "yes" ; then
38836 if test "$USE_BEOS" = 1; then
38837 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38838 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38843 if test "$wxUSE_THREADS" = "yes" ; then
38846 THREAD_OPTS
="-pthread"
38847 if test "x$SUNCXX" = xyes
; then
38848 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38852 *-*-solaris2* | *-*-sunos4* )
38853 if test "x$GCC" = "xyes"; then
38854 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38858 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38860 *-*-darwin* | *-*-cygwin* )
38864 THREAD_OPTS
="pthreads"
38867 if test "x$GCC" = "xyes"; then
38868 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38876 if test "x$GCC" = "xyes"; then
38882 if test "x$GCC" != "xyes"; then
38883 THREAD_OPTS
="-Ethread"
38888 THREAD_OPTS
="$THREAD_OPTS pthread none"
38891 for flag
in $THREAD_OPTS; do
38894 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38895 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38899 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38900 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38901 THREADS_CFLAGS
="$flag"
38905 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38906 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38907 THREADS_LINK
="-l$flag"
38912 save_CFLAGS
="$CFLAGS"
38913 LIBS
="$THREADS_LINK $LIBS"
38914 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38916 cat >conftest.
$ac_ext <<_ACEOF
38919 cat confdefs.h
>>conftest.
$ac_ext
38920 cat >>conftest.
$ac_ext <<_ACEOF
38921 /* end confdefs.h. */
38922 #include <pthread.h>
38926 pthread_create(0,0,0,0);
38931 rm -f conftest.
$ac_objext conftest
$ac_exeext
38932 if { (ac_try
="$ac_link"
38933 case "(($ac_try" in
38934 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38935 *) ac_try_echo=$ac_try;;
38937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38938 (eval "$ac_link") 2>conftest.er1
38940 grep -v '^ *+' conftest.er1 >conftest.err
38942 cat conftest.err >&5
38943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38944 (exit $ac_status); } && {
38945 test -z "$ac_c_werror_flag" ||
38946 test ! -s conftest.err
38947 } && test -s conftest$ac_exeext &&
38948 $as_test_x conftest$ac_exeext; then
38951 echo "$as_me: failed program was:" >&5
38952 sed 's/^/| /' conftest.$ac_ext >&5
38957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38958 conftest$ac_exeext conftest.$ac_ext
38961 CFLAGS="$save_CFLAGS"
38963 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38964 echo "${ECHO_T}$THREADS_OK" >&6; }
38965 if test "x$THREADS_OK" = "xyes"; then
38973 if test "x$THREADS_OK" != "xyes"; then
38975 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38976 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38978 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38979 LIBS="$THREADS_LINK $LIBS"
38981 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38982 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38986 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38987 flag="-D_THREAD_SAFE"
38990 flag="-D_THREAD_SAFE"
38993 flag="-D_REENTRANT"
38994 if test "x$GCC" != "xyes"; then
38995 flag="$flag -D_RWSTD_MULTI_THREAD"
38998 *solaris* | alpha*-osf*)
38999 flag="-D_REENTRANT"
39002 { echo "$as_me:$LINENO: result: ${flag}" >&5
39003 echo "${ECHO_T}${flag}" >&6; }
39004 if test "x$flag" != xno; then
39005 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39008 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39012 if test "$wxUSE_THREADS" = "yes" ; then
39014 for ac_func in thr_setconcurrency
39016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39017 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39019 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39020 echo $ECHO_N "(cached) $ECHO_C" >&6
39022 cat >conftest.$ac_ext <<_ACEOF
39025 cat confdefs.h >>conftest.$ac_ext
39026 cat >>conftest.$ac_ext <<_ACEOF
39027 /* end confdefs.h. */
39028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39030 #define $ac_func innocuous_$ac_func
39032 /* System header to define __stub macros and hopefully few prototypes,
39033 which can conflict with char $ac_func (); below.
39034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39035 <limits.h> exists even on freestanding compilers. */
39038 # include <limits.h>
39040 # include <assert.h>
39045 /* Override any GCC internal prototype to avoid an error.
39046 Use char because int might match the return type of a GCC
39047 builtin and then its argument prototype would still apply. */
39052 /* The GNU C library defines this for functions which it implements
39053 to always fail with ENOSYS. Some functions are actually named
39054 something starting with __ and the normal name is an alias. */
39055 #if defined __stub_$ac_func || defined __stub___$ac_func
39062 return $ac_func ();
39067 rm -f conftest.$ac_objext conftest$ac_exeext
39068 if { (ac_try="$ac_link"
39069 case "(($ac_try" in
39070 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39071 *) ac_try_echo
=$ac_try;;
39073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39074 (eval "$ac_link") 2>conftest.er1
39076 grep -v '^ *+' conftest.er1
>conftest.err
39078 cat conftest.err
>&5
39079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39080 (exit $ac_status); } && {
39081 test -z "$ac_c_werror_flag" ||
39082 test ! -s conftest.err
39083 } && test -s conftest
$ac_exeext &&
39084 $as_test_x conftest
$ac_exeext; then
39085 eval "$as_ac_var=yes"
39087 echo "$as_me: failed program was:" >&5
39088 sed 's/^/| /' conftest.
$ac_ext >&5
39090 eval "$as_ac_var=no"
39093 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39094 conftest
$ac_exeext conftest.
$ac_ext
39096 ac_res
=`eval echo '${'$as_ac_var'}'`
39097 { echo "$as_me:$LINENO: result: $ac_res" >&5
39098 echo "${ECHO_T}$ac_res" >&6; }
39099 if test `eval echo '${'$as_ac_var'}'` = yes; then
39100 cat >>confdefs.h
<<_ACEOF
39101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39108 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39109 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39110 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39111 echo $ECHO_N "(cached) $ECHO_C" >&6
39115 ac_cpp
='$CXXCPP $CPPFLAGS'
39116 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39117 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39118 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39120 cat >conftest.
$ac_ext <<_ACEOF
39123 cat confdefs.h
>>conftest.
$ac_ext
39124 cat >>conftest.
$ac_ext <<_ACEOF
39125 /* end confdefs.h. */
39126 #include <pthread.h>
39127 void ThreadCleanupFunc(void *p);
39134 pthread_cleanup_push(ThreadCleanupFunc, p);
39135 pthread_cleanup_pop(0);
39141 rm -f conftest.
$ac_objext
39142 if { (ac_try
="$ac_compile"
39143 case "(($ac_try" in
39144 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39145 *) ac_try_echo=$ac_try;;
39147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39148 (eval "$ac_compile") 2>conftest.er1
39150 grep -v '^ *+' conftest.er1 >conftest.err
39152 cat conftest.err >&5
39153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39154 (exit $ac_status); } && {
39155 test -z "$ac_cxx_werror_flag" ||
39156 test ! -s conftest.err
39157 } && test -s conftest.$ac_objext; then
39159 wx_cv_func_pthread_cleanup=yes
39162 echo "$as_me: failed program was:" >&5
39163 sed 's/^/| /' conftest.$ac_ext >&5
39166 wx_cv_func_pthread_cleanup=no
39171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39173 ac_cpp='$CPP $CPPFLAGS'
39174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39180 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39181 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39182 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39183 cat >>confdefs.h <<\_ACEOF
39184 #define wxHAVE_PTHREAD_CLEANUP 1
39190 for ac_header in sched.h
39192 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39193 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39195 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39196 echo $ECHO_N "(cached) $ECHO_C" >&6
39198 cat >conftest.$ac_ext <<_ACEOF
39201 cat confdefs.h >>conftest.$ac_ext
39202 cat >>conftest.$ac_ext <<_ACEOF
39203 /* end confdefs.h. */
39204 $ac_includes_default
39206 #include <$ac_header>
39208 rm -f conftest.$ac_objext
39209 if { (ac_try="$ac_compile"
39210 case "(($ac_try" in
39211 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39212 *) ac_try_echo
=$ac_try;;
39214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39215 (eval "$ac_compile") 2>conftest.er1
39217 grep -v '^ *+' conftest.er1
>conftest.err
39219 cat conftest.err
>&5
39220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39221 (exit $ac_status); } && {
39222 test -z "$ac_c_werror_flag" ||
39223 test ! -s conftest.err
39224 } && test -s conftest.
$ac_objext; then
39225 eval "$as_ac_Header=yes"
39227 echo "$as_me: failed program was:" >&5
39228 sed 's/^/| /' conftest.
$ac_ext >&5
39230 eval "$as_ac_Header=no"
39233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39235 ac_res
=`eval echo '${'$as_ac_Header'}'`
39236 { echo "$as_me:$LINENO: result: $ac_res" >&5
39237 echo "${ECHO_T}$ac_res" >&6; }
39238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39239 cat >>confdefs.h
<<_ACEOF
39240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39247 if test "$ac_cv_header_sched_h" = "yes"; then
39248 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39249 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39250 if test "${ac_cv_func_sched_yield+set}" = set; then
39251 echo $ECHO_N "(cached) $ECHO_C" >&6
39253 cat >conftest.
$ac_ext <<_ACEOF
39256 cat confdefs.h
>>conftest.
$ac_ext
39257 cat >>conftest.
$ac_ext <<_ACEOF
39258 /* end confdefs.h. */
39259 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39261 #define sched_yield innocuous_sched_yield
39263 /* System header to define __stub macros and hopefully few prototypes,
39264 which can conflict with char sched_yield (); below.
39265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39266 <limits.h> exists even on freestanding compilers. */
39269 # include <limits.h>
39271 # include <assert.h>
39276 /* Override any GCC internal prototype to avoid an error.
39277 Use char because int might match the return type of a GCC
39278 builtin and then its argument prototype would still apply. */
39282 char sched_yield ();
39283 /* The GNU C library defines this for functions which it implements
39284 to always fail with ENOSYS. Some functions are actually named
39285 something starting with __ and the normal name is an alias. */
39286 #if defined __stub_sched_yield || defined __stub___sched_yield
39293 return sched_yield ();
39298 rm -f conftest.
$ac_objext conftest
$ac_exeext
39299 if { (ac_try
="$ac_link"
39300 case "(($ac_try" in
39301 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39302 *) ac_try_echo=$ac_try;;
39304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39305 (eval "$ac_link") 2>conftest.er1
39307 grep -v '^ *+' conftest.er1 >conftest.err
39309 cat conftest.err >&5
39310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39311 (exit $ac_status); } && {
39312 test -z "$ac_c_werror_flag" ||
39313 test ! -s conftest.err
39314 } && test -s conftest$ac_exeext &&
39315 $as_test_x conftest$ac_exeext; then
39316 ac_cv_func_sched_yield=yes
39318 echo "$as_me: failed program was:" >&5
39319 sed 's/^/| /' conftest.$ac_ext >&5
39321 ac_cv_func_sched_yield=no
39324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39325 conftest$ac_exeext conftest.$ac_ext
39327 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39328 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39329 if test $ac_cv_func_sched_yield = yes; then
39330 cat >>confdefs.h <<\_ACEOF
39331 #define HAVE_SCHED_YIELD 1
39336 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39337 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39338 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39339 echo $ECHO_N "(cached) $ECHO_C" >&6
39341 ac_check_lib_save_LIBS=$LIBS
39342 LIBS="-lposix4 $LIBS"
39343 cat >conftest.$ac_ext <<_ACEOF
39346 cat confdefs.h >>conftest.$ac_ext
39347 cat >>conftest.$ac_ext <<_ACEOF
39348 /* end confdefs.h. */
39350 /* Override any GCC internal prototype to avoid an error.
39351 Use char because int might match the return type of a GCC
39352 builtin and then its argument prototype would still apply. */
39356 char sched_yield ();
39360 return sched_yield ();
39365 rm -f conftest.$ac_objext conftest$ac_exeext
39366 if { (ac_try="$ac_link"
39367 case "(($ac_try" in
39368 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39369 *) ac_try_echo
=$ac_try;;
39371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39372 (eval "$ac_link") 2>conftest.er1
39374 grep -v '^ *+' conftest.er1
>conftest.err
39376 cat conftest.err
>&5
39377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39378 (exit $ac_status); } && {
39379 test -z "$ac_c_werror_flag" ||
39380 test ! -s conftest.err
39381 } && test -s conftest
$ac_exeext &&
39382 $as_test_x conftest
$ac_exeext; then
39383 ac_cv_lib_posix4_sched_yield
=yes
39385 echo "$as_me: failed program was:" >&5
39386 sed 's/^/| /' conftest.
$ac_ext >&5
39388 ac_cv_lib_posix4_sched_yield
=no
39391 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39392 conftest
$ac_exeext conftest.
$ac_ext
39393 LIBS
=$ac_check_lib_save_LIBS
39395 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39396 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39397 if test $ac_cv_lib_posix4_sched_yield = yes; then
39398 cat >>confdefs.h
<<\_ACEOF
39399 #define HAVE_SCHED_YIELD 1
39401 POSIX4_LINK
=" -lposix4"
39403 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39404 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39415 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39416 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39417 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39418 echo $ECHO_N "(cached) $ECHO_C" >&6
39420 cat >conftest.
$ac_ext <<_ACEOF
39423 cat confdefs.h
>>conftest.
$ac_ext
39424 cat >>conftest.
$ac_ext <<_ACEOF
39425 /* end confdefs.h. */
39426 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39428 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39430 /* System header to define __stub macros and hopefully few prototypes,
39431 which can conflict with char pthread_attr_getschedpolicy (); below.
39432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39433 <limits.h> exists even on freestanding compilers. */
39436 # include <limits.h>
39438 # include <assert.h>
39441 #undef pthread_attr_getschedpolicy
39443 /* Override any GCC internal prototype to avoid an error.
39444 Use char because int might match the return type of a GCC
39445 builtin and then its argument prototype would still apply. */
39449 char pthread_attr_getschedpolicy ();
39450 /* The GNU C library defines this for functions which it implements
39451 to always fail with ENOSYS. Some functions are actually named
39452 something starting with __ and the normal name is an alias. */
39453 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39460 return pthread_attr_getschedpolicy ();
39465 rm -f conftest.
$ac_objext conftest
$ac_exeext
39466 if { (ac_try
="$ac_link"
39467 case "(($ac_try" in
39468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39469 *) ac_try_echo=$ac_try;;
39471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39472 (eval "$ac_link") 2>conftest.er1
39474 grep -v '^ *+' conftest.er1 >conftest.err
39476 cat conftest.err >&5
39477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39478 (exit $ac_status); } && {
39479 test -z "$ac_c_werror_flag" ||
39480 test ! -s conftest.err
39481 } && test -s conftest$ac_exeext &&
39482 $as_test_x conftest$ac_exeext; then
39483 ac_cv_func_pthread_attr_getschedpolicy=yes
39485 echo "$as_me: failed program was:" >&5
39486 sed 's/^/| /' conftest.$ac_ext >&5
39488 ac_cv_func_pthread_attr_getschedpolicy=no
39491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39492 conftest$ac_exeext conftest.$ac_ext
39494 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39495 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39496 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39497 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39498 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39499 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39500 echo $ECHO_N "(cached) $ECHO_C" >&6
39502 cat >conftest.$ac_ext <<_ACEOF
39505 cat confdefs.h >>conftest.$ac_ext
39506 cat >>conftest.$ac_ext <<_ACEOF
39507 /* end confdefs.h. */
39508 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39510 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39512 /* System header to define __stub macros and hopefully few prototypes,
39513 which can conflict with char pthread_attr_setschedparam (); below.
39514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39515 <limits.h> exists even on freestanding compilers. */
39518 # include <limits.h>
39520 # include <assert.h>
39523 #undef pthread_attr_setschedparam
39525 /* Override any GCC internal prototype to avoid an error.
39526 Use char because int might match the return type of a GCC
39527 builtin and then its argument prototype would still apply. */
39531 char pthread_attr_setschedparam ();
39532 /* The GNU C library defines this for functions which it implements
39533 to always fail with ENOSYS. Some functions are actually named
39534 something starting with __ and the normal name is an alias. */
39535 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39542 return pthread_attr_setschedparam ();
39547 rm -f conftest.$ac_objext conftest$ac_exeext
39548 if { (ac_try="$ac_link"
39549 case "(($ac_try" in
39550 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39551 *) ac_try_echo
=$ac_try;;
39553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39554 (eval "$ac_link") 2>conftest.er1
39556 grep -v '^ *+' conftest.er1
>conftest.err
39558 cat conftest.err
>&5
39559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39560 (exit $ac_status); } && {
39561 test -z "$ac_c_werror_flag" ||
39562 test ! -s conftest.err
39563 } && test -s conftest
$ac_exeext &&
39564 $as_test_x conftest
$ac_exeext; then
39565 ac_cv_func_pthread_attr_setschedparam
=yes
39567 echo "$as_me: failed program was:" >&5
39568 sed 's/^/| /' conftest.
$ac_ext >&5
39570 ac_cv_func_pthread_attr_setschedparam
=no
39573 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39574 conftest
$ac_exeext conftest.
$ac_ext
39576 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39577 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39578 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39579 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39580 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39581 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39582 echo $ECHO_N "(cached) $ECHO_C" >&6
39584 cat >conftest.
$ac_ext <<_ACEOF
39587 cat confdefs.h
>>conftest.
$ac_ext
39588 cat >>conftest.
$ac_ext <<_ACEOF
39589 /* end confdefs.h. */
39590 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39592 #define sched_get_priority_max innocuous_sched_get_priority_max
39594 /* System header to define __stub macros and hopefully few prototypes,
39595 which can conflict with char sched_get_priority_max (); below.
39596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39597 <limits.h> exists even on freestanding compilers. */
39600 # include <limits.h>
39602 # include <assert.h>
39605 #undef sched_get_priority_max
39607 /* Override any GCC internal prototype to avoid an error.
39608 Use char because int might match the return type of a GCC
39609 builtin and then its argument prototype would still apply. */
39613 char sched_get_priority_max ();
39614 /* The GNU C library defines this for functions which it implements
39615 to always fail with ENOSYS. Some functions are actually named
39616 something starting with __ and the normal name is an alias. */
39617 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39624 return sched_get_priority_max ();
39629 rm -f conftest.
$ac_objext conftest
$ac_exeext
39630 if { (ac_try
="$ac_link"
39631 case "(($ac_try" in
39632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39633 *) ac_try_echo=$ac_try;;
39635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39636 (eval "$ac_link") 2>conftest.er1
39638 grep -v '^ *+' conftest.er1 >conftest.err
39640 cat conftest.err >&5
39641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39642 (exit $ac_status); } && {
39643 test -z "$ac_c_werror_flag" ||
39644 test ! -s conftest.err
39645 } && test -s conftest$ac_exeext &&
39646 $as_test_x conftest$ac_exeext; then
39647 ac_cv_func_sched_get_priority_max=yes
39649 echo "$as_me: failed program was:" >&5
39650 sed 's/^/| /' conftest.$ac_ext >&5
39652 ac_cv_func_sched_get_priority_max=no
39655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39656 conftest$ac_exeext conftest.$ac_ext
39658 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39659 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39660 if test $ac_cv_func_sched_get_priority_max = yes; then
39663 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39664 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39665 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39666 echo $ECHO_N "(cached) $ECHO_C" >&6
39668 ac_check_lib_save_LIBS=$LIBS
39669 LIBS="-lposix4 $LIBS"
39670 cat >conftest.$ac_ext <<_ACEOF
39673 cat confdefs.h >>conftest.$ac_ext
39674 cat >>conftest.$ac_ext <<_ACEOF
39675 /* end confdefs.h. */
39677 /* Override any GCC internal prototype to avoid an error.
39678 Use char because int might match the return type of a GCC
39679 builtin and then its argument prototype would still apply. */
39683 char sched_get_priority_max ();
39687 return sched_get_priority_max ();
39692 rm -f conftest.$ac_objext conftest$ac_exeext
39693 if { (ac_try="$ac_link"
39694 case "(($ac_try" in
39695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39696 *) ac_try_echo
=$ac_try;;
39698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39699 (eval "$ac_link") 2>conftest.er1
39701 grep -v '^ *+' conftest.er1
>conftest.err
39703 cat conftest.err
>&5
39704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39705 (exit $ac_status); } && {
39706 test -z "$ac_c_werror_flag" ||
39707 test ! -s conftest.err
39708 } && test -s conftest
$ac_exeext &&
39709 $as_test_x conftest
$ac_exeext; then
39710 ac_cv_lib_posix4_sched_get_priority_max
=yes
39712 echo "$as_me: failed program was:" >&5
39713 sed 's/^/| /' conftest.
$ac_ext >&5
39715 ac_cv_lib_posix4_sched_get_priority_max
=no
39718 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39719 conftest
$ac_exeext conftest.
$ac_ext
39720 LIBS
=$ac_check_lib_save_LIBS
39722 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39723 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39724 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39727 POSIX4_LINK
=" -lposix4"
39741 if test "$HAVE_PRIOR_FUNCS" = 1; then
39742 cat >>confdefs.h
<<\_ACEOF
39743 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39747 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39748 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39751 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39752 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39753 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39754 echo $ECHO_N "(cached) $ECHO_C" >&6
39756 cat >conftest.
$ac_ext <<_ACEOF
39759 cat confdefs.h
>>conftest.
$ac_ext
39760 cat >>conftest.
$ac_ext <<_ACEOF
39761 /* end confdefs.h. */
39762 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39764 #define pthread_cancel innocuous_pthread_cancel
39766 /* System header to define __stub macros and hopefully few prototypes,
39767 which can conflict with char pthread_cancel (); below.
39768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39769 <limits.h> exists even on freestanding compilers. */
39772 # include <limits.h>
39774 # include <assert.h>
39777 #undef pthread_cancel
39779 /* Override any GCC internal prototype to avoid an error.
39780 Use char because int might match the return type of a GCC
39781 builtin and then its argument prototype would still apply. */
39785 char pthread_cancel ();
39786 /* The GNU C library defines this for functions which it implements
39787 to always fail with ENOSYS. Some functions are actually named
39788 something starting with __ and the normal name is an alias. */
39789 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39796 return pthread_cancel ();
39801 rm -f conftest.
$ac_objext conftest
$ac_exeext
39802 if { (ac_try
="$ac_link"
39803 case "(($ac_try" in
39804 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39805 *) ac_try_echo=$ac_try;;
39807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39808 (eval "$ac_link") 2>conftest.er1
39810 grep -v '^ *+' conftest.er1 >conftest.err
39812 cat conftest.err >&5
39813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39814 (exit $ac_status); } && {
39815 test -z "$ac_c_werror_flag" ||
39816 test ! -s conftest.err
39817 } && test -s conftest$ac_exeext &&
39818 $as_test_x conftest$ac_exeext; then
39819 ac_cv_func_pthread_cancel=yes
39821 echo "$as_me: failed program was:" >&5
39822 sed 's/^/| /' conftest.$ac_ext >&5
39824 ac_cv_func_pthread_cancel=no
39827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39828 conftest$ac_exeext conftest.$ac_ext
39830 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39831 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39832 if test $ac_cv_func_pthread_cancel = yes; then
39833 cat >>confdefs.h <<\_ACEOF
39834 #define HAVE_PTHREAD_CANCEL 1
39838 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39839 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39843 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39844 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39845 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39846 echo $ECHO_N "(cached) $ECHO_C" >&6
39848 cat >conftest.$ac_ext <<_ACEOF
39851 cat confdefs.h >>conftest.$ac_ext
39852 cat >>conftest.$ac_ext <<_ACEOF
39853 /* end confdefs.h. */
39854 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39856 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39858 /* System header to define __stub macros and hopefully few prototypes,
39859 which can conflict with char pthread_mutex_timedlock (); below.
39860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39861 <limits.h> exists even on freestanding compilers. */
39864 # include <limits.h>
39866 # include <assert.h>
39869 #undef pthread_mutex_timedlock
39871 /* Override any GCC internal prototype to avoid an error.
39872 Use char because int might match the return type of a GCC
39873 builtin and then its argument prototype would still apply. */
39877 char pthread_mutex_timedlock ();
39878 /* The GNU C library defines this for functions which it implements
39879 to always fail with ENOSYS. Some functions are actually named
39880 something starting with __ and the normal name is an alias. */
39881 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39888 return pthread_mutex_timedlock ();
39893 rm -f conftest.$ac_objext conftest$ac_exeext
39894 if { (ac_try="$ac_link"
39895 case "(($ac_try" in
39896 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39897 *) ac_try_echo
=$ac_try;;
39899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39900 (eval "$ac_link") 2>conftest.er1
39902 grep -v '^ *+' conftest.er1
>conftest.err
39904 cat conftest.err
>&5
39905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39906 (exit $ac_status); } && {
39907 test -z "$ac_c_werror_flag" ||
39908 test ! -s conftest.err
39909 } && test -s conftest
$ac_exeext &&
39910 $as_test_x conftest
$ac_exeext; then
39911 ac_cv_func_pthread_mutex_timedlock
=yes
39913 echo "$as_me: failed program was:" >&5
39914 sed 's/^/| /' conftest.
$ac_ext >&5
39916 ac_cv_func_pthread_mutex_timedlock
=no
39919 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39920 conftest
$ac_exeext conftest.
$ac_ext
39922 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39923 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39924 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39925 cat >>confdefs.h
<<\_ACEOF
39926 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39930 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39931 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39935 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39936 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39937 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39938 echo $ECHO_N "(cached) $ECHO_C" >&6
39940 cat >conftest.
$ac_ext <<_ACEOF
39943 cat confdefs.h
>>conftest.
$ac_ext
39944 cat >>conftest.
$ac_ext <<_ACEOF
39945 /* end confdefs.h. */
39946 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39948 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39950 /* System header to define __stub macros and hopefully few prototypes,
39951 which can conflict with char pthread_attr_setstacksize (); below.
39952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39953 <limits.h> exists even on freestanding compilers. */
39956 # include <limits.h>
39958 # include <assert.h>
39961 #undef pthread_attr_setstacksize
39963 /* Override any GCC internal prototype to avoid an error.
39964 Use char because int might match the return type of a GCC
39965 builtin and then its argument prototype would still apply. */
39969 char pthread_attr_setstacksize ();
39970 /* The GNU C library defines this for functions which it implements
39971 to always fail with ENOSYS. Some functions are actually named
39972 something starting with __ and the normal name is an alias. */
39973 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39980 return pthread_attr_setstacksize ();
39985 rm -f conftest.
$ac_objext conftest
$ac_exeext
39986 if { (ac_try
="$ac_link"
39987 case "(($ac_try" in
39988 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39989 *) ac_try_echo=$ac_try;;
39991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39992 (eval "$ac_link") 2>conftest.er1
39994 grep -v '^ *+' conftest.er1 >conftest.err
39996 cat conftest.err >&5
39997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39998 (exit $ac_status); } && {
39999 test -z "$ac_c_werror_flag" ||
40000 test ! -s conftest.err
40001 } && test -s conftest$ac_exeext &&
40002 $as_test_x conftest$ac_exeext; then
40003 ac_cv_func_pthread_attr_setstacksize=yes
40005 echo "$as_me: failed program was:" >&5
40006 sed 's/^/| /' conftest.$ac_ext >&5
40008 ac_cv_func_pthread_attr_setstacksize=no
40011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40012 conftest$ac_exeext conftest.$ac_ext
40014 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40015 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40016 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40017 cat >>confdefs.h <<\_ACEOF
40018 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40025 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40026 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40027 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40028 echo $ECHO_N "(cached) $ECHO_C" >&6
40031 cat >conftest.$ac_ext <<_ACEOF
40034 cat confdefs.h >>conftest.$ac_ext
40035 cat >>conftest.$ac_ext <<_ACEOF
40036 /* end confdefs.h. */
40037 #include <pthread.h>
40042 pthread_mutexattr_t attr;
40043 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40049 rm -f conftest.$ac_objext
40050 if { (ac_try="$ac_compile"
40051 case "(($ac_try" in
40052 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40053 *) ac_try_echo
=$ac_try;;
40055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40056 (eval "$ac_compile") 2>conftest.er1
40058 grep -v '^ *+' conftest.er1
>conftest.err
40060 cat conftest.err
>&5
40061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40062 (exit $ac_status); } && {
40063 test -z "$ac_c_werror_flag" ||
40064 test ! -s conftest.err
40065 } && test -s conftest.
$ac_objext; then
40066 wx_cv_type_pthread_mutexattr_t
=yes
40068 echo "$as_me: failed program was:" >&5
40069 sed 's/^/| /' conftest.
$ac_ext >&5
40071 wx_cv_type_pthread_mutexattr_t
=no
40075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40078 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40079 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40081 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40082 cat >>confdefs.h
<<\_ACEOF
40083 #define HAVE_PTHREAD_MUTEXATTR_T 1
40087 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40088 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40089 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40090 echo $ECHO_N "(cached) $ECHO_C" >&6
40093 cat >conftest.
$ac_ext <<_ACEOF
40096 cat confdefs.h
>>conftest.
$ac_ext
40097 cat >>conftest.
$ac_ext <<_ACEOF
40098 /* end confdefs.h. */
40099 #include <pthread.h>
40104 pthread_mutexattr_t attr;
40105 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40111 rm -f conftest.
$ac_objext
40112 if { (ac_try
="$ac_compile"
40113 case "(($ac_try" in
40114 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40115 *) ac_try_echo=$ac_try;;
40117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40118 (eval "$ac_compile") 2>conftest.er1
40120 grep -v '^ *+' conftest.er1 >conftest.err
40122 cat conftest.err >&5
40123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40124 (exit $ac_status); } && {
40125 test -z "$ac_c_werror_flag" ||
40126 test ! -s conftest.err
40127 } && test -s conftest.$ac_objext; then
40128 wx_cv_func_pthread_mutexattr_settype_decl=yes
40130 echo "$as_me: failed program was:" >&5
40131 sed 's/^/| /' conftest.$ac_ext >&5
40133 wx_cv_func_pthread_mutexattr_settype_decl=no
40137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40140 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40141 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40142 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40143 cat >>confdefs.h <<\_ACEOF
40144 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40149 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40150 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40151 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40152 echo $ECHO_N "(cached) $ECHO_C" >&6
40155 cat >conftest.$ac_ext <<_ACEOF
40158 cat confdefs.h >>conftest.$ac_ext
40159 cat >>conftest.$ac_ext <<_ACEOF
40160 /* end confdefs.h. */
40161 #include <pthread.h>
40166 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40172 rm -f conftest.$ac_objext
40173 if { (ac_try="$ac_compile"
40174 case "(($ac_try" in
40175 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40176 *) ac_try_echo
=$ac_try;;
40178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40179 (eval "$ac_compile") 2>conftest.er1
40181 grep -v '^ *+' conftest.er1
>conftest.err
40183 cat conftest.err
>&5
40184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40185 (exit $ac_status); } && {
40186 test -z "$ac_c_werror_flag" ||
40187 test ! -s conftest.err
40188 } && test -s conftest.
$ac_objext; then
40190 wx_cv_type_pthread_rec_mutex_init
=yes
40193 echo "$as_me: failed program was:" >&5
40194 sed 's/^/| /' conftest.
$ac_ext >&5
40197 wx_cv_type_pthread_rec_mutex_init
=no
40202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40205 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40206 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40207 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40208 cat >>confdefs.h
<<\_ACEOF
40209 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40213 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40214 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40218 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40219 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40220 if test "${wx_cv_cc___thread+set}" = set; then
40221 echo $ECHO_N "(cached) $ECHO_C" >&6
40224 cat >conftest.
$ac_ext <<_ACEOF
40227 cat confdefs.h
>>conftest.
$ac_ext
40228 cat >>conftest.
$ac_ext <<_ACEOF
40229 /* end confdefs.h. */
40230 #include <pthread.h>
40235 static __thread int n = 0;
40236 static __thread int *p = 0;
40242 rm -f conftest.
$ac_objext
40243 if { (ac_try
="$ac_compile"
40244 case "(($ac_try" in
40245 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40246 *) ac_try_echo=$ac_try;;
40248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40249 (eval "$ac_compile") 2>conftest.er1
40251 grep -v '^ *+' conftest.er1 >conftest.err
40253 cat conftest.err >&5
40254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40255 (exit $ac_status); } && {
40256 test -z "$ac_c_werror_flag" ||
40257 test ! -s conftest.err
40258 } && test -s conftest.$ac_objext; then
40259 wx_cv_cc___thread=yes
40261 echo "$as_me: failed program was:" >&5
40262 sed 's/^/| /' conftest.$ac_ext >&5
40264 wx_cv_cc___thread=no
40268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40271 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40272 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40274 if test "$wx_cv_cc___thread" = "yes"; then
40275 cat >>confdefs.h <<\_ACEOF
40276 #define HAVE___THREAD_KEYWORD 1
40283 if test "$wxUSE_THREADS" = "yes" ; then
40285 x86_64-*-mingw32* )
40288 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40289 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40290 if test "${wx_cv_cflags_mthread+set}" = set; then
40291 echo $ECHO_N "(cached) $ECHO_C" >&6
40294 CFLAGS_OLD="$CFLAGS"
40295 CFLAGS="-mthreads $CFLAGS"
40296 cat >conftest.$ac_ext <<_ACEOF
40299 cat confdefs.h >>conftest.$ac_ext
40300 cat >>conftest.$ac_ext <<_ACEOF
40301 /* end confdefs.h. */
40311 rm -f conftest.$ac_objext
40312 if { (ac_try="$ac_compile"
40313 case "(($ac_try" in
40314 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40315 *) ac_try_echo
=$ac_try;;
40317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40318 (eval "$ac_compile") 2>conftest.er1
40320 grep -v '^ *+' conftest.er1
>conftest.err
40322 cat conftest.err
>&5
40323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324 (exit $ac_status); } && {
40325 test -z "$ac_c_werror_flag" ||
40326 test ! -s conftest.err
40327 } && test -s conftest.
$ac_objext; then
40328 wx_cv_cflags_mthread
=yes
40330 echo "$as_me: failed program was:" >&5
40331 sed 's/^/| /' conftest.
$ac_ext >&5
40333 wx_cv_cflags_mthread
=no
40337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40341 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40342 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40344 if test "$wx_cv_cflags_mthread" = "yes"; then
40345 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40346 LDFLAGS
="$LDFLAGS -mthreads"
40348 CFLAGS
="$CFLAGS_OLD"
40352 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40353 LDFLAGS
="$LDFLAGS -Zmt"
40359 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40360 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40361 if test "${ac_cv_func_localtime_r+set}" = set; then
40362 echo $ECHO_N "(cached) $ECHO_C" >&6
40364 cat >conftest.
$ac_ext <<_ACEOF
40367 cat confdefs.h
>>conftest.
$ac_ext
40368 cat >>conftest.
$ac_ext <<_ACEOF
40369 /* end confdefs.h. */
40370 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40372 #define localtime_r innocuous_localtime_r
40374 /* System header to define __stub macros and hopefully few prototypes,
40375 which can conflict with char localtime_r (); below.
40376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40377 <limits.h> exists even on freestanding compilers. */
40380 # include <limits.h>
40382 # include <assert.h>
40387 /* Override any GCC internal prototype to avoid an error.
40388 Use char because int might match the return type of a GCC
40389 builtin and then its argument prototype would still apply. */
40393 char localtime_r ();
40394 /* The GNU C library defines this for functions which it implements
40395 to always fail with ENOSYS. Some functions are actually named
40396 something starting with __ and the normal name is an alias. */
40397 #if defined __stub_localtime_r || defined __stub___localtime_r
40404 return localtime_r ();
40409 rm -f conftest.
$ac_objext conftest
$ac_exeext
40410 if { (ac_try
="$ac_link"
40411 case "(($ac_try" in
40412 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40413 *) ac_try_echo=$ac_try;;
40415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40416 (eval "$ac_link") 2>conftest.er1
40418 grep -v '^ *+' conftest.er1 >conftest.err
40420 cat conftest.err >&5
40421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40422 (exit $ac_status); } && {
40423 test -z "$ac_c_werror_flag" ||
40424 test ! -s conftest.err
40425 } && test -s conftest$ac_exeext &&
40426 $as_test_x conftest$ac_exeext; then
40427 ac_cv_func_localtime_r=yes
40429 echo "$as_me: failed program was:" >&5
40430 sed 's/^/| /' conftest.$ac_ext >&5
40432 ac_cv_func_localtime_r=no
40435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40436 conftest$ac_exeext conftest.$ac_ext
40438 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40439 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40440 if test $ac_cv_func_localtime_r = yes; then
40441 cat >>confdefs.h <<\_ACEOF
40442 #define HAVE_LOCALTIME_R 1
40447 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40448 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40449 if test "${ac_cv_func_gmtime_r+set}" = set; then
40450 echo $ECHO_N "(cached) $ECHO_C" >&6
40452 cat >conftest.$ac_ext <<_ACEOF
40455 cat confdefs.h >>conftest.$ac_ext
40456 cat >>conftest.$ac_ext <<_ACEOF
40457 /* end confdefs.h. */
40458 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40460 #define gmtime_r innocuous_gmtime_r
40462 /* System header to define __stub macros and hopefully few prototypes,
40463 which can conflict with char gmtime_r (); below.
40464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40465 <limits.h> exists even on freestanding compilers. */
40468 # include <limits.h>
40470 # include <assert.h>
40475 /* Override any GCC internal prototype to avoid an error.
40476 Use char because int might match the return type of a GCC
40477 builtin and then its argument prototype would still apply. */
40482 /* The GNU C library defines this for functions which it implements
40483 to always fail with ENOSYS. Some functions are actually named
40484 something starting with __ and the normal name is an alias. */
40485 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40492 return gmtime_r ();
40497 rm -f conftest.$ac_objext conftest$ac_exeext
40498 if { (ac_try="$ac_link"
40499 case "(($ac_try" in
40500 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40501 *) ac_try_echo
=$ac_try;;
40503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40504 (eval "$ac_link") 2>conftest.er1
40506 grep -v '^ *+' conftest.er1
>conftest.err
40508 cat conftest.err
>&5
40509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40510 (exit $ac_status); } && {
40511 test -z "$ac_c_werror_flag" ||
40512 test ! -s conftest.err
40513 } && test -s conftest
$ac_exeext &&
40514 $as_test_x conftest
$ac_exeext; then
40515 ac_cv_func_gmtime_r
=yes
40517 echo "$as_me: failed program was:" >&5
40518 sed 's/^/| /' conftest.
$ac_ext >&5
40520 ac_cv_func_gmtime_r
=no
40523 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40524 conftest
$ac_exeext conftest.
$ac_ext
40526 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40527 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40528 if test $ac_cv_func_gmtime_r = yes; then
40529 cat >>confdefs.h
<<\_ACEOF
40530 #define HAVE_GMTIME_R 1
40539 ac_cpp
='$CPP $CPPFLAGS'
40540 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40541 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40542 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40544 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40545 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40547 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40548 echo $ECHO_N "(cached) $ECHO_C" >&6
40552 ################################################################
40554 ac_cv_func_which_gethostbyname_r
=unknown
40557 # ONE ARGUMENT (sanity check)
40560 # This should fail, as there is no variant of gethostbyname_r() that takes
40561 # a single argument. If it actually compiles, then we can assume that
40562 # netdb.h is not declaring the function, and the compiler is thereby
40563 # assuming an implicit prototype. In which case, we're out of luck.
40565 cat >conftest.
$ac_ext <<_ACEOF
40568 cat confdefs.h
>>conftest.
$ac_ext
40569 cat >>conftest.
$ac_ext <<_ACEOF
40570 /* end confdefs.h. */
40576 char *name = "www.gnu.org";
40577 (void)gethostbyname_r(name) /* ; */
40583 rm -f conftest.
$ac_objext
40584 if { (ac_try
="$ac_compile"
40585 case "(($ac_try" in
40586 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40587 *) ac_try_echo=$ac_try;;
40589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40590 (eval "$ac_compile") 2>conftest.er1
40592 grep -v '^ *+' conftest.er1 >conftest.err
40594 cat conftest.err >&5
40595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40596 (exit $ac_status); } && {
40597 test -z "$ac_c_werror_flag" ||
40598 test ! -s conftest.err
40599 } && test -s conftest.$ac_objext; then
40600 ac_cv_func_which_gethostbyname_r=no
40602 echo "$as_me: failed program was:" >&5
40603 sed 's/^/| /' conftest.$ac_ext >&5
40608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40615 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40617 cat >conftest.$ac_ext <<_ACEOF
40620 cat confdefs.h >>conftest.$ac_ext
40621 cat >>conftest.$ac_ext <<_ACEOF
40622 /* end confdefs.h. */
40628 char *name = "www.gnu.org";
40629 struct hostent ret, *retp;
40633 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40639 rm -f conftest.$ac_objext
40640 if { (ac_try="$ac_compile"
40641 case "(($ac_try" in
40642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40643 *) ac_try_echo
=$ac_try;;
40645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40646 (eval "$ac_compile") 2>conftest.er1
40648 grep -v '^ *+' conftest.er1
>conftest.err
40650 cat conftest.err
>&5
40651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40652 (exit $ac_status); } && {
40653 test -z "$ac_c_werror_flag" ||
40654 test ! -s conftest.err
40655 } && test -s conftest.
$ac_objext; then
40656 ac_cv_func_which_gethostbyname_r
=six
40658 echo "$as_me: failed program was:" >&5
40659 sed 's/^/| /' conftest.
$ac_ext >&5
40664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40673 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40675 cat >conftest.
$ac_ext <<_ACEOF
40678 cat confdefs.h
>>conftest.
$ac_ext
40679 cat >>conftest.
$ac_ext <<_ACEOF
40680 /* end confdefs.h. */
40686 char *name = "www.gnu.org";
40687 struct hostent ret;
40691 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40697 rm -f conftest.
$ac_objext
40698 if { (ac_try
="$ac_compile"
40699 case "(($ac_try" in
40700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40701 *) ac_try_echo=$ac_try;;
40703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40704 (eval "$ac_compile") 2>conftest.er1
40706 grep -v '^ *+' conftest.er1 >conftest.err
40708 cat conftest.err >&5
40709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40710 (exit $ac_status); } && {
40711 test -z "$ac_c_werror_flag" ||
40712 test ! -s conftest.err
40713 } && test -s conftest.$ac_objext; then
40714 ac_cv_func_which_gethostbyname_r=five
40716 echo "$as_me: failed program was:" >&5
40717 sed 's/^/| /' conftest.$ac_ext >&5
40722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40728 # (e.g. AIX, HP-UX, Tru64)
40731 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40733 cat >conftest.$ac_ext <<_ACEOF
40736 cat confdefs.h >>conftest.$ac_ext
40737 cat >>conftest.$ac_ext <<_ACEOF
40738 /* end confdefs.h. */
40744 char *name = "www.gnu.org";
40745 struct hostent ret;
40746 struct hostent_data data;
40747 (void)gethostbyname_r(name, &ret, &data) /* ; */
40753 rm -f conftest.$ac_objext
40754 if { (ac_try="$ac_compile"
40755 case "(($ac_try" in
40756 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40757 *) ac_try_echo
=$ac_try;;
40759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40760 (eval "$ac_compile") 2>conftest.er1
40762 grep -v '^ *+' conftest.er1
>conftest.err
40764 cat conftest.err
>&5
40765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40766 (exit $ac_status); } && {
40767 test -z "$ac_c_werror_flag" ||
40768 test ! -s conftest.err
40769 } && test -s conftest.
$ac_objext; then
40770 ac_cv_func_which_gethostbyname_r
=three
40772 echo "$as_me: failed program was:" >&5
40773 sed 's/^/| /' conftest.
$ac_ext >&5
40778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40782 ################################################################
40787 case "$ac_cv_func_which_gethostbyname_r" in
40789 { echo "$as_me:$LINENO: result: three" >&5
40790 echo "${ECHO_T}three" >&6; }
40791 cat >>confdefs.h
<<\_ACEOF
40792 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40798 { echo "$as_me:$LINENO: result: five" >&5
40799 echo "${ECHO_T}five" >&6; }
40800 cat >>confdefs.h
<<\_ACEOF
40801 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40807 { echo "$as_me:$LINENO: result: six" >&5
40808 echo "${ECHO_T}six" >&6; }
40809 cat >>confdefs.h
<<\_ACEOF
40810 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40816 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40817 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40821 { echo "$as_me:$LINENO: result: can't tell" >&5
40822 echo "${ECHO_T}can't tell" >&6; }
40826 { { echo "$as_me:$LINENO: error: internal error" >&5
40827 echo "$as_me: error: internal error" >&2;}
40828 { (exit 1); exit 1; }; }
40833 ac_cpp
='$CPP $CPPFLAGS'
40834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40840 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40841 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40842 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40843 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40844 if test "${ac_cv_func_gethostbyname+set}" = set; then
40845 echo $ECHO_N "(cached) $ECHO_C" >&6
40847 cat >conftest.
$ac_ext <<_ACEOF
40850 cat confdefs.h
>>conftest.
$ac_ext
40851 cat >>conftest.
$ac_ext <<_ACEOF
40852 /* end confdefs.h. */
40853 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40855 #define gethostbyname innocuous_gethostbyname
40857 /* System header to define __stub macros and hopefully few prototypes,
40858 which can conflict with char gethostbyname (); below.
40859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40860 <limits.h> exists even on freestanding compilers. */
40863 # include <limits.h>
40865 # include <assert.h>
40868 #undef gethostbyname
40870 /* Override any GCC internal prototype to avoid an error.
40871 Use char because int might match the return type of a GCC
40872 builtin and then its argument prototype would still apply. */
40876 char gethostbyname ();
40877 /* The GNU C library defines this for functions which it implements
40878 to always fail with ENOSYS. Some functions are actually named
40879 something starting with __ and the normal name is an alias. */
40880 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40887 return gethostbyname ();
40892 rm -f conftest.
$ac_objext conftest
$ac_exeext
40893 if { (ac_try
="$ac_link"
40894 case "(($ac_try" in
40895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40896 *) ac_try_echo=$ac_try;;
40898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40899 (eval "$ac_link") 2>conftest.er1
40901 grep -v '^ *+' conftest.er1 >conftest.err
40903 cat conftest.err >&5
40904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40905 (exit $ac_status); } && {
40906 test -z "$ac_c_werror_flag" ||
40907 test ! -s conftest.err
40908 } && test -s conftest$ac_exeext &&
40909 $as_test_x conftest$ac_exeext; then
40910 ac_cv_func_gethostbyname=yes
40912 echo "$as_me: failed program was:" >&5
40913 sed 's/^/| /' conftest.$ac_ext >&5
40915 ac_cv_func_gethostbyname=no
40918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40919 conftest$ac_exeext conftest.$ac_ext
40921 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40922 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40923 if test $ac_cv_func_gethostbyname = yes; then
40924 cat >>confdefs.h <<\_ACEOF
40925 #define HAVE_GETHOSTBYNAME 1
40932 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40933 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40934 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40935 echo $ECHO_N "(cached) $ECHO_C" >&6
40939 ac_cpp='$CXXCPP $CPPFLAGS'
40940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40945 cat >conftest.$ac_ext <<_ACEOF
40948 cat confdefs.h >>conftest.$ac_ext
40949 cat >>conftest.$ac_ext <<_ACEOF
40950 /* end confdefs.h. */
40958 struct servent *se, *res;
40961 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40967 rm -f conftest.$ac_objext
40968 if { (ac_try="$ac_compile"
40969 case "(($ac_try" in
40970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40971 *) ac_try_echo
=$ac_try;;
40973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40974 (eval "$ac_compile") 2>conftest.er1
40976 grep -v '^ *+' conftest.er1
>conftest.err
40978 cat conftest.err
>&5
40979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40980 (exit $ac_status); } && {
40981 test -z "$ac_cxx_werror_flag" ||
40982 test ! -s conftest.err
40983 } && test -s conftest.
$ac_objext; then
40984 ac_cv_func_which_getservbyname_r
=six
40986 echo "$as_me: failed program was:" >&5
40987 sed 's/^/| /' conftest.
$ac_ext >&5
40990 cat >conftest.
$ac_ext <<_ACEOF
40993 cat confdefs.h
>>conftest.
$ac_ext
40994 cat >>conftest.
$ac_ext <<_ACEOF
40995 /* end confdefs.h. */
41003 struct servent *se;
41006 (void) getservbyname_r(name, proto, se, buffer, buflen)
41012 rm -f conftest.
$ac_objext
41013 if { (ac_try
="$ac_compile"
41014 case "(($ac_try" in
41015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41016 *) ac_try_echo=$ac_try;;
41018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41019 (eval "$ac_compile") 2>conftest.er1
41021 grep -v '^ *+' conftest.er1 >conftest.err
41023 cat conftest.err >&5
41024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41025 (exit $ac_status); } && {
41026 test -z "$ac_cxx_werror_flag" ||
41027 test ! -s conftest.err
41028 } && test -s conftest.$ac_objext; then
41029 ac_cv_func_which_getservbyname_r=five
41031 echo "$as_me: failed program was:" >&5
41032 sed 's/^/| /' conftest.$ac_ext >&5
41035 cat >conftest.$ac_ext <<_ACEOF
41038 cat confdefs.h >>conftest.$ac_ext
41039 cat >>conftest.$ac_ext <<_ACEOF
41040 /* end confdefs.h. */
41048 struct servent *se;
41049 struct servent_data data;
41050 (void) getservbyname_r(name, proto, se, &data);
41056 rm -f conftest.$ac_objext
41057 if { (ac_try="$ac_compile"
41058 case "(($ac_try" in
41059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41060 *) ac_try_echo
=$ac_try;;
41062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41063 (eval "$ac_compile") 2>conftest.er1
41065 grep -v '^ *+' conftest.er1
>conftest.err
41067 cat conftest.err
>&5
41068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41069 (exit $ac_status); } && {
41070 test -z "$ac_cxx_werror_flag" ||
41071 test ! -s conftest.err
41072 } && test -s conftest.
$ac_objext; then
41073 ac_cv_func_which_getservbyname_r
=four
41075 echo "$as_me: failed program was:" >&5
41076 sed 's/^/| /' conftest.
$ac_ext >&5
41078 ac_cv_func_which_getservbyname_r
=no
41082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41094 ac_cpp
='$CPP $CPPFLAGS'
41095 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41096 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41097 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41102 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41103 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41105 if test $ac_cv_func_which_getservbyname_r = six
; then
41106 cat >>confdefs.h
<<\_ACEOF
41107 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41110 elif test $ac_cv_func_which_getservbyname_r = five
; then
41111 cat >>confdefs.h
<<\_ACEOF
41112 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41115 elif test $ac_cv_func_which_getservbyname_r = four
; then
41116 cat >>confdefs.h
<<\_ACEOF
41117 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41123 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41124 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41126 for ac_func
in getservbyname
41128 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41129 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41131 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41132 echo $ECHO_N "(cached) $ECHO_C" >&6
41134 cat >conftest.
$ac_ext <<_ACEOF
41137 cat confdefs.h
>>conftest.
$ac_ext
41138 cat >>conftest.
$ac_ext <<_ACEOF
41139 /* end confdefs.h. */
41140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41142 #define $ac_func innocuous_$ac_func
41144 /* System header to define __stub macros and hopefully few prototypes,
41145 which can conflict with char $ac_func (); below.
41146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41147 <limits.h> exists even on freestanding compilers. */
41150 # include <limits.h>
41152 # include <assert.h>
41157 /* Override any GCC internal prototype to avoid an error.
41158 Use char because int might match the return type of a GCC
41159 builtin and then its argument prototype would still apply. */
41164 /* The GNU C library defines this for functions which it implements
41165 to always fail with ENOSYS. Some functions are actually named
41166 something starting with __ and the normal name is an alias. */
41167 #if defined __stub_$ac_func || defined __stub___$ac_func
41174 return $ac_func ();
41179 rm -f conftest.
$ac_objext conftest
$ac_exeext
41180 if { (ac_try
="$ac_link"
41181 case "(($ac_try" in
41182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41183 *) ac_try_echo=$ac_try;;
41185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41186 (eval "$ac_link") 2>conftest.er1
41188 grep -v '^ *+' conftest.er1 >conftest.err
41190 cat conftest.err >&5
41191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41192 (exit $ac_status); } && {
41193 test -z "$ac_c_werror_flag" ||
41194 test ! -s conftest.err
41195 } && test -s conftest$ac_exeext &&
41196 $as_test_x conftest$ac_exeext; then
41197 eval "$as_ac_var=yes"
41199 echo "$as_me: failed program was:" >&5
41200 sed 's/^/| /' conftest.$ac_ext >&5
41202 eval "$as_ac_var=no"
41205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41206 conftest$ac_exeext conftest.$ac_ext
41208 ac_res=`eval echo '${'$as_ac_var'}'`
41209 { echo "$as_me:$LINENO: result: $ac_res" >&5
41210 echo "${ECHO_T}$ac_res" >&6; }
41211 if test `eval echo '${'$as_ac_var'}'` = yes; then
41212 cat >>confdefs.h <<_ACEOF
41213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41215 cat >>confdefs.h <<\_ACEOF
41216 #define HAVE_GETSERVBYNAME 1
41224 if test "$wxUSE_THREADS" = "yes"; then
41225 cat >>confdefs.h <<\_ACEOF
41226 #define wxUSE_THREADS 1
41230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41232 if test "$wx_cv_func_strtok_r" = "yes"; then
41233 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41234 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41235 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41236 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41237 { echo "$as_me:$LINENO: result: yes" >&5
41238 echo "${ECHO_T}yes" >&6; }
41240 { echo "$as_me:$LINENO: result: no" >&5
41241 echo "${ECHO_T}no" >&6; }
41246 if test "$WXGTK2" = 1 ; then
41247 cat >>confdefs.h <<_ACEOF
41248 #define __WXGTK20__ $WXGTK2
41254 if test "$WXGTK12" = 1 ; then
41255 cat >>confdefs.h <<_ACEOF
41256 #define __WXGTK12__ $WXGTK12
41261 if test "$WXGTK127" = 1 ; then
41262 cat >>confdefs.h <<_ACEOF
41263 #define __WXGTK127__ $WXGTK127
41268 if test "$WXGPE" = 1 ; then
41269 cat >>confdefs.h <<_ACEOF
41270 #define __WXGPE__ $WXGPE
41276 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41280 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41281 wxUSE_DEBUG_INFO=yes
41282 if test "$GCC" = yes; then
41283 DEBUG_CFLAGS="-ggdb"
41287 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41288 cat >>confdefs.h <<\_ACEOF
41292 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41294 if test "$wxUSE_GTK" = 1 ; then
41295 if test "x$wxGTK_VERSION" = "x1" ; then
41296 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41301 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41302 cat >>confdefs.h <<\_ACEOF
41303 #define wxUSE_MEMORY_TRACING 1
41306 cat >>confdefs.h <<\_ACEOF
41307 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41310 cat >>confdefs.h <<\_ACEOF
41311 #define wxUSE_DEBUG_NEW_ALWAYS 1
41314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41317 if test "$wxUSE_DMALLOC" = "yes" ; then
41318 DMALLOC_LIBS="-ldmallocthcxx"
41322 if test "$wxUSE_PROFILE" = "yes" ; then
41323 PROFILE_FLAGS=" -pg"
41326 if test "$GCC" = "yes" ; then
41327 if test "$wxUSE_NO_RTTI" = "yes" ; then
41328 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41330 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41331 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41333 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41334 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41339 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41342 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41348 if test "$wxUSE_OPTIMISE" = "no" ; then
41349 if test "$GCC" = yes ; then
41350 OPTIMISE_CFLAGS="-O0"
41353 if test "$GCC" = yes ; then
41355 *-pc-os2_emx | *-pc-os2-emx )
41356 OPTIMISE_CFLAGS="-O2"
41359 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41363 OPTIMISE_CFLAGS="-O"
41368 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41369 cat >>confdefs.h <<\_ACEOF
41370 #define WXWIN_COMPATIBILITY_2_6 1
41374 WXWIN_COMPATIBILITY_2_8="yes"
41377 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41378 cat >>confdefs.h <<\_ACEOF
41379 #define WXWIN_COMPATIBILITY_2_8 1
41385 if test "$wxUSE_GUI" = "yes"; then
41386 cat >>confdefs.h <<\_ACEOF
41387 #define wxUSE_GUI 1
41394 if test "$wxUSE_UNIX" = "yes"; then
41395 cat >>confdefs.h <<\_ACEOF
41396 #define wxUSE_UNIX 1
41402 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41406 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41407 if test "$USE_DOS" = 1; then
41411 for ac_func in dlopen
41413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41414 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41416 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41417 echo $ECHO_N "(cached) $ECHO_C" >&6
41419 cat >conftest.$ac_ext <<_ACEOF
41422 cat confdefs.h >>conftest.$ac_ext
41423 cat >>conftest.$ac_ext <<_ACEOF
41424 /* end confdefs.h. */
41425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41427 #define $ac_func innocuous_$ac_func
41429 /* System header to define __stub macros and hopefully few prototypes,
41430 which can conflict with char $ac_func (); below.
41431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41432 <limits.h> exists even on freestanding compilers. */
41435 # include <limits.h>
41437 # include <assert.h>
41442 /* Override any GCC internal prototype to avoid an error.
41443 Use char because int might match the return type of a GCC
41444 builtin and then its argument prototype would still apply. */
41449 /* The GNU C library defines this for functions which it implements
41450 to always fail with ENOSYS. Some functions are actually named
41451 something starting with __ and the normal name is an alias. */
41452 #if defined __stub_$ac_func || defined __stub___$ac_func
41459 return $ac_func ();
41464 rm -f conftest.$ac_objext conftest$ac_exeext
41465 if { (ac_try="$ac_link"
41466 case "(($ac_try" in
41467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41468 *) ac_try_echo
=$ac_try;;
41470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41471 (eval "$ac_link") 2>conftest.er1
41473 grep -v '^ *+' conftest.er1
>conftest.err
41475 cat conftest.err
>&5
41476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41477 (exit $ac_status); } && {
41478 test -z "$ac_c_werror_flag" ||
41479 test ! -s conftest.err
41480 } && test -s conftest
$ac_exeext &&
41481 $as_test_x conftest
$ac_exeext; then
41482 eval "$as_ac_var=yes"
41484 echo "$as_me: failed program was:" >&5
41485 sed 's/^/| /' conftest.
$ac_ext >&5
41487 eval "$as_ac_var=no"
41490 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41491 conftest
$ac_exeext conftest.
$ac_ext
41493 ac_res
=`eval echo '${'$as_ac_var'}'`
41494 { echo "$as_me:$LINENO: result: $ac_res" >&5
41495 echo "${ECHO_T}$ac_res" >&6; }
41496 if test `eval echo '${'$as_ac_var'}'` = yes; then
41497 cat >>confdefs.h
<<_ACEOF
41498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41501 cat >>confdefs.h
<<\_ACEOF
41502 #define HAVE_DLOPEN 1
41509 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41510 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41511 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41512 echo $ECHO_N "(cached) $ECHO_C" >&6
41514 ac_check_lib_save_LIBS
=$LIBS
41516 cat >conftest.
$ac_ext <<_ACEOF
41519 cat confdefs.h
>>conftest.
$ac_ext
41520 cat >>conftest.
$ac_ext <<_ACEOF
41521 /* end confdefs.h. */
41523 /* Override any GCC internal prototype to avoid an error.
41524 Use char because int might match the return type of a GCC
41525 builtin and then its argument prototype would still apply. */
41538 rm -f conftest.
$ac_objext conftest
$ac_exeext
41539 if { (ac_try
="$ac_link"
41540 case "(($ac_try" in
41541 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41542 *) ac_try_echo=$ac_try;;
41544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41545 (eval "$ac_link") 2>conftest.er1
41547 grep -v '^ *+' conftest.er1 >conftest.err
41549 cat conftest.err >&5
41550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41551 (exit $ac_status); } && {
41552 test -z "$ac_c_werror_flag" ||
41553 test ! -s conftest.err
41554 } && test -s conftest$ac_exeext &&
41555 $as_test_x conftest$ac_exeext; then
41556 ac_cv_lib_dl_dlopen=yes
41558 echo "$as_me: failed program was:" >&5
41559 sed 's/^/| /' conftest.$ac_ext >&5
41561 ac_cv_lib_dl_dlopen=no
41564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41565 conftest$ac_exeext conftest.$ac_ext
41566 LIBS=$ac_check_lib_save_LIBS
41568 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41569 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41570 if test $ac_cv_lib_dl_dlopen = yes; then
41572 cat >>confdefs.h <<\_ACEOF
41573 #define HAVE_DLOPEN 1
41577 DL_LINK=" -ldl$DL_LINK"
41582 for ac_func in shl_load
41584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41585 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41587 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41588 echo $ECHO_N "(cached) $ECHO_C" >&6
41590 cat >conftest.$ac_ext <<_ACEOF
41593 cat confdefs.h >>conftest.$ac_ext
41594 cat >>conftest.$ac_ext <<_ACEOF
41595 /* end confdefs.h. */
41596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41598 #define $ac_func innocuous_$ac_func
41600 /* System header to define __stub macros and hopefully few prototypes,
41601 which can conflict with char $ac_func (); below.
41602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41603 <limits.h> exists even on freestanding compilers. */
41606 # include <limits.h>
41608 # include <assert.h>
41613 /* Override any GCC internal prototype to avoid an error.
41614 Use char because int might match the return type of a GCC
41615 builtin and then its argument prototype would still apply. */
41620 /* The GNU C library defines this for functions which it implements
41621 to always fail with ENOSYS. Some functions are actually named
41622 something starting with __ and the normal name is an alias. */
41623 #if defined __stub_$ac_func || defined __stub___$ac_func
41630 return $ac_func ();
41635 rm -f conftest.$ac_objext conftest$ac_exeext
41636 if { (ac_try="$ac_link"
41637 case "(($ac_try" in
41638 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41639 *) ac_try_echo
=$ac_try;;
41641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41642 (eval "$ac_link") 2>conftest.er1
41644 grep -v '^ *+' conftest.er1
>conftest.err
41646 cat conftest.err
>&5
41647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41648 (exit $ac_status); } && {
41649 test -z "$ac_c_werror_flag" ||
41650 test ! -s conftest.err
41651 } && test -s conftest
$ac_exeext &&
41652 $as_test_x conftest
$ac_exeext; then
41653 eval "$as_ac_var=yes"
41655 echo "$as_me: failed program was:" >&5
41656 sed 's/^/| /' conftest.
$ac_ext >&5
41658 eval "$as_ac_var=no"
41661 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41662 conftest
$ac_exeext conftest.
$ac_ext
41664 ac_res
=`eval echo '${'$as_ac_var'}'`
41665 { echo "$as_me:$LINENO: result: $ac_res" >&5
41666 echo "${ECHO_T}$ac_res" >&6; }
41667 if test `eval echo '${'$as_ac_var'}'` = yes; then
41668 cat >>confdefs.h
<<_ACEOF
41669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41672 cat >>confdefs.h
<<\_ACEOF
41673 #define HAVE_SHL_LOAD 1
41680 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41681 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41682 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41683 echo $ECHO_N "(cached) $ECHO_C" >&6
41685 ac_check_lib_save_LIBS
=$LIBS
41686 LIBS
="-lshl_load $LIBS"
41687 cat >conftest.
$ac_ext <<_ACEOF
41690 cat confdefs.h
>>conftest.
$ac_ext
41691 cat >>conftest.
$ac_ext <<_ACEOF
41692 /* end confdefs.h. */
41694 /* Override any GCC internal prototype to avoid an error.
41695 Use char because int might match the return type of a GCC
41696 builtin and then its argument prototype would still apply. */
41709 rm -f conftest.
$ac_objext conftest
$ac_exeext
41710 if { (ac_try
="$ac_link"
41711 case "(($ac_try" in
41712 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41713 *) ac_try_echo=$ac_try;;
41715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41716 (eval "$ac_link") 2>conftest.er1
41718 grep -v '^ *+' conftest.er1 >conftest.err
41720 cat conftest.err >&5
41721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41722 (exit $ac_status); } && {
41723 test -z "$ac_c_werror_flag" ||
41724 test ! -s conftest.err
41725 } && test -s conftest$ac_exeext &&
41726 $as_test_x conftest$ac_exeext; then
41727 ac_cv_lib_shl_load_dld=yes
41729 echo "$as_me: failed program was:" >&5
41730 sed 's/^/| /' conftest.$ac_ext >&5
41732 ac_cv_lib_shl_load_dld=no
41735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41736 conftest$ac_exeext conftest.$ac_ext
41737 LIBS=$ac_check_lib_save_LIBS
41739 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41740 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41741 if test $ac_cv_lib_shl_load_dld = yes; then
41744 DL_LINK=" -ldld$DL_LINK"
41760 if test "$HAVE_DL_FUNCS" = 1; then
41762 for ac_func in dlerror
41764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41765 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41767 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41768 echo $ECHO_N "(cached) $ECHO_C" >&6
41770 cat >conftest.$ac_ext <<_ACEOF
41773 cat confdefs.h >>conftest.$ac_ext
41774 cat >>conftest.$ac_ext <<_ACEOF
41775 /* end confdefs.h. */
41776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41778 #define $ac_func innocuous_$ac_func
41780 /* System header to define __stub macros and hopefully few prototypes,
41781 which can conflict with char $ac_func (); below.
41782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41783 <limits.h> exists even on freestanding compilers. */
41786 # include <limits.h>
41788 # include <assert.h>
41793 /* Override any GCC internal prototype to avoid an error.
41794 Use char because int might match the return type of a GCC
41795 builtin and then its argument prototype would still apply. */
41800 /* The GNU C library defines this for functions which it implements
41801 to always fail with ENOSYS. Some functions are actually named
41802 something starting with __ and the normal name is an alias. */
41803 #if defined __stub_$ac_func || defined __stub___$ac_func
41810 return $ac_func ();
41815 rm -f conftest.$ac_objext conftest$ac_exeext
41816 if { (ac_try="$ac_link"
41817 case "(($ac_try" in
41818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41819 *) ac_try_echo
=$ac_try;;
41821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41822 (eval "$ac_link") 2>conftest.er1
41824 grep -v '^ *+' conftest.er1
>conftest.err
41826 cat conftest.err
>&5
41827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41828 (exit $ac_status); } && {
41829 test -z "$ac_c_werror_flag" ||
41830 test ! -s conftest.err
41831 } && test -s conftest
$ac_exeext &&
41832 $as_test_x conftest
$ac_exeext; then
41833 eval "$as_ac_var=yes"
41835 echo "$as_me: failed program was:" >&5
41836 sed 's/^/| /' conftest.
$ac_ext >&5
41838 eval "$as_ac_var=no"
41841 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41842 conftest
$ac_exeext conftest.
$ac_ext
41844 ac_res
=`eval echo '${'$as_ac_var'}'`
41845 { echo "$as_me:$LINENO: result: $ac_res" >&5
41846 echo "${ECHO_T}$ac_res" >&6; }
41847 if test `eval echo '${'$as_ac_var'}'` = yes; then
41848 cat >>confdefs.h
<<_ACEOF
41849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41851 cat >>confdefs.h
<<\_ACEOF
41852 #define HAVE_DLERROR 1
41857 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41858 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41859 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41860 echo $ECHO_N "(cached) $ECHO_C" >&6
41862 ac_check_lib_save_LIBS
=$LIBS
41864 cat >conftest.
$ac_ext <<_ACEOF
41867 cat confdefs.h
>>conftest.
$ac_ext
41868 cat >>conftest.
$ac_ext <<_ACEOF
41869 /* end confdefs.h. */
41871 /* Override any GCC internal prototype to avoid an error.
41872 Use char because int might match the return type of a GCC
41873 builtin and then its argument prototype would still apply. */
41886 rm -f conftest.
$ac_objext conftest
$ac_exeext
41887 if { (ac_try
="$ac_link"
41888 case "(($ac_try" in
41889 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41890 *) ac_try_echo=$ac_try;;
41892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41893 (eval "$ac_link") 2>conftest.er1
41895 grep -v '^ *+' conftest.er1 >conftest.err
41897 cat conftest.err >&5
41898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41899 (exit $ac_status); } && {
41900 test -z "$ac_c_werror_flag" ||
41901 test ! -s conftest.err
41902 } && test -s conftest$ac_exeext &&
41903 $as_test_x conftest$ac_exeext; then
41904 ac_cv_lib_dl_dlerror=yes
41906 echo "$as_me: failed program was:" >&5
41907 sed 's/^/| /' conftest.$ac_ext >&5
41909 ac_cv_lib_dl_dlerror=no
41912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41913 conftest$ac_exeext conftest.$ac_ext
41914 LIBS=$ac_check_lib_save_LIBS
41916 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41917 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41918 if test $ac_cv_lib_dl_dlerror = yes; then
41919 cat >>confdefs.h <<\_ACEOF
41920 #define HAVE_DLERROR 1
41933 if test "$USE_DARWIN" = 1; then
41937 if test "$HAVE_DL_FUNCS" = 0; then
41938 if test "$HAVE_SHL_FUNCS" = 0; then
41939 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41940 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41941 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41942 wxUSE_DYNAMIC_LOADER=no
41943 wxUSE_DYNLIB_CLASS=no
41945 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41946 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41953 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41954 cat >>confdefs.h <<\_ACEOF
41955 #define wxUSE_DYNAMIC_LOADER 1
41959 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41960 cat >>confdefs.h <<\_ACEOF
41961 #define wxUSE_DYNLIB_CLASS 1
41968 if test "$wxUSE_PLUGINS" = "yes" ; then
41969 if test "$wxUSE_SHARED" = "no" ; then
41970 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41971 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41974 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41975 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41976 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41979 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41980 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41981 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41984 if test "$wxUSE_PLUGINS" = "yes" ; then
41985 cat >>confdefs.h <<\_ACEOF
41986 #define wxUSE_PLUGINS 1
41993 if test "$wxUSE_STL" = "yes"; then
41994 cat >>confdefs.h <<\_ACEOF
41995 #define wxUSE_STL 1
42000 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42001 cat >>confdefs.h <<\_ACEOF
42002 #define wxUSE_EXTENDED_RTTI 1
42007 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42008 cat >>confdefs.h <<\_ACEOF
42009 #define wxUSE_APPLE_IEEE 1
42014 if test "$wxUSE_TIMER" = "yes"; then
42015 cat >>confdefs.h <<\_ACEOF
42016 #define wxUSE_TIMER 1
42021 if test "$USE_UNIX" = 1 ; then
42022 if test "$wxUSE_MGL" != 1; then
42023 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42024 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42025 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42026 echo $ECHO_N "(cached) $ECHO_C" >&6
42029 cat >conftest.$ac_ext <<_ACEOF
42032 cat confdefs.h >>conftest.$ac_ext
42033 cat >>conftest.$ac_ext <<_ACEOF
42034 /* end confdefs.h. */
42036 #include <sys/ioctl.h>
42037 #include <sys/soundcard.h>
42043 ioctl(0, SNDCTL_DSP_SPEED, 0);
42049 rm -f conftest.$ac_objext conftest$ac_exeext
42050 if { (ac_try="$ac_link"
42051 case "(($ac_try" in
42052 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42053 *) ac_try_echo
=$ac_try;;
42055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42056 (eval "$ac_link") 2>conftest.er1
42058 grep -v '^ *+' conftest.er1
>conftest.err
42060 cat conftest.err
>&5
42061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42062 (exit $ac_status); } && {
42063 test -z "$ac_c_werror_flag" ||
42064 test ! -s conftest.err
42065 } && test -s conftest
$ac_exeext &&
42066 $as_test_x conftest
$ac_exeext; then
42067 ac_cv_header_sys_soundcard
=yes
42069 echo "$as_me: failed program was:" >&5
42070 sed 's/^/| /' conftest.
$ac_ext >&5
42074 LIBS
="$saveLibs -lossaudio"
42075 cat >conftest.
$ac_ext <<_ACEOF
42078 cat confdefs.h
>>conftest.
$ac_ext
42079 cat >>conftest.
$ac_ext <<_ACEOF
42080 /* end confdefs.h. */
42082 #include <sys/ioctl.h>
42083 #include <sys/soundcard.h>
42089 ioctl(0, SNDCTL_DSP_SPEED, 0);
42095 rm -f conftest.
$ac_objext conftest
$ac_exeext
42096 if { (ac_try
="$ac_link"
42097 case "(($ac_try" in
42098 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42099 *) ac_try_echo=$ac_try;;
42101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42102 (eval "$ac_link") 2>conftest.er1
42104 grep -v '^ *+' conftest.er1 >conftest.err
42106 cat conftest.err >&5
42107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42108 (exit $ac_status); } && {
42109 test -z "$ac_c_werror_flag" ||
42110 test ! -s conftest.err
42111 } && test -s conftest$ac_exeext &&
42112 $as_test_x conftest$ac_exeext; then
42113 ac_cv_header_sys_soundcard=yes
42115 echo "$as_me: failed program was:" >&5
42116 sed 's/^/| /' conftest.$ac_ext >&5
42120 ac_cv_header_sys_soundcard=no
42125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42126 conftest$ac_exeext conftest.$ac_ext
42131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42132 conftest$ac_exeext conftest.$ac_ext
42135 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42136 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42139 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42140 cat >>confdefs.h <<\_ACEOF
42141 #define HAVE_SYS_SOUNDCARD_H 1
42148 if test "$wxUSE_SOUND" = "yes"; then
42149 if test "$USE_UNIX" = 1 ; then
42150 if test "$wxUSE_LIBSDL" != "no"; then
42152 # Check whether --with-sdl-prefix was given.
42153 if test "${with_sdl_prefix+set}" = set; then
42154 withval=$with_sdl_prefix; sdl_prefix="$withval"
42160 # Check whether --with-sdl-exec-prefix was given.
42161 if test "${with_sdl_exec_prefix+set}" = set; then
42162 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42167 # Check whether --enable-sdltest was given.
42168 if test "${enable_sdltest+set}" = set; then
42169 enableval=$enable_sdltest;
42175 if test x$sdl_exec_prefix != x ; then
42176 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42177 if test x${SDL_CONFIG+set} != xset ; then
42178 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42181 if test x$sdl_prefix != x ; then
42182 sdl_args="$sdl_args --prefix=$sdl_prefix"
42183 if test x${SDL_CONFIG+set} != xset ; then
42184 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42188 if test "x$prefix" != xNONE; then
42189 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42191 # Extract the first word of "sdl-config", so it can be a program name with args.
42192 set dummy sdl-config; ac_word=$2
42193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42195 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42196 echo $ECHO_N "(cached) $ECHO_C" >&6
42198 case $SDL_CONFIG in
42200 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42204 for as_dir in $PATH
42207 test -z "$as_dir" && as_dir=.
42208 for ac_exec_ext in '' $ac_executable_extensions; do
42209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42210 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42218 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42222 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42223 if test -n "$SDL_CONFIG"; then
42224 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42225 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42227 { echo "$as_me:$LINENO: result: no" >&5
42228 echo "${ECHO_T}no" >&6; }
42232 min_sdl_version=1.2.0
42233 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42234 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42236 if test "$SDL_CONFIG" = "no" ; then
42239 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42240 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42242 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42243 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42244 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42245 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42246 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42247 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42248 if test "x$enable_sdltest" = "xyes" ; then
42249 ac_save_CFLAGS="$CFLAGS"
42250 ac_save_CXXFLAGS="$CXXFLAGS"
42251 ac_save_LIBS="$LIBS"
42252 CFLAGS="$CFLAGS $SDL_CFLAGS"
42253 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42254 LIBS="$LIBS $SDL_LIBS"
42256 if test "$cross_compiling" = yes; then
42257 echo $ac_n "cross compiling; assumed OK... $ac_c"
42259 cat >conftest.$ac_ext <<_ACEOF
42262 cat confdefs.h >>conftest.$ac_ext
42263 cat >>conftest.$ac_ext <<_ACEOF
42264 /* end confdefs.h. */
42267 #include <stdlib.h>
42268 #include <string.h>
42272 my_strdup (char *str)
42278 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42279 strcpy (new_str, str);
42287 int main (int argc, char *argv[])
42289 int major, minor, micro;
42292 /* This hangs on some systems (?)
42293 system ("touch conf.sdltest");
42295 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42297 /* HP/UX 9 (%@#!) writes to sscanf strings */
42298 tmp_version = my_strdup("$min_sdl_version");
42299 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42300 printf("%s, bad version string\n", "$min_sdl_version");
42304 if (($sdl_major_version > major) ||
42305 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42306 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42312 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42313 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42314 printf("*** best to upgrade to the required version.\n");
42315 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42316 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42317 printf("*** config.cache before re-running configure\n");
42324 rm -f conftest$ac_exeext
42325 if { (ac_try="$ac_link"
42326 case "(($ac_try" in
42327 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42328 *) ac_try_echo
=$ac_try;;
42330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42331 (eval "$ac_link") 2>&5
42333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42334 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42335 { (case "(($ac_try" in
42336 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42337 *) ac_try_echo=$ac_try;;
42339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42340 (eval "$ac_try") 2>&5
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); }; }; then
42346 echo "$as_me: program exited with status $ac_status" >&5
42347 echo "$as_me: failed program was:" >&5
42348 sed 's/^/| /' conftest.$ac_ext >&5
42350 ( exit $ac_status )
42353 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42357 CFLAGS="$ac_save_CFLAGS"
42358 CXXFLAGS="$ac_save_CXXFLAGS"
42359 LIBS="$ac_save_LIBS"
42362 if test "x$no_sdl" = x ; then
42363 { echo "$as_me:$LINENO: result: yes" >&5
42364 echo "${ECHO_T}yes" >&6; }
42366 EXTRALIBS_SDL="$SDL_LIBS"
42367 CFLAGS="$SDL_CFLAGS $CFLAGS"
42368 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42369 cat >>confdefs.h <<\_ACEOF
42370 #define wxUSE_LIBSDL 1
42375 { echo "$as_me:$LINENO: result: no" >&5
42376 echo "${ECHO_T}no" >&6; }
42377 if test "$SDL_CONFIG" = "no" ; then
42378 echo "*** The sdl-config script installed by SDL could not be found"
42379 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42380 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42381 echo "*** full path to sdl-config."
42383 if test -f conf.sdltest ; then
42386 echo "*** Could not run SDL test program, checking why..."
42387 CFLAGS="$CFLAGS $SDL_CFLAGS"
42388 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42389 LIBS="$LIBS $SDL_LIBS"
42390 cat >conftest.$ac_ext <<_ACEOF
42393 cat confdefs.h >>conftest.$ac_ext
42394 cat >>conftest.$ac_ext <<_ACEOF
42395 /* end confdefs.h. */
42400 int main(int argc, char *argv[])
42403 #define main K_and_R_C_main
42413 rm -f conftest.$ac_objext conftest$ac_exeext
42414 if { (ac_try="$ac_link"
42415 case "(($ac_try" in
42416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42417 *) ac_try_echo
=$ac_try;;
42419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42420 (eval "$ac_link") 2>conftest.er1
42422 grep -v '^ *+' conftest.er1
>conftest.err
42424 cat conftest.err
>&5
42425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42426 (exit $ac_status); } && {
42427 test -z "$ac_c_werror_flag" ||
42428 test ! -s conftest.err
42429 } && test -s conftest
$ac_exeext &&
42430 $as_test_x conftest
$ac_exeext; then
42431 echo "*** The test program compiled, but did not run. This usually means"
42432 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42433 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42434 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42435 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42436 echo "*** is required on your system"
42438 echo "*** If you have an old version installed, it is best to remove it, although"
42439 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42441 echo "$as_me: failed program was:" >&5
42442 sed 's/^/| /' conftest.
$ac_ext >&5
42444 echo "*** The test program failed to compile or link. See the file config.log for the"
42445 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42446 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42447 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42450 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42451 conftest
$ac_exeext conftest.
$ac_ext
42452 CFLAGS
="$ac_save_CFLAGS"
42453 CXXFLAGS
="$ac_save_CXXFLAGS"
42454 LIBS
="$ac_save_LIBS"
42465 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42470 if test "$wxUSE_MGL" = 1; then
42471 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42472 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42478 if test "$wxUSE_SOUND" = "yes"; then
42479 cat >>confdefs.h
<<\_ACEOF
42480 #define wxUSE_SOUND 1
42483 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42486 if test "$WXGTK2" = 1; then
42489 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42490 if test -n "$ac_tool_prefix"; then
42491 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42492 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42495 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42496 echo $ECHO_N "(cached) $ECHO_C" >&6
42498 case $PKG_CONFIG in
42500 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42504 for as_dir
in $PATH
42507 test -z "$as_dir" && as_dir
=.
42508 for ac_exec_ext
in '' $ac_executable_extensions; do
42509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42510 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42521 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42522 if test -n "$PKG_CONFIG"; then
42523 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42524 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42526 { echo "$as_me:$LINENO: result: no" >&5
42527 echo "${ECHO_T}no" >&6; }
42532 if test -z "$ac_cv_path_PKG_CONFIG"; then
42533 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42534 # Extract the first word of "pkg-config", so it can be a program name with args.
42535 set dummy pkg
-config; ac_word
=$2
42536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42538 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42539 echo $ECHO_N "(cached) $ECHO_C" >&6
42541 case $ac_pt_PKG_CONFIG in
42543 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42547 for as_dir
in $PATH
42550 test -z "$as_dir" && as_dir
=.
42551 for ac_exec_ext
in '' $ac_executable_extensions; do
42552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42553 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42564 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42565 if test -n "$ac_pt_PKG_CONFIG"; then
42566 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42567 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42569 { echo "$as_me:$LINENO: result: no" >&5
42570 echo "${ECHO_T}no" >&6; }
42573 if test "x$ac_pt_PKG_CONFIG" = x
; then
42576 case $cross_compiling:$ac_tool_warned in
42578 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42579 whose name does not start with the host triplet. If you think this
42580 configuration is useful to you, please write to autoconf@gnu.org." >&5
42581 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42582 whose name does not start with the host triplet. If you think this
42583 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42584 ac_tool_warned
=yes ;;
42586 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42589 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42593 if test -n "$PKG_CONFIG"; then
42594 _pkg_min_version
=0.9.0
42595 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42596 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42597 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42598 { echo "$as_me:$LINENO: result: yes" >&5
42599 echo "${ECHO_T}yes" >&6; }
42601 { echo "$as_me:$LINENO: result: no" >&5
42602 echo "${ECHO_T}no" >&6; }
42608 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42610 if test "$wxUSE_GTKPRINT" = "yes" ; then
42614 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42615 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42617 if test -n "$PKG_CONFIG"; then
42618 if test -n "$GTKPRINT_CFLAGS"; then
42619 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42621 if test -n "$PKG_CONFIG" && \
42622 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42623 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42626 (exit $ac_status); }; then
42627 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42635 if test -n "$PKG_CONFIG"; then
42636 if test -n "$GTKPRINT_LIBS"; then
42637 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42639 if test -n "$PKG_CONFIG" && \
42640 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42641 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42644 (exit $ac_status); }; then
42645 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42656 if test $pkg_failed = yes; then
42658 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42659 _pkg_short_errors_supported
=yes
42661 _pkg_short_errors_supported
=no
42663 if test $_pkg_short_errors_supported = yes; then
42664 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42666 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42668 # Put the nasty error message in config.log where it belongs
42669 echo "$GTKPRINT_PKG_ERRORS" >&5
42672 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42673 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42674 wxUSE_GTKPRINT
="no"
42677 elif test $pkg_failed = untried
; then
42679 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42680 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42681 wxUSE_GTKPRINT
="no"
42685 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42686 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42687 { echo "$as_me:$LINENO: result: yes" >&5
42688 echo "${ECHO_T}yes" >&6; }
42690 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42691 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42692 cat >>confdefs.h
<<\_ACEOF
42693 #define wxUSE_GTKPRINT 1
42700 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42704 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42705 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42707 if test -n "$PKG_CONFIG"; then
42708 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42709 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42711 if test -n "$PKG_CONFIG" && \
42712 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42713 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42716 (exit $ac_status); }; then
42717 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42725 if test -n "$PKG_CONFIG"; then
42726 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42727 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42729 if test -n "$PKG_CONFIG" && \
42730 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42731 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42734 (exit $ac_status); }; then
42735 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42746 if test $pkg_failed = yes; then
42748 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42749 _pkg_short_errors_supported
=yes
42751 _pkg_short_errors_supported
=no
42753 if test $_pkg_short_errors_supported = yes; then
42754 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42756 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42758 # Put the nasty error message in config.log where it belongs
42759 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42762 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42763 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42764 wxUSE_LIBGNOMEPRINT
="no"
42767 elif test $pkg_failed = untried
; then
42769 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42770 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42771 wxUSE_LIBGNOMEPRINT
="no"
42775 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42776 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42777 { echo "$as_me:$LINENO: result: yes" >&5
42778 echo "${ECHO_T}yes" >&6; }
42780 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42781 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42782 cat >>confdefs.h
<<\_ACEOF
42783 #define wxUSE_LIBGNOMEPRINT 1
42791 if test "$wxUSE_MIMETYPE" = "yes" ; then
42792 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42796 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42797 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42799 if test -n "$PKG_CONFIG"; then
42800 if test -n "$GNOMEVFS_CFLAGS"; then
42801 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42803 if test -n "$PKG_CONFIG" && \
42804 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42805 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42808 (exit $ac_status); }; then
42809 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42817 if test -n "$PKG_CONFIG"; then
42818 if test -n "$GNOMEVFS_LIBS"; then
42819 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42821 if test -n "$PKG_CONFIG" && \
42822 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42823 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42826 (exit $ac_status); }; then
42827 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42838 if test $pkg_failed = yes; then
42840 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42841 _pkg_short_errors_supported
=yes
42843 _pkg_short_errors_supported
=no
42845 if test $_pkg_short_errors_supported = yes; then
42846 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42848 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42850 # Put the nasty error message in config.log where it belongs
42851 echo "$GNOMEVFS_PKG_ERRORS" >&5
42854 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42855 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42856 wxUSE_LIBGNOMEVFS
="no"
42859 elif test $pkg_failed = untried
; then
42861 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42862 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42863 wxUSE_LIBGNOMEVFS
="no"
42867 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42868 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42869 { echo "$as_me:$LINENO: result: yes" >&5
42870 echo "${ECHO_T}yes" >&6; }
42872 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
42873 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42874 cat >>confdefs.h
<<\_ACEOF
42875 #define wxUSE_LIBGNOMEVFS 1
42883 if test "$wxUSE_LIBHILDON" = "yes" ; then
42886 { echo "$as_me:$LINENO: checking for HILDON" >&5
42887 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42889 if test -n "$PKG_CONFIG"; then
42890 if test -n "$HILDON_CFLAGS"; then
42891 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42893 if test -n "$PKG_CONFIG" && \
42894 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42895 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42898 (exit $ac_status); }; then
42899 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42907 if test -n "$PKG_CONFIG"; then
42908 if test -n "$HILDON_LIBS"; then
42909 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42911 if test -n "$PKG_CONFIG" && \
42912 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42913 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42916 (exit $ac_status); }; then
42917 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42928 if test $pkg_failed = yes; then
42930 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42931 _pkg_short_errors_supported
=yes
42933 _pkg_short_errors_supported
=no
42935 if test $_pkg_short_errors_supported = yes; then
42936 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42938 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42940 # Put the nasty error message in config.log where it belongs
42941 echo "$HILDON_PKG_ERRORS" >&5
42944 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42945 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42946 wxUSE_LIBHILDON
="no"
42949 elif test $pkg_failed = untried
; then
42951 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42952 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42953 wxUSE_LIBHILDON
="no"
42957 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
42958 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
42959 { echo "$as_me:$LINENO: result: yes" >&5
42960 echo "${ECHO_T}yes" >&6; }
42962 EXTRALIBS_HILDON
="$HILDON_LIBS"
42963 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
42964 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
42965 cat >>confdefs.h
<<\_ACEOF
42966 #define wxUSE_LIBHILDON 1
42974 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42975 cat >>confdefs.h
<<\_ACEOF
42976 #define wxUSE_CMDLINE_PARSER 1
42981 if test "$wxUSE_STOPWATCH" = "yes"; then
42982 cat >>confdefs.h
<<\_ACEOF
42983 #define wxUSE_STOPWATCH 1
42988 if test "$wxUSE_DATETIME" = "yes"; then
42989 cat >>confdefs.h
<<\_ACEOF
42990 #define wxUSE_DATETIME 1
42995 if test "$wxUSE_FILE" = "yes"; then
42996 cat >>confdefs.h
<<\_ACEOF
42997 #define wxUSE_FILE 1
43002 if test "$wxUSE_FFILE" = "yes"; then
43003 cat >>confdefs.h
<<\_ACEOF
43004 #define wxUSE_FFILE 1
43009 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43010 if test "$wxUSE_STREAMS" != yes; then
43011 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43012 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43013 wxUSE_ARCHIVE_STREAMS
=no
43015 cat >>confdefs.h
<<\_ACEOF
43016 #define wxUSE_ARCHIVE_STREAMS 1
43022 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43023 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43024 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43025 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43026 elif test "$wxUSE_ZLIB" = "no"; then
43027 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43028 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43030 cat >>confdefs.h
<<\_ACEOF
43031 #define wxUSE_ZIPSTREAM 1
43037 if test "$wxUSE_TARSTREAM" = "yes"; then
43038 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43039 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43040 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43042 cat >>confdefs.h
<<\_ACEOF
43043 #define wxUSE_TARSTREAM 1
43049 if test "$wxUSE_FILESYSTEM" = "yes"; then
43050 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43051 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43052 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43053 wxUSE_FILESYSTEM
=no
43055 cat >>confdefs.h
<<\_ACEOF
43056 #define wxUSE_FILESYSTEM 1
43062 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43063 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43064 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43065 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43067 cat >>confdefs.h
<<\_ACEOF
43068 #define wxUSE_FS_ARCHIVE 1
43074 if test "$wxUSE_FS_ZIP" = "yes"; then
43075 if test "$wxUSE_FS_ARCHIVE" != yes; then
43076 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43077 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43079 cat >>confdefs.h
<<\_ACEOF
43080 #define wxUSE_FS_ZIP 1
43086 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43087 if test "$USE_UNIX" != 1; then
43088 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43089 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43090 wxUSE_ON_FATAL_EXCEPTION
=no
43092 cat >>confdefs.h
<<\_ACEOF
43093 #define wxUSE_ON_FATAL_EXCEPTION 1
43099 if test "$wxUSE_STACKWALKER" = "yes"; then
43100 cat >>confdefs.h
<<\_ACEOF
43101 #define wxUSE_STACKWALKER 1
43106 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43107 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43108 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43109 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43110 wxUSE_DEBUGREPORT
=no
43112 cat >>confdefs.h
<<\_ACEOF
43113 #define wxUSE_DEBUGREPORT 1
43116 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43117 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43122 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43123 cat >>confdefs.h
<<\_ACEOF
43124 #define wxUSE_SNGLINST_CHECKER 1
43129 if test "$wxUSE_BUSYINFO" = "yes"; then
43130 cat >>confdefs.h
<<\_ACEOF
43131 #define wxUSE_BUSYINFO 1
43136 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43137 cat >>confdefs.h
<<\_ACEOF
43138 #define wxUSE_STD_IOSTREAM 1
43143 if test "$wxUSE_STD_STRING" = "yes"; then
43144 cat >>confdefs.h
<<\_ACEOF
43145 #define wxUSE_STD_STRING 1
43150 if test "$wxUSE_STDPATHS" = "yes"; then
43151 cat >>confdefs.h
<<\_ACEOF
43152 #define wxUSE_STDPATHS 1
43157 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43158 cat >>confdefs.h
<<\_ACEOF
43159 #define wxUSE_TEXTBUFFER 1
43164 if test "$wxUSE_TEXTFILE" = "yes"; then
43165 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43166 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43167 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43169 cat >>confdefs.h
<<\_ACEOF
43170 #define wxUSE_TEXTFILE 1
43176 if test "$wxUSE_CONFIG" = "yes" ; then
43177 if test "$wxUSE_TEXTFILE" != "yes"; then
43178 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43179 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43181 cat >>confdefs.h
<<\_ACEOF
43182 #define wxUSE_CONFIG 1
43185 cat >>confdefs.h
<<\_ACEOF
43186 #define wxUSE_CONFIG_NATIVE 1
43189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43193 if test "$wxUSE_INTL" = "yes" ; then
43194 if test "$wxUSE_FILE" != "yes"; then
43195 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43196 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43198 cat >>confdefs.h
<<\_ACEOF
43199 #define wxUSE_INTL 1
43202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43203 GUIDIST
="$GUIDIST INTL_DIST"
43207 if test "$wxUSE_XLOCALE" == "yes" ; then
43208 cat >>confdefs.h
<<\_ACEOF
43209 #define wxUSE_XLOCALE 1
43212 { echo "$as_me:$LINENO: checking for locale_t" >&5
43213 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43214 if test "${ac_cv_type_locale_t+set}" = set; then
43215 echo $ECHO_N "(cached) $ECHO_C" >&6
43217 cat >conftest.
$ac_ext <<_ACEOF
43220 cat confdefs.h
>>conftest.
$ac_ext
43221 cat >>conftest.
$ac_ext <<_ACEOF
43222 /* end confdefs.h. */
43223 #include <xlocale.h>
43224 #include <locale.h>
43226 typedef locale_t ac__type_new_;
43230 if ((ac__type_new_ *) 0)
43232 if (sizeof (ac__type_new_))
43238 rm -f conftest.
$ac_objext
43239 if { (ac_try
="$ac_compile"
43240 case "(($ac_try" in
43241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43242 *) ac_try_echo=$ac_try;;
43244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43245 (eval "$ac_compile") 2>conftest.er1
43247 grep -v '^ *+' conftest.er1 >conftest.err
43249 cat conftest.err >&5
43250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43251 (exit $ac_status); } && {
43252 test -z "$ac_c_werror_flag" ||
43253 test ! -s conftest.err
43254 } && test -s conftest.$ac_objext; then
43255 ac_cv_type_locale_t=yes
43257 echo "$as_me: failed program was:" >&5
43258 sed 's/^/| /' conftest.$ac_ext >&5
43260 ac_cv_type_locale_t=no
43263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43265 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43266 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43267 if test $ac_cv_type_locale_t = yes; then
43269 cat >>confdefs.h <<_ACEOF
43270 #define HAVE_LOCALE_T 1
43278 if test "$wxUSE_LOG" = "yes"; then
43279 cat >>confdefs.h <<\_ACEOF
43280 #define wxUSE_LOG 1
43284 if test "$wxUSE_LOGGUI" = "yes"; then
43285 cat >>confdefs.h <<\_ACEOF
43286 #define wxUSE_LOGGUI 1
43291 if test "$wxUSE_LOGWINDOW" = "yes"; then
43292 cat >>confdefs.h <<\_ACEOF
43293 #define wxUSE_LOGWINDOW 1
43298 if test "$wxUSE_LOGDIALOG" = "yes"; then
43299 cat >>confdefs.h <<\_ACEOF
43300 #define wxUSE_LOG_DIALOG 1
43305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43308 if test "$wxUSE_LONGLONG" = "yes"; then
43309 cat >>confdefs.h <<\_ACEOF
43310 #define wxUSE_LONGLONG 1
43315 if test "$wxUSE_GEOMETRY" = "yes"; then
43316 cat >>confdefs.h <<\_ACEOF
43317 #define wxUSE_GEOMETRY 1
43322 if test "$wxUSE_BASE64" = "yes"; then
43323 cat >>confdefs.h <<\_ACEOF
43324 #define wxUSE_BASE64 1
43329 if test "$wxUSE_STREAMS" = "yes" ; then
43330 cat >>confdefs.h <<\_ACEOF
43331 #define wxUSE_STREAMS 1
43336 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43337 cat >>confdefs.h <<\_ACEOF
43338 #define wxUSE_PRINTF_POS_PARAMS 1
43343 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43344 cat >>confdefs.h <<\_ACEOF
43345 #define wxUSE_OBJC_UNIQUIFYING 1
43351 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43352 cat >>confdefs.h <<\_ACEOF
43353 #define wxUSE_CONSOLE_EVENTLOOP 1
43357 if test "$wxUSE_UNIX" = "yes"; then
43358 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43359 cat >>confdefs.h <<\_ACEOF
43360 #define wxUSE_SELECT_DISPATCHER 1
43365 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43367 for ac_header in sys/epoll.h
43369 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43370 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43372 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43373 echo $ECHO_N "(cached) $ECHO_C" >&6
43375 cat >conftest.$ac_ext <<_ACEOF
43378 cat confdefs.h >>conftest.$ac_ext
43379 cat >>conftest.$ac_ext <<_ACEOF
43380 /* end confdefs.h. */
43381 $ac_includes_default
43383 #include <$ac_header>
43385 rm -f conftest.$ac_objext
43386 if { (ac_try="$ac_compile"
43387 case "(($ac_try" in
43388 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43389 *) ac_try_echo
=$ac_try;;
43391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43392 (eval "$ac_compile") 2>conftest.er1
43394 grep -v '^ *+' conftest.er1
>conftest.err
43396 cat conftest.err
>&5
43397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43398 (exit $ac_status); } && {
43399 test -z "$ac_c_werror_flag" ||
43400 test ! -s conftest.err
43401 } && test -s conftest.
$ac_objext; then
43402 eval "$as_ac_Header=yes"
43404 echo "$as_me: failed program was:" >&5
43405 sed 's/^/| /' conftest.
$ac_ext >&5
43407 eval "$as_ac_Header=no"
43410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43412 ac_res
=`eval echo '${'$as_ac_Header'}'`
43413 { echo "$as_me:$LINENO: result: $ac_res" >&5
43414 echo "${ECHO_T}$ac_res" >&6; }
43415 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43416 cat >>confdefs.h
<<_ACEOF
43417 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43424 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43425 cat >>confdefs.h
<<\_ACEOF
43426 #define wxUSE_EPOLL_DISPATCHER 1
43430 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43431 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43440 for ac_func
in gettimeofday ftime
43442 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43443 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43445 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43446 echo $ECHO_N "(cached) $ECHO_C" >&6
43448 cat >conftest.
$ac_ext <<_ACEOF
43451 cat confdefs.h
>>conftest.
$ac_ext
43452 cat >>conftest.
$ac_ext <<_ACEOF
43453 /* end confdefs.h. */
43454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43456 #define $ac_func innocuous_$ac_func
43458 /* System header to define __stub macros and hopefully few prototypes,
43459 which can conflict with char $ac_func (); below.
43460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43461 <limits.h> exists even on freestanding compilers. */
43464 # include <limits.h>
43466 # include <assert.h>
43471 /* Override any GCC internal prototype to avoid an error.
43472 Use char because int might match the return type of a GCC
43473 builtin and then its argument prototype would still apply. */
43478 /* The GNU C library defines this for functions which it implements
43479 to always fail with ENOSYS. Some functions are actually named
43480 something starting with __ and the normal name is an alias. */
43481 #if defined __stub_$ac_func || defined __stub___$ac_func
43488 return $ac_func ();
43493 rm -f conftest.
$ac_objext conftest
$ac_exeext
43494 if { (ac_try
="$ac_link"
43495 case "(($ac_try" in
43496 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43497 *) ac_try_echo=$ac_try;;
43499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43500 (eval "$ac_link") 2>conftest.er1
43502 grep -v '^ *+' conftest.er1 >conftest.err
43504 cat conftest.err >&5
43505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43506 (exit $ac_status); } && {
43507 test -z "$ac_c_werror_flag" ||
43508 test ! -s conftest.err
43509 } && test -s conftest$ac_exeext &&
43510 $as_test_x conftest$ac_exeext; then
43511 eval "$as_ac_var=yes"
43513 echo "$as_me: failed program was:" >&5
43514 sed 's/^/| /' conftest.$ac_ext >&5
43516 eval "$as_ac_var=no"
43519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43520 conftest$ac_exeext conftest.$ac_ext
43522 ac_res=`eval echo '${'$as_ac_var'}'`
43523 { echo "$as_me:$LINENO: result: $ac_res" >&5
43524 echo "${ECHO_T}$ac_res" >&6; }
43525 if test `eval echo '${'$as_ac_var'}'` = yes; then
43526 cat >>confdefs.h <<_ACEOF
43527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43534 if test "$ac_cv_func_gettimeofday" = "yes"; then
43535 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43536 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43537 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43538 echo $ECHO_N "(cached) $ECHO_C" >&6
43541 cat >conftest.$ac_ext <<_ACEOF
43544 cat confdefs.h >>conftest.$ac_ext
43545 cat >>conftest.$ac_ext <<_ACEOF
43546 /* end confdefs.h. */
43548 #include <sys/time.h>
43549 #include <unistd.h>
43556 gettimeofday(&tv, NULL);
43562 rm -f conftest.$ac_objext
43563 if { (ac_try="$ac_compile"
43564 case "(($ac_try" in
43565 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43566 *) ac_try_echo
=$ac_try;;
43568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43569 (eval "$ac_compile") 2>conftest.er1
43571 grep -v '^ *+' conftest.er1
>conftest.err
43573 cat conftest.err
>&5
43574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43575 (exit $ac_status); } && {
43576 test -z "$ac_c_werror_flag" ||
43577 test ! -s conftest.err
43578 } && test -s conftest.
$ac_objext; then
43579 wx_cv_func_gettimeofday_has_2_args
=yes
43581 echo "$as_me: failed program was:" >&5
43582 sed 's/^/| /' conftest.
$ac_ext >&5
43584 cat >conftest.
$ac_ext <<_ACEOF
43587 cat confdefs.h
>>conftest.
$ac_ext
43588 cat >>conftest.
$ac_ext <<_ACEOF
43589 /* end confdefs.h. */
43591 #include <sys/time.h>
43592 #include <unistd.h>
43605 rm -f conftest.
$ac_objext
43606 if { (ac_try
="$ac_compile"
43607 case "(($ac_try" in
43608 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43609 *) ac_try_echo=$ac_try;;
43611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43612 (eval "$ac_compile") 2>conftest.er1
43614 grep -v '^ *+' conftest.er1 >conftest.err
43616 cat conftest.err >&5
43617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43618 (exit $ac_status); } && {
43619 test -z "$ac_c_werror_flag" ||
43620 test ! -s conftest.err
43621 } && test -s conftest.$ac_objext; then
43622 wx_cv_func_gettimeofday_has_2_args=no
43624 echo "$as_me: failed program was:" >&5
43625 sed 's/^/| /' conftest.$ac_ext >&5
43628 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43629 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43630 wx_cv_func_gettimeofday_has_2_args=unknown
43635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43642 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43643 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43645 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43646 cat >>confdefs.h <<\_ACEOF
43647 #define WX_GETTIMEOFDAY_NO_TZ 1
43653 if test "$wxUSE_DATETIME" = "yes"; then
43654 { echo "$as_me:$LINENO: checking for strptime" >&5
43655 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43656 if test "${ac_cv_func_strptime+set}" = set; then
43657 echo $ECHO_N "(cached) $ECHO_C" >&6
43659 cat >conftest.$ac_ext <<_ACEOF
43662 cat confdefs.h >>conftest.$ac_ext
43663 cat >>conftest.$ac_ext <<_ACEOF
43664 /* end confdefs.h. */
43665 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43667 #define strptime innocuous_strptime
43669 /* System header to define __stub macros and hopefully few prototypes,
43670 which can conflict with char strptime (); below.
43671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43672 <limits.h> exists even on freestanding compilers. */
43675 # include <limits.h>
43677 # include <assert.h>
43682 /* Override any GCC internal prototype to avoid an error.
43683 Use char because int might match the return type of a GCC
43684 builtin and then its argument prototype would still apply. */
43689 /* The GNU C library defines this for functions which it implements
43690 to always fail with ENOSYS. Some functions are actually named
43691 something starting with __ and the normal name is an alias. */
43692 #if defined __stub_strptime || defined __stub___strptime
43699 return strptime ();
43704 rm -f conftest.$ac_objext conftest$ac_exeext
43705 if { (ac_try="$ac_link"
43706 case "(($ac_try" in
43707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43708 *) ac_try_echo
=$ac_try;;
43710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43711 (eval "$ac_link") 2>conftest.er1
43713 grep -v '^ *+' conftest.er1
>conftest.err
43715 cat conftest.err
>&5
43716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43717 (exit $ac_status); } && {
43718 test -z "$ac_c_werror_flag" ||
43719 test ! -s conftest.err
43720 } && test -s conftest
$ac_exeext &&
43721 $as_test_x conftest
$ac_exeext; then
43722 ac_cv_func_strptime
=yes
43724 echo "$as_me: failed program was:" >&5
43725 sed 's/^/| /' conftest.
$ac_ext >&5
43727 ac_cv_func_strptime
=no
43730 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43731 conftest
$ac_exeext conftest.
$ac_ext
43733 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43734 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43736 if test "$ac_cv_func_strptime" = "yes"; then
43737 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43738 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43739 if test "${wx_cv_func_strptime_decl+set}" = set; then
43740 echo $ECHO_N "(cached) $ECHO_C" >&6
43744 ac_cpp
='$CXXCPP $CPPFLAGS'
43745 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43746 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43747 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43749 cat >conftest.
$ac_ext <<_ACEOF
43752 cat confdefs.h
>>conftest.
$ac_ext
43753 cat >>conftest.
$ac_ext <<_ACEOF
43754 /* end confdefs.h. */
43763 strptime("foo", "bar", &t);
43769 rm -f conftest.
$ac_objext
43770 if { (ac_try
="$ac_compile"
43771 case "(($ac_try" in
43772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43773 *) ac_try_echo=$ac_try;;
43775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43776 (eval "$ac_compile") 2>conftest.er1
43778 grep -v '^ *+' conftest.er1 >conftest.err
43780 cat conftest.err >&5
43781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782 (exit $ac_status); } && {
43783 test -z "$ac_cxx_werror_flag" ||
43784 test ! -s conftest.err
43785 } && test -s conftest.$ac_objext; then
43786 wx_cv_func_strptime_decl=yes
43788 echo "$as_me: failed program was:" >&5
43789 sed 's/^/| /' conftest.$ac_ext >&5
43791 wx_cv_func_strptime_decl=no
43795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43797 ac_cpp='$CPP $CPPFLAGS'
43798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43805 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43806 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43808 if test "$wx_cv_func_strptime_decl" = "yes"; then
43809 cat >>confdefs.h <<\_ACEOF
43810 #define HAVE_STRPTIME_DECL 1
43814 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43816 if test "$ac_cv_func_strptime" = "yes"; then
43817 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43818 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43819 if test "${wx_cv_func_strptime_ok+set}" = set; then
43820 echo $ECHO_N "(cached) $ECHO_C" >&6
43822 if test "$cross_compiling" = yes; then
43823 wx_cv_func_strptime_ok=no
43826 cat >conftest.$ac_ext <<_ACEOF
43828 #include <stdlib.h>
43830 #include "confdefs.h"
43837 return !!strptime("", "%x", &t);
43841 rm -f conftest$ac_exeext
43842 if { (ac_try="$ac_link"
43843 case "(($ac_try" in
43844 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43845 *) ac_try_echo
=$ac_try;;
43847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43848 (eval "$ac_link") 2>&5
43850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43851 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43852 { (case "(($ac_try" in
43853 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43854 *) ac_try_echo=$ac_try;;
43856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43857 (eval "$ac_try") 2>&5
43859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43860 (exit $ac_status); }; }; then
43861 wx_cv_func_strptime_ok=yes
43863 echo "$as_me: program exited with status $ac_status" >&5
43864 echo "$as_me: failed program was:" >&5
43865 sed 's/^/| /' conftest.$ac_ext >&5
43867 ( exit $ac_status )
43868 wx_cv_func_strptime_ok=no
43870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43876 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43877 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43879 if test "$wx_cv_func_strptime_ok" = "yes"; then
43880 cat >>confdefs.h <<\_ACEOF
43881 #define HAVE_STRPTIME 1
43887 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43888 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43889 if test "${wx_cv_var_timezone+set}" = set; then
43890 echo $ECHO_N "(cached) $ECHO_C" >&6
43894 ac_cpp='$CXXCPP $CPPFLAGS'
43895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43899 cat >conftest.$ac_ext <<_ACEOF
43902 cat confdefs.h >>conftest.$ac_ext
43903 cat >>conftest.$ac_ext <<_ACEOF
43904 /* end confdefs.h. */
43919 rm -f conftest.$ac_objext
43920 if { (ac_try="$ac_compile"
43921 case "(($ac_try" in
43922 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43923 *) ac_try_echo
=$ac_try;;
43925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43926 (eval "$ac_compile") 2>conftest.er1
43928 grep -v '^ *+' conftest.er1
>conftest.err
43930 cat conftest.err
>&5
43931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43932 (exit $ac_status); } && {
43933 test -z "$ac_cxx_werror_flag" ||
43934 test ! -s conftest.err
43935 } && test -s conftest.
$ac_objext; then
43937 wx_cv_var_timezone
=timezone
43940 echo "$as_me: failed program was:" >&5
43941 sed 's/^/| /' conftest.
$ac_ext >&5
43944 cat >conftest.
$ac_ext <<_ACEOF
43947 cat confdefs.h
>>conftest.
$ac_ext
43948 cat >>conftest.
$ac_ext <<_ACEOF
43949 /* end confdefs.h. */
43964 rm -f conftest.
$ac_objext
43965 if { (ac_try
="$ac_compile"
43966 case "(($ac_try" in
43967 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43968 *) ac_try_echo=$ac_try;;
43970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43971 (eval "$ac_compile") 2>conftest.er1
43973 grep -v '^ *+' conftest.er1 >conftest.err
43975 cat conftest.err >&5
43976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43977 (exit $ac_status); } && {
43978 test -z "$ac_cxx_werror_flag" ||
43979 test ! -s conftest.err
43980 } && test -s conftest.$ac_objext; then
43982 wx_cv_var_timezone=_timezone
43985 echo "$as_me: failed program was:" >&5
43986 sed 's/^/| /' conftest.$ac_ext >&5
43989 cat >conftest.$ac_ext <<_ACEOF
43992 cat confdefs.h >>conftest.$ac_ext
43993 cat >>conftest.$ac_ext <<_ACEOF
43994 /* end confdefs.h. */
44009 rm -f conftest.$ac_objext
44010 if { (ac_try="$ac_compile"
44011 case "(($ac_try" in
44012 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44013 *) ac_try_echo
=$ac_try;;
44015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44016 (eval "$ac_compile") 2>conftest.er1
44018 grep -v '^ *+' conftest.er1
>conftest.err
44020 cat conftest.err
>&5
44021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44022 (exit $ac_status); } && {
44023 test -z "$ac_cxx_werror_flag" ||
44024 test ! -s conftest.err
44025 } && test -s conftest.
$ac_objext; then
44027 wx_cv_var_timezone
=__timezone
44030 echo "$as_me: failed program was:" >&5
44031 sed 's/^/| /' conftest.
$ac_ext >&5
44034 if test "$USE_DOS" = 0 ; then
44035 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44036 echo "$as_me: WARNING: no timezone variable" >&2;}
44042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44054 ac_cpp
='$CPP $CPPFLAGS'
44055 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44056 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44057 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44062 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44063 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44065 if test "x$wx_cv_var_timezone" != x
; then
44066 cat >>confdefs.h
<<_ACEOF
44067 #define WX_TIMEZONE $wx_cv_var_timezone
44073 for ac_func
in localtime
44075 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44076 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44078 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44079 echo $ECHO_N "(cached) $ECHO_C" >&6
44081 cat >conftest.
$ac_ext <<_ACEOF
44084 cat confdefs.h
>>conftest.
$ac_ext
44085 cat >>conftest.
$ac_ext <<_ACEOF
44086 /* end confdefs.h. */
44087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44089 #define $ac_func innocuous_$ac_func
44091 /* System header to define __stub macros and hopefully few prototypes,
44092 which can conflict with char $ac_func (); below.
44093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44094 <limits.h> exists even on freestanding compilers. */
44097 # include <limits.h>
44099 # include <assert.h>
44104 /* Override any GCC internal prototype to avoid an error.
44105 Use char because int might match the return type of a GCC
44106 builtin and then its argument prototype would still apply. */
44111 /* The GNU C library defines this for functions which it implements
44112 to always fail with ENOSYS. Some functions are actually named
44113 something starting with __ and the normal name is an alias. */
44114 #if defined __stub_$ac_func || defined __stub___$ac_func
44121 return $ac_func ();
44126 rm -f conftest.
$ac_objext conftest
$ac_exeext
44127 if { (ac_try
="$ac_link"
44128 case "(($ac_try" in
44129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44130 *) ac_try_echo=$ac_try;;
44132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44133 (eval "$ac_link") 2>conftest.er1
44135 grep -v '^ *+' conftest.er1 >conftest.err
44137 cat conftest.err >&5
44138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139 (exit $ac_status); } && {
44140 test -z "$ac_c_werror_flag" ||
44141 test ! -s conftest.err
44142 } && test -s conftest$ac_exeext &&
44143 $as_test_x conftest$ac_exeext; then
44144 eval "$as_ac_var=yes"
44146 echo "$as_me: failed program was:" >&5
44147 sed 's/^/| /' conftest.$ac_ext >&5
44149 eval "$as_ac_var=no"
44152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44153 conftest$ac_exeext conftest.$ac_ext
44155 ac_res=`eval echo '${'$as_ac_var'}'`
44156 { echo "$as_me:$LINENO: result: $ac_res" >&5
44157 echo "${ECHO_T}$ac_res" >&6; }
44158 if test `eval echo '${'$as_ac_var'}'` = yes; then
44159 cat >>confdefs.h <<_ACEOF
44160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44167 if test "$ac_cv_func_localtime" = "yes"; then
44168 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44169 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44170 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44171 echo $ECHO_N "(cached) $ECHO_C" >&6
44174 cat >conftest.$ac_ext <<_ACEOF
44177 cat confdefs.h >>conftest.$ac_ext
44178 cat >>conftest.$ac_ext <<_ACEOF
44179 /* end confdefs.h. */
44194 rm -f conftest.$ac_objext
44195 if { (ac_try="$ac_compile"
44196 case "(($ac_try" in
44197 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44198 *) ac_try_echo
=$ac_try;;
44200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44201 (eval "$ac_compile") 2>conftest.er1
44203 grep -v '^ *+' conftest.er1
>conftest.err
44205 cat conftest.err
>&5
44206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44207 (exit $ac_status); } && {
44208 test -z "$ac_c_werror_flag" ||
44209 test ! -s conftest.err
44210 } && test -s conftest.
$ac_objext; then
44212 wx_cv_struct_tm_has_gmtoff
=yes
44215 echo "$as_me: failed program was:" >&5
44216 sed 's/^/| /' conftest.
$ac_ext >&5
44218 wx_cv_struct_tm_has_gmtoff
=no
44222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44225 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44226 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44229 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44230 cat >>confdefs.h
<<\_ACEOF
44231 #define WX_GMTOFF_IN_TM 1
44236 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44240 if test "$wxUSE_SOCKETS" = "yes"; then
44241 if test "$wxUSE_MGL" = 1; then
44242 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44243 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44248 if test "$wxUSE_SOCKETS" = "yes"; then
44249 if test "$TOOLKIT" != "MSW"; then
44250 { echo "$as_me:$LINENO: checking for socket" >&5
44251 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44252 if test "${ac_cv_func_socket+set}" = set; then
44253 echo $ECHO_N "(cached) $ECHO_C" >&6
44255 cat >conftest.
$ac_ext <<_ACEOF
44258 cat confdefs.h
>>conftest.
$ac_ext
44259 cat >>conftest.
$ac_ext <<_ACEOF
44260 /* end confdefs.h. */
44261 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44263 #define socket innocuous_socket
44265 /* System header to define __stub macros and hopefully few prototypes,
44266 which can conflict with char socket (); below.
44267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44268 <limits.h> exists even on freestanding compilers. */
44271 # include <limits.h>
44273 # include <assert.h>
44278 /* Override any GCC internal prototype to avoid an error.
44279 Use char because int might match the return type of a GCC
44280 builtin and then its argument prototype would still apply. */
44285 /* The GNU C library defines this for functions which it implements
44286 to always fail with ENOSYS. Some functions are actually named
44287 something starting with __ and the normal name is an alias. */
44288 #if defined __stub_socket || defined __stub___socket
44300 rm -f conftest.
$ac_objext conftest
$ac_exeext
44301 if { (ac_try
="$ac_link"
44302 case "(($ac_try" in
44303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44304 *) ac_try_echo=$ac_try;;
44306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44307 (eval "$ac_link") 2>conftest.er1
44309 grep -v '^ *+' conftest.er1 >conftest.err
44311 cat conftest.err >&5
44312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44313 (exit $ac_status); } && {
44314 test -z "$ac_c_werror_flag" ||
44315 test ! -s conftest.err
44316 } && test -s conftest$ac_exeext &&
44317 $as_test_x conftest$ac_exeext; then
44318 ac_cv_func_socket=yes
44320 echo "$as_me: failed program was:" >&5
44321 sed 's/^/| /' conftest.$ac_ext >&5
44323 ac_cv_func_socket=no
44326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44327 conftest$ac_exeext conftest.$ac_ext
44329 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44330 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44331 if test $ac_cv_func_socket = yes; then
44335 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44336 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44337 if test "${ac_cv_lib_socket_socket+set}" = set; then
44338 echo $ECHO_N "(cached) $ECHO_C" >&6
44340 ac_check_lib_save_LIBS=$LIBS
44341 LIBS="-lsocket $LIBS"
44342 cat >conftest.$ac_ext <<_ACEOF
44345 cat confdefs.h >>conftest.$ac_ext
44346 cat >>conftest.$ac_ext <<_ACEOF
44347 /* end confdefs.h. */
44349 /* Override any GCC internal prototype to avoid an error.
44350 Use char because int might match the return type of a GCC
44351 builtin and then its argument prototype would still apply. */
44364 rm -f conftest.$ac_objext conftest$ac_exeext
44365 if { (ac_try="$ac_link"
44366 case "(($ac_try" in
44367 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44368 *) ac_try_echo
=$ac_try;;
44370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44371 (eval "$ac_link") 2>conftest.er1
44373 grep -v '^ *+' conftest.er1
>conftest.err
44375 cat conftest.err
>&5
44376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44377 (exit $ac_status); } && {
44378 test -z "$ac_c_werror_flag" ||
44379 test ! -s conftest.err
44380 } && test -s conftest
$ac_exeext &&
44381 $as_test_x conftest
$ac_exeext; then
44382 ac_cv_lib_socket_socket
=yes
44384 echo "$as_me: failed program was:" >&5
44385 sed 's/^/| /' conftest.
$ac_ext >&5
44387 ac_cv_lib_socket_socket
=no
44390 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44391 conftest
$ac_exeext conftest.
$ac_ext
44392 LIBS
=$ac_check_lib_save_LIBS
44394 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44395 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44396 if test $ac_cv_lib_socket_socket = yes; then
44397 if test "$INET_LINK" != " -lsocket"; then
44398 INET_LINK
="$INET_LINK -lsocket"
44402 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44403 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44416 if test "$wxUSE_SOCKETS" = "yes" ; then
44417 if test "$TOOLKIT" != "MSW"; then
44418 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44419 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44420 if test "${wx_cv_type_getsockname3+set}" = set; then
44421 echo $ECHO_N "(cached) $ECHO_C" >&6
44425 ac_cpp
='$CXXCPP $CPPFLAGS'
44426 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44427 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44428 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44430 cat >conftest.
$ac_ext <<_ACEOF
44433 cat confdefs.h
>>conftest.
$ac_ext
44434 cat >>conftest.
$ac_ext <<_ACEOF
44435 /* end confdefs.h. */
44437 #include <sys/types.h>
44438 #include <sys/socket.h>
44445 getsockname(0, 0, &len);
44451 rm -f conftest.
$ac_objext
44452 if { (ac_try
="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
44466 test ! -s conftest.err
44467 } && test -s conftest.$ac_objext; then
44468 wx_cv_type_getsockname3=socklen_t
44470 echo "$as_me: failed program was:" >&5
44471 sed 's/^/| /' conftest.$ac_ext >&5
44474 CFLAGS_OLD="$CFLAGS"
44475 if test "$GCC" = yes ; then
44476 CFLAGS="-Werror $CFLAGS"
44479 cat >conftest.$ac_ext <<_ACEOF
44482 cat confdefs.h >>conftest.$ac_ext
44483 cat >>conftest.$ac_ext <<_ACEOF
44484 /* end confdefs.h. */
44486 #include <sys/types.h>
44487 #include <sys/socket.h>
44494 getsockname(0, 0, &len);
44500 rm -f conftest.$ac_objext
44501 if { (ac_try="$ac_compile"
44502 case "(($ac_try" in
44503 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44504 *) ac_try_echo
=$ac_try;;
44506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44507 (eval "$ac_compile") 2>conftest.er1
44509 grep -v '^ *+' conftest.er1
>conftest.err
44511 cat conftest.err
>&5
44512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44513 (exit $ac_status); } && {
44514 test -z "$ac_cxx_werror_flag" ||
44515 test ! -s conftest.err
44516 } && test -s conftest.
$ac_objext; then
44517 wx_cv_type_getsockname3
=size_t
44519 echo "$as_me: failed program was:" >&5
44520 sed 's/^/| /' conftest.
$ac_ext >&5
44522 cat >conftest.
$ac_ext <<_ACEOF
44525 cat confdefs.h
>>conftest.
$ac_ext
44526 cat >>conftest.
$ac_ext <<_ACEOF
44527 /* end confdefs.h. */
44529 #include <sys/types.h>
44530 #include <sys/socket.h>
44537 getsockname(0, 0, &len);
44543 rm -f conftest.
$ac_objext
44544 if { (ac_try
="$ac_compile"
44545 case "(($ac_try" in
44546 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44547 *) ac_try_echo=$ac_try;;
44549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44550 (eval "$ac_compile") 2>conftest.er1
44552 grep -v '^ *+' conftest.er1 >conftest.err
44554 cat conftest.err >&5
44555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44556 (exit $ac_status); } && {
44557 test -z "$ac_cxx_werror_flag" ||
44558 test ! -s conftest.err
44559 } && test -s conftest.$ac_objext; then
44560 wx_cv_type_getsockname3=int
44562 echo "$as_me: failed program was:" >&5
44563 sed 's/^/| /' conftest.$ac_ext >&5
44565 wx_cv_type_getsockname3=unknown
44569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44575 CFLAGS="$CFLAGS_OLD"
44580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44582 ac_cpp='$CPP $CPPFLAGS'
44583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44589 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44590 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44592 if test "$wx_cv_type_getsockname3" = "unknown"; then
44594 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44595 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44597 cat >>confdefs.h <<_ACEOF
44598 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44602 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44603 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44604 if test "${wx_cv_type_getsockopt5+set}" = set; then
44605 echo $ECHO_N "(cached) $ECHO_C" >&6
44609 ac_cpp='$CXXCPP $CPPFLAGS'
44610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44614 cat >conftest.$ac_ext <<_ACEOF
44617 cat confdefs.h >>conftest.$ac_ext
44618 cat >>conftest.$ac_ext <<_ACEOF
44619 /* end confdefs.h. */
44621 #include <sys/types.h>
44622 #include <sys/socket.h>
44629 getsockopt(0, 0, 0, 0, &len);
44635 rm -f conftest.$ac_objext
44636 if { (ac_try="$ac_compile"
44637 case "(($ac_try" in
44638 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44639 *) ac_try_echo
=$ac_try;;
44641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44642 (eval "$ac_compile") 2>conftest.er1
44644 grep -v '^ *+' conftest.er1
>conftest.err
44646 cat conftest.err
>&5
44647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44648 (exit $ac_status); } && {
44649 test -z "$ac_cxx_werror_flag" ||
44650 test ! -s conftest.err
44651 } && test -s conftest.
$ac_objext; then
44652 wx_cv_type_getsockopt5
=socklen_t
44654 echo "$as_me: failed program was:" >&5
44655 sed 's/^/| /' conftest.
$ac_ext >&5
44658 cat >conftest.
$ac_ext <<_ACEOF
44661 cat confdefs.h
>>conftest.
$ac_ext
44662 cat >>conftest.
$ac_ext <<_ACEOF
44663 /* end confdefs.h. */
44665 #include <sys/types.h>
44666 #include <sys/socket.h>
44673 getsockopt(0, 0, 0, 0, &len);
44679 rm -f conftest.
$ac_objext
44680 if { (ac_try
="$ac_compile"
44681 case "(($ac_try" in
44682 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44683 *) ac_try_echo=$ac_try;;
44685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44686 (eval "$ac_compile") 2>conftest.er1
44688 grep -v '^ *+' conftest.er1 >conftest.err
44690 cat conftest.err >&5
44691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44692 (exit $ac_status); } && {
44693 test -z "$ac_cxx_werror_flag" ||
44694 test ! -s conftest.err
44695 } && test -s conftest.$ac_objext; then
44696 wx_cv_type_getsockopt5=size_t
44698 echo "$as_me: failed program was:" >&5
44699 sed 's/^/| /' conftest.$ac_ext >&5
44701 cat >conftest.$ac_ext <<_ACEOF
44704 cat confdefs.h >>conftest.$ac_ext
44705 cat >>conftest.$ac_ext <<_ACEOF
44706 /* end confdefs.h. */
44708 #include <sys/types.h>
44709 #include <sys/socket.h>
44716 getsockopt(0, 0, 0, 0, &len);
44722 rm -f conftest.$ac_objext
44723 if { (ac_try="$ac_compile"
44724 case "(($ac_try" in
44725 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44726 *) ac_try_echo
=$ac_try;;
44728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44729 (eval "$ac_compile") 2>conftest.er1
44731 grep -v '^ *+' conftest.er1
>conftest.err
44733 cat conftest.err
>&5
44734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44735 (exit $ac_status); } && {
44736 test -z "$ac_cxx_werror_flag" ||
44737 test ! -s conftest.err
44738 } && test -s conftest.
$ac_objext; then
44739 wx_cv_type_getsockopt5
=int
44741 echo "$as_me: failed program was:" >&5
44742 sed 's/^/| /' conftest.
$ac_ext >&5
44744 wx_cv_type_getsockopt5
=unknown
44748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44759 ac_cpp
='$CPP $CPPFLAGS'
44760 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44761 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44762 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44766 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44767 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44769 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44771 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44772 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44774 cat >>confdefs.h
<<_ACEOF
44775 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44782 if test "$wxUSE_SOCKETS" = "yes" ; then
44783 if test "$wxUSE_IPV6" = "yes"; then
44784 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44785 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44786 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44787 echo $ECHO_N "(cached) $ECHO_C" >&6
44790 cat >conftest.
$ac_ext <<_ACEOF
44793 cat confdefs.h
>>conftest.
$ac_ext
44794 cat >>conftest.
$ac_ext <<_ACEOF
44795 /* end confdefs.h. */
44797 #include <sys/types.h>
44798 #include <sys/socket.h>
44799 #include <netinet/in.h>
44805 struct sockaddr_in6 sa6;
44811 rm -f conftest.
$ac_objext
44812 if { (ac_try
="$ac_compile"
44813 case "(($ac_try" in
44814 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44815 *) ac_try_echo=$ac_try;;
44817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44818 (eval "$ac_compile") 2>conftest.er1
44820 grep -v '^ *+' conftest.er1 >conftest.err
44822 cat conftest.err >&5
44823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44824 (exit $ac_status); } && {
44825 test -z "$ac_c_werror_flag" ||
44826 test ! -s conftest.err
44827 } && test -s conftest.$ac_objext; then
44828 wx_cv_type_sockaddr_in6=yes
44830 echo "$as_me: failed program was:" >&5
44831 sed 's/^/| /' conftest.$ac_ext >&5
44833 wx_cv_type_sockaddr_in6=no
44837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44841 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44842 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44844 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44845 cat >>confdefs.h <<\_ACEOF
44846 #define wxUSE_IPV6 1
44850 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44851 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44855 cat >>confdefs.h <<\_ACEOF
44856 #define wxUSE_SOCKETS 1
44859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44862 if test "$wxUSE_PROTOCOL" = "yes"; then
44863 if test "$wxUSE_SOCKETS" != "yes"; then
44864 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44865 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44870 if test "$wxUSE_PROTOCOL" = "yes"; then
44871 cat >>confdefs.h <<\_ACEOF
44872 #define wxUSE_PROTOCOL 1
44876 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44877 cat >>confdefs.h <<\_ACEOF
44878 #define wxUSE_PROTOCOL_HTTP 1
44882 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44883 cat >>confdefs.h <<\_ACEOF
44884 #define wxUSE_PROTOCOL_FTP 1
44888 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44889 cat >>confdefs.h <<\_ACEOF
44890 #define wxUSE_PROTOCOL_FILE 1
44895 if test "$wxUSE_FS_INET" = "yes"; then
44896 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44897 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44902 if test "$wxUSE_URL" = "yes"; then
44903 if test "$wxUSE_PROTOCOL" != "yes"; then
44904 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44905 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44908 if test "$wxUSE_URL" = "yes"; then
44909 cat >>confdefs.h <<\_ACEOF
44910 #define wxUSE_URL 1
44916 if test "$wxUSE_VARIANT" = "yes"; then
44917 cat >>confdefs.h <<\_ACEOF
44918 #define wxUSE_VARIANT 1
44923 if test "$wxUSE_FS_INET" = "yes"; then
44924 cat >>confdefs.h <<\_ACEOF
44925 #define wxUSE_FS_INET 1
44931 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44934 if test "$TOOLKIT" = "MSW"; then
44937 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44938 if test "$USE_DARWIN" = 1; then
44939 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44940 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44942 ac_cpp='$CXXCPP $CPPFLAGS'
44943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44947 cat >conftest.$ac_ext <<_ACEOF
44950 cat confdefs.h >>conftest.$ac_ext
44951 cat >>conftest.$ac_ext <<_ACEOF
44952 /* end confdefs.h. */
44953 #include <IOKit/hid/IOHIDLib.h>
44957 IOHIDQueueInterface *qi = NULL;
44958 IOHIDCallbackFunction cb = NULL;
44959 qi->setEventCallout(NULL, cb, NULL, NULL);
44964 rm -f conftest.$ac_objext
44965 if { (ac_try="$ac_compile"
44966 case "(($ac_try" in
44967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44968 *) ac_try_echo
=$ac_try;;
44970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44971 (eval "$ac_compile") 2>conftest.er1
44973 grep -v '^ *+' conftest.er1
>conftest.err
44975 cat conftest.err
>&5
44976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44977 (exit $ac_status); } && {
44978 test -z "$ac_cxx_werror_flag" ||
44979 test ! -s conftest.err
44980 } && test -s conftest.
$ac_objext; then
44984 echo "$as_me: failed program was:" >&5
44985 sed 's/^/| /' conftest.
$ac_ext >&5
44990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44992 ac_cpp
='$CPP $CPPFLAGS'
44993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44997 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44998 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45002 if test "$wxUSE_MGL" != 1; then
45004 for ac_header
in linux
/joystick.h
45006 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45007 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45009 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45010 echo $ECHO_N "(cached) $ECHO_C" >&6
45012 cat >conftest.
$ac_ext <<_ACEOF
45015 cat confdefs.h
>>conftest.
$ac_ext
45016 cat >>conftest.
$ac_ext <<_ACEOF
45017 /* end confdefs.h. */
45018 $ac_includes_default
45020 #include <$ac_header>
45022 rm -f conftest.
$ac_objext
45023 if { (ac_try
="$ac_compile"
45024 case "(($ac_try" in
45025 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45026 *) ac_try_echo=$ac_try;;
45028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45029 (eval "$ac_compile") 2>conftest.er1
45031 grep -v '^ *+' conftest.er1 >conftest.err
45033 cat conftest.err >&5
45034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45035 (exit $ac_status); } && {
45036 test -z "$ac_c_werror_flag" ||
45037 test ! -s conftest.err
45038 } && test -s conftest.$ac_objext; then
45039 eval "$as_ac_Header=yes"
45041 echo "$as_me: failed program was:" >&5
45042 sed 's/^/| /' conftest.$ac_ext >&5
45044 eval "$as_ac_Header=no"
45047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45049 ac_res=`eval echo '${'$as_ac_Header'}'`
45050 { echo "$as_me:$LINENO: result: $ac_res" >&5
45051 echo "${ECHO_T}$ac_res" >&6; }
45052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45053 cat >>confdefs.h <<_ACEOF
45054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45064 if test "$wxUSE_JOYSTICK" = "yes"; then
45065 cat >>confdefs.h <<\_ACEOF
45066 #define wxUSE_JOYSTICK 1
45069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45071 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45072 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45078 if test "$wxUSE_FONTENUM" = "yes" ; then
45079 cat >>confdefs.h <<\_ACEOF
45080 #define wxUSE_FONTENUM 1
45085 if test "$wxUSE_FONTMAP" = "yes" ; then
45086 cat >>confdefs.h <<\_ACEOF
45087 #define wxUSE_FONTMAP 1
45092 if test "$wxUSE_UNICODE" = "yes" ; then
45093 cat >>confdefs.h <<\_ACEOF
45094 #define wxUSE_UNICODE 1
45098 if test "$USE_WIN32" != 1; then
45099 wxUSE_UNICODE_MSLU=no
45102 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45103 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45104 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45105 if test "${ac_cv_lib_unicows_main+set}" = set; then
45106 echo $ECHO_N "(cached) $ECHO_C" >&6
45108 ac_check_lib_save_LIBS=$LIBS
45109 LIBS="-lunicows $LIBS"
45110 cat >conftest.$ac_ext <<_ACEOF
45113 cat confdefs.h >>conftest.$ac_ext
45114 cat >>conftest.$ac_ext <<_ACEOF
45115 /* end confdefs.h. */
45126 rm -f conftest.$ac_objext conftest$ac_exeext
45127 if { (ac_try="$ac_link"
45128 case "(($ac_try" in
45129 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45130 *) ac_try_echo
=$ac_try;;
45132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45133 (eval "$ac_link") 2>conftest.er1
45135 grep -v '^ *+' conftest.er1
>conftest.err
45137 cat conftest.err
>&5
45138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45139 (exit $ac_status); } && {
45140 test -z "$ac_c_werror_flag" ||
45141 test ! -s conftest.err
45142 } && test -s conftest
$ac_exeext &&
45143 $as_test_x conftest
$ac_exeext; then
45144 ac_cv_lib_unicows_main
=yes
45146 echo "$as_me: failed program was:" >&5
45147 sed 's/^/| /' conftest.
$ac_ext >&5
45149 ac_cv_lib_unicows_main
=no
45152 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45153 conftest
$ac_exeext conftest.
$ac_ext
45154 LIBS
=$ac_check_lib_save_LIBS
45156 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45157 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45158 if test $ac_cv_lib_unicows_main = yes; then
45160 cat >>confdefs.h
<<\_ACEOF
45161 #define wxUSE_UNICODE_MSLU 1
45167 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45168 Applications will only run on Windows NT/2000/XP!" >&5
45169 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45170 Applications will only run on Windows NT/2000/XP!" >&2;}
45171 wxUSE_UNICODE_MSLU
=no
45178 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45179 cat >>confdefs.h
<<\_ACEOF
45180 #define wxUSE_UNICODE_UTF8 1
45184 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45185 cat >>confdefs.h
<<\_ACEOF
45186 #define wxUSE_UTF8_LOCALE_ONLY 1
45193 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45194 cat >>confdefs.h
<<\_ACEOF
45195 #define wxUSE_CONSTRAINTS 1
45198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45201 if test "$wxUSE_MDI" = "yes"; then
45202 cat >>confdefs.h
<<\_ACEOF
45203 #define wxUSE_MDI 1
45207 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45208 cat >>confdefs.h
<<\_ACEOF
45209 #define wxUSE_MDI_ARCHITECTURE 1
45212 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45216 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45217 cat >>confdefs.h
<<\_ACEOF
45218 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45221 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45222 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
45227 if test "$wxUSE_HELP" = "yes"; then
45228 cat >>confdefs.h
<<\_ACEOF
45229 #define wxUSE_HELP 1
45232 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45234 if test "$wxUSE_MSW" = 1; then
45235 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45236 cat >>confdefs.h
<<\_ACEOF
45237 #define wxUSE_MS_HTML_HELP 1
45243 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45244 if test "$wxUSE_HTML" = "yes"; then
45245 cat >>confdefs.h
<<\_ACEOF
45246 #define wxUSE_WXHTML_HELP 1
45250 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45251 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45252 wxUSE_WXHTML_HELP
=no
45257 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45258 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45259 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45260 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45262 cat >>confdefs.h
<<\_ACEOF
45263 #define wxUSE_PRINTING_ARCHITECTURE 1
45267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45270 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45271 cat >>confdefs.h
<<\_ACEOF
45272 #define wxUSE_POSTSCRIPT 1
45277 cat >>confdefs.h
<<\_ACEOF
45278 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45282 if test "$wxUSE_SVG" = "yes"; then
45283 cat >>confdefs.h
<<\_ACEOF
45284 #define wxUSE_SVG 1
45290 if test "$wxUSE_METAFILE" = "yes"; then
45291 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45292 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45293 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45299 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45300 -o "$wxUSE_CLIPBOARD" = "yes" \
45301 -o "$wxUSE_OLE" = "yes" \
45302 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45303 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45304 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45305 if test "${ac_cv_header_ole2_h+set}" = set; then
45306 echo $ECHO_N "(cached) $ECHO_C" >&6
45308 cat >conftest.
$ac_ext <<_ACEOF
45311 cat confdefs.h
>>conftest.
$ac_ext
45312 cat >>conftest.
$ac_ext <<_ACEOF
45313 /* end confdefs.h. */
45318 rm -f conftest.
$ac_objext
45319 if { (ac_try
="$ac_compile"
45320 case "(($ac_try" in
45321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45322 *) ac_try_echo=$ac_try;;
45324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45325 (eval "$ac_compile") 2>conftest.er1
45327 grep -v '^ *+' conftest.er1 >conftest.err
45329 cat conftest.err >&5
45330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45331 (exit $ac_status); } && {
45332 test -z "$ac_c_werror_flag" ||
45333 test ! -s conftest.err
45334 } && test -s conftest.$ac_objext; then
45335 ac_cv_header_ole2_h=yes
45337 echo "$as_me: failed program was:" >&5
45338 sed 's/^/| /' conftest.$ac_ext >&5
45340 ac_cv_header_ole2_h=no
45343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45345 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45346 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45350 if test "$ac_cv_header_ole2_h" = "yes" ; then
45351 if test "$GCC" = yes ; then
45352 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45353 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45354 cat >conftest.$ac_ext <<_ACEOF
45357 cat confdefs.h >>conftest.$ac_ext
45358 cat >>conftest.$ac_ext <<_ACEOF
45359 /* end confdefs.h. */
45360 #include <windows.h>
45370 rm -f conftest.$ac_objext
45371 if { (ac_try="$ac_compile"
45372 case "(($ac_try" in
45373 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45374 *) ac_try_echo
=$ac_try;;
45376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45377 (eval "$ac_compile") 2>conftest.er1
45379 grep -v '^ *+' conftest.er1
>conftest.err
45381 cat conftest.err
>&5
45382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45383 (exit $ac_status); } && {
45384 test -z "$ac_c_werror_flag" ||
45385 test ! -s conftest.err
45386 } && test -s conftest.
$ac_objext; then
45387 { echo "$as_me:$LINENO: result: no" >&5
45388 echo "${ECHO_T}no" >&6; }
45390 echo "$as_me: failed program was:" >&5
45391 sed 's/^/| /' conftest.
$ac_ext >&5
45393 { echo "$as_me:$LINENO: result: yes" >&5
45394 echo "${ECHO_T}yes" >&6; }
45395 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45399 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45400 if test "$wxUSE_OLE" = "yes" ; then
45401 cat >>confdefs.h
<<\_ACEOF
45402 #define wxUSE_OLE 1
45405 cat >>confdefs.h
<<\_ACEOF
45406 #define wxUSE_OLE_AUTOMATION 1
45409 cat >>confdefs.h
<<\_ACEOF
45410 #define wxUSE_ACTIVEX 1
45413 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45417 if test "$wxUSE_DATAOBJ" = "yes" ; then
45418 cat >>confdefs.h
<<\_ACEOF
45419 #define wxUSE_DATAOBJ 1
45424 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45425 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45428 wxUSE_DRAG_AND_DROP
=no
45433 if test "$wxUSE_METAFILE" = "yes"; then
45434 cat >>confdefs.h
<<\_ACEOF
45435 #define wxUSE_METAFILE 1
45439 cat >>confdefs.h
<<\_ACEOF
45440 #define wxUSE_ENH_METAFILE 1
45446 if test "$wxUSE_IPC" = "yes"; then
45447 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45448 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45449 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45453 if test "$wxUSE_IPC" = "yes"; then
45454 cat >>confdefs.h
<<\_ACEOF
45455 #define wxUSE_IPC 1
45458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45462 if test "$wxUSE_DATAOBJ" = "yes"; then
45463 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45464 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45465 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45468 cat >>confdefs.h
<<\_ACEOF
45469 #define wxUSE_DATAOBJ 1
45474 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45475 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45477 wxUSE_DRAG_AND_DROP
=no
45480 if test "$wxUSE_CLIPBOARD" = "yes"; then
45481 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45482 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45483 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45487 if test "$wxUSE_CLIPBOARD" = "yes"; then
45488 cat >>confdefs.h
<<\_ACEOF
45489 #define wxUSE_CLIPBOARD 1
45495 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45496 if test "$wxUSE_GTK" = 1; then
45497 if test "$WXGTK12" != 1; then
45498 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45499 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45500 wxUSE_DRAG_AND_DROP
=no
45504 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45505 "$wxUSE_DFB" = 1; then
45506 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45507 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45508 wxUSE_DRAG_AND_DROP
=no
45511 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45512 cat >>confdefs.h
<<\_ACEOF
45513 #define wxUSE_DRAG_AND_DROP 1
45520 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45524 if test "$wxUSE_SPLINES" = "yes" ; then
45525 cat >>confdefs.h
<<\_ACEOF
45526 #define wxUSE_SPLINES 1
45531 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45532 cat >>confdefs.h
<<\_ACEOF
45533 #define wxUSE_MOUSEWHEEL 1
45540 if test "$wxUSE_CONTROLS" = "yes"; then
45544 if test "$wxUSE_ACCEL" = "yes"; then
45545 cat >>confdefs.h
<<\_ACEOF
45546 #define wxUSE_ACCEL 1
45552 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45553 cat >>confdefs.h
<<\_ACEOF
45554 #define wxUSE_ANIMATIONCTRL 1
45558 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45561 if test "$wxUSE_BUTTON" = "yes"; then
45562 cat >>confdefs.h
<<\_ACEOF
45563 #define wxUSE_BUTTON 1
45569 if test "$wxUSE_BMPBUTTON" = "yes"; then
45570 cat >>confdefs.h
<<\_ACEOF
45571 #define wxUSE_BMPBUTTON 1
45577 if test "$wxUSE_CALCTRL" = "yes"; then
45578 cat >>confdefs.h
<<\_ACEOF
45579 #define wxUSE_CALENDARCTRL 1
45583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45586 if test "$wxUSE_CARET" = "yes"; then
45587 cat >>confdefs.h
<<\_ACEOF
45588 #define wxUSE_CARET 1
45592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45595 if test "$wxUSE_COLLPANE" = "yes"; then
45596 cat >>confdefs.h
<<\_ACEOF
45597 #define wxUSE_COLLPANE 1
45601 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45604 if test "$wxUSE_COMBOBOX" = "yes"; then
45605 cat >>confdefs.h
<<\_ACEOF
45606 #define wxUSE_COMBOBOX 1
45612 if test "$wxUSE_COMBOCTRL" = "yes"; then
45613 cat >>confdefs.h
<<\_ACEOF
45614 #define wxUSE_COMBOCTRL 1
45620 if test "$wxUSE_CHOICE" = "yes"; then
45621 cat >>confdefs.h
<<\_ACEOF
45622 #define wxUSE_CHOICE 1
45628 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45629 cat >>confdefs.h
<<\_ACEOF
45630 #define wxUSE_CHOICEBOOK 1
45636 if test "$wxUSE_CHECKBOX" = "yes"; then
45637 cat >>confdefs.h
<<\_ACEOF
45638 #define wxUSE_CHECKBOX 1
45644 if test "$wxUSE_CHECKLST" = "yes"; then
45645 cat >>confdefs.h
<<\_ACEOF
45646 #define wxUSE_CHECKLISTBOX 1
45652 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45653 cat >>confdefs.h
<<\_ACEOF
45654 #define wxUSE_COLOURPICKERCTRL 1
45660 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45661 cat >>confdefs.h
<<\_ACEOF
45662 #define wxUSE_DATEPICKCTRL 1
45668 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45669 cat >>confdefs.h
<<\_ACEOF
45670 #define wxUSE_DIRPICKERCTRL 1
45676 if test "$wxUSE_FILECTRL" = "yes"; then
45677 cat >>confdefs.h
<<\_ACEOF
45678 #define wxUSE_FILECTRL 1
45684 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45685 cat >>confdefs.h
<<\_ACEOF
45686 #define wxUSE_FILEPICKERCTRL 1
45692 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45693 cat >>confdefs.h
<<\_ACEOF
45694 #define wxUSE_FONTPICKERCTRL 1
45700 if test "$wxUSE_DISPLAY" = "yes"; then
45701 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45702 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45703 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45706 cat >>confdefs.h
<<\_ACEOF
45707 #define wxUSE_DISPLAY 1
45710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45714 if test "$wxUSE_DETECT_SM" = "yes"; then
45715 cat >>confdefs.h
<<\_ACEOF
45716 #define wxUSE_DETECT_SM 1
45721 if test "$wxUSE_GAUGE" = "yes"; then
45722 cat >>confdefs.h
<<\_ACEOF
45723 #define wxUSE_GAUGE 1
45729 if test "$wxUSE_GRID" = "yes"; then
45730 cat >>confdefs.h
<<\_ACEOF
45731 #define wxUSE_GRID 1
45735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45738 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45739 cat >>confdefs.h
<<\_ACEOF
45740 #define wxUSE_HYPERLINKCTRL 1
45746 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45747 cat >>confdefs.h
<<\_ACEOF
45748 #define wxUSE_BITMAPCOMBOBOX 1
45754 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45755 cat >>confdefs.h
<<\_ACEOF
45756 #define wxUSE_DATAVIEWCTRL 1
45760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45763 if test "$wxUSE_IMAGLIST" = "yes"; then
45764 cat >>confdefs.h
<<\_ACEOF
45765 #define wxUSE_IMAGLIST 1
45770 if test "$wxUSE_LISTBOOK" = "yes"; then
45771 cat >>confdefs.h
<<\_ACEOF
45772 #define wxUSE_LISTBOOK 1
45778 if test "$wxUSE_LISTBOX" = "yes"; then
45779 cat >>confdefs.h
<<\_ACEOF
45780 #define wxUSE_LISTBOX 1
45786 if test "$wxUSE_LISTCTRL" = "yes"; then
45787 if test "$wxUSE_IMAGLIST" = "yes"; then
45788 cat >>confdefs.h
<<\_ACEOF
45789 #define wxUSE_LISTCTRL 1
45793 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45795 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45796 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45800 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45801 cat >>confdefs.h
<<\_ACEOF
45802 #define wxUSE_EDITABLELISTBOX 1
45806 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45809 if test "$wxUSE_NOTEBOOK" = "yes"; then
45810 cat >>confdefs.h
<<\_ACEOF
45811 #define wxUSE_NOTEBOOK 1
45815 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45818 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45819 cat >>confdefs.h
<<\_ACEOF
45820 #define wxUSE_NOTIFICATION_MESSAGE 1
45825 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45826 cat >>confdefs.h
<<\_ACEOF
45827 #define wxUSE_ODCOMBOBOX 1
45831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45834 if test "$wxUSE_RADIOBOX" = "yes"; then
45835 cat >>confdefs.h
<<\_ACEOF
45836 #define wxUSE_RADIOBOX 1
45842 if test "$wxUSE_RADIOBTN" = "yes"; then
45843 cat >>confdefs.h
<<\_ACEOF
45844 #define wxUSE_RADIOBTN 1
45850 if test "$wxUSE_SASH" = "yes"; then
45851 cat >>confdefs.h
<<\_ACEOF
45852 #define wxUSE_SASH 1
45855 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45858 if test "$wxUSE_SCROLLBAR" = "yes"; then
45859 cat >>confdefs.h
<<\_ACEOF
45860 #define wxUSE_SCROLLBAR 1
45864 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45867 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45868 cat >>confdefs.h
<<\_ACEOF
45869 #define wxUSE_SEARCHCTRL 1
45875 if test "$wxUSE_SLIDER" = "yes"; then
45876 cat >>confdefs.h
<<\_ACEOF
45877 #define wxUSE_SLIDER 1
45883 if test "$wxUSE_SPINBTN" = "yes"; then
45884 cat >>confdefs.h
<<\_ACEOF
45885 #define wxUSE_SPINBTN 1
45891 if test "$wxUSE_SPINCTRL" = "yes"; then
45892 cat >>confdefs.h
<<\_ACEOF
45893 #define wxUSE_SPINCTRL 1
45899 if test "$wxUSE_SPLITTER" = "yes"; then
45900 cat >>confdefs.h
<<\_ACEOF
45901 #define wxUSE_SPLITTER 1
45904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45907 if test "$wxUSE_STATBMP" = "yes"; then
45908 cat >>confdefs.h
<<\_ACEOF
45909 #define wxUSE_STATBMP 1
45915 if test "$wxUSE_STATBOX" = "yes"; then
45916 cat >>confdefs.h
<<\_ACEOF
45917 #define wxUSE_STATBOX 1
45923 if test "$wxUSE_STATTEXT" = "yes"; then
45924 cat >>confdefs.h
<<\_ACEOF
45925 #define wxUSE_STATTEXT 1
45931 if test "$wxUSE_STATLINE" = "yes"; then
45932 cat >>confdefs.h
<<\_ACEOF
45933 #define wxUSE_STATLINE 1
45939 if test "$wxUSE_STATUSBAR" = "yes"; then
45940 cat >>confdefs.h
<<\_ACEOF
45941 #define wxUSE_NATIVE_STATUSBAR 1
45944 cat >>confdefs.h
<<\_ACEOF
45945 #define wxUSE_STATUSBAR 1
45950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45953 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45954 cat >>confdefs.h
<<\_ACEOF
45955 #define wxUSE_TAB_DIALOG 1
45960 if test "$wxUSE_TEXTCTRL" = "yes"; then
45961 cat >>confdefs.h
<<\_ACEOF
45962 #define wxUSE_TEXTCTRL 1
45966 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45968 cat >>confdefs.h
<<\_ACEOF
45969 #define wxUSE_RICHEDIT 1
45972 cat >>confdefs.h
<<\_ACEOF
45973 #define wxUSE_RICHEDIT2 1
45978 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45979 if test "$wxUSE_COCOA" = 1 ; then
45980 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45981 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45985 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45986 cat >>confdefs.h
<<\_ACEOF
45987 #define wxUSE_TOGGLEBTN 1
45994 if test "$wxUSE_TOOLBAR" = "yes"; then
45995 cat >>confdefs.h
<<\_ACEOF
45996 #define wxUSE_TOOLBAR 1
46001 if test "$wxUSE_UNIVERSAL" = "yes"; then
46002 wxUSE_TOOLBAR_NATIVE
="no"
46004 wxUSE_TOOLBAR_NATIVE
="yes"
46005 cat >>confdefs.h
<<\_ACEOF
46006 #define wxUSE_TOOLBAR_NATIVE 1
46011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46014 if test "$wxUSE_TOOLTIPS" = "yes"; then
46015 if test "$wxUSE_MOTIF" = 1; then
46016 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46017 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46019 if test "$wxUSE_UNIVERSAL" = "yes"; then
46020 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46021 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46023 cat >>confdefs.h
<<\_ACEOF
46024 #define wxUSE_TOOLTIPS 1
46031 if test "$wxUSE_TREEBOOK" = "yes"; then
46032 cat >>confdefs.h
<<\_ACEOF
46033 #define wxUSE_TREEBOOK 1
46039 if test "$wxUSE_TOOLBOOK" = "yes"; then
46040 cat >>confdefs.h
<<\_ACEOF
46041 #define wxUSE_TOOLBOOK 1
46047 if test "$wxUSE_TREECTRL" = "yes"; then
46048 if test "$wxUSE_IMAGLIST" = "yes"; then
46049 cat >>confdefs.h
<<\_ACEOF
46050 #define wxUSE_TREECTRL 1
46054 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46056 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46057 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46061 if test "$wxUSE_POPUPWIN" = "yes"; then
46062 if test "$wxUSE_COCOA" = 1 ; then
46063 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46064 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46066 if test "$wxUSE_PM" = 1; then
46067 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46068 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46070 cat >>confdefs.h
<<\_ACEOF
46071 #define wxUSE_POPUPWIN 1
46074 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46081 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46082 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46083 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46084 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46086 cat >>confdefs.h
<<\_ACEOF
46087 #define wxUSE_DIALUP_MANAGER 1
46090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46094 if test "$wxUSE_TIPWINDOW" = "yes"; then
46095 if test "$wxUSE_PM" = 1; then
46096 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46097 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46099 cat >>confdefs.h
<<\_ACEOF
46100 #define wxUSE_TIPWINDOW 1
46106 if test "$USES_CONTROLS" = 1; then
46107 cat >>confdefs.h
<<\_ACEOF
46108 #define wxUSE_CONTROLS 1
46114 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46115 cat >>confdefs.h
<<\_ACEOF
46116 #define wxUSE_ACCESSIBILITY 1
46119 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46122 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46123 cat >>confdefs.h
<<\_ACEOF
46124 #define wxUSE_DRAGIMAGE 1
46127 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46130 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46131 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46132 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46133 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46135 cat >>confdefs.h
<<\_ACEOF
46136 #define wxUSE_EXCEPTIONS 1
46139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46144 if test "$wxUSE_HTML" = "yes"; then
46145 cat >>confdefs.h
<<\_ACEOF
46146 #define wxUSE_HTML 1
46150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46152 if test "$wxUSE_WEBKIT" = "yes"; then
46153 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46154 old_CPPFLAGS
="$CPPFLAGS"
46155 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46156 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46157 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46158 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46159 echo $ECHO_N "(cached) $ECHO_C" >&6
46161 cat >conftest.
$ac_ext <<_ACEOF
46164 cat confdefs.h
>>conftest.
$ac_ext
46165 cat >>conftest.
$ac_ext <<_ACEOF
46166 /* end confdefs.h. */
46168 #include <Carbon/Carbon.h>
46169 #include <WebKit/WebKit.h>
46172 #include <WebKit/HIWebView.h>
46174 rm -f conftest.
$ac_objext
46175 if { (ac_try
="$ac_compile"
46176 case "(($ac_try" in
46177 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46178 *) ac_try_echo=$ac_try;;
46180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46181 (eval "$ac_compile") 2>conftest.er1
46183 grep -v '^ *+' conftest.er1 >conftest.err
46185 cat conftest.err >&5
46186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46187 (exit $ac_status); } && {
46188 test -z "$ac_c_werror_flag" ||
46189 test ! -s conftest.err
46190 } && test -s conftest.$ac_objext; then
46191 ac_cv_header_WebKit_HIWebView_h=yes
46193 echo "$as_me: failed program was:" >&5
46194 sed 's/^/| /' conftest.$ac_ext >&5
46196 ac_cv_header_WebKit_HIWebView_h=no
46199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46201 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46202 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46203 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46205 cat >>confdefs.h <<\_ACEOF
46206 #define wxUSE_WEBKIT 1
46209 WEBKIT_LINK="-framework WebKit"
46213 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46214 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46220 CPPFLAGS="$old_CPPFLAGS"
46221 elif test "$wxUSE_COCOA" = 1; then
46222 cat >>confdefs.h <<\_ACEOF
46223 #define wxUSE_WEBKIT 1
46229 if test "$wxUSE_WEBKIT" = "yes"; then
46230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46235 if test "$wxUSE_XRC" = "yes"; then
46236 if test "$wxUSE_XML" != "yes"; then
46237 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46238 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46241 cat >>confdefs.h <<\_ACEOF
46242 #define wxUSE_XRC 1
46246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46251 if test "$wxUSE_AUI" = "yes"; then
46252 cat >>confdefs.h <<\_ACEOF
46253 #define wxUSE_AUI 1
46257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46261 if test "$wxUSE_PROPGRID" = "yes"; then
46262 cat >>confdefs.h <<\_ACEOF
46263 #define wxUSE_PROPGRID 1
46267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46271 if test "$wxUSE_STC" = "yes"; then
46272 cat >>confdefs.h <<\_ACEOF
46273 #define wxUSE_STC 1
46277 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46280 if test "$wxUSE_MENUS" = "yes"; then
46281 cat >>confdefs.h <<\_ACEOF
46282 #define wxUSE_MENUS 1
46285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46288 if test "$wxUSE_METAFILE" = "yes"; then
46289 cat >>confdefs.h <<\_ACEOF
46290 #define wxUSE_METAFILE 1
46295 if test "$wxUSE_MIMETYPE" = "yes"; then
46296 cat >>confdefs.h <<\_ACEOF
46297 #define wxUSE_MIMETYPE 1
46302 if test "$wxUSE_MINIFRAME" = "yes"; then
46303 cat >>confdefs.h <<\_ACEOF
46304 #define wxUSE_MINIFRAME 1
46309 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46310 cat >>confdefs.h <<\_ACEOF
46311 #define wxUSE_SYSTEM_OPTIONS 1
46316 if test "$wxUSE_TASKBARICON" = "yes"; then
46317 cat >>confdefs.h <<\_ACEOF
46318 #define wxUSE_TASKBARICON 1
46321 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46325 if test "$wxUSE_VALIDATORS" = "yes"; then
46326 cat >>confdefs.h <<\_ACEOF
46327 #define wxUSE_VALIDATORS 1
46330 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46333 if test "$wxUSE_PALETTE" = "yes" ; then
46334 if test "$wxUSE_DFB" = 1; then
46335 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46336 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46339 cat >>confdefs.h <<\_ACEOF
46340 #define wxUSE_PALETTE 1
46346 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46347 LIBS=" -lunicows $LIBS"
46351 if test "$wxUSE_RICHTEXT" = "yes"; then
46352 cat >>confdefs.h <<\_ACEOF
46353 #define wxUSE_RICHTEXT 1
46357 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46361 if test "$wxUSE_IMAGE" = "yes" ; then
46362 cat >>confdefs.h <<\_ACEOF
46363 #define wxUSE_IMAGE 1
46367 if test "$wxUSE_GIF" = "yes" ; then
46368 cat >>confdefs.h <<\_ACEOF
46369 #define wxUSE_GIF 1
46374 if test "$wxUSE_PCX" = "yes" ; then
46375 cat >>confdefs.h <<\_ACEOF
46376 #define wxUSE_PCX 1
46381 if test "$wxUSE_TGA" = "yes" ; then
46382 cat >>confdefs.h <<\_ACEOF
46383 #define wxUSE_TGA 1
46388 if test "$wxUSE_IFF" = "yes" ; then
46389 cat >>confdefs.h <<\_ACEOF
46390 #define wxUSE_IFF 1
46395 if test "$wxUSE_PNM" = "yes" ; then
46396 cat >>confdefs.h <<\_ACEOF
46397 #define wxUSE_PNM 1
46402 if test "$wxUSE_XPM" = "yes" ; then
46403 cat >>confdefs.h <<\_ACEOF
46404 #define wxUSE_XPM 1
46409 if test "$wxUSE_ICO_CUR" = "yes" ; then
46410 cat >>confdefs.h <<\_ACEOF
46411 #define wxUSE_ICO_CUR 1
46418 if test "$wxUSE_ABOUTDLG" = "yes"; then
46419 cat >>confdefs.h <<\_ACEOF
46420 #define wxUSE_ABOUTDLG 1
46425 if test "$wxUSE_CHOICEDLG" = "yes"; then
46426 cat >>confdefs.h <<\_ACEOF
46427 #define wxUSE_CHOICEDLG 1
46432 if test "$wxUSE_COLOURDLG" = "yes"; then
46433 cat >>confdefs.h <<\_ACEOF
46434 #define wxUSE_COLOURDLG 1
46439 if test "$wxUSE_FILEDLG" = "yes"; then
46440 cat >>confdefs.h <<\_ACEOF
46441 #define wxUSE_FILEDLG 1
46446 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46447 cat >>confdefs.h <<\_ACEOF
46448 #define wxUSE_FINDREPLDLG 1
46453 if test "$wxUSE_FONTDLG" = "yes"; then
46454 cat >>confdefs.h <<\_ACEOF
46455 #define wxUSE_FONTDLG 1
46460 if test "$wxUSE_DIRDLG" = "yes"; then
46461 if test "$wxUSE_TREECTRL" != "yes"; then
46462 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46463 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46465 cat >>confdefs.h <<\_ACEOF
46466 #define wxUSE_DIRDLG 1
46472 if test "$wxUSE_MSGDLG" = "yes"; then
46473 cat >>confdefs.h <<\_ACEOF
46474 #define wxUSE_MSGDLG 1
46479 if test "$wxUSE_NUMBERDLG" = "yes"; then
46480 cat >>confdefs.h <<\_ACEOF
46481 #define wxUSE_NUMBERDLG 1
46486 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46487 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46488 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46489 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46491 cat >>confdefs.h <<\_ACEOF
46492 #define wxUSE_PROGRESSDLG 1
46498 if test "$wxUSE_SPLASH" = "yes"; then
46499 cat >>confdefs.h <<\_ACEOF
46500 #define wxUSE_SPLASH 1
46503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46506 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46507 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46508 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46509 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46511 cat >>confdefs.h <<\_ACEOF
46512 #define wxUSE_STARTUP_TIPS 1
46518 if test "$wxUSE_TEXTDLG" = "yes"; then
46519 cat >>confdefs.h <<\_ACEOF
46520 #define wxUSE_TEXTDLG 1
46525 if test "$wxUSE_WIZARDDLG" = "yes"; then
46526 cat >>confdefs.h <<\_ACEOF
46527 #define wxUSE_WIZARDDLG 1
46530 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46534 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46535 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46536 cat >>confdefs.h <<\_ACEOF
46537 #define wxUSE_OWNER_DRAWN 1
46544 if test "$wxUSE_MSW" = 1 ; then
46546 if test "$wxUSE_DC_CACHEING" = "yes"; then
46547 cat >>confdefs.h <<\_ACEOF
46548 #define wxUSE_DC_CACHEING 1
46553 if test "$wxUSE_DIB" = "yes"; then
46554 cat >>confdefs.h <<\_ACEOF
46555 #define wxUSE_WXDIB 1
46560 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46561 cat >>confdefs.h <<\_ACEOF
46562 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46567 if test "$wxUSE_UXTHEME" = "yes"; then
46568 cat >>confdefs.h <<\_ACEOF
46569 #define wxUSE_UXTHEME 1
46576 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46577 cat >>confdefs.h <<\_ACEOF
46578 #define wxUSE_AUTOID_MANAGEMENT 1
46583 if test "$USE_WIN32" = 1 ; then
46584 if test "$wxUSE_INICONF" = "yes"; then
46585 cat >>confdefs.h <<\_ACEOF
46586 #define wxUSE_INICONF 1
46591 if test "$wxUSE_REGKEY" = "yes"; then
46592 cat >>confdefs.h <<\_ACEOF
46593 #define wxUSE_REGKEY 1
46600 if test "$wxUSE_MAC" = 1; then
46601 wxUSE_GRAPHICS_CONTEXT="yes"
46604 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46605 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46606 cat >>confdefs.h <<\_ACEOF
46607 #define wxUSE_GRAPHICS_CONTEXT 1
46610 elif test "$wxUSE_GTK" != 1; then
46611 cat >>confdefs.h <<\_ACEOF
46612 #define wxUSE_GRAPHICS_CONTEXT 1
46618 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46619 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46621 if test -n "$PKG_CONFIG"; then
46622 if test -n "$CAIRO_CFLAGS"; then
46623 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46625 if test -n "$PKG_CONFIG" && \
46626 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46627 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46630 (exit $ac_status); }; then
46631 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46639 if test -n "$PKG_CONFIG"; then
46640 if test -n "$CAIRO_LIBS"; then
46641 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46643 if test -n "$PKG_CONFIG" && \
46644 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46645 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46648 (exit $ac_status); }; then
46649 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46660 if test $pkg_failed = yes; then
46662 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46663 _pkg_short_errors_supported=yes
46665 _pkg_short_errors_supported=no
46667 if test $_pkg_short_errors_supported = yes; then
46668 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46670 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46672 # Put the nasty error message in config.log where it belongs
46673 echo "$CAIRO_PKG_ERRORS" >&5
46675 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46676 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46678 elif test $pkg_failed = untried; then
46679 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46680 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46683 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46684 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46685 { echo "$as_me:$LINENO: result: yes" >&5
46686 echo "${ECHO_T}yes" >&6; }
46687 cat >>confdefs.h <<\_ACEOF
46688 #define wxUSE_GRAPHICS_CONTEXT 1
46698 if test "$wxUSE_MEDIACTRL" = "yes"; then
46701 if test "$wxUSE_GTK" = 1; then
46702 wxUSE_GSTREAMER="no"
46704 GST_VERSION_MAJOR=0
46705 GST_VERSION_MINOR=10
46706 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46708 if test "$wxUSE_GSTREAMER8" = "no"; then
46711 { echo "$as_me:$LINENO: checking for GST" >&5
46712 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46714 if test -n "$PKG_CONFIG"; then
46715 if test -n "$GST_CFLAGS"; then
46716 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46718 if test -n "$PKG_CONFIG" && \
46719 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46720 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46723 (exit $ac_status); }; then
46724 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46732 if test -n "$PKG_CONFIG"; then
46733 if test -n "$GST_LIBS"; then
46734 pkg_cv_GST_LIBS="$GST_LIBS"
46736 if test -n "$PKG_CONFIG" && \
46737 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46738 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46741 (exit $ac_status); }; then
46742 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46753 if test $pkg_failed = yes; then
46755 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46756 _pkg_short_errors_supported=yes
46758 _pkg_short_errors_supported=no
46760 if test $_pkg_short_errors_supported = yes; then
46761 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46763 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46765 # Put the nasty error message in config.log where it belongs
46766 echo "$GST_PKG_ERRORS" >&5
46769 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46770 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46771 GST_VERSION_MINOR=8
46774 elif test $pkg_failed = untried; then
46776 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46777 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46778 GST_VERSION_MINOR=8
46782 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46783 GST_LIBS=$pkg_cv_GST_LIBS
46784 { echo "$as_me:$LINENO: result: yes" >&5
46785 echo "${ECHO_T}yes" >&6; }
46787 wxUSE_GSTREAMER="yes"
46788 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46792 GST_VERSION_MINOR=8
46795 if test $GST_VERSION_MINOR = "8"; then
46796 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46799 { echo "$as_me:$LINENO: checking for GST" >&5
46800 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46802 if test -n "$PKG_CONFIG"; then
46803 if test -n "$GST_CFLAGS"; then
46804 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46806 if test -n "$PKG_CONFIG" && \
46807 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46808 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46811 (exit $ac_status); }; then
46812 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46820 if test -n "$PKG_CONFIG"; then
46821 if test -n "$GST_LIBS"; then
46822 pkg_cv_GST_LIBS="$GST_LIBS"
46824 if test -n "$PKG_CONFIG" && \
46825 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46826 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46829 (exit $ac_status); }; then
46830 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46841 if test $pkg_failed = yes; then
46843 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46844 _pkg_short_errors_supported=yes
46846 _pkg_short_errors_supported=no
46848 if test $_pkg_short_errors_supported = yes; then
46849 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46851 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46853 # Put the nasty error message in config.log where it belongs
46854 echo "$GST_PKG_ERRORS" >&5
46857 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46858 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46860 elif test $pkg_failed = untried; then
46862 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46863 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46866 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46867 GST_LIBS=$pkg_cv_GST_LIBS
46868 { echo "$as_me:$LINENO: result: yes" >&5
46869 echo "${ECHO_T}yes" >&6; }
46870 wxUSE_GSTREAMER="yes"
46875 if test "$wxUSE_GSTREAMER" = "yes"; then
46876 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46877 EXTRALIBS_MEDIA="$GST_LIBS"
46879 cat >>confdefs.h <<\_ACEOF
46880 #define wxUSE_GSTREAMER 1
46888 if test $USE_MEDIA = 1; then
46889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46890 cat >>confdefs.h <<\_ACEOF
46891 #define wxUSE_MEDIACTRL 1
46898 if test "$cross_compiling" = "yes"; then
46901 OSINFO=`uname
-s -r -m`
46902 OSINFO="\"$OSINFO\""
46905 cat >>confdefs.h <<_ACEOF
46906 #define WXWIN_OS_DESCRIPTION $OSINFO
46911 if test "x$prefix" != "xNONE"; then
46914 wxPREFIX=$ac_default_prefix
46917 cat >>confdefs.h <<_ACEOF
46918 #define wxINSTALL_PREFIX "$wxPREFIX"
46924 STD_BASE_LIBS="base"
46926 BUILT_WX_LIBS="base"
46927 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46929 if test "$wxUSE_SOCKETS" = "yes" ; then
46930 STD_BASE_LIBS="net $STD_BASE_LIBS"
46931 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46933 if test "$wxUSE_XML" = "yes" ; then
46934 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46935 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46938 if test "$wxUSE_GUI" = "yes"; then
46939 STD_GUI_LIBS="adv core"
46940 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46942 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46943 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46944 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46946 if test "$wxUSE_HTML" = "yes" ; then
46947 STD_GUI_LIBS="html $STD_GUI_LIBS"
46948 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46950 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46951 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46953 if test "$wxUSE_OPENGL" = "yes" ; then
46954 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46956 if test "$wxUSE_AUI" = "yes" ; then
46957 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46959 if test "$wxUSE_PROPGRID" = "yes" ; then
46960 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
46962 if test "$wxUSE_STC" = "yes" ; then
46963 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46965 if test "$wxUSE_XRC" = "yes" ; then
46966 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46967 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46978 if test "$wxUSE_MAC" = 1 ; then
46979 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46980 if test "$USE_DARWIN" = 1; then
46981 LDFLAGS="$LDFLAGS -framework QuickTime"
46984 if test "$USE_DARWIN" = 1; then
46985 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System"
46988 if test "$wxUSE_COCOA" = 1 ; then
46989 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46990 if test "$wxUSE_MEDIACTRL" = "yes"; then
46991 LDFLAGS="$LDFLAGS -framework QuickTime"
46994 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46995 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46998 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47000 if test "$wxUSE_GUI" = "yes"; then
47003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47004 erase event exec font image minimal mobile \
47005 mobile/wxedit mobile/styles render \
47006 shaped svg taborder vscroll widgets"
47008 if test "$wxUSE_MONOLITHIC" != "yes"; then
47009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47011 if test "$TOOLKIT" = "MSW"; then
47012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47013 if test "$wxUSE_UNIVERSAL" != "yes"; then
47014 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47017 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47021 SAMPLES_SUBDIRS="console"
47022 if test "$wxUSE_SOCKETS" = "yes" ; then
47023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47025 if test "$wxUSE_IPC" = "yes" ; then
47026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47031 if test "x$INTELCC" = "xyes" ; then
47032 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47033 elif test "$GCC" = yes ; then
47034 CWARNINGS="-Wall -Wundef"
47037 if test "x$INTELCXX" = "xyes" ; then
47038 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47039 elif test "$GXX" = yes ; then
47040 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47044 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47045 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47048 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47049 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
47050 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
47053 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47054 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47055 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47056 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47057 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47059 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47062 if test "x$MWCC" = "xyes"; then
47064 CC="$CC -cwd source -I-"
47065 CXX="$CXX -cwd source -I-"
47070 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47071 EXTRALIBS_XML="$EXPAT_LINK"
47072 EXTRALIBS_HTML="$MSPACK_LINK"
47073 EXTRALIBS_MEDIA="$GST_LIBS"
47074 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47075 if test "$wxUSE_GUI" = "yes"; then
47076 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47078 if test "$wxUSE_OPENGL" = "yes"; then
47079 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47082 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47084 WXCONFIG_LIBS="$LIBS"
47086 if test "$wxUSE_REGEX" = "builtin" ; then
47087 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47089 if test "$wxUSE_EXPAT" = "builtin" ; then
47090 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47092 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47093 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47095 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47096 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47098 if test "$wxUSE_LIBPNG" = "builtin" ; then
47099 wxconfig_3rdparty="png $wxconfig_3rdparty"
47101 if test "$wxUSE_ZLIB" = "builtin" ; then
47102 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47105 for i in $wxconfig_3rdparty ; do
47106 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47110 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47113 case "$wxUNIV_THEMES" in
47115 cat >>confdefs.h <<\_ACEOF
47116 #define wxUSE_ALL_THEMES 1
47122 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47123 cat >>confdefs.h <<_ACEOF
47124 #define wxUSE_THEME_$t 1
47140 if test $wxUSE_MONOLITHIC = "yes" ; then
47146 if test $wxUSE_PLUGINS = "yes" ; then
47152 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47158 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47191 if test "$TOOLKIT" = "MAC"; then
47192 TOOLKIT_LOWERCASE=osx
47194 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47206 TOOLKIT_DESC="GTK+"
47207 if test "$WXGTK2" = 1; then
47208 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47209 if test "$wxUSE_GTKPRINT" = "yes" ; then
47210 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47212 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47213 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47215 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47216 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47218 if test "$wxUSE_LIBHILDON" = "yes"; then
47219 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47222 if test "$TOOLKIT_EXTRA" != ""; then
47223 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47229 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47233 TOOLKIT_DESC="base only"
47237 if test "$wxUSE_WINE" = "yes"; then
47238 BAKEFILE_FORCE_PLATFORM=win32
47241 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47243 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47244 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47245 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47246 echo $ECHO_N "(cached) $ECHO_C" >&6
47249 echo '#include <stdio.h>
47250 const wchar_t test_var[] = L"awidetest";' > conftest.h
47252 echo '#include "conftest.h"
47255 printf("%ls", test_var);
47259 wx_cv_gcc_pch_bug="pch not supported"
47261 if $CXX conftest.h >/dev/null 2>&1
47265 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47267 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47268 grep awidetest >/dev/null
47270 wx_cv_gcc_pch_bug=no
47272 wx_cv_gcc_pch_bug=yes
47277 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47280 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47281 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47283 if test "$wx_cv_gcc_pch_bug" = yes; then
47294 if test "x$BAKEFILE_HOST" = "x"; then
47295 if test "x${host}" = "x" ; then
47296 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47297 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47298 { (exit 1); exit 1; }; }
47301 BAKEFILE_HOST="${host}"
47304 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47306 if test -n "$ac_tool_prefix"; then
47307 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47308 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47311 if test "${ac_cv_prog_RANLIB+set}" = set; then
47312 echo $ECHO_N "(cached) $ECHO_C" >&6
47314 if test -n "$RANLIB"; then
47315 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47318 for as_dir in $PATH
47321 test -z "$as_dir" && as_dir=.
47322 for ac_exec_ext in '' $ac_executable_extensions; do
47323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47324 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47334 RANLIB=$ac_cv_prog_RANLIB
47335 if test -n "$RANLIB"; then
47336 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47337 echo "${ECHO_T}$RANLIB" >&6; }
47339 { echo "$as_me:$LINENO: result: no" >&5
47340 echo "${ECHO_T}no" >&6; }
47345 if test -z "$ac_cv_prog_RANLIB"; then
47346 ac_ct_RANLIB=$RANLIB
47347 # Extract the first word of "ranlib", so it can be a program name with args.
47348 set dummy ranlib; ac_word=$2
47349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47351 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47352 echo $ECHO_N "(cached) $ECHO_C" >&6
47354 if test -n "$ac_ct_RANLIB"; then
47355 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47358 for as_dir in $PATH
47361 test -z "$as_dir" && as_dir=.
47362 for ac_exec_ext in '' $ac_executable_extensions; do
47363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47364 ac_cv_prog_ac_ct_RANLIB="ranlib"
47365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47374 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47375 if test -n "$ac_ct_RANLIB"; then
47376 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47377 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47379 { echo "$as_me:$LINENO: result: no" >&5
47380 echo "${ECHO_T}no" >&6; }
47383 if test "x$ac_ct_RANLIB" = x; then
47386 case $cross_compiling:$ac_tool_warned in
47388 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47389 whose name does not start with the host triplet. If you think this
47390 configuration is useful to you, please write to autoconf@gnu.org." >&5
47391 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47392 whose name does not start with the host triplet. If you think this
47393 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47394 ac_tool_warned=yes ;;
47396 RANLIB=$ac_ct_RANLIB
47399 RANLIB="$ac_cv_prog_RANLIB"
47402 # Find a good install program. We prefer a C program (faster),
47403 # so one script is as good as another. But avoid the broken or
47404 # incompatible versions:
47405 # SysV /etc/install, /usr/sbin/install
47406 # SunOS /usr/etc/install
47407 # IRIX /sbin/install
47409 # AmigaOS /C/install, which installs bootblocks on floppy discs
47410 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47411 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47412 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47413 # OS/2's system install, which has a completely different semantic
47414 # ./install, which can be erroneously created by make from ./install.sh.
47415 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47416 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47417 if test -z "$INSTALL"; then
47418 if test "${ac_cv_path_install+set}" = set; then
47419 echo $ECHO_N "(cached) $ECHO_C" >&6
47421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47422 for as_dir in $PATH
47425 test -z "$as_dir" && as_dir=.
47426 # Account for people who put trailing slashes in PATH elements.
47428 ./ | .// | /cC/* | \
47429 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47430 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47433 # OSF1 and SCO ODT 3.0 have their own names for install.
47434 # Don't use installbsd from OSF since it installs stuff as root
47436 for ac_prog in ginstall scoinst install; do
47437 for ac_exec_ext in '' $ac_executable_extensions; do
47438 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47439 if test $ac_prog = install &&
47440 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47441 # AIX install. It has an incompatible calling convention.
47443 elif test $ac_prog = install &&
47444 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47445 # program-specific install script used by HP pwplus--don't use.
47448 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47461 if test "${ac_cv_path_install+set}" = set; then
47462 INSTALL=$ac_cv_path_install
47464 # As a last resort, use the slow shell script. Don't cache a
47465 # value for INSTALL within a source directory, because that will
47466 # break other packages using the cache if that directory is
47467 # removed, or if the value is a relative name.
47468 INSTALL=$ac_install_sh
47471 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47472 echo "${ECHO_T}$INSTALL" >&6; }
47474 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47475 # It thinks the first close brace ends the variable substitution.
47476 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47478 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47480 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47482 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47483 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47485 if test "$LN_S" = "ln -s"; then
47486 { echo "$as_me:$LINENO: result: yes" >&5
47487 echo "${ECHO_T}yes" >&6; }
47489 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47490 echo "${ECHO_T}no, using $LN_S" >&6; }
47494 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47495 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47496 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47497 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47498 echo $ECHO_N "(cached) $ECHO_C" >&6
47500 cat >conftest.make <<\_ACEOF
47503 @echo '@@@%%%=$(MAKE)=@@@%%%'
47505 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47506 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
47507 *@@@%%%=?*=@@@%%%*)
47508 eval ac_cv_prog_make_${ac_make}_set=yes;;
47510 eval ac_cv_prog_make_${ac_make}_set=no;;
47512 rm -f conftest.make
47514 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47515 { echo "$as_me:$LINENO: result: yes" >&5
47516 echo "${ECHO_T}yes" >&6; }
47519 { echo "$as_me:$LINENO: result: no" >&5
47520 echo "${ECHO_T}no" >&6; }
47521 SET_MAKE="MAKE=${MAKE-make}"
47526 if test "x$SUNCXX" = "xyes"; then
47528 AROPTIONS="-xar -o"
47530 elif test "x$SGICC" = "xyes"; then
47535 if test -n "$ac_tool_prefix"; then
47536 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47537 set dummy ${ac_tool_prefix}ar; ac_word=$2
47538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47540 if test "${ac_cv_prog_AR+set}" = set; then
47541 echo $ECHO_N "(cached) $ECHO_C" >&6
47543 if test -n "$AR"; then
47544 ac_cv_prog_AR="$AR" # Let the user override the test.
47546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47547 for as_dir in $PATH
47550 test -z "$as_dir" && as_dir=.
47551 for ac_exec_ext in '' $ac_executable_extensions; do
47552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47553 ac_cv_prog_AR="${ac_tool_prefix}ar"
47554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47564 if test -n "$AR"; then
47565 { echo "$as_me:$LINENO: result: $AR" >&5
47566 echo "${ECHO_T}$AR" >&6; }
47568 { echo "$as_me:$LINENO: result: no" >&5
47569 echo "${ECHO_T}no" >&6; }
47574 if test -z "$ac_cv_prog_AR"; then
47576 # Extract the first word of "ar", so it can be a program name with args.
47577 set dummy ar; ac_word=$2
47578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47580 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47581 echo $ECHO_N "(cached) $ECHO_C" >&6
47583 if test -n "$ac_ct_AR"; then
47584 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47587 for as_dir in $PATH
47590 test -z "$as_dir" && as_dir=.
47591 for ac_exec_ext in '' $ac_executable_extensions; do
47592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47593 ac_cv_prog_ac_ct_AR="ar"
47594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47603 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47604 if test -n "$ac_ct_AR"; then
47605 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47606 echo "${ECHO_T}$ac_ct_AR" >&6; }
47608 { echo "$as_me:$LINENO: result: no" >&5
47609 echo "${ECHO_T}no" >&6; }
47612 if test "x$ac_ct_AR" = x; then
47615 case $cross_compiling:$ac_tool_warned in
47617 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47618 whose name does not start with the host triplet. If you think this
47619 configuration is useful to you, please write to autoconf@gnu.org." >&5
47620 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47621 whose name does not start with the host triplet. If you think this
47622 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47623 ac_tool_warned=yes ;;
47628 AR="$ac_cv_prog_AR"
47635 if test -n "$ac_tool_prefix"; then
47636 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47637 set dummy ${ac_tool_prefix}strip; ac_word=$2
47638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47640 if test "${ac_cv_prog_STRIP+set}" = set; then
47641 echo $ECHO_N "(cached) $ECHO_C" >&6
47643 if test -n "$STRIP"; then
47644 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47647 for as_dir in $PATH
47650 test -z "$as_dir" && as_dir=.
47651 for ac_exec_ext in '' $ac_executable_extensions; do
47652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47653 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47663 STRIP=$ac_cv_prog_STRIP
47664 if test -n "$STRIP"; then
47665 { echo "$as_me:$LINENO: result: $STRIP" >&5
47666 echo "${ECHO_T}$STRIP" >&6; }
47668 { echo "$as_me:$LINENO: result: no" >&5
47669 echo "${ECHO_T}no" >&6; }
47674 if test -z "$ac_cv_prog_STRIP"; then
47676 # Extract the first word of "strip", so it can be a program name with args.
47677 set dummy strip; ac_word=$2
47678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47680 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47681 echo $ECHO_N "(cached) $ECHO_C" >&6
47683 if test -n "$ac_ct_STRIP"; then
47684 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47687 for as_dir in $PATH
47690 test -z "$as_dir" && as_dir=.
47691 for ac_exec_ext in '' $ac_executable_extensions; do
47692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47693 ac_cv_prog_ac_ct_STRIP="strip"
47694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47703 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47704 if test -n "$ac_ct_STRIP"; then
47705 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47706 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47708 { echo "$as_me:$LINENO: result: no" >&5
47709 echo "${ECHO_T}no" >&6; }
47712 if test "x$ac_ct_STRIP" = x; then
47715 case $cross_compiling:$ac_tool_warned in
47717 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47718 whose name does not start with the host triplet. If you think this
47719 configuration is useful to you, please write to autoconf@gnu.org." >&5
47720 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47721 whose name does not start with the host triplet. If you think this
47722 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47723 ac_tool_warned=yes ;;
47728 STRIP="$ac_cv_prog_STRIP"
47731 if test -n "$ac_tool_prefix"; then
47732 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47733 set dummy ${ac_tool_prefix}nm; ac_word=$2
47734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47736 if test "${ac_cv_prog_NM+set}" = set; then
47737 echo $ECHO_N "(cached) $ECHO_C" >&6
47739 if test -n "$NM"; then
47740 ac_cv_prog_NM="$NM" # Let the user override the test.
47742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47743 for as_dir in $PATH
47746 test -z "$as_dir" && as_dir=.
47747 for ac_exec_ext in '' $ac_executable_extensions; do
47748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47749 ac_cv_prog_NM="${ac_tool_prefix}nm"
47750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47760 if test -n "$NM"; then
47761 { echo "$as_me:$LINENO: result: $NM" >&5
47762 echo "${ECHO_T}$NM" >&6; }
47764 { echo "$as_me:$LINENO: result: no" >&5
47765 echo "${ECHO_T}no" >&6; }
47770 if test -z "$ac_cv_prog_NM"; then
47772 # Extract the first word of "nm", so it can be a program name with args.
47773 set dummy nm; ac_word=$2
47774 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47776 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47777 echo $ECHO_N "(cached) $ECHO_C" >&6
47779 if test -n "$ac_ct_NM"; then
47780 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47783 for as_dir in $PATH
47786 test -z "$as_dir" && as_dir=.
47787 for ac_exec_ext in '' $ac_executable_extensions; do
47788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47789 ac_cv_prog_ac_ct_NM="nm"
47790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47799 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47800 if test -n "$ac_ct_NM"; then
47801 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47802 echo "${ECHO_T}$ac_ct_NM" >&6; }
47804 { echo "$as_me:$LINENO: result: no" >&5
47805 echo "${ECHO_T}no" >&6; }
47808 if test "x$ac_ct_NM" = x; then
47811 case $cross_compiling:$ac_tool_warned in
47813 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47814 whose name does not start with the host triplet. If you think this
47815 configuration is useful to you, please write to autoconf@gnu.org." >&5
47816 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47817 whose name does not start with the host triplet. If you think this
47818 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47819 ac_tool_warned=yes ;;
47824 NM="$ac_cv_prog_NM"
47828 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47829 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47830 INSTALL_TEST_DIR=acbftest$$
47831 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47832 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47833 rmdir $INSTALL_TEST_DIR
47834 INSTALL_DIR='$(INSTALL) -d'
47835 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47836 echo "${ECHO_T}$INSTALL -d" >&6; }
47838 INSTALL_DIR="mkdir -p"
47839 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47840 echo "${ECHO_T}mkdir -p" >&6; }
47845 case ${BAKEFILE_HOST} in
47846 *-*-cygwin* | *-*-mingw32* )
47847 LDFLAGS_GUI="-mwindows"
47853 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47854 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47855 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47856 echo $ECHO_N "(cached) $ECHO_C" >&6
47859 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47860 egrep -s GNU > /dev/null); then
47861 bakefile_cv_prog_makeisgnu="yes"
47863 bakefile_cv_prog_makeisgnu="no"
47867 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47868 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47870 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47887 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47888 case "${BAKEFILE_HOST}" in
47895 *-pc-os2_emx | *-pc-os2-emx )
47905 powerpc-apple-macos* )
47914 case "$BAKEFILE_FORCE_PLATFORM" in
47949 # Check whether --enable-omf was given.
47950 if test "${enable_omf+set}" = set; then
47951 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47955 case "${BAKEFILE_HOST}" in
47957 if test "x$GCC" = "xyes"; then
47958 CFLAGS="$CFLAGS -fno-common"
47959 CXXFLAGS="$CXXFLAGS -fno-common"
47961 if test "x$XLCC" = "xyes"; then
47962 CFLAGS="$CFLAGS -qnocommon"
47963 CXXFLAGS="$CXXFLAGS -qnocommon"
47967 *-pc-os2_emx | *-pc-os2-emx )
47968 if test "x$bk_os2_use_omf" = "xyes" ; then
47971 LDFLAGS="-Zomf $LDFLAGS"
47972 CFLAGS="-Zomf $CFLAGS"
47973 CXXFLAGS="-Zomf $CXXFLAGS"
47981 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47987 SO_SUFFIX_MODULE="so"
47992 DLLPREFIX_MODULE=""
47996 case "${BAKEFILE_HOST}" in
47999 SO_SUFFIX_MODULE="sl"
48003 SO_SUFFIX_MODULE="a"
48007 SO_SUFFIX_MODULE="dll"
48008 DLLIMP_SUFFIX="dll.a"
48015 SO_SUFFIX_MODULE="dll"
48016 DLLIMP_SUFFIX="dll.a"
48026 *-pc-os2_emx | *-pc-os2-emx )
48028 SO_SUFFIX_MODULE="dll"
48029 DLLIMP_SUFFIX=$OS2_LIBEXT
48033 LIBEXT=".$OS2_LIBEXT"
48038 SO_SUFFIX_MODULE="bundle"
48042 if test "x$DLLIMP_SUFFIX" = "x" ; then
48043 DLLIMP_SUFFIX="$SO_SUFFIX"
48058 if test "x$GCC" = "xyes"; then
48062 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48063 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48066 case "${BAKEFILE_HOST}" in
48068 if test "x$GCC" != "xyes"; then
48069 LDFLAGS="$LDFLAGS -L/usr/lib"
48071 SHARED_LD_CC="${CC} -b -o"
48072 SHARED_LD_CXX="${CXX} -b -o"
48078 if test "$INTELCC" = "yes"; then
48080 elif test "x$SUNCXX" = "xyes"; then
48081 SHARED_LD_CC="${CC} -G -o"
48082 SHARED_LD_CXX="${CXX} -G -o"
48088 if test "x$SUNCXX" = xyes ; then
48089 SHARED_LD_CC="${CC} -G -o"
48090 SHARED_LD_CXX="${CXX} -G -o"
48098 cat <<EOF >shared-ld-sh
48100 #-----------------------------------------------------------------------------
48101 #-- Name: distrib/mac/shared-ld-sh
48102 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48103 #-- Author: Gilles Depeyrot
48104 #-- Copyright: (c) 2002 Gilles Depeyrot
48105 #-- Licence: any use permitted
48106 #-----------------------------------------------------------------------------
48111 linking_flag="-dynamiclib"
48112 ldargs="-r -keep_private_externs -nostdlib"
48114 if test "x${D}CXX" = "x"; then
48118 while test ${D}# -gt 0; do
48125 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48126 # collect these options and values
48127 args="${D}{args} ${D}1 ${D}2"
48132 # collect these options and values
48133 ldargs="${D}{ldargs} ${D}1 ${D}2"
48138 # collect these load args
48139 ldargs="${D}{ldargs} ${D}1"
48142 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48143 # collect these options
48144 args="${D}{args} ${D}1"
48147 -dynamiclib|-bundle)
48148 linking_flag="${D}1"
48152 echo "shared-ld: unhandled option '${D}1'"
48156 *.o | *.a | *.dylib)
48157 # collect object files
48158 objects="${D}{objects} ${D}1"
48162 echo "shared-ld: unhandled argument '${D}1'"
48173 # Link one module containing all the others
48175 if test ${D}{verbose} = 1; then
48176 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48178 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48182 # Link the shared library from the single module created, but only if the
48183 # previous command didn't fail:
48185 if test ${D}{status} = 0; then
48186 if test ${D}{verbose} = 1; then
48187 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48189 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48194 # Remove intermediate module
48196 rm -f master.${D}${D}.o
48201 chmod +x shared-ld-sh
48203 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48204 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48207 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48208 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48209 if test "${bakefile_cv_gcc31+set}" = set; then
48210 echo $ECHO_N "(cached) $ECHO_C" >&6
48213 cat >conftest.$ac_ext <<_ACEOF
48216 cat confdefs.h >>conftest.$ac_ext
48217 cat >>conftest.$ac_ext <<_ACEOF
48218 /* end confdefs.h. */
48224 #if (__GNUC__ < 3) || \
48225 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48233 rm -f conftest.$ac_objext
48234 if { (ac_try="$ac_compile"
48235 case "(($ac_try" in
48236 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48237 *) ac_try_echo
=$ac_try;;
48239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48240 (eval "$ac_compile") 2>conftest.er1
48242 grep -v '^ *+' conftest.er1
>conftest.err
48244 cat conftest.err
>&5
48245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48246 (exit $ac_status); } && {
48247 test -z "$ac_c_werror_flag" ||
48248 test ! -s conftest.err
48249 } && test -s conftest.
$ac_objext; then
48251 bakefile_cv_gcc31
=yes
48254 echo "$as_me: failed program was:" >&5
48255 sed 's/^/| /' conftest.
$ac_ext >&5
48258 bakefile_cv_gcc31
=no
48263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48266 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48267 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48268 if test "$bakefile_cv_gcc31" = "no"; then
48269 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48270 SHARED_LD_CXX
="$SHARED_LD_CC"
48272 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48273 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48276 if test "x$GCC" == "xyes"; then
48277 PIC_FLAG
="-dynamic -fPIC"
48279 if test "x$XLCC" = "xyes"; then
48280 PIC_FLAG
="-dynamic -DPIC"
48285 if test "x$GCC" = "xyes"; then
48288 case "${BAKEFILE_HOST}" in
48290 LD_EXPFULL
="-Wl,-bexpfull"
48294 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
48295 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
48297 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48298 set dummy makeC
++SharedLib
; ac_word
=$2
48299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48301 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48302 echo $ECHO_N "(cached) $ECHO_C" >&6
48304 if test -n "$AIX_CXX_LD"; then
48305 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
48307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48308 for as_dir
in $PATH
48311 test -z "$as_dir" && as_dir
=.
48312 for ac_exec_ext
in '' $ac_executable_extensions; do
48313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48314 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
48315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48322 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
48325 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
48326 if test -n "$AIX_CXX_LD"; then
48327 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48328 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48330 { echo "$as_me:$LINENO: result: no" >&5
48331 echo "${ECHO_T}no" >&6; }
48335 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
48336 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
48341 SHARED_LD_CC
="${LD} -nostart -o"
48342 SHARED_LD_CXX
="${LD} -nostart -o"
48346 if test "x$GCC" != "xyes"; then
48351 *-*-cygwin* | *-*-mingw32* )
48353 SHARED_LD_CC
="\$(CC) -shared -o"
48354 SHARED_LD_CXX
="\$(CXX) -shared -o"
48358 *-pc-os2_emx | *-pc-os2-emx )
48359 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48360 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48364 cat <<EOF >dllar.sh
48367 # dllar - a tool to build both a .dll and an .a file
48368 # from a set of object (.o) files for EMX/OS2.
48370 # Written by Andrew Zabolotny, bit@freya.etu.ru
48371 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48373 # This script will accept a set of files on the command line.
48374 # All the public symbols from the .o files will be exported into
48375 # a .DEF file, then linker will be run (through gcc) against them to
48376 # build a shared library consisting of all given .o files. All libraries
48377 # (.a) will be first decompressed into component .o files then act as
48378 # described above. You can optionally give a description (-d "description")
48379 # which will be put into .DLL. To see the list of accepted options (as well
48380 # as command-line format) simply run this program without options. The .DLL
48381 # is built to be imported by name (there is no guarantee that new versions
48382 # of the library you build will have same ordinals for same symbols).
48384 # dllar is free software; you can redistribute it and/or modify
48385 # it under the terms of the GNU General Public License as published by
48386 # the Free Software Foundation; either version 2, or (at your option)
48387 # any later version.
48389 # dllar is distributed in the hope that it will be useful,
48390 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48391 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48392 # GNU General Public License for more details.
48394 # You should have received a copy of the GNU General Public License
48395 # along with dllar; see the file COPYING. If not, write to the Free
48396 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48399 # To successfuly run this program you will need:
48400 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48401 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48403 # (used to build the .dll)
48405 # (used to create .def file from .o files)
48407 # (used to create .a file from .def file)
48408 # - GNU text utilites (cat, sort, uniq)
48409 # used to process emxexp output
48410 # - GNU file utilities (mv, rm)
48412 # - lxlite (optional, see flag below)
48413 # (used for general .dll cleanup)
48420 # basnam, variant of basename, which does _not_ remove the path, _iff_
48421 # second argument (suffix to remove) is given
48425 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48428 echo ${D}1 | sed 's/'${D}2'${D}//'
48431 echo "error in basnam ${D}*"
48437 # Cleanup temporary files and output
48440 for i in ${D}inputFiles ; do
48443 rm -rf \`basnam ${D}i !\`
48450 # Kill result in case of failure as there is just to many stupid make/nmake
48451 # things out there which doesn't do this.
48452 if [ ${D}# -eq 0 ]; then
48453 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48457 # Print usage and exit script with rc=1.
48459 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48460 echo ' [-name-mangler-script script.sh]'
48461 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48462 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48463 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48464 echo ' [*.o] [*.a]'
48465 echo '*> "output_file" should have no extension.'
48466 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48467 echo ' The import library name is derived from this and is set to "name".a,'
48468 echo ' unless overridden by -import'
48469 echo '*> "importlib_name" should have no extension.'
48470 echo ' If it has the .o, or .a extension, it is automatically removed.'
48471 echo ' This name is used as the import library name and may be longer and'
48472 echo ' more descriptive than the DLL name which has to follow the old '
48473 echo ' 8.3 convention of FAT.'
48474 echo '*> "script.sh may be given to override the output_file name by a'
48475 echo ' different name. It is mainly useful if the regular make process'
48476 echo ' of some package does not take into account OS/2 restriction of'
48477 echo ' DLL name lengths. It takes the importlib name as input and is'
48478 echo ' supposed to procude a shorter name as output. The script should'
48479 echo ' expect to get importlib_name without extension and should produce'
48480 echo ' a (max.) 8 letter name without extension.'
48481 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48482 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48483 echo ' These flags will be put at the start of GCC command line.'
48484 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48485 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48486 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48487 echo ' If the last character of a symbol is "*", all symbols beginning'
48488 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48489 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48490 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48491 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48492 echo ' C runtime DLLs.'
48493 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48494 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48495 echo ' unchanged to GCC at the end of command line.'
48496 echo '*> If you create a DLL from a library and you do not specify -o,'
48497 echo ' the basename for DLL and import library will be set to library name,'
48498 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48499 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48500 echo ' library will be renamed into gcc_s.a.'
48503 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48504 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48509 # Execute a command.
48510 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48511 # @Uses Whatever CleanUp() uses.
48517 if [ ${D}rcCmd -ne 0 ]; then
48518 echo "command failed, exit code="${D}rcCmd
48533 CFLAGS="-s -Zcrtdll"
48535 EXPORT_BY_ORDINALS=0
48540 case ${D}curDirS in
48544 curDirS=${D}{curDirS}"/"
48547 # Parse commandline
48550 while [ ${D}1 ]; do
48553 EXPORT_BY_ORDINALS=1;
48563 -name-mangler-script)
48584 exclude_symbols=${D}{exclude_symbols}${D}1" "
48588 library_flags=${D}{library_flags}${D}1" "
48607 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48610 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48611 if [ ${D}omfLinking -eq 1 ]; then
48612 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48614 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48619 if [ ${D}libsToLink -ne 0 ]; then
48620 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48622 for file in ${D}1 ; do
48623 if [ -f ${D}file ]; then
48624 inputFiles="${D}{inputFiles} ${D}file"
48628 if [ ${D}found -eq 0 ]; then
48629 echo "ERROR: No file(s) found: "${D}1
48636 done # iterate cmdline words
48639 if [ -z "${D}inputFiles" ]; then
48640 echo "dllar: no input files"
48644 # Now extract all .o files from .a files
48646 for file in ${D}inputFiles ; do
48657 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48662 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48664 if [ ${D}? -ne 0 ]; then
48665 echo "Failed to create subdirectory ./${D}dirname"
48669 # Append '!' to indicate archive
48670 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48671 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48674 for subfile in ${D}dirname/*.o* ; do
48675 if [ -f ${D}subfile ]; then
48677 if [ -s ${D}subfile ]; then
48678 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48679 newInputFiles="${D}newInputFiles ${D}subfile"
48683 if [ ${D}found -eq 0 ]; then
48684 echo "WARNING: there are no files in archive \\'${D}file\\'"
48688 newInputFiles="${D}{newInputFiles} ${D}file"
48692 inputFiles="${D}newInputFiles"
48694 # Output filename(s).
48696 if [ -z ${D}outFile ]; then
48698 set outFile ${D}inputFiles; outFile=${D}2
48701 # If it is an archive, remove the '!' and the '_%' suffixes
48702 case ${D}outFile in
48704 outFile=\`basnam ${D}outFile _%!\`
48709 case ${D}outFile in
48711 outFile=\`basnam ${D}outFile .dll\`
48714 outFile=\`basnam ${D}outFile .DLL\`
48717 outFile=\`basnam ${D}outFile .o\`
48720 outFile=\`basnam ${D}outFile .obj\`
48723 outFile=\`basnam ${D}outFile .a\`
48726 outFile=\`basnam ${D}outFile .lib\`
48731 case ${D}outimpFile in
48733 outimpFile=\`basnam ${D}outimpFile .a\`
48736 outimpFile=\`basnam ${D}outimpFile .lib\`
48741 if [ -z ${D}outimpFile ]; then
48742 outimpFile=${D}outFile
48744 defFile="${D}{outFile}.def"
48745 arcFile="${D}{outimpFile}.a"
48746 arcFile2="${D}{outimpFile}.lib"
48748 #create ${D}dllFile as something matching 8.3 restrictions,
48749 if [ -z ${D}renameScript ] ; then
48750 dllFile="${D}outFile"
48752 dllFile=\`${D}renameScript ${D}outimpFile\`
48755 if [ ${D}do_backup -ne 0 ] ; then
48756 if [ -f ${D}arcFile ] ; then
48757 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48759 if [ -f ${D}arcFile2 ] ; then
48760 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48764 # Extract public symbols from all the object files.
48765 tmpdefFile=${D}{defFile}_%
48766 rm -f ${D}tmpdefFile
48767 for file in ${D}inputFiles ; do
48772 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48777 # Create the def file.
48779 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48780 dllFile="${D}{dllFile}.dll"
48781 if [ ! -z ${D}description ]; then
48782 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48784 echo "EXPORTS" >> ${D}defFile
48786 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48787 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48789 # Checks if the export is ok or not.
48790 for word in ${D}exclude_symbols; do
48791 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48792 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48796 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48797 sed "=" < ${D}tmpdefFile | \\
48801 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48803 ' > ${D}{tmpdefFile}%
48804 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48806 rm -f ${D}{tmpdefFile}%
48808 cat ${D}tmpdefFile >> ${D}defFile
48809 rm -f ${D}tmpdefFile
48811 # Do linking, create implib, and apply lxlite.
48813 for file in ${D}inputFiles ; do
48818 gccCmdl="${D}gccCmdl ${D}file"
48822 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48823 touch "${D}{outFile}.dll"
48825 doCommand "emximp -o ${D}arcFile ${D}defFile"
48826 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48828 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48831 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48833 doCommand "emxomf -s -l ${D}arcFile"
48843 powerpc
-apple-macos* | \
48844 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48854 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48855 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48856 { (exit 1); exit 1; }; }
48859 if test "x$PIC_FLAG" != "x" ; then
48860 PIC_FLAG
="$PIC_FLAG -DPIC"
48863 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48864 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48866 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48867 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48886 case "${BAKEFILE_HOST}" in
48887 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48888 *-*-k*bsd
*-gnu | *-*-mirbsd* )
48889 if test "x$SUNCXX" = "xyes"; then
48892 SONAME_FLAG
="-Wl,-soname,"
48927 # Check whether --enable-dependency-tracking was given.
48928 if test "${enable_dependency_tracking+set}" = set; then
48929 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
48933 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48934 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48937 if test "x$bk_use_trackdeps" = "xno" ; then
48939 { echo "$as_me:$LINENO: result: disabled" >&5
48940 echo "${ECHO_T}disabled" >&6; }
48944 if test "x$GCC" = "xyes"; then
48946 case "${BAKEFILE_HOST}" in
48948 DEPSFLAG
="-no-cpp-precomp -MMD"
48954 { echo "$as_me:$LINENO: result: gcc" >&5
48955 echo "${ECHO_T}gcc" >&6; }
48956 elif test "x$MWCC" = "xyes"; then
48959 { echo "$as_me:$LINENO: result: mwcc" >&5
48960 echo "${ECHO_T}mwcc" >&6; }
48961 elif test "x$SUNCC" = "xyes"; then
48964 { echo "$as_me:$LINENO: result: Sun cc" >&5
48965 echo "${ECHO_T}Sun cc" >&6; }
48966 elif test "x$SGICC" = "xyes"; then
48969 { echo "$as_me:$LINENO: result: SGI cc" >&5
48970 echo "${ECHO_T}SGI cc" >&6; }
48971 elif test "x$HPCC" = "xyes"; then
48974 { echo "$as_me:$LINENO: result: HP cc" >&5
48975 echo "${ECHO_T}HP cc" >&6; }
48976 elif test "x$COMPAQCC" = "xyes"; then
48979 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48980 echo "${ECHO_T}Compaq cc" >&6; }
48983 { echo "$as_me:$LINENO: result: none" >&5
48984 echo "${ECHO_T}none" >&6; }
48987 if test $DEPS_TRACKING = 1 ; then
48993 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48994 # script. It is used to track C/C++ files dependencies in portable way.
48996 # Permission is given to use this file in any way.
48998 DEPSMODE=${DEPSMODE}
49000 DEPSFLAG="${DEPSFLAG}"
49002 mkdir -p ${D}DEPSDIR
49004 if test ${D}DEPSMODE = gcc ; then
49005 ${D}* ${D}{DEPSFLAG}
49008 # determine location of created files:
49009 while test ${D}# -gt 0; do
49023 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49024 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49026 # if the compiler failed, we're done:
49027 if test ${D}{status} != 0 ; then
49032 # move created file to the location we want it in:
49033 if test -f ${D}depfile ; then
49034 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49037 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49038 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49039 if test ! -f ${D}depfile ; then
49040 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49041 depfile="${D}objfile.d"
49043 if test -f ${D}depfile ; then
49044 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49049 elif test ${D}DEPSMODE = mwcc ; then
49050 ${D}* || exit ${D}?
49051 # Run mwcc again with -MM and redirect into the dep file we want
49052 # NOTE: We can't use shift here because we need ${D}* to be valid
49054 for arg in ${D}* ; do
49055 if test "${D}prevarg" = "-o"; then
49068 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49070 elif test ${D}DEPSMODE = unixcc; then
49071 ${D}* || exit ${D}?
49072 # Run compiler again with deps flag and redirect into the dep file.
49073 # It doesn't work if the '-o FILE' option is used, but without it the
49074 # dependency file will contain the wrong name for the object. So it is
49075 # removed from the command line, and the dep file is fixed with sed.
49077 while test ${D}# -gt 0; do
49084 eval arg${D}#=\\${D}1
49085 cmd="${D}cmd \\${D}arg${D}#"
49090 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49099 BK_DEPS
="`pwd`/bk-deps"
49107 case ${BAKEFILE_HOST} in
49108 *-*-cygwin* | *-*-mingw32* )
49109 if test -n "$ac_tool_prefix"; then
49110 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49111 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
49112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49114 if test "${ac_cv_prog_WINDRES+set}" = set; then
49115 echo $ECHO_N "(cached) $ECHO_C" >&6
49117 if test -n "$WINDRES"; then
49118 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
49120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49121 for as_dir
in $PATH
49124 test -z "$as_dir" && as_dir
=.
49125 for ac_exec_ext
in '' $ac_executable_extensions; do
49126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49127 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
49128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49137 WINDRES
=$ac_cv_prog_WINDRES
49138 if test -n "$WINDRES"; then
49139 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49140 echo "${ECHO_T}$WINDRES" >&6; }
49142 { echo "$as_me:$LINENO: result: no" >&5
49143 echo "${ECHO_T}no" >&6; }
49148 if test -z "$ac_cv_prog_WINDRES"; then
49149 ac_ct_WINDRES
=$WINDRES
49150 # Extract the first word of "windres", so it can be a program name with args.
49151 set dummy windres
; ac_word
=$2
49152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49154 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49155 echo $ECHO_N "(cached) $ECHO_C" >&6
49157 if test -n "$ac_ct_WINDRES"; then
49158 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
49160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49161 for as_dir
in $PATH
49164 test -z "$as_dir" && as_dir
=.
49165 for ac_exec_ext
in '' $ac_executable_extensions; do
49166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49167 ac_cv_prog_ac_ct_WINDRES
="windres"
49168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49177 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
49178 if test -n "$ac_ct_WINDRES"; then
49179 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49180 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49182 { echo "$as_me:$LINENO: result: no" >&5
49183 echo "${ECHO_T}no" >&6; }
49186 if test "x$ac_ct_WINDRES" = x
; then
49189 case $cross_compiling:$ac_tool_warned in
49191 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49192 whose name does not start with the host triplet. If you think this
49193 configuration is useful to you, please write to autoconf@gnu.org." >&5
49194 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49195 whose name does not start with the host triplet. If you think this
49196 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49197 ac_tool_warned
=yes ;;
49199 WINDRES
=$ac_ct_WINDRES
49202 WINDRES
="$ac_cv_prog_WINDRES"
49207 *-*-darwin* | powerpc
-apple-macos* )
49208 # Extract the first word of "Rez", so it can be a program name with args.
49209 set dummy Rez
; ac_word
=$2
49210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49212 if test "${ac_cv_prog_REZ+set}" = set; then
49213 echo $ECHO_N "(cached) $ECHO_C" >&6
49215 if test -n "$REZ"; then
49216 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
49218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49219 for as_dir
in $PATH
49222 test -z "$as_dir" && as_dir
=.
49223 for ac_exec_ext
in '' $ac_executable_extensions; do
49224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49225 ac_cv_prog_REZ
="Rez"
49226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49233 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
49236 REZ
=$ac_cv_prog_REZ
49237 if test -n "$REZ"; then
49238 { echo "$as_me:$LINENO: result: $REZ" >&5
49239 echo "${ECHO_T}$REZ" >&6; }
49241 { echo "$as_me:$LINENO: result: no" >&5
49242 echo "${ECHO_T}no" >&6; }
49246 # Extract the first word of "SetFile", so it can be a program name with args.
49247 set dummy SetFile
; ac_word
=$2
49248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49250 if test "${ac_cv_prog_SETFILE+set}" = set; then
49251 echo $ECHO_N "(cached) $ECHO_C" >&6
49253 if test -n "$SETFILE"; then
49254 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
49256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49257 for as_dir
in $PATH
49260 test -z "$as_dir" && as_dir
=.
49261 for ac_exec_ext
in '' $ac_executable_extensions; do
49262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49263 ac_cv_prog_SETFILE
="SetFile"
49264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49271 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
49274 SETFILE
=$ac_cv_prog_SETFILE
49275 if test -n "$SETFILE"; then
49276 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49277 echo "${ECHO_T}$SETFILE" >&6; }
49279 { echo "$as_me:$LINENO: result: no" >&5
49280 echo "${ECHO_T}no" >&6; }
49292 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.3"
49295 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.3"
49299 # Check whether --enable-precomp-headers was given.
49300 if test "${enable_precomp_headers+set}" = set; then
49301 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
49310 case ${BAKEFILE_HOST} in
49316 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49317 if test "x$GCC" = "xyes"; then
49318 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49319 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49320 cat >conftest.
$ac_ext <<_ACEOF
49323 cat confdefs.h
>>conftest.
$ac_ext
49324 cat >>conftest.
$ac_ext <<_ACEOF
49325 /* end confdefs.h. */
49331 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49332 There is no PCH support
49335 There is no PCH support
49337 #if (__GNUC__ == 3) && \
49338 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49339 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49340 ( defined(__INTEL_COMPILER) )
49341 There is no PCH support
49348 rm -f conftest.
$ac_objext
49349 if { (ac_try
="$ac_compile"
49350 case "(($ac_try" in
49351 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49352 *) ac_try_echo=$ac_try;;
49354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49355 (eval "$ac_compile") 2>conftest.er1
49357 grep -v '^ *+' conftest.er1 >conftest.err
49359 cat conftest.err >&5
49360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49361 (exit $ac_status); } && {
49362 test -z "$ac_c_werror_flag" ||
49363 test ! -s conftest.err
49364 } && test -s conftest.$ac_objext; then
49366 { echo "$as_me:$LINENO: result: yes" >&5
49367 echo "${ECHO_T}yes" >&6; }
49371 echo "$as_me: failed program was:" >&5
49372 sed 's/^/| /' conftest.$ac_ext >&5
49375 cat >conftest.$ac_ext <<_ACEOF
49378 cat confdefs.h >>conftest.$ac_ext
49379 cat >>conftest.$ac_ext <<_ACEOF
49380 /* end confdefs.h. */
49386 #if !defined(__INTEL_COMPILER) || \
49387 (__INTEL_COMPILER < 800)
49388 There is no PCH support
49395 rm -f conftest.$ac_objext
49396 if { (ac_try="$ac_compile"
49397 case "(($ac_try" in
49398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49399 *) ac_try_echo
=$ac_try;;
49401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49402 (eval "$ac_compile") 2>conftest.er1
49404 grep -v '^ *+' conftest.er1
>conftest.err
49406 cat conftest.err
>&5
49407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49408 (exit $ac_status); } && {
49409 test -z "$ac_c_werror_flag" ||
49410 test ! -s conftest.err
49411 } && test -s conftest.
$ac_objext; then
49413 { echo "$as_me:$LINENO: result: yes" >&5
49414 echo "${ECHO_T}yes" >&6; }
49418 echo "$as_me: failed program was:" >&5
49419 sed 's/^/| /' conftest.
$ac_ext >&5
49422 { echo "$as_me:$LINENO: result: no" >&5
49423 echo "${ECHO_T}no" >&6; }
49427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49432 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49436 cat <<EOF >bk-make-pch
49439 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49440 # script. It is used to generated precompiled headers.
49442 # Permission is given to use this file in any way.
49452 while test ${D}{#} -gt 0; do
49456 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49457 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49458 headerfile="${D}{incdir}/${D}{header}"
49461 -use-pch|-use_pch )
49466 if test ${D}add_to_cmdline = 1 ; then
49467 compiler="${D}{compiler} ${D}{1}"
49472 if test "x${D}{headerfile}" = "x" ; then
49473 echo "error: can't find header ${D}{header} in include paths" >&2
49475 if test -f ${D}{outfile} ; then
49476 rm -f ${D}{outfile}
49478 mkdir -p \`dirname ${D}{outfile}\`
49480 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49482 if test "x${GCC_PCH}" = "x1" ; then
49483 # can do this because gcc is >= 3.4:
49484 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49485 elif test "x${ICC_PCH}" = "x1" ; then
49486 filename=pch_gen-${D}${D}
49487 file=${D}{filename}.c
49488 dfile=${D}{filename}.d
49489 cat > ${D}file <<EOT
49490 #include "${D}header"
49492 # using -MF icc complains about differing command lines in creation/use
49493 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49494 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49495 rm -f ${D}file ${D}dfile ${D}{filename}.o
49501 chmod +x bk
-make-pch
49502 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49511 COND_BUILD_DEBUG
="#"
49512 if test "x$BUILD" = "xdebug" ; then
49513 COND_BUILD_DEBUG
=""
49516 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49517 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49518 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49521 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49522 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49523 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49526 COND_BUILD_DEBUG_UNICODE_0
="#"
49527 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49528 COND_BUILD_DEBUG_UNICODE_0
=""
49531 COND_BUILD_DEBUG_UNICODE_1
="#"
49532 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49533 COND_BUILD_DEBUG_UNICODE_1
=""
49536 COND_BUILD_RELEASE
="#"
49537 if test "x$BUILD" = "xrelease" ; then
49538 COND_BUILD_RELEASE
=""
49541 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49542 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49543 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49546 COND_BUILD_RELEASE_UNICODE_0
="#"
49547 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49548 COND_BUILD_RELEASE_UNICODE_0
=""
49551 COND_BUILD_RELEASE_UNICODE_1
="#"
49552 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49553 COND_BUILD_RELEASE_UNICODE_1
=""
49556 COND_DEBUG_FLAG_1
="#"
49557 if test "x$DEBUG_FLAG" = "x1" ; then
49558 COND_DEBUG_FLAG_1
=""
49561 COND_DEBUG_INFO_0
="#"
49562 if test "x$DEBUG_INFO" = "x0" ; then
49563 COND_DEBUG_INFO_0
=""
49566 COND_DEBUG_INFO_1
="#"
49567 if test "x$DEBUG_INFO" = "x1" ; then
49568 COND_DEBUG_INFO_1
=""
49571 COND_DEPS_TRACKING_0
="#"
49572 if test "x$DEPS_TRACKING" = "x0" ; then
49573 COND_DEPS_TRACKING_0
=""
49576 COND_DEPS_TRACKING_1
="#"
49577 if test "x$DEPS_TRACKING" = "x1" ; then
49578 COND_DEPS_TRACKING_1
=""
49582 if test "x$GCC_PCH" = "x1" ; then
49587 if test "x$ICC_PCH" = "x1" ; then
49591 COND_MONOLITHIC_0
="#"
49592 if test "x$MONOLITHIC" = "x0" ; then
49593 COND_MONOLITHIC_0
=""
49596 COND_MONOLITHIC_0_SHARED_0
="#"
49597 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49598 COND_MONOLITHIC_0_SHARED_0
=""
49601 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49602 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49603 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49606 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49607 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49608 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49611 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49612 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49613 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49616 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49617 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49618 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49621 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49622 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49623 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49626 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
49627 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49628 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
49631 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49632 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49633 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49636 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49637 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49638 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49641 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49642 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49643 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49646 COND_MONOLITHIC_0_SHARED_1
="#"
49647 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49648 COND_MONOLITHIC_0_SHARED_1
=""
49651 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49652 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49653 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49656 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49657 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49658 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49661 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49662 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49663 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49666 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49667 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49668 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49671 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49672 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49673 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49676 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
49677 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49678 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
49681 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49682 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49683 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49686 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49687 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49688 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49691 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49692 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49693 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49696 COND_MONOLITHIC_0_USE_AUI_1
="#"
49697 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49698 COND_MONOLITHIC_0_USE_AUI_1
=""
49701 COND_MONOLITHIC_0_USE_GUI_1
="#"
49702 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49703 COND_MONOLITHIC_0_USE_GUI_1
=""
49706 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49707 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49708 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49711 COND_MONOLITHIC_0_USE_HTML_1
="#"
49712 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49713 COND_MONOLITHIC_0_USE_HTML_1
=""
49716 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49717 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49718 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49721 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
49722 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49723 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
49726 COND_MONOLITHIC_0_USE_QA_1
="#"
49727 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49728 COND_MONOLITHIC_0_USE_QA_1
=""
49731 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49732 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49733 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49736 COND_MONOLITHIC_0_USE_STC_1
="#"
49737 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49738 COND_MONOLITHIC_0_USE_STC_1
=""
49741 COND_MONOLITHIC_0_USE_XRC_1
="#"
49742 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49743 COND_MONOLITHIC_0_USE_XRC_1
=""
49746 COND_MONOLITHIC_1
="#"
49747 if test "x$MONOLITHIC" = "x1" ; then
49748 COND_MONOLITHIC_1
=""
49751 COND_MONOLITHIC_1_SHARED_0
="#"
49752 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49753 COND_MONOLITHIC_1_SHARED_0
=""
49756 COND_MONOLITHIC_1_SHARED_1
="#"
49757 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49758 COND_MONOLITHIC_1_SHARED_1
=""
49761 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49762 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49763 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49766 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49767 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49768 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49771 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49772 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49773 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49776 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49777 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49778 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49781 COND_PLATFORM_MACOSX_1
="#"
49782 if test "x$PLATFORM_MACOSX" = "x1" ; then
49783 COND_PLATFORM_MACOSX_1
=""
49786 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
49787 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49788 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
49791 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
49792 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49793 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
49796 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
49797 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49798 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
49801 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
49802 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49803 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
49806 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
49807 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49808 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
49811 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49812 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49813 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49816 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
49817 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49818 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
49821 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49822 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49823 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49826 COND_PLATFORM_MACOS_1
="#"
49827 if test "x$PLATFORM_MACOS" = "x1" ; then
49828 COND_PLATFORM_MACOS_1
=""
49831 COND_PLATFORM_MAC_0
="#"
49832 if test "x$PLATFORM_MAC" = "x0" ; then
49833 COND_PLATFORM_MAC_0
=""
49836 COND_PLATFORM_MAC_1
="#"
49837 if test "x$PLATFORM_MAC" = "x1" ; then
49838 COND_PLATFORM_MAC_1
=""
49841 COND_PLATFORM_MSDOS_0
="#"
49842 if test "x$PLATFORM_MSDOS" = "x0" ; then
49843 COND_PLATFORM_MSDOS_0
=""
49846 COND_PLATFORM_MSDOS_1
="#"
49847 if test "x$PLATFORM_MSDOS" = "x1" ; then
49848 COND_PLATFORM_MSDOS_1
=""
49851 COND_PLATFORM_OS2_1
="#"
49852 if test "x$PLATFORM_OS2" = "x1" ; then
49853 COND_PLATFORM_OS2_1
=""
49856 COND_PLATFORM_UNIX_0
="#"
49857 if test "x$PLATFORM_UNIX" = "x0" ; then
49858 COND_PLATFORM_UNIX_0
=""
49861 COND_PLATFORM_UNIX_1
="#"
49862 if test "x$PLATFORM_UNIX" = "x1" ; then
49863 COND_PLATFORM_UNIX_1
=""
49866 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
49867 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49868 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
49871 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
49872 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49873 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
49876 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49877 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49878 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49881 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49882 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49883 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49886 COND_PLATFORM_WIN32_0
="#"
49887 if test "x$PLATFORM_WIN32" = "x0" ; then
49888 COND_PLATFORM_WIN32_0
=""
49891 COND_PLATFORM_WIN32_1
="#"
49892 if test "x$PLATFORM_WIN32" = "x1" ; then
49893 COND_PLATFORM_WIN32_1
=""
49897 if test "x$SHARED" = "x0" ; then
49901 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49902 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49903 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49906 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49907 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49908 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49911 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49912 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49913 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49916 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49917 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49918 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49921 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49922 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49923 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49926 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49927 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49928 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49931 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49932 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49933 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49936 COND_SHARED_0_USE_STC_1
="#"
49937 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49938 COND_SHARED_0_USE_STC_1
=""
49941 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49942 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49943 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49946 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49947 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49948 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49951 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49952 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49953 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49957 if test "x$SHARED" = "x1" ; then
49961 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49962 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49963 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49967 if test "x$TOOLKIT" = "x" ; then
49971 COND_TOOLKIT_COCOA
="#"
49972 if test "x$TOOLKIT" = "xCOCOA" ; then
49973 COND_TOOLKIT_COCOA
=""
49976 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49977 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49978 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49981 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49982 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49983 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49986 COND_TOOLKIT_DFB
="#"
49987 if test "x$TOOLKIT" = "xDFB" ; then
49988 COND_TOOLKIT_DFB
=""
49991 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49992 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49993 COND_TOOLKIT_DFB_USE_GUI_1
=""
49996 COND_TOOLKIT_GTK
="#"
49997 if test "x$TOOLKIT" = "xGTK" ; then
49998 COND_TOOLKIT_GTK
=""
50001 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50002 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50003 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50006 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50007 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50008 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50011 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50012 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50013 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50016 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50017 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50018 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50021 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
50022 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
50023 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
50026 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50027 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50028 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50031 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50032 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50033 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50036 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50037 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50038 COND_TOOLKIT_GTK_USE_GUI_1
=""
50041 COND_TOOLKIT_MAC
="#"
50042 if test "x$TOOLKIT" = "xMAC" ; then
50043 COND_TOOLKIT_MAC
=""
50046 COND_TOOLKIT_MGL
="#"
50047 if test "x$TOOLKIT" = "xMGL" ; then
50048 COND_TOOLKIT_MGL
=""
50051 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50052 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50053 COND_TOOLKIT_MGL_USE_GUI_1
=""
50056 COND_TOOLKIT_MOTIF
="#"
50057 if test "x$TOOLKIT" = "xMOTIF" ; then
50058 COND_TOOLKIT_MOTIF
=""
50061 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50062 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50063 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50066 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50067 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50068 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50071 COND_TOOLKIT_MSW
="#"
50072 if test "x$TOOLKIT" = "xMSW" ; then
50073 COND_TOOLKIT_MSW
=""
50076 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50077 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50078 COND_TOOLKIT_MSW_USE_GUI_1
=""
50081 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50082 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50083 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50086 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50087 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50088 COND_TOOLKIT_MSW_WXUNIV_0
=""
50091 COND_TOOLKIT_OSX_CARBON
="#"
50092 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50093 COND_TOOLKIT_OSX_CARBON
=""
50096 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50097 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50098 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50101 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50102 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50103 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50106 COND_TOOLKIT_OSX_COCOA
="#"
50107 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50108 COND_TOOLKIT_OSX_COCOA
=""
50111 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50112 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50113 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50116 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50117 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50118 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50121 COND_TOOLKIT_OSX_IPHONE
="#"
50122 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50123 COND_TOOLKIT_OSX_IPHONE
=""
50126 COND_TOOLKIT_PM
="#"
50127 if test "x$TOOLKIT" = "xPM" ; then
50131 COND_TOOLKIT_PM_USE_GUI_1
="#"
50132 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50133 COND_TOOLKIT_PM_USE_GUI_1
=""
50136 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50137 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50138 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50141 COND_TOOLKIT_WINCE
="#"
50142 if test "x$TOOLKIT" = "xWINCE" ; then
50143 COND_TOOLKIT_WINCE
=""
50146 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50147 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50148 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50151 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50152 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50153 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50156 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50157 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50158 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50161 COND_TOOLKIT_X11
="#"
50162 if test "x$TOOLKIT" = "xX11" ; then
50163 COND_TOOLKIT_X11
=""
50166 COND_TOOLKIT_X11_USE_GUI_1
="#"
50167 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50168 COND_TOOLKIT_X11_USE_GUI_1
=""
50172 if test "x$UNICODE" = "x1" ; then
50176 COND_USE_EXCEPTIONS_0
="#"
50177 if test "x$USE_EXCEPTIONS" = "x0" ; then
50178 COND_USE_EXCEPTIONS_0
=""
50181 COND_USE_EXCEPTIONS_1
="#"
50182 if test "x$USE_EXCEPTIONS" = "x1" ; then
50183 COND_USE_EXCEPTIONS_1
=""
50187 if test "x$USE_GUI" = "x0" ; then
50192 if test "x$USE_GUI" = "x1" ; then
50196 COND_USE_GUI_1_USE_OPENGL_1
="#"
50197 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50198 COND_USE_GUI_1_USE_OPENGL_1
=""
50201 COND_USE_GUI_1_WXUNIV_0
="#"
50202 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50203 COND_USE_GUI_1_WXUNIV_0
=""
50206 COND_USE_GUI_1_WXUNIV_1
="#"
50207 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50208 COND_USE_GUI_1_WXUNIV_1
=""
50211 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50212 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50213 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50216 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50217 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50218 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50221 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50222 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50223 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50226 COND_USE_OPENGL_1
="#"
50227 if test "x$USE_OPENGL" = "x1" ; then
50228 COND_USE_OPENGL_1
=""
50232 if test "x$USE_PCH" = "x1" ; then
50236 COND_USE_PLUGINS_0
="#"
50237 if test "x$USE_PLUGINS" = "x0" ; then
50238 COND_USE_PLUGINS_0
=""
50241 COND_USE_RTTI_0
="#"
50242 if test "x$USE_RTTI" = "x0" ; then
50246 COND_USE_RTTI_1
="#"
50247 if test "x$USE_RTTI" = "x1" ; then
50251 COND_USE_SOSYMLINKS_1
="#"
50252 if test "x$USE_SOSYMLINKS" = "x1" ; then
50253 COND_USE_SOSYMLINKS_1
=""
50256 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50257 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50258 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50261 COND_USE_SOVERLINUX_1
="#"
50262 if test "x$USE_SOVERLINUX" = "x1" ; then
50263 COND_USE_SOVERLINUX_1
=""
50266 COND_USE_SOVERSION_0
="#"
50267 if test "x$USE_SOVERSION" = "x0" ; then
50268 COND_USE_SOVERSION_0
=""
50271 COND_USE_SOVERSOLARIS_1
="#"
50272 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50273 COND_USE_SOVERSOLARIS_1
=""
50277 if test "x$USE_STC" = "x1" ; then
50281 COND_USE_THREADS_0
="#"
50282 if test "x$USE_THREADS" = "x0" ; then
50283 COND_USE_THREADS_0
=""
50286 COND_USE_THREADS_1
="#"
50287 if test "x$USE_THREADS" = "x1" ; then
50288 COND_USE_THREADS_1
=""
50292 if test "x$USE_XRC" = "x1" ; then
50296 COND_WINDOWS_IMPLIB_1
="#"
50297 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50298 COND_WINDOWS_IMPLIB_1
=""
50301 COND_WITH_PLUGIN_SDL_1
="#"
50302 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50303 COND_WITH_PLUGIN_SDL_1
=""
50307 if test "x$WXUNIV" = "x0" ; then
50312 if test "x$WXUNIV" = "x1" ; then
50316 COND_WXUSE_EXPAT_BUILTIN
="#"
50317 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50318 COND_WXUSE_EXPAT_BUILTIN
=""
50321 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50322 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50323 COND_WXUSE_LIBJPEG_BUILTIN
=""
50326 COND_WXUSE_LIBPNG_BUILTIN
="#"
50327 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50328 COND_WXUSE_LIBPNG_BUILTIN
=""
50331 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50332 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50333 COND_WXUSE_LIBTIFF_BUILTIN
=""
50336 COND_WXUSE_REGEX_BUILTIN
="#"
50337 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50338 COND_WXUSE_REGEX_BUILTIN
=""
50341 COND_WXUSE_ZLIB_BUILTIN
="#"
50342 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50343 COND_WXUSE_ZLIB_BUILTIN
=""
50348 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50349 { { 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
50350 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;}
50351 { (exit 1); exit 1; }; }
50354 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50355 { { 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
50356 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;}
50357 { (exit 1); exit 1; }; }
50364 ?
:* ) # Drive letter, considered as absolute.
50367 INSTALL
=`pwd`/${INSTALL} ;;
50370 if test "$wxUSE_GUI" = "yes"; then
50372 if test "$wxUSE_MSW" = 1 ; then
50373 if test "x$WINDRES" = "x"; then
50374 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50375 echo "$as_me: error: Required windres program not found" >&2;}
50376 { (exit 1); exit 1; }; }
50382 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50383 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50384 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50386 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50388 # Extract the first word of "DeRez", so it can be a program name with args.
50389 set dummy DeRez
; ac_word
=$2
50390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50392 if test "${ac_cv_prog_DEREZ+set}" = set; then
50393 echo $ECHO_N "(cached) $ECHO_C" >&6
50395 if test -n "$DEREZ"; then
50396 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50399 for as_dir
in $PATH
50402 test -z "$as_dir" && as_dir
=.
50403 for ac_exec_ext
in '' $ac_executable_extensions; do
50404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50405 ac_cv_prog_DEREZ
="DeRez"
50406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50413 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50416 DEREZ
=$ac_cv_prog_DEREZ
50417 if test -n "$DEREZ"; then
50418 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50419 echo "${ECHO_T}$DEREZ" >&6; }
50421 { echo "$as_me:$LINENO: result: no" >&5
50422 echo "${ECHO_T}no" >&6; }
50427 MACSETFILE
="\$(SETFILE)"
50429 if test "$wxUSE_OSX_CARBON" = 1; then
50430 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50432 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50434 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50435 RESCOMP
="cat /dev/null \| $REZ"
50436 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50442 if test "$wxUSE_PM" = 1; then
50444 WXCONFIG_RESFLAGS
="-ep"
50446 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50448 POSTLINK_COMMAND
="@true"
50455 if test $GCC_PCH = 1
50457 if test "$wx_cv_gcc_pch_bug" = yes; then
50458 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50459 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50460 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50461 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50462 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50463 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50466 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50467 # the headers that benefit from precompilation are mostly C++ headers.
50468 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50469 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50470 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50474 if test "$wxUSE_MAC" = 1 ; then
50475 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50476 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50482 if test "$wxUSE_SHARED" = "yes"; then
50484 *-pc-os2_emx | *-pc-os2-emx )
50485 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50486 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50487 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50488 cp -p ${srcdir}/src
/os
2/dllar.sh .
50492 if test "$wxUSE_OMF" = "yes"; then
50494 *-pc-os2_emx | *-pc-os2-emx )
50495 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50496 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50497 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50502 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50507 if test "$GCC" = yes; then
50508 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50509 LIBS
=`echo $LIBS | sed 's/-mt//'`
50510 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50515 if test "x$SUNCXX" = xyes
; then
50516 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50517 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50518 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50523 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50524 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50526 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50587 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50588 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50589 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50590 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50591 echo $ECHO_N "(cached) $ECHO_C" >&6
50593 cat >conftest.
make <<\_ACEOF
50596 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50598 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50599 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50600 *@@@
%%%=?
*=@@@
%%%*)
50601 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50603 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50605 rm -f conftest.
make
50607 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50608 { echo "$as_me:$LINENO: result: yes" >&5
50609 echo "${ECHO_T}yes" >&6; }
50612 { echo "$as_me:$LINENO: result: no" >&5
50613 echo "${ECHO_T}no" >&6; }
50614 SET_MAKE
="MAKE=${MAKE-make}"
50619 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50622 if test "$USE_WIN32" = 1; then
50623 ac_config_commands
="$ac_config_commands
50629 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50632 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50635 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50638 if test "$wx_cv_version_script" = "yes"; then
50639 ac_config_files
="$ac_config_files version-script"
50642 ac_config_files
="$ac_config_files Makefile"
50645 ac_config_commands
="$ac_config_commands wx-config"
50649 if test "$wxWITH_SUBDIRS" != "no"; then
50650 if test "$wxUSE_GUI" = "yes"; then
50651 SUBDIRS
="samples demos utils"
50653 SUBDIRS
="samples utils"
50658 # Check whether --with-cppunit-prefix was given.
50659 if test "${with_cppunit_prefix+set}" = set; then
50660 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50662 cppunit_config_prefix
=""
50666 # Check whether --with-cppunit-exec-prefix was given.
50667 if test "${with_cppunit_exec_prefix+set}" = set; then
50668 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50670 cppunit_config_exec_prefix
=""
50674 if test x
$cppunit_config_exec_prefix != x
; then
50675 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50676 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50677 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50680 if test x
$cppunit_config_prefix != x
; then
50681 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50682 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50683 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50687 # Extract the first word of "cppunit-config", so it can be a program name with args.
50688 set dummy cppunit
-config; ac_word
=$2
50689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50691 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50692 echo $ECHO_N "(cached) $ECHO_C" >&6
50694 case $CPPUNIT_CONFIG in
50696 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50700 for as_dir
in $PATH
50703 test -z "$as_dir" && as_dir
=.
50704 for ac_exec_ext
in '' $ac_executable_extensions; do
50705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50706 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50714 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50718 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50719 if test -n "$CPPUNIT_CONFIG"; then
50720 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50721 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50723 { echo "$as_me:$LINENO: result: no" >&5
50724 echo "${ECHO_T}no" >&6; }
50728 cppunit_version_min
=1.8.0
50730 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50731 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50733 if test "$CPPUNIT_CONFIG" = "no" ; then
50734 { echo "$as_me:$LINENO: result: no" >&5
50735 echo "${ECHO_T}no" >&6; }
50738 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50739 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50740 cppunit_version
=`$CPPUNIT_CONFIG --version`
50742 cppunit_major_version
=`echo $cppunit_version | \
50743 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50744 cppunit_minor_version
=`echo $cppunit_version | \
50745 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50746 cppunit_micro_version
=`echo $cppunit_version | \
50747 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50749 cppunit_major_min
=`echo $cppunit_version_min | \
50750 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50751 cppunit_minor_min
=`echo $cppunit_version_min | \
50752 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50753 cppunit_micro_min
=`echo $cppunit_version_min | \
50754 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50756 cppunit_version_proper
=`expr \
50757 $cppunit_major_version \> $cppunit_major_min \| \
50758 $cppunit_major_version \= $cppunit_major_min \& \
50759 $cppunit_minor_version \> $cppunit_minor_min \| \
50760 $cppunit_major_version \= $cppunit_major_min \& \
50761 $cppunit_minor_version \= $cppunit_minor_min \& \
50762 $cppunit_micro_version \>= $cppunit_micro_min `
50764 if test "$cppunit_version_proper" = "1" ; then
50765 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50766 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50768 { echo "$as_me:$LINENO: result: no" >&5
50769 echo "${ECHO_T}no" >&6; }
50774 if test "x$no_cppunit" = x
; then
50775 SUBDIRS
="$SUBDIRS tests"
50786 for subdir
in $SUBDIRS; do
50787 if test -d ${srcdir}/${subdir} ; then
50788 if test "$wxUSE_GUI" = "yes"; then
50789 if test ${subdir} = "samples"; then
50790 makefiles
="samples/Makefile.in $makefiles"
50791 for sample
in $SAMPLES_SUBDIRS; do
50792 if test -d $srcdir/samples
/$sample; then
50793 makefiles
="samples/$sample/Makefile.in $makefiles"
50797 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
50798 eval "disabled=\$$disabled_var"
50799 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50800 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50803 if test ${subdir} = "samples"; then
50804 makefiles
="samples/Makefile.in $makefiles"
50805 for sample
in `echo $SAMPLES_SUBDIRS`; do
50806 if test -d $srcdir/samples
/$sample; then
50807 makefiles
="samples/$sample/Makefile.in $makefiles"
50810 elif test ${subdir} = "utils"; then
50812 for util
in ifacecheck
; do
50813 if test -d $srcdir/utils
/$util ; then
50814 makefiles
="utils/$util/src/Makefile.in \
50819 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50823 for mkin
in $makefiles ; do
50824 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50825 ac_config_files
="$ac_config_files $mk"
50831 cat >confcache
<<\_ACEOF
50832 # This file is a shell script that caches the results of configure
50833 # tests run on this system so they can be shared between configure
50834 # scripts and configure runs, see configure's option --config-cache.
50835 # It is not useful on other systems. If it contains results you don't
50836 # want to keep, you may remove or edit it.
50838 # config.status only pays attention to the cache file if you give it
50839 # the --recheck option to rerun configure.
50841 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50842 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50843 # following values.
50847 # The following way of writing the cache mishandles newlines in values,
50848 # but we know of no workaround that is simple, portable, and efficient.
50849 # So, we kill variables containing newlines.
50850 # Ultrix sh set writes to stderr and can't be redirected directly,
50851 # and sets the high bit in the cache file unless we assign to the vars.
50853 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50854 eval ac_val
=\$
$ac_var
50858 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50859 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50862 _
| IFS
| as_nl
) ;; #(
50863 *) $as_unset $ac_var ;;
50869 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50870 *${as_nl}ac_space
=\
*)
50871 # `set' does not quote correctly, so add quotes (double-quote
50872 # substitution turns \\\\ into \\, and sed turns \\ into \).
50875 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50878 # `set' quotes correctly as required by POSIX, so do not add quotes.
50879 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50888 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50890 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50892 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
50893 if test -w "$cache_file"; then
50894 test "x$cache_file" != "x/dev/null" &&
50895 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50896 echo "$as_me: updating cache $cache_file" >&6;}
50897 cat confcache
>$cache_file
50899 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50900 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50905 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50906 # Let make expand exec_prefix.
50907 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50909 DEFS
=-DHAVE_CONFIG_H
50913 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50914 # 1. Remove the extension, and $U if already installed.
50915 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
50916 ac_i
=`echo "$ac_i" | sed "$ac_script"`
50917 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50918 # will be set to the directory where LIBOBJS objects are built.
50919 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50920 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50922 LIBOBJS
=$ac_libobjs
50924 LTLIBOBJS
=$ac_ltlibobjs
50928 : ${CONFIG_STATUS=./config.status}
50929 ac_clean_files_save
=$ac_clean_files
50930 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50931 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50932 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50933 cat >$CONFIG_STATUS <<_ACEOF
50935 # Generated by $as_me.
50936 # Run this file to recreate the current configuration.
50937 # Compiler output produced by configure, useful for debugging
50938 # configure, is in config.log if it exists.
50941 ac_cs_recheck=false
50943 SHELL=\${CONFIG_SHELL-$SHELL}
50946 cat >>$CONFIG_STATUS <<\_ACEOF
50947 ## --------------------- ##
50948 ## M4sh Initialization. ##
50949 ## --------------------- ##
50951 # Be more Bourne compatible
50952 DUALCASE
=1; export DUALCASE
# for MKS sh
50953 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50956 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50957 # is contrary to our usage. Disable this feature.
50958 alias -g '${1+"$@"}'='"$@"'
50959 setopt NO_GLOB_SUBST
50961 case `(set -o) 2>/dev/null` in
50962 *posix
*) set -o posix
;;
50971 # Avoid depending upon Character Ranges.
50972 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50973 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50974 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50975 as_cr_digits
='0123456789'
50976 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50978 # The user is always right.
50979 if test "${PATH_SEPARATOR+set}" != set; then
50980 echo "#! /bin/sh" >conf$$.sh
50981 echo "exit 0" >>conf$$.sh
50983 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50991 # Support unset when possible.
50992 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51000 # We need space, tab and new line, in precisely that order. Quoting is
51001 # there to prevent editors from complaining about space-tab.
51002 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51003 # splitting by setting IFS to empty value.)
51008 # Find who we are. Look in the path if we contain no directory separator.
51010 *[\\/]* ) as_myself
=$0 ;;
51011 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51012 for as_dir
in $PATH
51015 test -z "$as_dir" && as_dir
=.
51016 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51022 # We did not find ourselves, most probably we were run as `sh COMMAND'
51023 # in which case we are not to be found in the path.
51024 if test "x$as_myself" = x
; then
51027 if test ! -f "$as_myself"; then
51028 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51029 { (exit 1); exit 1; }
51032 # Work around bugs in pre-3.0 UWIN ksh.
51033 for as_var
in ENV MAIL MAILPATH
51034 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51042 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51043 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51044 LC_TELEPHONE LC_TIME
51046 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51047 eval $as_var=C
; export $as_var
51049 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51053 # Required to use basename.
51054 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51055 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51061 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51062 as_basename
=basename
51068 # Name of the executable.
51069 as_me
=`$as_basename -- "$0" ||
51070 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51071 X"$0" : 'X\(//\)$' \| \
51072 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51074 sed '/^.*\/\([^/][^/]*\)\/*$/{
51093 as_lineno_1
=$LINENO
51094 as_lineno_2
=$LINENO
51095 test "x$as_lineno_1" != "x$as_lineno_2" &&
51096 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51098 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51099 # uniformly replaced by the line number. The first 'sed' inserts a
51100 # line-number line after each line using $LINENO; the second 'sed'
51101 # does the real work. The second script uses 'N' to pair each
51102 # line-number line with the line containing $LINENO, and appends
51103 # trailing '-' during substitution so that $LINENO is not a special
51104 # case at line end.
51105 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51106 # scripts with optimization help from Paolo Bonzini. Blame Lee
51107 # E. McMahon (1931-1989) for sed's syntax. :-)
51119 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51122 ' >$as_me.lineno
&&
51123 chmod +x
"$as_me.lineno" ||
51124 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51125 { (exit 1); exit 1; }; }
51127 # Don't try to exec as it changes $[0], causing all sort of problems
51128 # (the dirname of $[0] is not the place where we might find the
51129 # original and so on. Autoconf is especially sensitive to this).
51130 .
"./$as_me.lineno"
51131 # Exit status is that of the last command.
51136 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51142 ECHO_C
= ECHO_N
= ECHO_T
=
51143 case `echo -n x` in
51145 case `echo 'x\c'` in
51146 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51153 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51154 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51160 rm -f conf$$ conf$$.exe conf$$.
file
51161 if test -d conf$$.dir
; then
51162 rm -f conf$$.dir
/conf$$.
file
51168 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51170 # ... but there are two gotchas:
51171 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51172 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51173 # In both cases, we have to default to `cp -p'.
51174 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51176 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51181 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51182 rmdir conf$$.dir
2>/dev
/null
51184 if mkdir -p .
2>/dev
/null
; then
51187 test -d .
/-p && rmdir .
/-p
51191 if test -x / >/dev
/null
2>&1; then
51192 as_test_x
='test -x'
51194 if ls -dL / >/dev
/null
2>&1; then
51201 if test -d "$1"; then
51207 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51208 ???[sx]*):;;*)false;;esac;fi
51212 as_executable_p
=$as_test_x
51214 # Sed expression to map a string onto a valid CPP name.
51215 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51217 # Sed expression to map a string onto a valid variable name.
51218 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51223 # Save the log message, to keep $[0] and so on meaningful, and to
51224 # report actual input values of CONFIG_FILES etc. instead of their
51225 # values after options handling.
51227 This file was extended by wxWidgets $as_me 2.9.0, which was
51228 generated by GNU Autoconf 2.61. Invocation command line was
51230 CONFIG_FILES = $CONFIG_FILES
51231 CONFIG_HEADERS = $CONFIG_HEADERS
51232 CONFIG_LINKS = $CONFIG_LINKS
51233 CONFIG_COMMANDS = $CONFIG_COMMANDS
51236 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51241 cat >>$CONFIG_STATUS <<_ACEOF
51242 # Files that config.status was made for.
51243 config_files="$ac_config_files"
51244 config_headers="$ac_config_headers"
51245 config_commands="$ac_config_commands"
51249 cat >>$CONFIG_STATUS <<\_ACEOF
51251 \`$as_me' instantiates files from templates according to the
51252 current configuration.
51254 Usage: $0 [OPTIONS] [FILE]...
51256 -h, --help print this help, then exit
51257 -V, --version print version number and configuration settings, then exit
51258 -q, --quiet do not print progress messages
51259 -d, --debug don't remove temporary files
51260 --recheck update $as_me by reconfiguring in the same conditions
51261 --file=FILE[:TEMPLATE]
51262 instantiate the configuration file FILE
51263 --header=FILE[:TEMPLATE]
51264 instantiate the configuration header FILE
51266 Configuration files:
51269 Configuration headers:
51272 Configuration commands:
51275 Report bugs to <bug-autoconf@gnu.org>."
51278 cat >>$CONFIG_STATUS <<_ACEOF
51280 wxWidgets config.status 2.9.0
51281 configured by $0, generated by GNU Autoconf 2.61,
51282 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51284 Copyright (C) 2006 Free Software Foundation, Inc.
51285 This config.status script is free software; the Free Software Foundation
51286 gives unlimited permission to copy, distribute and modify it."
51293 cat >>$CONFIG_STATUS <<\_ACEOF
51294 # If no file are specified by the user, then we need to provide default
51295 # value. By we need to know if files were specified by the user.
51301 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51302 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51313 # Handling of the options.
51314 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51316 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51317 echo "$ac_cs_version"; exit ;;
51318 --debug | --debu | --deb | --de | --d | -d )
51320 --file | --fil | --fi | --f )
51322 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51323 ac_need_defaults
=false
;;
51324 --header | --heade | --head | --hea )
51326 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51327 ac_need_defaults
=false
;;
51329 # Conflict between --help and --header
51330 { echo "$as_me: error: ambiguous option: $1
51331 Try \`$0 --help' for more information." >&2
51332 { (exit 1); exit 1; }; };;
51333 --help | --hel | -h )
51334 echo "$ac_cs_usage"; exit ;;
51335 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51336 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51339 # This is an error.
51340 -*) { echo "$as_me: error: unrecognized option: $1
51341 Try \`$0 --help' for more information." >&2
51342 { (exit 1); exit 1; }; } ;;
51344 *) ac_config_targets
="$ac_config_targets $1"
51345 ac_need_defaults
=false
;;
51351 ac_configure_extra_args
=
51353 if $ac_cs_silent; then
51355 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51359 cat >>$CONFIG_STATUS <<_ACEOF
51360 if \$ac_cs_recheck; then
51361 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51362 CONFIG_SHELL=$SHELL
51363 export CONFIG_SHELL
51364 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51368 cat >>$CONFIG_STATUS <<\_ACEOF
51372 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51373 ## Running $as_me. ##
51379 cat >>$CONFIG_STATUS <<_ACEOF
51385 infile="$srcdir/include/wx/msw/genrcdefs.h"
51386 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51389 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51390 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51391 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51397 cat >>$CONFIG_STATUS <<\_ACEOF
51399 # Handling of arguments.
51400 for ac_config_target
in $ac_config_targets
51402 case $ac_config_target in
51403 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51404 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51405 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51406 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51407 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51408 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51409 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51410 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51411 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51413 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51414 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51415 { (exit 1); exit 1; }; };;
51420 # If the user did not use the arguments to specify the items to instantiate,
51421 # then the envvar interface is used. Set only those that are not.
51422 # We use the long form for the default assignment because of an extremely
51423 # bizarre bug on SunOS 4.1.3.
51424 if $ac_need_defaults; then
51425 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51426 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51427 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51430 # Have a temporary directory for convenience. Make it in the build tree
51431 # simply because there is no reason against having it here, and in addition,
51432 # creating and moving files from /tmp can sometimes cause problems.
51433 # Hook for its removal unless debugging.
51434 # Note that there is a small window in which the directory will not be cleaned:
51435 # after its creation but before its name has been assigned to `$tmp'.
51439 trap 'exit_status=$?
51440 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51442 trap '{ (exit 1); exit 1; }' 1 2 13 15
51444 # Create a (secure) tmp directory for tmp files.
51447 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51448 test -n "$tmp" && test -d "$tmp"
51451 tmp
=.
/conf$$
-$RANDOM
51452 (umask 077 && mkdir "$tmp")
51455 echo "$me: cannot create a temporary directory in ." >&2
51456 { (exit 1); exit 1; }
51460 # Set up the sed scripts for CONFIG_FILES section.
51463 # No need to generate the scripts if there are no CONFIG_FILES.
51464 # This happens for instance when ./config.status config.h
51465 if test -n "$CONFIG_FILES"; then
51472 for ac_last_try
in false false false false false
:; do
51473 cat >conf$
$subs.
sed <<_ACEOF
51474 SHELL!$SHELL$ac_delim
51475 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51476 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51477 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51478 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51479 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51480 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51481 exec_prefix!$exec_prefix$ac_delim
51482 prefix!$prefix$ac_delim
51483 program_transform_name!$program_transform_name$ac_delim
51484 bindir!$bindir$ac_delim
51485 sbindir!$sbindir$ac_delim
51486 libexecdir!$libexecdir$ac_delim
51487 datarootdir!$datarootdir$ac_delim
51488 datadir!$datadir$ac_delim
51489 sysconfdir!$sysconfdir$ac_delim
51490 sharedstatedir!$sharedstatedir$ac_delim
51491 localstatedir!$localstatedir$ac_delim
51492 includedir!$includedir$ac_delim
51493 oldincludedir!$oldincludedir$ac_delim
51494 docdir!$docdir$ac_delim
51495 infodir!$infodir$ac_delim
51496 htmldir!$htmldir$ac_delim
51497 dvidir!$dvidir$ac_delim
51498 pdfdir!$pdfdir$ac_delim
51499 psdir!$psdir$ac_delim
51500 libdir!$libdir$ac_delim
51501 localedir!$localedir$ac_delim
51502 mandir!$mandir$ac_delim
51503 DEFS!$DEFS$ac_delim
51504 ECHO_C!$ECHO_C$ac_delim
51505 ECHO_N!$ECHO_N$ac_delim
51506 ECHO_T!$ECHO_T$ac_delim
51507 LIBS!$LIBS$ac_delim
51508 build_alias!$build_alias$ac_delim
51509 host_alias!$host_alias$ac_delim
51510 target_alias!$target_alias$ac_delim
51511 build!$build$ac_delim
51512 build_cpu!$build_cpu$ac_delim
51513 build_vendor!$build_vendor$ac_delim
51514 build_os!$build_os$ac_delim
51515 host!$host$ac_delim
51516 host_cpu!$host_cpu$ac_delim
51517 host_vendor!$host_vendor$ac_delim
51518 host_os!$host_os$ac_delim
51519 target!$target$ac_delim
51520 target_cpu!$target_cpu$ac_delim
51521 target_vendor!$target_vendor$ac_delim
51522 target_os!$target_os$ac_delim
51523 wx_top_builddir!$wx_top_builddir$ac_delim
51525 CFLAGS!$CFLAGS$ac_delim
51526 LDFLAGS!$LDFLAGS$ac_delim
51527 CPPFLAGS!$CPPFLAGS$ac_delim
51528 ac_ct_CC!$ac_ct_CC$ac_delim
51529 EXEEXT!$EXEEXT$ac_delim
51530 OBJEXT!$OBJEXT$ac_delim
51532 GREP!$GREP$ac_delim
51533 EGREP!$EGREP$ac_delim
51535 CXXFLAGS!$CXXFLAGS$ac_delim
51536 ac_ct_CXX!$ac_ct_CXX$ac_delim
51538 subdirs!$subdirs$ac_delim
51539 PKG_CONFIG!$PKG_CONFIG$ac_delim
51540 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51541 GTK_LIBS!$GTK_LIBS$ac_delim
51542 GTK_CONFIG!$GTK_CONFIG$ac_delim
51543 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51544 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51545 XMKMF!$XMKMF$ac_delim
51546 X_CFLAGS!$X_CFLAGS$ac_delim
51547 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51548 X_LIBS!$X_LIBS$ac_delim
51549 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51550 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51551 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51552 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51553 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51554 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51555 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51556 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51557 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51558 LIBICONV!$LIBICONV$ac_delim
51559 SDL_CONFIG!$SDL_CONFIG$ac_delim
51560 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51561 SDL_LIBS!$SDL_LIBS$ac_delim
51562 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51563 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51564 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51565 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51566 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51567 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51568 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51569 HILDON_LIBS!$HILDON_LIBS$ac_delim
51570 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51573 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51575 elif $ac_last_try; then
51576 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51577 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51578 { (exit 1); exit 1; }; }
51580 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51584 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51585 if test -n "$ac_eof"; then
51586 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51587 ac_eof
=`expr $ac_eof + 1`
51590 cat >>$CONFIG_STATUS <<_ACEOF
51591 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51592 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51595 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51596 s/^/s,@/; s/!/@,|#_!!_#|/
51599 s/'"$ac_delim"'$/,g/; t
51601 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51602 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51603 rm -f conf$
$subs.
sed
51604 cat >>$CONFIG_STATUS <<_ACEOF
51610 for ac_last_try
in false false false false false
:; do
51611 cat >conf$
$subs.
sed <<_ACEOF
51612 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51613 GST_CFLAGS!$GST_CFLAGS$ac_delim
51614 GST_LIBS!$GST_LIBS$ac_delim
51615 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51616 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51617 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51618 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51619 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51620 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51621 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51622 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51623 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51624 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51625 VENDOR!$VENDOR$ac_delim
51626 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51627 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51628 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51629 WXUNIV!$WXUNIV$ac_delim
51630 MONOLITHIC!$MONOLITHIC$ac_delim
51631 USE_PLUGINS!$USE_PLUGINS$ac_delim
51632 CXXWARNINGS!$CXXWARNINGS$ac_delim
51633 EXTRALIBS!$EXTRALIBS$ac_delim
51634 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51635 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51636 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51637 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51638 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51639 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51640 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51641 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51642 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51643 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51644 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51645 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51646 UNICODE!$UNICODE$ac_delim
51647 BUILD!$BUILD$ac_delim
51648 DEBUG_INFO!$DEBUG_INFO$ac_delim
51649 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51650 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51651 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51652 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51653 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51654 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51655 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51656 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51657 RANLIB!$RANLIB$ac_delim
51658 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51659 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51660 INSTALL_DATA!$INSTALL_DATA$ac_delim
51661 LN_S!$LN_S$ac_delim
51662 SET_MAKE!$SET_MAKE$ac_delim
51663 MAKE_SET!$MAKE_SET$ac_delim
51664 AROPTIONS!$AROPTIONS$ac_delim
51665 STRIP!$STRIP$ac_delim
51667 INSTALL_DIR!$INSTALL_DIR$ac_delim
51668 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51669 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51670 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51671 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51672 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51673 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51674 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51675 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51676 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51677 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51678 SO_SUFFIX!$SO_SUFFIX$ac_delim
51679 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51680 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51681 LIBPREFIX!$LIBPREFIX$ac_delim
51682 LIBEXT!$LIBEXT$ac_delim
51683 DLLPREFIX!$DLLPREFIX$ac_delim
51684 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51685 dlldir!$dlldir$ac_delim
51686 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51687 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51688 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51689 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51690 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51691 PIC_FLAG!$PIC_FLAG$ac_delim
51692 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51693 USE_SOVERSION!$USE_SOVERSION$ac_delim
51694 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51695 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51696 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51697 USE_MACVERSION!$USE_MACVERSION$ac_delim
51698 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51699 SONAME_FLAG!$SONAME_FLAG$ac_delim
51700 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51701 BK_DEPS!$BK_DEPS$ac_delim
51702 WINDRES!$WINDRES$ac_delim
51704 SETFILE!$SETFILE$ac_delim
51705 GCC_PCH!$GCC_PCH$ac_delim
51706 ICC_PCH!$ICC_PCH$ac_delim
51707 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51708 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51711 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51713 elif $ac_last_try; then
51714 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51715 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51716 { (exit 1); exit 1; }; }
51718 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51722 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51723 if test -n "$ac_eof"; then
51724 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51725 ac_eof
=`expr $ac_eof + 1`
51728 cat >>$CONFIG_STATUS <<_ACEOF
51729 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51730 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51733 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51734 s/^/s,@/; s/!/@,|#_!!_#|/
51737 s/'"$ac_delim"'$/,g/; t
51739 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51740 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51741 rm -f conf$
$subs.
sed
51742 cat >>$CONFIG_STATUS <<_ACEOF
51748 for ac_last_try
in false false false false false
:; do
51749 cat >conf$
$subs.
sed <<_ACEOF
51750 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51751 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51752 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51753 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51754 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51755 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51756 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51757 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51758 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51759 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51760 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51761 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51762 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51763 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51764 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51765 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51766 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51767 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51768 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51769 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51770 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51771 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51772 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
51773 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51774 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51775 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51776 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51777 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51778 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51779 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51780 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51781 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51782 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
51783 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51784 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51785 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51786 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51787 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51788 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51789 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51790 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51791 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
51792 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51793 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51794 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51795 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51796 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51797 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51798 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51799 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51800 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51801 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51802 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51803 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51804 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51805 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51806 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
51807 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51808 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
51809 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51810 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
51811 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51812 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51813 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51814 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51815 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51816 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51817 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51818 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51819 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51820 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51821 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51822 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51823 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51824 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51825 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51826 COND_SHARED_0!$COND_SHARED_0$ac_delim
51827 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51828 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51829 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51830 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51831 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51832 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51833 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51834 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51835 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51836 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51837 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51838 COND_SHARED_1!$COND_SHARED_1$ac_delim
51839 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51840 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51841 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51842 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51843 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51844 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51845 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51846 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51849 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51851 elif $ac_last_try; then
51852 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51853 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51854 { (exit 1); exit 1; }; }
51856 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51860 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51861 if test -n "$ac_eof"; then
51862 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51863 ac_eof
=`expr $ac_eof + 1`
51866 cat >>$CONFIG_STATUS <<_ACEOF
51867 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51868 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51871 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51872 s/^/s,@/; s/!/@,|#_!!_#|/
51875 s/'"$ac_delim"'$/,g/; t
51877 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51878 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51879 rm -f conf$
$subs.
sed
51880 cat >>$CONFIG_STATUS <<_ACEOF
51886 for ac_last_try
in false false false false false
:; do
51887 cat >conf$
$subs.
sed <<_ACEOF
51888 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51889 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51890 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51891 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51892 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51893 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51894 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51895 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51896 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51897 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51898 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51899 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51900 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51901 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51902 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51903 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51904 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51905 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51906 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
51907 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51908 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
51909 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
51910 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51911 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51912 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
51913 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51914 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51915 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51916 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51917 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51918 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51919 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51920 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51921 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51922 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51923 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51924 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51925 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51926 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51927 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51928 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51929 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51930 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51931 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51932 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51933 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51934 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51935 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51936 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51937 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51938 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51939 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51940 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51941 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51942 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51943 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51944 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51945 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51946 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51947 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51948 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51949 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51950 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51951 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51952 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51953 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51954 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51955 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51956 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51957 DEREZ!$DEREZ$ac_delim
51958 SHARED!$SHARED$ac_delim
51959 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51960 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51961 USE_GUI!$USE_GUI$ac_delim
51962 AFMINSTALL!$AFMINSTALL$ac_delim
51963 WIN32INSTALL!$WIN32INSTALL$ac_delim
51964 TOOLKIT!$TOOLKIT$ac_delim
51965 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51966 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51967 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51968 cross_compiling!$cross_compiling$ac_delim
51969 WIDGET_SET!$WIDGET_SET$ac_delim
51970 WX_RELEASE!$WX_RELEASE$ac_delim
51971 WX_VERSION!$WX_VERSION$ac_delim
51972 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51973 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51974 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51975 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51976 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51977 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51978 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51979 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51980 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51981 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51982 GUIDIST!$GUIDIST$ac_delim
51983 DISTDIR!$DISTDIR$ac_delim
51984 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51987 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51989 elif $ac_last_try; then
51990 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51991 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51992 { (exit 1); exit 1; }; }
51994 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51998 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51999 if test -n "$ac_eof"; then
52000 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52001 ac_eof
=`expr $ac_eof + 1`
52004 cat >>$CONFIG_STATUS <<_ACEOF
52005 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52006 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52009 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52010 s/^/s,@/; s/!/@,|#_!!_#|/
52013 s/'"$ac_delim"'$/,g/; t
52015 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52016 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52017 rm -f conf$
$subs.
sed
52018 cat >>$CONFIG_STATUS <<_ACEOF
52024 for ac_last_try
in false false false false false
:; do
52025 cat >conf$
$subs.
sed <<_ACEOF
52026 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52027 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52028 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52029 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52030 RESCOMP!$RESCOMP$ac_delim
52031 RESFLAGS!$RESFLAGS$ac_delim
52032 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52033 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52034 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52035 LIBWXMACRES!$LIBWXMACRES$ac_delim
52036 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52037 MACSETFILE!$MACSETFILE$ac_delim
52039 DLLTOOL!$DLLTOOL$ac_delim
52040 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52041 LIBOBJS!$LIBOBJS$ac_delim
52042 LTLIBOBJS!$LTLIBOBJS$ac_delim
52045 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
52047 elif $ac_last_try; then
52048 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52049 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52050 { (exit 1); exit 1; }; }
52052 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52056 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52057 if test -n "$ac_eof"; then
52058 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52059 ac_eof
=`expr $ac_eof + 1`
52062 cat >>$CONFIG_STATUS <<_ACEOF
52063 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52064 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52067 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52068 s/^/s,@/; s/!/@,|#_!!_#|/
52071 s/'"$ac_delim"'$/,g/; t
52073 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52074 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52075 rm -f conf$
$subs.
sed
52076 cat >>$CONFIG_STATUS <<_ACEOF
52083 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52084 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52085 # trailing colons and then remove the whole line if VPATH becomes empty
52086 # (actually we leave an empty line to preserve line numbers).
52087 if test "x$srcdir" = x.
; then
52088 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52089 s/:*\$(srcdir):*/:/
52090 s/:*\${srcdir}:*/:/
52092 s/^\([^=]*=[ ]*\):*/\1/
52098 cat >>$CONFIG_STATUS <<\_ACEOF
52099 fi # test -n "$CONFIG_FILES"
52102 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52105 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52107 case $ac_mode$ac_tag in
52109 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52110 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52111 { (exit 1); exit 1; }; };;
52112 :[FH
]-) ac_tag
=-:-;;
52113 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52130 -) ac_f
="$tmp/stdin";;
52131 *) # Look for the file first in the build tree, then in the source tree
52132 # (if the path is not absolute). The absolute path cannot be DOS-style,
52133 # because $ac_f cannot contain `:'.
52137 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52139 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52140 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52141 { (exit 1); exit 1; }; };;
52143 ac_file_inputs
="$ac_file_inputs $ac_f"
52146 # Let's still pretend it is `configure' which instantiates (i.e., don't
52147 # use $as_me), people would be surprised to read:
52148 # /* config.h. Generated by config.status. */
52149 configure_input
="Generated from "`IFS=:
52150 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52151 if test x
"$ac_file" != x
-; then
52152 configure_input
="$ac_file. $configure_input"
52153 { echo "$as_me:$LINENO: creating $ac_file" >&5
52154 echo "$as_me: creating $ac_file" >&6;}
52158 *:-:* | *:-) cat >"$tmp/stdin";;
52163 ac_dir
=`$as_dirname -- "$ac_file" ||
52164 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52165 X"$ac_file" : 'X\(//\)[^/]' \| \
52166 X"$ac_file" : 'X\(//\)$' \| \
52167 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52173 /^X\(\/\/\)[^/].*/{
52188 -*) as_dir
=.
/$as_dir;;
52190 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52194 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52195 *) as_qdir
=$as_dir;;
52197 as_dirs
="'$as_qdir' $as_dirs"
52198 as_dir
=`$as_dirname -- "$as_dir" ||
52199 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52200 X"$as_dir" : 'X\(//\)[^/]' \| \
52201 X"$as_dir" : 'X\(//\)$' \| \
52202 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52208 /^X\(\/\/\)[^/].*/{
52221 test -d "$as_dir" && break
52223 test -z "$as_dirs" || eval "mkdir $as_dirs"
52224 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52225 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52226 { (exit 1); exit 1; }; }; }
52230 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52232 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52233 # A ".." for each directory in $ac_dir_suffix.
52234 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52235 case $ac_top_builddir_sub in
52236 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52237 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52240 ac_abs_top_builddir
=$ac_pwd
52241 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52242 # for backward compatibility:
52243 ac_top_builddir
=$ac_top_build_prefix
52246 .
) # We are building in place.
52248 ac_top_srcdir
=$ac_top_builddir_sub
52249 ac_abs_top_srcdir
=$ac_pwd ;;
52250 [\\/]* | ?
:[\\/]* ) # Absolute name.
52251 ac_srcdir
=$srcdir$ac_dir_suffix;
52252 ac_top_srcdir
=$srcdir
52253 ac_abs_top_srcdir
=$srcdir ;;
52254 *) # Relative name.
52255 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52256 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52257 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52259 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52269 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52270 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52274 cat >>$CONFIG_STATUS <<\_ACEOF
52275 # If the template does not know about datarootdir, expand it.
52276 # FIXME: This hack should be removed a few years after 2.60.
52277 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52279 case `sed -n '/datarootdir/ {
52288 ' $ac_file_inputs` in
52289 *datarootdir
*) ac_datarootdir_seen
=yes;;
52290 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52291 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52292 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52294 cat >>$CONFIG_STATUS <<_ACEOF
52295 ac_datarootdir_hack='
52296 s&@datadir@&$datadir&g
52297 s&@docdir@&$docdir&g
52298 s&@infodir@&$infodir&g
52299 s&@localedir@&$localedir&g
52300 s&@mandir@&$mandir&g
52301 s&\\\${datarootdir}&$datarootdir&g' ;;
52305 # Neutralize VPATH when `$srcdir' = `.'.
52306 # Shell code in configure.ac might set extrasub.
52307 # FIXME: do we really want to maintain this feature?
52308 cat >>$CONFIG_STATUS <<_ACEOF
52312 cat >>$CONFIG_STATUS <<\_ACEOF
52314 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52315 s
&@configure_input@
&$configure_input&;t t
52316 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52317 s
&@srcdir@
&$ac_srcdir&;t t
52318 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52319 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52320 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52321 s
&@builddir@
&$ac_builddir&;t t
52322 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52323 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52324 s
&@INSTALL@
&$ac_INSTALL&;t t
52325 $ac_datarootdir_hack
52326 " $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
52328 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52329 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52330 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52331 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52332 which seems to be undefined. Please make sure it is defined." >&5
52333 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52334 which seems to be undefined. Please make sure it is defined." >&2;}
52338 -) cat "$tmp/out"; rm -f "$tmp/out";;
52339 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52348 # Transform confdefs.h into a sed script `conftest.defines', that
52349 # substitutes the proper values into config.h.in to produce config.h.
52350 rm -f conftest.defines conftest.
tail
52351 # First, append a space to every undef/define line, to ease matching.
52352 echo 's/$/ /' >conftest.defines
52353 # Then, protect against being on the right side of a sed subst, or in
52354 # an unquoted here document, in config.status. If some macros were
52355 # called several times there might be several #defines for the same
52356 # symbol, which is useless. But do not sort them, since the last
52357 # AC_DEFINE must be honored.
52358 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52359 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52360 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52361 # PARAMS is the parameter list in the macro definition--in most cases, it's
52362 # just an empty string.
52363 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52364 ac_dB
='\\)[ (].*,\\1define\\2'
52372 s/^[ ]*#[ ]*define[ ][ ]*//
52377 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52378 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52379 ' >>conftest.defines
52381 # Remove the space that was appended to ease matching.
52382 # Then replace #undef with comments. This is necessary, for
52383 # example, in the case of _POSIX_SOURCE, which is predefined and required
52384 # on some systems where configure will not decide to define it.
52385 # (The regexp can be short, since the line contains either #define or #undef.)
52387 s,^[ #]*u.*,/* & */,' >>conftest.defines
52389 # Break up conftest.defines:
52390 ac_max_sed_lines
=50
52392 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52393 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52394 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52396 ac_in
='$ac_file_inputs'
52397 ac_out
='"$tmp/out1"'
52398 ac_nxt
='"$tmp/out2"'
52402 # Write a here document:
52403 cat >>$CONFIG_STATUS <<_ACEOF
52404 # First, check the format of the line:
52405 cat >"\$tmp/defines.sed" <<\\CEOF
52406 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52407 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52411 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52413 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52414 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52415 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52416 grep . conftest.
tail >/dev
/null
|| break
52417 rm -f conftest.defines
52418 mv conftest.
tail conftest.defines
52420 rm -f conftest.defines conftest.
tail
52422 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52423 cat >>$CONFIG_STATUS <<\_ACEOF
52424 if test x
"$ac_file" != x
-; then
52425 echo "/* $configure_input */" >"$tmp/config.h"
52426 cat "$ac_result" >>"$tmp/config.h"
52427 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52428 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52429 echo "$as_me: $ac_file is unchanged" >&6;}
52432 mv "$tmp/config.h" $ac_file
52435 echo "/* $configure_input */"
52441 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52442 echo "$as_me: executing $ac_file commands" >&6;}
52447 case $ac_file$ac_mode in
52449 mkdir -p $outdir &&
52450 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52452 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52453 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52454 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52455 "wx-config":C
) rm -f wx
-config
52456 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52463 { (exit 0); exit 0; }
52465 chmod +x
$CONFIG_STATUS
52466 ac_clean_files
=$ac_clean_files_save
52469 # configure is writing to config.log, and then calls config.status.
52470 # config.status does its own redirection, appending to config.log.
52471 # Unfortunately, on DOS this fails, as config.log is still kept open
52472 # by configure, so config.status won't be able to write to it; its
52473 # output is simply discarded. So we exec the FD to /dev/null,
52474 # effectively closing config.log, so it can be properly (re)opened and
52475 # appended to by config.status. When coming back to configure, we
52476 # need to make the FD available again.
52477 if test "$no_create" != yes; then
52479 ac_config_status_args
=
52480 test "$silent" = yes &&
52481 ac_config_status_args
="$ac_config_status_args --quiet"
52483 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52485 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52486 # would make configure fail if this is the last instruction.
52487 $ac_cs_success || { (exit 1); exit 1; }
52491 # CONFIG_SUBDIRS section.
52493 if test "$no_recursion" != yes; then
52495 # Remove --cache-file and --srcdir arguments so they do not pile up.
52496 ac_sub_configure_args
=
52498 eval "set x $ac_configure_args"
52502 if test -n "$ac_prev"; then
52507 -cache-file | --cache-file | --cache-fil | --cache-fi \
52508 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52509 ac_prev
=cache_file
;;
52510 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52511 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52514 --config-cache | -C)
52516 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52518 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52520 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52522 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52526 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52528 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52532 # Always prepend --prefix to ensure using the same prefix
52533 # in subdir configurations.
52534 ac_arg
="--prefix=$prefix"
52536 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52538 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52541 if test "$silent" = yes; then
52542 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52546 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52548 # Do not complain, so a configure script can configure whichever
52549 # parts of a large source tree are present.
52550 test -d "$srcdir/$ac_dir" || continue
52552 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52553 echo "$as_me:$LINENO: $ac_msg" >&5
52557 -*) as_dir
=.
/$as_dir;;
52559 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52563 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52564 *) as_qdir
=$as_dir;;
52566 as_dirs
="'$as_qdir' $as_dirs"
52567 as_dir
=`$as_dirname -- "$as_dir" ||
52568 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52569 X"$as_dir" : 'X\(//\)[^/]' \| \
52570 X"$as_dir" : 'X\(//\)$' \| \
52571 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52577 /^X\(\/\/\)[^/].*/{
52590 test -d "$as_dir" && break
52592 test -z "$as_dirs" || eval "mkdir $as_dirs"
52593 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52594 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52595 { (exit 1); exit 1; }; }; }
52599 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52601 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52602 # A ".." for each directory in $ac_dir_suffix.
52603 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52604 case $ac_top_builddir_sub in
52605 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52606 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52609 ac_abs_top_builddir
=$ac_pwd
52610 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52611 # for backward compatibility:
52612 ac_top_builddir
=$ac_top_build_prefix
52615 .
) # We are building in place.
52617 ac_top_srcdir
=$ac_top_builddir_sub
52618 ac_abs_top_srcdir
=$ac_pwd ;;
52619 [\\/]* | ?
:[\\/]* ) # Absolute name.
52620 ac_srcdir
=$srcdir$ac_dir_suffix;
52621 ac_top_srcdir
=$srcdir
52622 ac_abs_top_srcdir
=$srcdir ;;
52623 *) # Relative name.
52624 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52625 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52626 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52628 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52633 # Check for guested configure; otherwise get Cygnus style configure.
52634 if test -f "$ac_srcdir/configure.gnu"; then
52635 ac_sub_configure
=$ac_srcdir/configure.gnu
52636 elif test -f "$ac_srcdir/configure"; then
52637 ac_sub_configure
=$ac_srcdir/configure
52638 elif test -f "$ac_srcdir/configure.in"; then
52639 # This should be Cygnus configure.
52640 ac_sub_configure
=$ac_aux_dir/configure
52642 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52643 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52647 # The recursion is here.
52648 if test -n "$ac_sub_configure"; then
52649 # Make the cache file name correct relative to the subdirectory.
52650 case $cache_file in
52651 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52652 *) # Relative name.
52653 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
52656 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52657 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52658 # The eval makes quoting arguments work.
52659 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52660 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52661 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52662 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52663 { (exit 1); exit 1; }; }
52672 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52674 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52675 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52677 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52678 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52679 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52680 if test "$wxUSE_UNICODE" = "yes"; then
52681 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52682 echo " (using UTF-8)"
52684 echo " (using wchar_t)"
52690 echo " What level of wxWidgets compatibility should be enabled?"
52691 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52692 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52694 echo " Which libraries should wxWidgets use?"
52695 echo " STL ${wxUSE_STL}"
52696 echo " jpeg ${wxUSE_LIBJPEG-none}"
52697 echo " png ${wxUSE_LIBPNG-none}"
52698 echo " regex ${wxUSE_REGEX}"
52699 echo " tiff ${wxUSE_LIBTIFF-none}"
52700 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52701 echo " xpm ${wxUSE_LIBXPM-none}"
52703 echo " zlib ${wxUSE_ZLIB}"
52704 echo " expat ${wxUSE_EXPAT}"
52705 echo " libmspack ${wxUSE_LIBMSPACK}"
52706 echo " sdl ${wxUSE_LIBSDL}"